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

body {
  background: #fff;
  color: #111;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

header {
  padding: 3rem 2rem 2rem;
  text-align: center;
}

header h1 {
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

header p {
  font-size: 0.8rem;
  color: #999;
  margin-top: 0.3rem;
  letter-spacing: 0.1em;
}

/* Home - image stream */
.stream {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.stream a {
  display: block;
  line-height: 0;
}

.stream img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s;
}

.stream a:hover img {
  opacity: 0.85;
}

/* Post page - force everything into viewport */
.post-page {
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.post-page header {
  padding: 0.6rem 2rem 0.4rem;
}

.post-page footer {
  padding: 0.5rem 1rem;
}

.post {
  flex: 1;
  min-height: 0;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.post img {
  max-width: 95%;
  max-height: 100%;
  flex-shrink: 1;
  min-height: 0;
  object-fit: contain;
  display: block;
}

.post .title {
  margin: 0.6rem 0 0.2rem;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.post .caption {
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: #444;
  flex-shrink: 0;
}

.back {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: #999;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.back:hover {
  color: #111;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.7rem;
  color: #bbb;
  letter-spacing: 0.05em;
}

/* About page */
.about {
  max-width: 500px;
  margin: 2rem auto;
  padding: 0 1rem;
  font-size: 0.95rem;
  color: #333;
  text-align: center;
}
