/* ARENA BRNO Production - design mockup stylesheet.
   Single stylesheet shared by the English root page and the Czech page. */

/* ---------- Design tokens ---------- */
:root {
  color-scheme: light dark;

  --bg: #ffffff;
  --surface: #f4f6f8;
  --surface-2: #eceff3;
  --ink: #0c1017;
  --ink-soft: #3c4654;
  --muted: #68727f;
  --line: rgba(12, 16, 23, 0.12);
  --line-strong: rgba(12, 16, 23, 0.22);

  --brand: #0c1017;
  --brand-ink: #f2f5f8;
  --brand-muted: #9aa6b4;
  --brand-line: rgba(255, 255, 255, 0.14);

  --accent: #e30613;
  --accent-hover: #c0050f;
  --accent-ink: #ffffff;
  --accent-soft: rgba(227, 6, 19, 0.1);
  --accent-text: #c0050f;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "Barlow Condensed", "Inter", system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(12, 16, 23, 0.05), 0 12px 32px -18px rgba(12, 16, 23, 0.3);

  --page: 1140px;
  --gutter: 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0d12;
    --surface: #11151c;
    --surface-2: #171c24;
    --ink: #eef2f7;
    --ink-soft: #c2cad4;
    --muted: #93a0b0;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.24);

    --brand: #06080b;
    --accent: #e30613;
    --accent-hover: #ff2733;
    --accent-ink: #ffffff;
    --accent-soft: rgba(227, 6, 19, 0.18);
    /* Lightened only for small text, where the brand red alone is too dark on black. */
    --accent-text: #ff5247;

    --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 16px 40px -24px rgba(0, 0, 0, 0.9);
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

strong { font-weight: 650; }

:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip:focus { left: 0; }

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.head-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: none;
}

.brand-logo {
  display: block;
  flex: none;
  height: 38px;
  width: auto;
  color: var(--ink);
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.site-nav a:hover { color: var(--ink); background: var(--surface); }
.site-nav a[aria-current="true"] { color: var(--accent-text); }

.lang {
  flex: none;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang a {
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
}
.lang a[aria-current="page"] {
  background: var(--ink);
  color: var(--bg);
}

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--brand);
  color: var(--brand-ink);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 150%;
  background:
    radial-gradient(60% 55% at 76% 18%, rgba(227, 6, 19, 0.42), transparent 70%),
    radial-gradient(45% 45% at 12% 88%, rgba(60, 110, 190, 0.26), transparent 72%);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--brand-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--brand-line) 1px, transparent 1px);
  background-size: 100% 64px, 64px 100%;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 20%, transparent 100%);
  opacity: 0.5;
  z-index: -1;
}

.hero-inner {
  padding: clamp(64px, 11vw, 132px) 0 clamp(40px, 6vw, 64px);
  display: grid;
  gap: 28px;
  max-width: 820px;
}
.hero-inner > * { min-width: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: start;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-ink);
  justify-self: start;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  padding: 7px 15px 7px 11px;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.25);
}

.hero h1 {
  font-size: clamp(42px, 7.4vw, 86px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  white-space: nowrap;
}

.hero-lead {
  font-size: clamp(16.5px, 1.6vw, 19.5px);
  color: var(--brand-muted);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.16s, border-color 0.16s, transform 0.16s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost {
  border-color: var(--brand-line);
  color: var(--brand-ink);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* Facts strip */
.facts {
  border-top: 1px solid var(--brand-line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.facts > div {
  padding: 22px 0 28px;
  border-right: 1px solid var(--brand-line);
  padding-right: 20px;
}
.facts > div:last-child { border-right: 0; }
.facts dt {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-muted);
  margin-bottom: 6px;
}
.facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.1vw, 26px);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.facts dd small {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--brand-muted);
  margin-top: 3px;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(56px, 8vw, 104px) 0;
  border-bottom: 1px solid var(--line);
}
.section.alt { background: var(--surface); }
.section:last-of-type { border-bottom: 0; }

.section-head {
  display: grid;
  gap: 14px;
  max-width: 68ch;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.legal-ref {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.section h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 700;
  text-transform: uppercase;
}

.section-lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 62ch;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.section.alt .card { background: var(--bg); }

.card .ico {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 4px;
}
.card h3 {
  font-size: 21px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.card p {
  font-size: 15px;
  color: var(--muted);
}

/* ---------- Data tables ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15.5px;
}
.data-table caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  padding-bottom: 14px;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.data-table tr:last-child th,
.data-table tr:last-child td { border-bottom: 0; }
.data-table th {
  font-weight: 500;
  color: var(--muted);
  width: 38%;
  background: color-mix(in srgb, var(--surface) 60%, transparent);
}
.data-table td { font-weight: 550; }
.data-table td .note {
  display: block;
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
  margin-top: 3px;
}

.table-foot {
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
}

/* ---------- Ownership chain ---------- */
.chain {
  display: grid;
  gap: 0;
  max-width: 560px;
  margin-bottom: 36px;
}

.chain-node {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 18px 22px;
  display: grid;
  gap: 4px;
}
.chain-node.is-city { background: var(--surface-2); }
.chain-node.is-self {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.chain-kind {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.chain-name {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  text-transform: uppercase;
}

.chain-link {
  justify-self: start;
  margin-left: 40px;
  padding: 10px 0 10px 22px;
  border-left: 2px solid var(--line-strong);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
}
.chain-link::before {
  content: "";
  position: absolute;
  left: -6px;
  bottom: 8px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--line-strong);
  border-bottom: 2px solid var(--line-strong);
  transform: rotate(45deg);
}
.chain-link .pct { color: var(--accent-text); }

/* ---------- Activity chips ---------- */
.chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
}
.chip::before {
  content: "";
  flex: none;
  width: 6px;
  height: 22px;
  border-radius: 3px;
  background: var(--accent);
  opacity: 0.85;
}

/* ---------- Callout ---------- */
.callout {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: grid;
  gap: 16px;
  max-width: 820px;
}
.callout h3 {
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
}
.callout p { font-size: 15.5px; color: var(--muted); }

.ext {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent-text);
  text-decoration: none;
  border-bottom: 2px solid var(--accent-soft);
  padding-bottom: 2px;
}
.ext:hover { border-bottom-color: var(--accent); }

/* ---------- Numbered disclosure list ---------- */
.disclosures {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  gap: 2px;
  counter-reset: item;
}
.disclosures li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.disclosures li:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.disclosures li:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.disclosures li + li { border-top: 0; }
.disclosures li::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.disclosures b {
  font-weight: 650;
  display: block;
}
.disclosures span {
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.contact-card {
  background: var(--brand);
  color: var(--brand-ink);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 22px;
}
.contact-card h3 {
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
}
.contact-list {
  display: grid;
  gap: 18px;
  margin: 0;
}
.contact-list dt {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-muted);
  margin-bottom: 4px;
}
.contact-list dd {
  margin: 0;
  font-size: 16.5px;
  font-weight: 550;
}
.contact-list dd a { color: var(--brand-ink); }

.map {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
}
.map-canvas {
  width: 100%;
  min-height: 340px;
  flex: 1;
  background: var(--surface-2);
  font-family: var(--font-body);
}
.map-pin {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 6px rgba(227, 6, 19, 0.28), 0 2px 6px rgba(0, 0, 0, 0.35);
}
.map figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  font-size: 14px;
}
.map figcaption span { color: var(--muted); }
.map figcaption a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: var(--accent-text);
  text-decoration: none;
}
.map figcaption a:hover { text-decoration: underline; }

/* OpenStreetMap only serves light tiles. In dark mode the tiles are inverted and
   turned back to their own hues; the marker sits in its own pane and keeps the
   brand red. */
@media (prefers-color-scheme: dark) {
  .map-canvas .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(0.95) contrast(0.9); }
  .map-canvas .leaflet-control-attribution { background: rgba(10, 13, 18, 0.8); color: var(--muted); }
  .map-canvas .leaflet-control-attribution a { color: var(--ink-soft); }
  .map-canvas .leaflet-bar a { background: var(--surface); color: var(--ink); border-color: var(--line); }
}

/* ---------- Footer ---------- */
.site-foot {
  background: var(--brand);
  color: var(--brand-muted);
  padding: 44px 0 36px;
  font-size: 14px;
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}
.foot-row p { margin: 0; }
.foot-mark {
  display: block;
  flex: none;
  border-radius: 7px;
}
.site-foot .mockup {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--brand-line);
  font-size: 13px;
  opacity: 0.8;
}

/* ---------- Motion ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js .reveal.in { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div:nth-child(2n) { border-right: 0; }
  .facts > div:nth-child(-n + 2) { border-bottom: 1px solid var(--brand-line); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .head-row { min-height: 64px; }
  .site-nav {
    order: 3;
    width: 100%;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 10px;
    border-top: 1px solid var(--line);
    padding-top: 10px;
  }
  .head-row { flex-wrap: wrap; padding-top: 10px; }
  .lang { margin-left: auto; }
  html { scroll-padding-top: 130px; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .eyebrow { letter-spacing: 0.1em; font-size: 11.5px; line-height: 1.35; }
  .facts { grid-template-columns: 1fr; }
  .facts > div {
    border-right: 0;
    border-bottom: 1px solid var(--brand-line);
  }
  .facts > div:last-child { border-bottom: 0; }
  .data-table th,
  .data-table td { padding: 13px 15px; }
  .data-table th { width: 42%; }
  .disclosures li { grid-template-columns: 38px 1fr; gap: 12px; padding: 16px; }
  .contact-card { padding: 24px; }
}
