/* Metelka Studio — main stylesheet */
:root {
  --bg: #f7f6f2;
  --ink: #10131a;
  --muted: #4d5566;
  --line: #e3e0d6;
  --card: #ffffff;
  --accent: #7a3b2e;
  --accent-ink: #ffffff;
  --shadow: 0 1px 2px rgba(16, 19, 26, 0.04), 0 8px 24px rgba(16, 19, 26, 0.06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1116;
    --ink: #eceadf;
    --muted: #a2a89a;
    --line: #262a33;
    --card: #171a21;
    --accent: #d19178;
    --accent-ink: #0f1116;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.4);
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .15s; }
a:hover { border-bottom-color: currentColor; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 5;
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; border: 0; }
.brand em { font-style: normal; color: var(--muted); font-weight: 400; }
.mark {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}
nav a { margin-left: 22px; color: var(--muted); font-size: 15px; }
nav a:hover { color: var(--ink); }

.hero { padding: 90px 0 60px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--muted); margin: 0 0 20px; }
h1 { font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; margin: 0 0 20px; letter-spacing: -0.01em; }
.lede { max-width: 62ch; font-size: 18px; color: var(--muted); margin: 0 0 24px; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 500;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  cursor: pointer; font-size: 15px;
}
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.ghost:hover { background: var(--card); }
.btn.primary:hover { filter: brightness(0.95); }

.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section.alt { background: var(--card); }
h2 { font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-size: 30px; margin: 0 0 32px; letter-spacing: -0.005em; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 720px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px; box-shadow: var(--shadow);
}
.card h3 { margin: 14px 0 8px; font-size: 20px; }
.card p { margin: 0 0 6px; color: var(--muted); }
.card .meta { font-size: 13px; color: var(--muted); }
.thumb { height: 140px; border-radius: 10px; background-size: cover; }
.thumb-a { background: linear-gradient(135deg, #b7a89a, #7a3b2e); }
.thumb-b { background: linear-gradient(135deg, #3a4a5b, #8fa8b8); }
.thumb-c { background: linear-gradient(135deg, #d6ccb7, #9a8b6a); }
.thumb-d { background: linear-gradient(135deg, #4b5b3e, #a6b98c); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }
.services { list-style: none; padding: 0; margin: 0; }
.services li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.services li strong { color: var(--ink); }
.services li:last-child { border-bottom: 0; }

.posts { list-style: none; padding: 0; margin: 0; max-width: 720px; }
.posts li { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.posts li:last-child { border-bottom: 0; }
.posts .date { color: var(--muted); font-size: 14px; white-space: nowrap; }

.contact { display: grid; gap: 12px; }
.contact label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.contact input, .contact textarea {
  font: inherit; padding: 10px 12px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
}
.contact textarea { resize: vertical; }
.contact button { justify-self: start; margin-top: 4px; }

.site-footer { padding: 32px 0 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.foot { display: flex; justify-content: space-between; gap: 12px; }
@media (max-width: 520px) { .foot { flex-direction: column; } }
