/* tasteskill / base.css
   A neutral foundation: reset, token names, fluid type steps, a 12-column grid, states and the motion
   helpers from references/motion.md. It has no look of its own. Copy it into the project, replace the
   token values with the ones on the direction sheet, and build on top. Delete what you do not use. */

/* ---------- tokens (replace with the dealt palette and type system) ---------- */
:root {
  --bg: #ffffff;
  --surface: #f2f2f2;
  --ink: #111111;
  --muted: #5c5c5c;
  --accent: #111111;
  --accent-ink: #ffffff;

  --font-display: system-ui, sans-serif;
  --font-text: system-ui, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3rem, 1rem + 9vw, 9rem); /* set from the hero blueprint */

  --margin: clamp(1rem, 2.2vw, 2rem);    /* page side margin: tight, so content reaches the edges */
  --gutter: clamp(1rem, 2vw, 2rem);      /* column gap */
  --section: clamp(5rem, 12vw, 13rem);   /* space between sections */
  --radius: 0px;                          /* one radius for the whole page: 0, or large, decided once */

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);        /* entrances, moving hovers, UI under 600ms */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);        /* reveals of 800ms and longer, line rises, openings */
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);     /* wipes, panels, things that travel while visible */
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);       /* slow scale and drift on photographs */
  --ease-exit: cubic-bezier(0.55, 0.055, 0.675, 0.19); /* something leaving for good, short */
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;
  --t-open: 1200ms;                                  /* picture openings and clip wipes */
  --stagger-line: 90ms;
  --stagger-item: 70ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: var(--step-body); line-height: 1.5; font-kerning: normal; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg, canvas { display: block; max-width: 100%; }
img, video { height: auto; background: var(--surface); }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: 6rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: inherit; text-wrap: balance; hyphens: none; }
.display { font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.035em; }
.head { font-size: var(--step-head); line-height: 1.02; letter-spacing: -0.025em; }
.lead { font-size: var(--step-lead); line-height: 1.35; max-width: 40ch; }
.small { font-size: var(--step-small); line-height: 1.45; }
.muted { color: var(--muted); }
p { max-width: 62ch; text-wrap: pretty; }
p + p { margin-top: 0.9em; }
.nums { font-variant-numeric: tabular-nums; }
.only-wide { display: none; }
@media (min-width: 48em) { .only-wide { display: inline; } }

/* ---------- layout ---------- */
.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.section { padding-block: calc(var(--section) / 2); }
.section + .section { margin-top: 0; }
.bleed { margin-inline: calc(var(--margin) * -1); }
.cover { width: 100%; height: 100%; object-fit: cover; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.4rem; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.button:active { transform: scale(0.97); }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease; }
.link-plain { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 0.07em; }
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-color: currentColor; }
}
.field { width: 100%; min-height: 3rem; padding: 0.7rem 0.9rem; background: var(--surface); border: 0; border-radius: var(--radius); font-size: max(1rem, var(--step-body)); }

/* ---------- motion helpers (content stays visible without JavaScript) ---------- */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines [data-line] { display: block; }
.shutter { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: ad-rise var(--t-reveal) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
  .js .lines [data-line] { transform: translateY(105%); animation: ad-line 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .shutter[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); }
  .js .shutter[data-reveal] img { transform: scale(1.12); transition: transform 1500ms var(--ease-soft); }
  .js .shutter[data-reveal].is-in { clip-path: inset(0); }
  .js .shutter[data-reveal].is-in img { transform: none; }
}
@keyframes ad-rise { to { opacity: 1; transform: none; } }
@keyframes ad-line { to { transform: none; } }
/* BumerDonor v2 — «маркер і скотч»: біле поле, чорний текст, кислотний #c8ff00 і помаранчевий #ff5a1f */
:root {
  --bg: #ffffff; --surface: #f1f1f1; --ink: #111111; --muted: #5a5a5a;
  --acid: #c8ff00; --orange: #ff5a1f; --accent: #111111; --accent-ink: #ffffff; --accent-strong: #333333;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif; --font-text: "Work Sans", system-ui, sans-serif;
  --step-small: 15px; --step-body: 16px;
  --margin: clamp(1.25rem, 2vw, 2.25rem); --gutter: clamp(0.75rem, 1.4vw, 1.5rem);
  --section: clamp(6rem, 11vw, 11rem); --radius: 0px;
}
html { overflow-x: clip; }
body { font-weight: 400; overflow-x: clip; }
b, strong { font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.head { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.25rem, 1.6rem + 3vw, 4.5rem); line-height: 0.92; letter-spacing: -0.01em; text-transform: uppercase; }
.display { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 0.4rem + 7.4vw, 8.6rem); line-height: 0.88; letter-spacing: -0.015em; text-transform: uppercase; max-width: 19ch; }
mark { background: none; color: var(--orange); }
.muted { color: var(--muted); }
p { max-width: 60ch; }

/* плями маркера: плоскі, з м'яким краєм, повільно дихають */
.spot { position: absolute; border-radius: 48% 52% 44% 56% / 55% 42% 58% 45%; pointer-events: none; z-index: 0; filter: blur(3px); opacity: 0.95; mix-blend-mode: multiply; }
.spot-a { width: 44vw; height: 30vw; max-width: 620px; max-height: 420px; right: -6vw; top: 4vw; transform: rotate(-12deg); background: var(--acid); }
.spot-b { width: 20vw; height: 12vw; max-width: 280px; max-height: 170px; left: 46vw; bottom: 10vh; transform: rotate(8deg); background: var(--orange); opacity: 0.75; }
.spot-c { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; left: -8vw; top: 10%; background: var(--acid); opacity: 0.8; }
.spot-d { width: 36vw; height: 36vw; max-width: 500px; max-height: 500px; right: -8vw; bottom: -10vw; background: var(--orange); opacity: 0.7; }
@media (prefers-reduced-motion: no-preference) {
  .spot { animation: breathe 9s ease-in-out infinite alternate; }
  .spot-b, .spot-d { animation-duration: 12s; animation-delay: -4s; }
  @keyframes breathe { from { translate: 0 0; scale: 1; } to { translate: -3% 4%; scale: 1.06; } }
}

/* ---------- шапка ---------- */
.top { position: relative; z-index: 2; display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.emblem { width: 40px; height: 40px; }
.emblem.small { width: 22px; height: 22px; vertical-align: -5px; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.01em; text-transform: uppercase; }
.brand-name b { color: var(--orange); font-weight: 800; }
.menu { display: flex; gap: 22px; font-weight: 500; }
.menu a { text-decoration: none; }
.menu a:hover { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 2px; text-decoration-color: var(--orange); }
.button { font-weight: 600; min-height: 44px; padding: 0 20px; }
.button.tg { margin-left: auto; background: var(--ink); color: #fff; }
.button.tg.big { background: var(--ink); font-size: 18px; min-height: 56px; padding: 0 26px; }
@media (hover: hover) and (pointer: fine) { .button:hover { background: var(--orange); color: var(--ink); } }
@media (max-width: 48em) { .menu { display: none; } .top { gap: 12px; } .brand-name { font-size: 22px; } .emblem { width: 32px; height: 32px; } .button.tg { padding: 0 14px; white-space: nowrap; } }

/* ---------- герой ---------- */
.hero { position: relative; z-index: 1; padding-block: 6vh 64px; min-height: 86svh; display: flex; flex-direction: column; justify-content: center; gap: 22px; overflow: visible; }
.hero > * { position: relative; z-index: 1; }
.hero > .spot, .donors > .spot, .contact > .spot { position: absolute; z-index: 0; }
.kicker { font-weight: 600; font-size: 16px; }
.fill-line { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem); text-transform: uppercase; max-width: none; line-height: 1.1; }
.fill { position: relative; display: inline-block; padding: 0 0.2em; background: linear-gradient(var(--acid), var(--acid)) no-repeat 0 0 / 0% 100%; color: var(--ink); }
.js .fill.is-fill { animation: fill-in 650ms var(--ease-out) forwards; }
@keyframes fill-in { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
.js .fill.is-out { animation: fill-out 320ms var(--ease-exit) forwards; }
@keyframes fill-out { to { background-size: 0% 100%; background-position: 100% 0; opacity: 0; } }
.search { display: flex; gap: 0; max-width: 760px; width: 100%; margin-top: 10px; }
.search input { flex: 1; min-width: 0; min-height: 64px; padding: 0 20px; border: 3px solid var(--ink); background: #fff; font-size: 20px; }
.search input::placeholder { color: #7a7a7a; }
.search .go { min-height: 64px; padding: 0 30px; font-family: var(--font-display); font-weight: 800; font-size: 26px; text-transform: uppercase; background: var(--ink); color: var(--acid); border: 3px solid var(--ink); }
.search .go:hover { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.found { font-size: 16px; min-height: 1.4em; }
@media (max-width: 48em) {
  .hero { min-height: 0; padding-top: 24px; }
  .search { flex-direction: column; gap: 10px; }
  .search input, .search .go { min-height: 56px; }
}

/* ---------- стрічки ---------- */
.tape { overflow: hidden; white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-size: 28px; text-transform: uppercase; padding: 10px 0; position: relative; z-index: 1; }
.tape-acid { background: var(--acid); color: var(--ink); transform: rotate(-1.4deg); margin: 0 -40px; width: calc(100% + 80px); }
.tape-ink { background: var(--ink); color: #fff; transform: rotate(1.2deg); margin: 0 -40px; width: calc(100% + 80px); }
.tape-track { display: inline-flex; gap: 0; }
.tape-track span { padding: 0 28px; position: relative; }
.tape-track span::after { content: "●"; position: absolute; right: -8px; font-size: 14px; top: 10px; color: var(--orange); }
.tape-ink .tape-track span::after { color: var(--acid); }
@media (prefers-reduced-motion: no-preference) {
  .tape-track { animation: slide 48s linear infinite; }
  .tape-track.rev { animation: slide-rev 40s linear infinite; }
  .tape:hover .tape-track { animation-play-state: paused; }
  @keyframes slide { to { transform: translateX(-50%); } }
  @keyframes slide-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
}

/* ---------- лист деталей ---------- */
.sheet-sec { padding-top: 80px; padding-bottom: 40px; position: relative; z-index: 1; }
.sheet-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 40px; margin-bottom: 26px; }
.sheet-note { max-width: 46ch; }
.sheet { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; grid-auto-flow: dense; }
.frame { position: relative; display: block; background: var(--surface); color: var(--ink); text-decoration: none; overflow: hidden; min-height: 150px; }
.frame.w2 { grid-column: span 2; }
.frame > img, .frame > svg { width: 100%; height: 100%; object-fit: cover; }
.frame > svg { color: #9a9a9a; background: #ececec; }
.frame .strip { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; padding: 0 10px; display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 500; line-height: 1; white-space: nowrap; overflow: hidden; }
.frame .strip span:last-child { overflow: hidden; text-overflow: ellipsis; }
.frame.is-dim { opacity: 0.15; }
.frame.is-dim .strip { visibility: hidden; }
.frame { transition: opacity 220ms ease, transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .frame:hover { outline: 4px solid var(--orange); outline-offset: -4px; } }
@media (max-width: 64em) { .sheet { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 40em) { .sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .frame { min-height: 130px; } }

/* ---------- донори ---------- */
.donors { position: relative; }
.donors .grid { position: relative; z-index: 1; align-items: start; }
.don-side { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 18px; }
.don-list { grid-column: 6 / -1; font-size: 18px; }
.don-list li { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 16px; min-height: 56px; }
.don-list .tag { font-family: var(--font-display); font-weight: 800; font-size: 20px; text-transform: uppercase; background: var(--ink); color: var(--acid); padding: 6px 0; text-align: center; transform: rotate(-3deg); }
.don-list .hot .tag { background: var(--orange); color: var(--ink); }
.don-list .road .tag { background: var(--acid); color: var(--ink); }
.don-list .ds { color: var(--muted); font-size: 15px; text-align: right; }
.don-list .hot .ds { color: var(--ink); font-weight: 600; }
@media (max-width: 48em) {
  .don-side, .don-list { grid-column: 1 / -1; }
  .don-list { margin-top: 28px; font-size: 16px; }
  .don-list li { grid-template-columns: 52px 1fr; }
  .don-list .ds { grid-column: 2; text-align: left; }
}

/* ---------- як купити ---------- */
.how { overflow: clip; }
.how-top { display: flex; justify-content: space-between; align-items: flex-end; }
.how-btns { display: flex; gap: 8px; }
.sq { width: 48px; height: 48px; background: var(--ink); color: var(--acid); display: inline-flex; align-items: center; justify-content: center; transition: transform var(--t-press) var(--ease-out); }
.sq:active { transform: scale(0.95); }
.sq:hover { background: var(--orange); color: var(--ink); }
.bar { height: 8px; background: var(--surface); margin: 20px 0 28px; }
.bar span { display: block; height: 100%; width: 20%; background: var(--orange); transition: width 200ms ease; }
.drag { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-right: 40vw; }
.drag::-webkit-scrollbar { display: none; }
.moment { flex: 0 0 280px; scroll-snap-align: start; display: flex; flex-direction: column; }
.cap { font-family: var(--font-display); font-weight: 800; font-size: 26px; text-transform: uppercase; line-height: 1; }
.moment p + p { margin-top: 8px; }
.sp { height: calc(var(--gap) * 0.6); }
.pic { aspect-ratio: 4 / 5; background: var(--acid); color: var(--ink); }
.moment:nth-child(even) .pic { background: var(--ink); color: var(--acid); }
.moment:nth-child(3n) .pic { background: var(--orange); color: var(--ink); }
.pic svg { width: 100%; height: 100%; }
@media (max-width: 48em) { .how-btns { display: none; } .moment { flex-basis: 72vw; } .drag { gap: 16px; } .sp { height: 32px; } }

/* ---------- список ---------- */
.cat { padding-top: 64px; }
.cat .head { max-width: 760px; }
.rows { columns: 1; }
@media (min-width: 64em) { .rows { max-width: none; columns: 2; column-gap: 48px; } .rows li { break-inside: avoid; } }
.rows { margin-top: 28px; max-width: 760px; }
.rows li { display: flex; align-items: center; gap: 12px; min-height: 40px; font-size: 16px; }
.rows li[hidden] { display: none; }
.rows .dot { width: 14px; height: 14px; background: var(--orange); flex: 0 0 14px; transform: rotate(45deg); }
.rows .nm { flex: 1; min-width: 0; }
.rows .val { margin-left: auto; font-size: 15px; color: var(--muted); text-align: right; white-space: nowrap; }
.cat-note { margin-top: 24px; color: var(--muted); }
@media (max-width: 64em) { .rows li { flex-wrap: wrap; min-height: 48px; } .rows .val { margin-left: 26px; flex-basis: 100%; text-align: left; white-space: normal; } }

/* ---------- питання ---------- */
.faq-h { grid-column: 1 / span 3; align-self: start; }
.faq-cols { grid-column: 5 / -1; columns: 2; column-gap: 56px; font-size: 16px; line-height: 1.55; }
.faq-cols p { break-inside: avoid; max-width: 40ch; margin: 0 0 20px; }
.faq-cols b { background: var(--acid); padding: 0 4px; }
@media (max-width: 64em) { .faq-h { grid-column: 1 / -1; } .faq-cols { grid-column: 1 / -1; margin-top: 24px; } }
@media (max-width: 40em) { .faq-cols { columns: 1; } }

/* ---------- контакт ---------- */
.contact { position: relative; padding-top: 100px; padding-bottom: 100px; overflow: clip; background: var(--ink); color: #fff; margin-top: calc(var(--section) / 2); }
.contact .muted { color: #bdbdbd; }
.contact .link-plain { color: var(--acid); }
.contact .button.tg.big { background: var(--acid); color: var(--ink); }
.contact .spot { mix-blend-mode: normal; opacity: 0.9; }
.contact .grid { position: relative; z-index: 1; align-items: start; }
.statement { grid-column: 1 / span 7; font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.5rem + 2.6vw, 3.6rem); line-height: 1; max-width: 18ch; text-transform: uppercase; }
.ask { grid-column: 9 / -1; display: flex; flex-direction: column; gap: 12px; font-size: 18px; }
.ask p { max-width: none; }
.ask-q { font-weight: 600; }
@media (max-width: 48em) { .statement, .ask { grid-column: 1 / -1; } .ask { margin-top: 32px; } }

/* ---------- підвал ---------- */
.foot { margin-top: 8svh; padding-bottom: 30px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 15px; }
.foot-links { display: flex; gap: 24px; justify-content: center; }
.foot a { color: var(--ink); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 2px; text-decoration-color: var(--orange); }
.foot > :last-child { text-align: right; }
@media (max-width: 48em) { .foot { grid-template-columns: 1fr; gap: 8px; margin-top: 10svh; } .foot-links { justify-content: flex-start; flex-wrap: wrap; gap: 16px; } .foot > :last-child { text-align: left; } }

/* ---------- рух ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .sheet .frame { opacity: 0; transform: translateY(16px); animation: ad-rise 600ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 30ms + 80ms); }
  .js .sheet .frame.is-dim { animation: none; opacity: 0.15; transform: none; }
  .js .don-list li { opacity: 0; transform: translateX(-16px); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .don-list.is-in li { opacity: 1; transform: none; }
  .js .faq-cols p { opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: calc(var(--i, 0) * 40ms); }
  .js .faq-cols.is-in p { opacity: 1; transform: none; }
  .js .moment { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .moment.is-in { opacity: 1; transform: none; }
  .js .pic svg { transform: scale(1.08); transition: transform 1400ms var(--ease-soft); }
  .js .moment.is-in .pic svg { transform: none; }
  .js .statement[data-reveal], .js .ask[data-reveal], .js .don-side[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); }
  .js .statement[data-reveal].is-in, .js .ask[data-reveal].is-in, .js .don-side[data-reveal].is-in { opacity: 1; transform: none; }
}
/* BumerDonor — додатки до v2: шапка з пошуком, крихти, каталог, картка, донори, кіберпанк-штрихи (моно-коди, глітч) */
:root { --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace; }
.mono, .code, .code-big { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; font-variant-numeric: tabular-nums; }
a { text-decoration-color: var(--orange); text-underline-offset: 0.18em; }
.ico { width: 18px; height: 18px; margin-right: 8px; flex: 0 0 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0; text-decoration: none; }
.button.ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.button.ghost:hover { background: var(--ink); color: #fff; }
.button.call { margin-left: 0; background: var(--acid); color: var(--ink); white-space: nowrap; }
.button.big { min-height: 56px; font-size: 18px; padding: 0 26px; }
.head-s { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); line-height: 0.95; text-transform: uppercase; letter-spacing: -0.005em; }
.head small, .head-s small { font-size: 0.5em; color: var(--orange); vertical-align: 0.35em; margin-left: 6px; }
.lead { font-size: 18px; max-width: 70ch; margin: 10px 0 36px; }
.small { font-size: 14px; }

/* шапка */
.top { gap: 18px; flex-wrap: wrap; row-gap: 10px; padding-block: 8px; }
.topsearch { display: flex; margin-left: auto; min-width: 240px; flex: 0 1 360px; }
.topsearch input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border: 2px solid var(--ink); border-right: 0; font-size: 15px; background: #fff; }
.topsearch button { width: 48px; min-height: 44px; background: var(--ink); color: var(--acid); display: inline-flex; align-items: center; justify-content: center; }
.topsearch button svg { width: 20px; height: 20px; }
.topsearch button:hover { background: var(--orange); color: var(--ink); }
.top .button.tg { margin-left: 0; }
@media (max-width: 64em) { .topsearch { order: 10; flex: 1 1 100%; } }
@media (max-width: 48em) { .top .button.call span { display: none; } .top .button.call .ico { margin: 0; } .top .button.tg { padding: 0 12px; } }

/* крихти */
.crumbs { font-size: 14px; padding-top: 10px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--muted); }
.crumbs a { color: var(--ink); }
.crumbs span { color: var(--muted); }

/* герой: живі підказки, ряд моделей, глітч */
.hero { padding-top: 4vh; min-height: 72svh; }
.suggest { position: relative; max-width: 760px; background: #fff; border: 3px solid var(--ink); border-top: 0; margin-top: -22px; z-index: 5; }
.suggest a { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px; text-decoration: none; color: var(--ink); border-top: 1px solid #e6e6e6; }
.suggest a:hover, .suggest a.on { background: var(--acid); }
.suggest img { width: 56px; height: 42px; object-fit: cover; background: var(--surface); }
.suggest .sn { font-size: 15px; } .suggest .sn small { display: block; color: var(--muted); }
.suggest .sp { font-weight: 600; white-space: nowrap; }
.suggest .all { grid-template-columns: 1fr; text-align: center; font-weight: 600; }
.found a { color: var(--ink); }
.models-row { display: flex; flex-wrap: wrap; gap: 8px; max-width: none; }
.models-row a { text-decoration: none; color: var(--ink); background: var(--surface); padding: 6px 12px; font-weight: 600; font-size: 15px; }
.models-row a:hover { background: var(--acid); }
.models-row small { color: var(--muted); font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
  .glitch { position: relative; display: inline-block; animation: glitch 7s steps(1) infinite; }
  @keyframes glitch { 0%, 92%, 100% { transform: none; clip-path: none; } 93% { transform: translate(-3px, 1px); clip-path: inset(10% 0 55% 0); } 94% { transform: translate(3px, -2px); clip-path: inset(50% 0 10% 0); } 95% { transform: translate(-2px, 0); clip-path: inset(30% 0 30% 0); } 96% { transform: none; clip-path: none; } }
}

/* лист на головній: смужки чотирьох кольорів, ціна праворуч */
.frame .strip { height: 32px; }
.frame .strip.s0 { background: #111; color: #fff; } .frame .strip.s1 { background: var(--acid); color: #111; }
.frame .strip.s2 { background: var(--orange); color: #111; } .frame .strip.s3 { background: #fff; color: #111; }
.frame .strip b { margin-left: auto; font-weight: 600; white-space: nowrap; }
.frame > img { aspect-ratio: 4 / 3; }
.frame.w2 > img { aspect-ratio: 8 / 3; }
.more { margin-top: 28px; }

/* донори на головній — рядки як посилання */
.don-list li a { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); min-height: 56px; }
.don-list li a:hover .dn { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.don-list .tag { font-size: 16px; }
@media (max-width: 48em) { .don-list li a { grid-template-columns: 52px 1fr; } }

/* кроки */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px 32px; }
.steps li { position: relative; padding-left: 56px; max-width: 42ch; line-height: 1.5; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: -4px; width: 40px; height: 40px; background: var(--ink); color: var(--acid); font-family: var(--font-display); font-weight: 800; font-size: 24px; display: grid; place-items: center; transform: rotate(-4deg); }
.steps li:nth-child(even)::before { background: var(--orange); color: var(--ink); transform: rotate(3deg); }
.steps.big li { font-size: 17px; max-width: 60ch; }
.how { padding-bottom: 40px; }

/* каталог */
.cat-page { padding-top: 10px; }
.cat-head { margin: 10px 0 20px; }
.filters { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { text-decoration: none; color: var(--ink); border: 2px solid var(--ink); padding: 6px 12px; font-weight: 600; font-size: 14px; line-height: 1.2; }
.chip.on { background: var(--ink); color: var(--acid); }
.chip:hover { background: var(--acid); color: var(--ink); }
.chip small { color: inherit; opacity: 0.7; margin-left: 4px; }
.sortrow { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: 15px; }
.sortrow select, .sortrow input { min-height: 40px; border: 2px solid var(--ink); background: #fff; font: inherit; padding: 0 10px; margin-left: 6px; }
.sortrow input { width: 110px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.grid-cards.small { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border: 2px solid var(--ink); transition: transform 160ms var(--ease-out), box-shadow 160ms; }
.card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--orange); }
.card-img { display: block; aspect-ratio: 4 / 3; background: var(--surface); overflow: hidden; border-bottom: 2px solid var(--ink); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .ph { width: 100%; height: 100%; padding: 22%; color: #b5b5b5; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; }
.card .code { font-size: 13px; color: var(--muted); }
.card .nm { font-size: 15px; line-height: 1.3; min-height: 2.6em; }
.card .meta { font-size: 13px; }
.card .price { font-family: var(--font-display); font-size: 24px; font-weight: 800; margin-top: 4px; }
.card .price small { font-family: var(--font-text); font-size: 13px; font-weight: 500; }
.pager { display: flex; justify-content: center; align-items: center; gap: 24px; margin: 36px 0 10px; font-weight: 600; }
.pager a { color: var(--ink); }
.empty { padding: 40px 0; max-width: 60ch; }
.empty .button { margin-top: 8px; }

/* картка деталі */
.part { padding-top: 16px; }
.part-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; align-items: start; }
.gallery { position: sticky; top: 12px; }
.main-ph { margin: 0; background: var(--surface); border: 2px solid var(--ink); aspect-ratio: 4 / 3; overflow: hidden; }
.main-ph img { width: 100%; height: 100%; object-fit: contain; background: #f6f6f6; }
.main-ph.noph { display: grid; place-items: center; color: var(--muted); text-align: center; padding: 20px; }
.main-ph.noph svg { width: 120px; height: 120px; color: #c9c9c9; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.thumb { flex: 0 0 88px; height: 66px; border: 2px solid transparent; background: var(--surface); padding: 0; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.on { border-color: var(--orange); }
.code-big { font-size: 22px; color: var(--muted); margin-bottom: 6px; }
.fits { margin: 10px 0 0; font-size: 16px; }
.fits a { color: var(--ink); font-weight: 600; }
.pricebox { margin: 22px 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.price-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 2rem + 2vw, 3.6rem); line-height: 1; }
.avail { font-size: 14px; padding: 4px 8px; }
.avail.ok { background: var(--acid); } .avail.no { background: var(--surface); color: var(--muted); }
.cta { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 26px; }
.cta .button { justify-content: center; }
.cta p { margin: 4px 0 0; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; font-size: 15px; margin: 0; }
.specs dt { color: var(--muted); } .specs dd { margin: 0; }
.specs a { color: var(--ink); }
.descr { margin-top: 22px; color: #333; font-size: 15px; line-height: 1.55; white-space: pre-line; }
.related { margin-top: 64px; }
.related .head { margin-bottom: 18px; font-size: clamp(1.8rem, 1.4rem + 2vw, 3rem); }
@media (max-width: 56em) { .part-grid { grid-template-columns: 1fr; } .gallery { position: static; } .cta { flex-direction: row; flex-wrap: wrap; } .cta .button { flex: 1 1 200px; } }

/* донори */
.donors-page .head-s { margin: 34px 0 14px; }
.donor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.dcard { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border: 2px solid var(--ink); background: #fff; transition: transform 160ms var(--ease-out), box-shadow 160ms; }
.dcard:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--acid); }
.shot { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); border-bottom: 2px solid var(--ink); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.noshot { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: 14px; }
.noshot.big { aspect-ratio: 16 / 10; border: 2px dashed #bbb; }
.br-badge { position: absolute; left: 10px; bottom: 10px; background: var(--ink); color: var(--acid); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 14px; padding: 4px 8px; letter-spacing: 0.02em; }
.road-badge { position: absolute; right: 10px; top: 10px; background: var(--orange); color: var(--ink); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 14px; padding: 4px 8px; transform: rotate(3deg); }
.dbody { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.dtitle { font-family: var(--font-display); font-weight: 800; font-size: 22px; text-transform: uppercase; line-height: 1; }
.dmeta { font-size: 13px; color: var(--muted); }
.dparts { font-size: 15px; margin-top: 4px; }
.donor-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; align-items: start; margin-top: 16px; }
.donor-shot figure { margin: 0; border: 2px solid var(--ink); }
.donor-shot img { width: 100%; height: auto; display: block; }
.donor-shot figcaption { font-size: 13px; color: var(--muted); padding: 8px 10px; background: var(--surface); border-top: 2px solid var(--ink); }
.status { display: inline-block; font-weight: 600; padding: 4px 10px; margin: 10px 0 18px; background: var(--acid); }
.status.in_transit { background: var(--orange); }
.donor-page section { margin-top: 56px; }
.donor-page .head { margin-bottom: 18px; }
.empty-note { margin-top: 48px; max-width: 60ch; }
@media (max-width: 56em) { .donor-top { grid-template-columns: 1fr; } }

/* як купити / 404 */
.how-page, .empty-page { padding-top: 10px; padding-bottom: 20px; }
.how-page .head-s { margin: 56px 0 18px; }
.how-page .faq-cols { columns: 2; column-gap: 56px; font-size: 16px; line-height: 1.55; max-width: none; }
.how-page .faq-cols p { break-inside: avoid; max-width: 44ch; margin: 0 0 18px; }
.how-page .faq-cols b { background: var(--acid); padding: 0 4px; }
@media (max-width: 40em) { .how-page .faq-cols { columns: 1; } }
.empty-page { min-height: 50svh; }
.empty-page .search { margin-top: 20px; }

/* контакт: друга кнопка на темному */
.contact .button.ghost { color: #fff; border-color: #fff; }
.contact .button.ghost:hover { background: #fff; color: var(--ink); }
.foot .mono { font-size: 13px; }

/* ефекти появи без JS-залежності: вміст видно завжди */
.shutter img { transition: transform 1200ms var(--ease-soft); }

/* --- правки після перегляду --- */
.frame { position: relative; }
.tagc { position: absolute; left: 0; top: 0; background: rgba(17,17,17,0.85); color: #fff; font-size: 12px; padding: 3px 7px; z-index: 1; }
.frame .strip { height: 34px; gap: 8px; }
.frame .strip span:first-child { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.frame .strip b { flex: 0 0 auto; }
.cta .button.tg { margin-left: 0; width: 100%; }
.cta .button { width: 100%; }
@media (max-width: 48em) {
  .top { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; }
  .top .brand { grid-column: 1; }
  .top .button.tg { grid-column: 2; }
  .top .button.call { grid-column: 3; padding: 0 12px; }
  .topsearch { grid-column: 1 / -1; order: 0; }
  .cta { flex-direction: column; }
}
.tape-track span { font-size: 24px; }
@media (max-width: 48em) {
  .top { grid-template-columns: 1fr auto auto; grid-template-areas: "brand tg call" "search search search"; }
  .top .brand { grid-area: brand; } .top .button.tg { grid-area: tg; } .top .button.call { grid-area: call; } .topsearch { grid-area: search; }
  .top .menu { display: none; }
  .head-s, .head { overflow-wrap: anywhere; }
  .part .head-s { font-size: 1.5rem; }
  .crumbs ol { white-space: nowrap; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
}
