@font-face {
  font-family: 'Monument Extended';
  src: url('/fonts/MonumentExtended-Regular.otf') format('opentype');
  font-weight: 400;
}

@font-face {
  font-family: 'Monument Extended';
  src: url('/fonts/MonumentExtended-Bold.otf') format('opentype');
  font-weight: 700;
}

@font-face {
  font-family: 'Monograf';
  src: url('/fonts/Monograf-Regular.otf') format('opentype');
  font-weight: 400;
}

:root {
  color: #050505;
  background: #f7f7f2;
  font-family: 'Monograf', Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: #f7f7f2;
}

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

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 72px);
}

.logo,
h1,
h2 {
  font-family: 'Monument Extended', Impact, sans-serif;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.logo { font-weight: 700; }

.site-header nav {
  display: flex;
  gap: 24px;
}

.feed-shell,
.backend-shell,
.auth-shell {
  margin: 0 auto;
  max-width: 1120px;
  padding: 40px clamp(20px, 5vw, 72px) 80px;
}

.intro {
  border-bottom: 1px solid #050505;
  margin-bottom: 32px;
  padding-bottom: 32px;
}

.intro h1 {
  font-size: clamp(2.2rem, 7vw, 6.5rem);
  line-height: 0.9;
  margin: 0 0 20px;
  max-width: 960px;
}

.intro p { max-width: 640px; }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.feed {
  display: grid;
  gap: 18px;
}

.post-card {
  border: 1px solid #050505;
  border-radius: 18px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(180px, 320px) 1fr;
  padding: 14px;
}

.post-media {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: #050505;
  border-radius: 12px;
  color: #f7f7f2;
  display: flex;
  font-family: 'Monument Extended', Impact, sans-serif;
  justify-content: center;
  text-transform: uppercase;
}

.post-content { padding: 10px 10px 10px 0; }
.post-content h2 { font-size: clamp(1.5rem, 4vw, 3rem); margin: 8px 0; }
.post-content dl { display: flex; gap: 28px; margin-top: 24px; }
dt { font-size: 0.75rem; text-transform: uppercase; }
dd { margin: 4px 0 0; }

.pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
}

.auth-shell {
  display: grid;
  min-height: 80vh;
  place-items: center;
}

.login-card {
  border: 1px solid #050505;
  border-radius: 18px;
  display: grid;
  gap: 16px;
  max-width: 420px;
  padding: 28px;
  width: 100%;
}

.login-card label { display: grid; gap: 8px; }
.login-card input,
.login-card button {
  border: 1px solid #050505;
  border-radius: 999px;
  font: inherit;
  padding: 12px 16px;
}
.login-card button {
  background: #050505;
  color: #f7f7f2;
  cursor: pointer;
}
.form-error { color: #8b0000; }

@media (max-width: 760px) {
  .post-card { grid-template-columns: 1fr; }
  .post-content { padding: 0; }
  .post-content dl { flex-direction: column; gap: 12px; }
}
