:root {
  --bg: #0d0d10;
  --surface: #16161b;
  --border: #2a2a32;
  --text: #ececec;
  --muted: #a0a0a8;
  --accent: #c8102e; /* barbell red */
  --max: 860px;
  --header-h: 72px;  /* sticky header height; hero fills the rest of the screen */
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max); margin: 0 auto; padding: 2.5rem 1.25rem; }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: 0.9rem 1.5rem;
  background: rgba(13,13,16,.95);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
}
.brand img { height: 52px; width: auto; display: block; }
.site-nav { display: flex; gap: .4rem; flex-wrap: wrap; }
.site-nav a {
  color: var(--text); font-family: "Oswald", sans-serif; font-weight: 500;
  text-transform: uppercase; letter-spacing: .06em; font-size: .9rem;
  padding: .5rem .9rem; border-radius: 6px; border: 1px solid transparent;
}
.site-nav a:hover, .site-nav a.active { color: var(--accent); border-color: var(--border); text-decoration: none; }

/* Hero */
.hero {
  /* Fill exactly one screen (minus the sticky header) and show the WHOLE
     photo inside it — `contain` scales it down to fit rather than cropping,
     so there's no scrolling needed to see the hero.
     Two background layers: the dark gradient overlay, then the photo. */
  background-size: 100% 100%, contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--bg);
  width: 100%;
  height: calc(100vh - var(--header-h));
  min-height: 420px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 2rem 1.25rem;
}

@media (max-width: 700px) {
  /* On phones `contain` leaves big empty bars, so crop to fill instead. */
  .hero { background-size: 100% 100%, cover; }
}
/* Nudged up slightly so the lockup sits above dead-center. */
.hero-logo { width: min(340px, 72vw); height: auto; margin: 0 auto 1.25rem; }
.hero-inner { transform: translateY(-6%); }
.tagline {
  font-family: "Oswald", sans-serif; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text); max-width: 40ch; margin: 0 auto 1.75rem; font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; padding: .8rem 1.8rem; border-radius: 6px;
}
.btn:hover { filter: brightness(1.1); text-decoration: none; }

/* Prose / content */
.prose h1, .prose h2, .prose h3 { font-family: "Oswald", sans-serif; font-weight: 700; line-height: 1.2; }
.page-title, .prose h1 { font-size: 2.1rem; margin-bottom: 1rem; }
.prose h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; color: var(--accent); }
.prose h3 { font-size: 1.2rem; margin: 1.5rem 0 .5rem; }
.prose p { margin: 0 0 1rem; color: var(--text); }
.prose ul, .prose ol { margin: 0 0 1rem 1.4rem; }
.prose li { margin: .3rem 0; }
.prose img { max-width: 100%; height: auto; border-radius: 8px; }
.prose strong { color: #fff; }
.meta { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.cta { margin-top: 2rem; }

/* Post list */
.post-list { list-style: none; margin-left: 0; }
.post-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .85rem 0; border-bottom: 1px solid var(--border);
}

/* Footer */
.site-footer {
  margin-top: auto; text-align: center; color: var(--muted);
  padding: 2.5rem 1.25rem; border-top: 1px solid var(--border); font-size: .9rem;
}
.footer-name { font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase; color: var(--text); letter-spacing: .06em; }
.site-footer p { margin: .2rem 0; }
.copy { margin-top: .75rem; font-size: .8rem; }

@media (max-width: 560px) {
  .site-header { justify-content: center; }
  .hero { min-height: 50vh; }
}
