/* Korpopsy "High Key" color family, dark-ground arrangement (adopted 2026-07-20,
   replacing the original navy+gold) - see ../../docs/brand.html#palette */
:root {
  --ink: #14181d;
  --ink-deep: #0c0f13;
  --accent: #c8102e;
  --muted: #737a84;
  --bg-light: #efede8;
  --body: #3d4249;
  --white: #f7f6f3;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid #e6e4df;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.wordmark {
  text-decoration: none;
  color: var(--ink);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0.015em;
}

.wordmark .sa { font-weight: 300; }

.wordmark::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 6px;
  background: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.site-nav a:hover { color: var(--accent); }

.btn {
  display: inline-block;
  text-decoration: none;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.btn:hover { filter: brightness(1.06); }

.site-nav .btn {
  font-size: 15px;
  padding: 12px 24px;
}

/* ---------- hero ---------- */

.hero { background: var(--ink); }

.hero .container {
  display: grid;
  grid-template-columns: 1fr 660px;
  gap: 64px;
  align-items: end;
  padding-top: 72px;
}

.hero-copy { padding-bottom: 72px; }

.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.21em;
  color: var(--accent);
}

.hero h1 {
  margin-top: 28px;
  font-size: 58px;
  line-height: 1.12;
  font-weight: 700;
  color: var(--white);
}

.hero-sub {
  margin-top: 28px;
  max-width: 520px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
}

.hero-ctas {
  margin-top: 28px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-ctas .btn { font-size: 16px; padding: 16px 32px; }

.btn-ghost {
  display: inline-block;
  text-decoration: none;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 32px;
  border: 1px solid var(--muted);
}

.btn-ghost:hover { border-color: var(--white); }

.hero-portrait { align-self: end; }
.hero-portrait img { width: 100%; height: auto; display: block; }

/* ---------- stats ---------- */

.stats { background: var(--bg-light); }

.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 48px;
  text-align: center;
}

.stat b {
  display: block;
  font-size: 44px;
  font-weight: 700;
  color: var(--ink);
}

.stat span { font-size: 15px; }

/* ---------- sections ---------- */

section { scroll-margin-top: 90px; }

.section-pad { padding: 96px 0; }

.section-head { max-width: 720px; }

.section-head.centered {
  margin: 0 auto;
  text-align: center;
}

.section-head .eyebrow { font-size: 13px; }

.section-head h2 {
  margin-top: 12px;
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.section-head p { margin-top: 12px; font-size: 16px; }

/* o nas */

.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
}

.about-copy p { font-size: 17px; line-height: 1.65; }
.about-copy p + p { margin-top: 20px; }

/* wartości */

.values { background: var(--bg-light); }

.values-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  background: var(--white);
  padding: 36px 32px;
}

.value-card svg { color: var(--accent); width: 32px; height: 32px; }

.value-card h3 {
  margin-top: 18px;
  font-size: 21px;
  color: var(--ink);
}

.value-card p { margin-top: 14px; font-size: 15px; line-height: 1.6; }

/* zespół */

.team-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.person img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; }

.person figcaption { padding-top: 16px; }

.person figcaption::before {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-bottom: 10px;
  background: var(--accent);
}

.person b {
  display: block;
  font-size: 16px;
  color: var(--ink);
}

.person span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

/* kariera */

.kariera { background: var(--ink); }
.kariera .section-head h2 { color: var(--white); }
.kariera .section-head p { color: var(--muted); }

.job-card {
  margin: 48px auto 0;
  max-width: 760px;
  background: var(--white);
  padding: 36px 40px;
}

.job-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.job-top h3 { font-size: 22px; color: var(--ink); }

.job-meta { margin-top: 6px; font-size: 14px; color: var(--muted); }

.job-badge {
  flex-shrink: 0;
  background: #f8e3e6;
  color: #a00d24;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 6px 14px;
}

.job-list {
  list-style: none;
  margin-top: 20px;
}

.job-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
}

.job-list li + li { margin-top: 10px; }

.job-list svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--accent);
}

.job-card .btn {
  margin-top: 20px;
  font-size: 15px;
  padding: 14px 28px;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink-deep);
  padding: 64px 0 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-brand .wordmark { color: var(--white); font-size: 18px; }

.footer-brand p { margin-top: 12px; font-size: 14px; color: var(--muted); }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.21em;
  color: var(--accent);
}

.footer-col p, .footer-col a {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col a:hover { color: var(--white); }

.footer-col svg { width: 16px; height: 16px; }

.fine-print {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid #2a2d31;
  font-size: 12.5px;
  color: #6b7076;
}

/* ---------- legal (polityka prywatności) ---------- */

.legal-hero {
  background: var(--ink);
  padding: 72px 0;
}

.legal-hero h1 {
  margin-top: 20px;
  font-size: 44px;
  line-height: 1.12;
  font-weight: 700;
  color: var(--white);
}

.legal-updated {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.legal .container { max-width: 820px; }

.legal-tldr {
  background: var(--bg-light);
  padding: 32px 36px;
}

.legal-tldr h2 { margin-top: 0; }

.legal h2 {
  margin-top: 48px;
  font-size: 23px;
  font-weight: 700;
  color: var(--ink);
}

.legal h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 10px;
  background: var(--accent);
}

.legal p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.65;
}

.legal ul {
  margin-top: 16px;
  padding-left: 22px;
}

.legal li {
  font-size: 16px;
  line-height: 1.65;
}

.legal li + li { margin-top: 8px; }

.legal b { color: var(--ink); }

.legal a { color: var(--accent); }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .hero h1 { font-size: 44px; }
  .hero .container { grid-template-columns: 1fr 440px; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .site-nav a:not(.btn) { display: none; }
  .container { padding: 0 24px; }
  .section-pad { padding: 56px 0; }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 40px;
  }
  .hero-copy { padding-bottom: 32px; }
  .hero h1 { font-size: 34px; margin-top: 20px; }
  .hero-sub { font-size: 15px; margin-top: 20px; }
  .hero-ctas { margin-top: 24px; gap: 12px; }
  .hero-ctas .btn, .btn-ghost { font-size: 14px; padding: 14px 24px; }
  .section-head h2 { font-size: 26px; }
  .legal-hero { padding: 48px 0; }
  .legal-hero h1 { font-size: 32px; }
  .legal-tldr { padding: 24px 22px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .job-top { flex-direction: column; align-items: flex-start; }
  .job-card { padding: 24px 22px; }
}
