/* semizo.pl - Seven Minds Zone Maciej Zawieja */

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-var.woff") format("woff");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-var.woff") format("woff");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0e0e0f;
  --card: #151516;
  --line: #25221d;
  --line-card: #2a2926;
  --copper: #e0a888;
  --copper-hi: #f2c5a8;
  --copper-dim: #9b7a63;
  --blue: #4a85ff;
  --blue-deep: #1f58d6;
  --text: #cfc9bf;
  --muted: #b3ada3;
  --dim: #8f8a82;
  --white: #f4efe7;
  --grad-blue: linear-gradient(135deg, #4a85ff, #1f58d6);
  --grad-copper: linear-gradient(135deg, #f2c5a8, #c98d68);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 300;
  line-height: 1.65;
}

a { color: var(--copper); text-decoration: none; }
a:hover { color: var(--copper-hi); }
a:focus-visible { outline: 2px solid var(--copper-hi); outline-offset: 3px; }

h1, h2, h3, p, ul { margin: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--card);
  color: var(--copper-hi);
  padding: 10px 16px;
  z-index: 10;
}
.skip-link:focus { left: 8px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* pasek górny */
.topbar { border-bottom: 1px solid var(--line); }
.topbar .wrap {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  align-items: center;
  justify-content: space-between;
}
.brandmark { display: flex; align-items: center; gap: 14px; }
.brandmark-name { font-size: 13px; letter-spacing: 0.28em; color: var(--copper); font-weight: 500; }
.dots { display: flex; gap: 5px; }
.dots i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-blue); }
.nav { display: flex; flex-wrap: wrap; gap: 0 28px; font-size: 13px; letter-spacing: 0.14em; }
.nav a { color: var(--text); padding: 12px 0; }
.nav a:hover { color: var(--copper-hi); }

/* pierwszy ekran */
.hero { position: relative; }
.side-code {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--copper-dim);
}
.hero .wrap {
  padding-top: 88px;
  padding-bottom: 104px;
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
}
.hero-text { flex: 1 1 480px; min-width: 0; max-width: 760px; }
.eyebrow { font-size: 13px; letter-spacing: 0.34em; color: var(--copper); font-weight: 400; }
.hero h1 {
  margin-top: 28px;
  font-size: 54px;
  line-height: 1.12;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.01em;
}
.lead { margin-top: 28px; font-size: 18px; max-width: 540px; color: var(--text); }
.hero-net { flex: 0 1 380px; margin-left: auto; margin-right: 24px; }
.hero-net svg { display: block; width: 100%; height: auto; }

/* sekcje */
.section { border-top: 1px solid var(--line); }
.section .wrap { padding-top: 88px; padding-bottom: 88px; }
h2.title { font-size: 32px; font-weight: 300; color: var(--white); letter-spacing: 0.02em; }
.section-lead { margin-top: 16px; max-width: 620px; color: var(--muted); font-size: 16px; }

/* marki */
.brands { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 32px;
  border: 1px solid var(--line-card);
  background: var(--card);
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--copper); transform: translateY(-3px); color: var(--text); }
.sq { display: block; width: 14px; height: 14px; background: var(--grad-blue); }
.sq.copper { background: var(--grad-copper); }
.card-name { font-size: 22px; font-weight: 500; color: var(--white); letter-spacing: 0.02em; }
.card p { font-size: 15px; color: var(--muted); }
.go { margin-top: auto; padding-top: 12px; font-size: 13px; letter-spacing: 0.14em; color: var(--copper); font-weight: 500; }
.card-project { margin-top: 24px; }
.card-project .go { margin-top: 0; color: var(--blue); }
.card-project p { max-width: 640px; }
.project-head { display: flex; align-items: center; gap: 14px; }
.project-label { font-size: 12px; letter-spacing: 0.3em; color: var(--copper-dim); }

/* o mnie */
.about { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.portrait { flex: 0 1 320px; min-width: 0; }
.portrait img { display: block; width: 100%; max-width: 320px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.about-text { flex: 1 1 460px; min-width: 0; font-size: 16px; }
.about-label { font-size: 12px; letter-spacing: 0.3em; color: var(--copper); }
.about-text h2 { margin-top: 20px; font-size: 32px; font-weight: 300; color: var(--white); line-height: 1.25; }
.about-big { margin-top: 28px; font-size: 22px; line-height: 1.5; font-weight: 300; color: var(--white); }
.about-text .about-p { margin-top: 20px; }

.minds { list-style: none; margin-top: 64px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.minds li { padding: 24px 22px 26px; border: 1px solid var(--line-card); background: var(--card); }
.minds .dot { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--grad-blue); }
.minds h3 { margin-top: 16px; font-size: 16px; font-weight: 500; color: var(--copper); letter-spacing: 0.02em; }
.minds p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* kontakt i stopka */
.contact .wrap { padding-top: 88px; padding-bottom: 0; text-align: center; }
.site-footer .wrap { padding-top: 72px; padding-bottom: 72px; text-align: center; }
.contact .section-lead { margin-left: auto; margin-right: auto; max-width: 520px; }
.contact-links { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 40px; font-size: 20px; }
.contact-links a { padding: 8px 0; }
.foot-dots { display: flex; justify-content: center; gap: 10px; }
.foot-dots i { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--grad-blue); }
.copyright { margin-top: 20px; font-size: 12px; letter-spacing: 0.16em; color: var(--muted); }
.company { margin: 14px auto 0; max-width: 640px; font-size: 13px; line-height: 1.7; color: var(--dim); font-style: normal; }
.legal-link { margin-top: 10px; font-size: 13px; }
.legal-link a { display: inline-block; padding: 8px 0; }
.foot-code { display: block; margin-top: 14px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.2em; color: var(--copper-dim); }

/* podstrona prywatności */
.legal .wrap { max-width: 808px; padding-top: 72px; padding-bottom: 88px; font-size: 14px; line-height: 1.75; color: var(--muted); }
.legal h1 { font-size: 28px; font-weight: 300; color: var(--white); letter-spacing: 0.02em; line-height: 1.3; }
.legal h2 { margin-top: 32px; font-size: 14px; font-weight: 500; color: var(--copper); letter-spacing: 0.04em; }
.legal p { margin-top: 8px; }
.back { display: inline-block; margin-top: 48px; padding: 8px 0; font-size: 14px; }

/* mniejsze ekrany */
@media (max-width: 1000px) {
  .minds { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .side-code { display: none; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 34px; }
  .hero .wrap { padding-top: 56px; padding-bottom: 64px; }
  .hero-net { display: none; }
  .section .wrap { padding-top: 64px; padding-bottom: 64px; }
  h2.title, .about-text h2 { font-size: 26px; }
  .about-big { font-size: 19px; }
  .minds { grid-template-columns: 1fr; }
  .card { padding: 28px 24px; }
  .contact-links { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
  .card:hover { transform: none; }
}
