/* ============================================================
   Studio Towarowa 10 — Style bazowe
   Reset, typografia, kontener, przyciski, eyebrow, placeholdery.
   Klasy udostępnione agentom sekcji — używać konsekwentnie.
   ============================================================ */

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

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

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text-head);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}
h1 { font-weight: 900; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }

p { margin: 0; }

/* --- Kontener strony (max 1180px, cień) --- */
.site {
  max-width: var(--container-max);
  margin: 0 auto;
  background: var(--bg-base);
  box-shadow: var(--shadow-container);
  overflow: clip;
}

/* --- Sekcja --- */
.section {
  padding: var(--section-py) var(--section-px);
}
.section--panel { background: var(--bg-panel); }
.section--base  { background: var(--bg-base); }

/* Wewnętrzny wrap sekcji, gdyby potrzebne dodatkowe centrowanie */
.section__inner { width: 100%; }

/* --- Eyebrow / etykieta mono (sygnatura "industrial") --- */
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper);
  display: inline-block;
}

/* --- Tag (mono, mniejszy) --- */
.tag {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-tag);
  padding: 3px 8px;
  display: inline-block;
}

/* --- Nagłówek sekcji (wspólny wzorzec: eyebrow + H2 + lead) --- */
.section-head { max-width: 720px; margin: 0 0 34px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: 34px; margin-bottom: 14px; }
.section-head .lead { color: var(--text-2); font-size: 16px; }

/* --- Przyciski --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--copper);
  color: #fff;
}
.btn--primary:hover { background: var(--copper-hover); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-3);
}
.btn--ghost:hover { border-color: var(--text-2); color: var(--text-head); }
.btn--green {
  background: var(--green-line);
  color: #fff;
}
.btn--green:hover { background: #376a56; }

/* --- Placeholder foto/wideo (NIE dashed-box) --- */
.media-ph {
  position: relative;
  background: linear-gradient(150deg, var(--bg-placeholder-a), var(--bg-placeholder-b));
  border: 1px solid var(--border-2);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 220px;
}
.media-ph__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 14px;
}

/* --- Siatka techniczna (tekstura hero / akcenty) --- */
.grid-texture {
  background-image:
    linear-gradient(var(--bg-page) 0 0),
    linear-gradient(#ffffff08 1px, transparent 1px),
    linear-gradient(90deg, #ffffff08 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}

/* Utility */
.u-copper { color: var(--copper); }
.u-amber  { color: var(--amber); }
.u-mono   { font-family: var(--font-mono); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Focus widoczny (a11y) */
:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

/* --- Responsywność globalna --- */
@media (max-width: 860px) {
  .section { padding: 48px var(--section-px-tablet); }
  .section-head h2 { font-size: 28px; }
}
@media (max-width: 520px) {
  .section { padding: 40px var(--section-px-mobile); }
  .section-head h2 { font-size: 24px; }
}
