/* Stránka brand manuálu. Navazuje na static/css/site.css a brand/vizitka/vizitka.css. */

.brand-title .hero__dot { width: 0.27em; height: 0.27em; margin-left: 0.05em; }
.brand-hero .lead { margin-top: clamp(24px, 3vw, 40px); }

.b-grid { display: grid; gap: 16px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.b-6 { grid-column: span 6; }
.b-4 { grid-column: span 4; }
.b-3 { grid-column: span 3; }
.b-8 { grid-column: span 8; }
@media (max-width: 900px) {
  .b-6, .b-4, .b-8 { grid-column: span 12; }
  .b-3 { grid-column: span 6; }
}

.b-text { display: grid; grid-template-columns: minmax(160px, 0.7fr) 2fr; gap: 24px 40px; margin-bottom: clamp(32px, 4vw, 56px); }
.b-text p { margin: 0; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--muted); max-width: 38em; }
.b-text p + p { margin-top: 1em; }
@media (max-width: 760px) { .b-text { grid-template-columns: 1fr; } }

/* dlaždice s logem nebo ukázkou */
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-1);
}
.tile__art {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  padding: 10%;
}
.tile__art img { width: 78%; height: auto; }
.tile__art--light { background: #f3f3f6; }
.tile__art--dark { background: #060609; }
.tile__art--graphite { background: var(--bg-2); }
.tile__art--photo { background: url(../static/img/stock/holo-dark.webp) center / cover; }
.tile__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.tile__foot span { color: var(--muted); }
.dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.dl:hover { background: var(--text); color: var(--bg); }
.dl-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* pravidla */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.rules > div { padding: 22px; border: 1px solid var(--line); border-radius: var(--r); }
.rules h3 { margin: 10px 0 6px; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.rules p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }

/* tři podoby tečky */
.dotdemo { display: grid; place-items: center; aspect-ratio: 1 / 0.8; background: var(--bg); font-size: clamp(120px, 14vw, 200px); line-height: 1; }
.dotdemo .hero__dot { width: 0.62em; height: 0.62em; margin: 0; }
.dotdemo > .dot { width: 0.62em; height: 0.62em; margin: 0; }
.dotdemo--print { display: flex; justify-content: center; align-items: center; gap: 0.1em; }
.dotdemo--print i { display: block; width: 0.5em; height: 0.5em; border-radius: 50%; }
.dotdemo--print i:first-child { background: #8b8e9b; }
.dotdemo--print i:last-child { background: radial-gradient(circle closest-side, #000 0 62%, #fff 64%); border-radius: 0.05em; }
.tile__body { padding: 18px; display: grid; gap: 10px; }
.tile__body h3 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.tile__body p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* barvy */
.colors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.color {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.color b { font-family: var(--f-sans); font-size: 20px; font-weight: 500; letter-spacing: -0.02em; text-transform: none; margin-bottom: 4px; }
.color--wide { grid-column: span 2; min-height: 260px; }
@media (max-width: 760px) {
  .colors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* písma */
.fonts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.font { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); min-height: 360px; }
.font .font__aa { color: var(--text); font-size: clamp(96px, 10vw, 150px); line-height: 0.9; letter-spacing: -0.05em; margin: 0 0 auto; }
.font h3 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.font p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 900px) { .fonts { grid-template-columns: 1fr; } .font { min-height: 0; } }

/* vizitky */
.cards {
  --vk-mm: min(6.2px, calc((100vw - 2 * var(--pad)) / 90));
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 48px);
  justify-content: center;
  padding: clamp(40px, 6vw, 88px) 0;
  border-radius: 28px;
  background:
    radial-gradient(60% 70% at 50% 40%, rgba(122, 108, 255, 0.16), transparent 70%),
    var(--bg-1);
  border: 1px solid var(--line);
}
.vk-frame {
  --mm: var(--vk-mm);
  position: relative;
  width: calc(90 * var(--mm));
  height: calc(50 * var(--mm));
  border-radius: calc(2.5 * var(--mm));
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.vk-frame .vk { margin: calc(-2 * var(--mm)); }
/* duhový lesk jen na tečce, ne na celé vizitce */
.vk-frame .holo__shine { opacity: calc(0.2 + var(--o) * 0.45); }
.vk-frame--back .holo__shine {
  -webkit-mask: radial-gradient(circle calc(19 * var(--mm)) at calc(82 * var(--mm)) calc(9 * var(--mm)), #000 98%, transparent 100%);
  mask: radial-gradient(circle calc(19 * var(--mm)) at calc(82 * var(--mm)) calc(9 * var(--mm)), #000 98%, transparent 100%);
}
.vk-frame--front .holo__shine { display: none; }
.vk-frame .holo__glare { opacity: calc(var(--o) * 0.4); }
.cards__cap { width: 100%; text-align: center; margin: 0; }

.downloads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.downloads a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color 0.2s, background 0.2s;
}
.downloads a:hover { border-color: var(--line-2); background: var(--bg-1); }
.downloads b { font-weight: 500; }
.downloads span { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .downloads { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* sociální sítě */
.social { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; align-items: start; }
.social figure { margin: 0; grid-column: span 3; }
.social figure.s-story { grid-column: span 3; grid-row: span 2; }
.social figure.s-og { grid-column: span 6; }
.social button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 16px; overflow: hidden; }
.social img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 16px; }
.social figcaption { margin-top: 10px; display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .social figure, .social figure.s-story { grid-column: span 6; grid-row: auto; }
  .social figure.s-og { grid-column: span 12; }
}

/* nálada */
.mood { columns: 3 260px; column-gap: 16px; }
.mood figure { margin: 0 0 16px; break-inside: avoid; }
.mood img { width: 100%; height: auto; display: block; border-radius: 16px; }
.mood figcaption { margin-top: 8px; font-size: 13px; color: var(--dim); }
.mood figcaption a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
