/* Burekode – site styles */

:root {
  --accent: #E8A33D;
  --ink: #14120F;
  --ink-2: #1A1714;
  --card: #1C1915;
  --line: #2A2622;
  --line-strong: #4A433B;
  --text: #F2ECE2;
  --text-2: #CFC6B8;
  --text-3: #B8AE9F;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --radius: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--text); }
a:hover { color: #fff; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

p { margin: 0; }

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

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  padding: 16px 28px;
  border-radius: 999px;
  text-align: center;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { font-size: 15px; padding: 12px 20px; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { color: var(--ink); filter: brightness(1.06); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-strong); font-weight: 500; }
.btn-dark { background: var(--ink); color: var(--text); }
.btn-outline-dark { color: var(--ink); border: 1.5px solid var(--ink); font-size: 16px; }
.btn-outline-dark:hover { color: var(--ink); }

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

.site-header { border-bottom: 1px solid var(--line); }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.wordmark span { color: var(--accent); }
.wordmark.small { font-size: 17px; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}
.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--text-2);
  font-size: 15px;
  padding: 10px 0;
}
.nav-links a:not(.btn):hover { color: #fff; }

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

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding-block: 96px 80px;
}

.hero-copy {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 560px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-2);
}

.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-art {
  flex: 1 1 380px;
  max-width: 460px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-art img { max-height: 320px; margin-inline: auto; }

.hero-art pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
  white-space: pre-wrap;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
}

/* ---------- bands & stats ---------- */

.band {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 32px;
  padding-block: 40px;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  color: var(--accent);
}
.stat span { font-size: 15px; color: var(--text-3); }

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

.section {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-block: 112px 96px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
}
.section-head h2 {
  font-weight: 800;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
}
.muted { color: var(--text-2); font-size: 18px; }

/* services */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card h3 { font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.card p { color: var(--text-2); font-size: 16px; }

.icon {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* work */

.cases { display: flex; flex-direction: column; gap: 20px; }
.case {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  padding: 36px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.case-title { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.case-title h3 { font-weight: 700; font-size: 28px; line-height: 1.15; }
.case-body { flex: 2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.case-body p:first-child { color: var(--text-2); }
.meta { font-family: var(--font-mono); font-size: 13px; color: var(--text-3); }

/* process */

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.steps li {
  border-top: 2px solid var(--accent);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.steps .num { font-family: var(--font-mono); font-size: 14px; color: var(--accent); }
.steps h3 { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.steps p { color: var(--text-2); font-size: 16px; }

.terms {
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding: 24px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 15px;
  color: var(--text-2);
}

/* stack strip */

.stack { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stack p {
  padding-block: 28px;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-3);
  text-align: center;
}

/* contact */

.contact-wrap { padding-block: 120px; }
.contact {
  background: var(--accent);
  color: var(--ink);
  border-radius: 28px;
  padding: clamp(36px, 6vw, 72px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.contact-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-copy h2 {
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.04;
}
.contact-copy p { font-size: 19px; max-width: 560px; color: #2B2620; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; flex: 0 1 320px; }

/* footer */

.site-footer { border-top: 1px solid var(--line); }
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 32px;
  font-size: 14px;
  color: var(--text-3);
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a, .footer-links span { padding: 10px 0; }
.footer-links a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: #fff; }

/* ---------- small screens ---------- */

@media (max-width: 600px) {
  .container { padding-inline: 16px; }
  .hero { padding-block: 56px 48px; gap: 40px; }
  .section { padding-block: 72px 64px; }
  .case { padding: 24px; }
  .contact-wrap { padding-block: 72px; }
}
