/* Marika Wolska - brand strategist
   Faza 2: statyczny HTML/CSS
   Projekt koncepcyjny / portfolio Sabotage Studio */

:root {
  --biel: #FAF7F2;
  --piasek: #F2EBE1;
  --terakota: #C8654A;
  --czern: #1C1A18;
  --szary: #5B554E;
  --kamien: #8C8378;

  --line: rgba(28, 26, 24, 0.12);
  --line-strong: rgba(28, 26, 24, 0.14);
  --on-dark-70: rgba(250, 247, 242, 0.7);

  --serif: Newsreader, Georgia, serif;
  --sans: Inter, system-ui, -apple-system, sans-serif;

  --col: 1040px;
  --pad-x: 72px;
  --indent: 96px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--biel);
  color: var(--czern);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: var(--terakota); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--czern); }
:focus-visible { outline: 1px solid var(--terakota); outline-offset: 3px; }
::selection { background: var(--terakota); color: var(--biel); }

h1, h2, h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -0.01em; text-wrap: balance; }
h3 { font-weight: 400; }
p { text-wrap: pretty; }
ul, ol { list-style: none; }

.w { max-width: var(--col); margin: 0 auto; padding: 0 var(--pad-x); }

.eyebrow { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--kamien); }
.label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--kamien); }

.btn {
  display: inline-block;
  padding: 17px 32px;
  background: var(--terakota);
  color: var(--biel);
  border: 0;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn:hover { background: #A94F37; color: var(--biel); }

/* --- nagłówek --- */

.site-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0;
}
.site-head strong { font-family: var(--serif); font-weight: 400; font-size: 19px; letter-spacing: 0.01em; }
.site-head span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--kamien); }

/* --- hero --- */

.hero { display: flex; flex-direction: column; gap: 44px; padding: 112px 0 120px; }
.hero h1 { max-width: 22ch; font-size: clamp(40px, 6.2vw, 82px); line-height: 1.08; letter-spacing: -0.015em; }
.hero h1 em { font-style: italic; color: var(--terakota); }
.hero__body { display: flex; flex-direction: column; gap: 36px; margin-left: var(--indent); max-width: 46ch; }
.hero__body p { font-size: 19px; color: var(--szary); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hero__cta span { font-size: 14px; color: var(--kamien); }

/* --- sekcje --- */

.section { display: flex; flex-direction: column; gap: 44px; padding: 96px 0; }
.section--rule { border-top: 1px solid var(--line-strong); }
.section--wide { gap: 56px; }
.section__head { display: flex; flex-direction: column; gap: 18px; }
.section__head h2 { max-width: 24ch; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.14; }

/* --- dla kogo --- */

.fits {
  display: flex;
  flex-direction: column;
  margin-left: var(--indent);
  max-width: 56ch;
  border-bottom: 1px solid var(--line);
}
.fits li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.fits em { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--terakota); }
.fits p { font-size: 18px; }

/* --- proces --- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.step { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 2px solid var(--terakota); }
.step__meta { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--kamien); }
.step h3 { font-size: 27px; line-height: 1.18; }
.step p { font-size: 16px; color: var(--szary); }
.step__out { margin-top: 6px; font-size: 14px; }

/* --- o mnie --- */

.about { background: var(--piasek); padding: 104px 0; }
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.about img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.about__body { display: flex; flex-direction: column; gap: 26px; }
.about__quote {
  max-width: 32ch;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.about__body p:not(.about__quote) { max-width: 48ch; font-size: 17px; color: var(--szary); }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}
.facts > div { display: flex; flex-direction: column; gap: 4px; }
.facts strong { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.facts span { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--kamien); }

/* --- rozmowa --- */

.consult { padding: 104px var(--pad-x) 112px; }
.consult__body { display: flex; flex-direction: column; gap: 22px; }
.consult h2 { max-width: 16ch; font-size: clamp(30px, 3.8vw, 52px); line-height: 1.1; letter-spacing: -0.015em; }
.consult__body > p { max-width: 38ch; font-size: 17px; color: var(--szary); }
.consult__meta { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; font-size: 16px; }
.consult__meta span { color: var(--kamien); }

form { display: flex; flex-direction: column; gap: 24px; }
form label { display: flex; flex-direction: column; gap: 9px; }
form input, form textarea {
  padding: 13px 2px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(28, 26, 24, 0.28);
  color: var(--czern);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  outline: none;
}
form textarea { resize: vertical; }
form input:focus, form textarea:focus { border-bottom-color: var(--terakota); }
form button { align-self: flex-start; margin-top: 8px; }
form .note { font-size: 13px; color: var(--kamien); }

/* --- stopka --- */

footer { background: var(--czern); color: var(--on-dark-70); }
footer .w { padding: 72px var(--pad-x) 40px; }
footer a { color: var(--on-dark-70); }
footer a:hover { color: var(--biel); }
.foot__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(250, 247, 242, 0.16);
}
.foot__brand { display: flex; flex-direction: column; gap: 12px; max-width: 32ch; }
.foot__brand strong { font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--biel); }
.foot__brand p { font-size: 14px; }
.foot__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot__col .label { font-size: 10px; letter-spacing: 0.2em; color: rgba(250, 247, 242, 0.42); }
.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(250, 247, 242, 0.42);
}

/* --- responsywność --- */

@media (max-width: 900px) {
  :root { --pad-x: 28px; --indent: 0px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .about img { max-width: 320px; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .foot__top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 620px) {
  :root { --pad-x: 22px; }
  .hero { padding: 96px 0 88px; }
  .section { padding: 72px 0; }
  .consult { padding: 72px var(--pad-x) 88px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
