
:root {
  --bg: #020c18;
  --bg-deep: #010813;
  --text: #f3efe8;
  --muted: #c5c8cf;
  --subtle: #8993a0;
  --line: rgba(170, 185, 203, 0.18);
  --accent: #3c91e6;
  --accent-soft: #69adf0;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 8%, rgba(11, 53, 91, 0.22), transparent 31%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 55%, #020b15 100%);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.site-header {
  min-height: 82px;
  padding: 0 max(40px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(1, 8, 19, 0.92);
  position: relative;
  z-index: 10;
}
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  letter-spacing: -0.01em;
}
nav { display: flex; gap: 42px; }
nav a {
  position: relative;
  padding: 28px 0 24px;
  color: #e7e4df;
  font-size: 16px;
}
nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 1px;
  background: var(--accent);
}
h1, h2, h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.98fr);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-copy {
  width: min(560px, calc(100% - 80px));
  margin-left: max(40px, calc((100vw - var(--max)) / 2));
  padding-top: 91px;
  padding-bottom: 56px;
  align-self: start;
}
.hero h1 {
  font-size: clamp(72px, 7.2vw, 103px);
  line-height: 0.9;
}
.accent-line, .page-accent {
  display: block;
  width: 64px;
  height: 1px;
  background: var(--accent);
}
.accent-line { margin: 37px 0 31px; }
.page-accent { margin: 28px 0 0; }
.hero-description {
  width: min(455px, 100%);
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.62;
}
.justified, .hero-description p, .about-copy p, .page-intro, .entry-lead {
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
}
.hero-description p, .about-copy p { margin: 0 0 20px; }
.hero-photo { margin: 0; height: 640px; background: #080a0c; overflow: hidden; }
.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 21%;
}
.section {
  width: 100%;
  padding: 48px max(40px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
}
.section h2 { font-size: 42px; line-height: 1.1; }
.about {
  min-height: 454px;
  display: grid;
  grid-template-columns: 250px minmax(0, 650px);
  gap: 55px;
  align-items: start;
}
.about-copy {
  color: #e4e0db;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}
.about-copy p { margin-bottom: 17px; }
.article-list { list-style: none; padding: 0; margin: 25px 0 0; }
.article-list li { border-bottom: 1px solid var(--line); }
.article-list li:last-child { border-bottom: 0; }
.article-list a {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 28px;
  min-height: 58px;
}
time, .source { color: #a7afb9; font-size: 15px; }
.article-title { font-size: 18px; }
.source { text-align: right; }
.contact-home {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 55px;
  align-items: start;
}
.contact-home-data { display: grid; gap: 5px; }
.contact-home-data a { color: var(--accent-soft); font-size: 18px; }
.site-footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 0 max(40px, calc((100vw - var(--max)) / 2));
  color: #9aa1aa;
  font-size: 13px;
}

/* Podstrony */
.page-shell {
  width: min(var(--max), calc(100% - 80px));
  margin: 0 auto;
}
.page-hero {
  padding: 82px 0 64px;
  border-bottom: 1px solid var(--line);
}
.page-kicker {
  margin: 0 0 22px;
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.page-hero h1 {
  font-size: clamp(58px, 7vw, 86px);
  line-height: .98;
}
.page-intro {
  max-width: 820px;
  margin: 34px 0 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.65;
}
.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 34px;
  padding: 30px 0 70px;
}
.category-link {
  min-height: 126px;
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.category-link:nth-child(-n+2) { border-top: 1px solid var(--line); }
.category-index { color: var(--subtle); font-size: 13px; }
.category-name { font-family: Georgia, "Times New Roman", serif; font-size: 26px; line-height: 1.15; }
.category-arrow { color: var(--accent); font-size: 22px; text-align: right; }
.category-link:hover .category-name { color: white; }

.contact-page {
  padding: 66px 0 100px;
}
.contact-label {
  margin: 0 0 20px;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.email-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.email-pair a, .phone-link {
  color: var(--accent-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.4vw, 31px);
  overflow-wrap: anywhere;
}
.phone-block { padding-top: 48px; }
.phone-link { display: inline-block; }
.email-pair a:hover, .phone-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.archive-list { padding-bottom: 70px; }
.entry {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 38px;
  padding: 42px 0 44px;
  border-bottom: 1px solid var(--line);
}
.entry-meta { color: var(--muted); font-size: 13px; }
.entry-date { color: var(--text); font-size: 15px; margin-bottom: 27px; }
.meta-label {
  display: block;
  color: var(--subtle);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  margin-top: 16px;
}
.entry h2 {
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.16;
  letter-spacing: -.025em;
}
.entry h2 a:hover { color: white; }
.entry-lead {
  margin: 17px 0 22px;
  max-width: 790px;
  color: #d7dce2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
}
.entry-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tag {
  padding: 4px 9px;
  border: 1px solid rgba(80, 157, 225, .32);
  border-radius: 3px;
  color: var(--accent-soft);
  font-size: 11px;
}
.open-link { margin-left: auto; color: var(--accent-soft); font-size: 13px; }
.back-link { display: inline-block; margin: 32px 0 72px; color: var(--muted); }
.back-link:hover { color: white; }

@media (max-width: 860px) {
  .site-header { padding-inline: 24px; }
  nav { gap: 22px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { margin-left: 24px; width: calc(100% - 48px); padding-top: 58px; }
  .hero-photo { height: 560px; }
  .section { padding-inline: 24px; }
  .about, .contact-home { grid-template-columns: 1fr; gap: 28px; }
  .article-list a { grid-template-columns: 110px 1fr 40px; gap: 14px; }
  .page-shell { width: calc(100% - 48px); }
  .category-grid { grid-template-columns: 1fr; }
  .category-link:nth-child(2) { border-top: 0; }
  .email-pair { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .brand { font-size: 18px; }
  nav { gap: 15px; }
  nav a { font-size: 14px; }
  .hero h1 { font-size: 66px; }
  .hero-description { font-size: 17px; }
  .hero-photo { height: 490px; }
  .article-list a { grid-template-columns: 1fr auto; padding: 15px 0; }
  .article-list time { grid-column: 1; }
  .article-title { grid-column: 1 / -1; }
  .source { grid-column: 2; grid-row: 1; }
  .page-hero { padding-top: 58px; }
  .entry { grid-template-columns: 1fr; gap: 12px; }
  .entry-date { margin-bottom: 10px; }
  .entry-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
  .meta-label { margin-top: 0; }
  .open-link { width: 100%; margin: 12px 0 0; }
}
