@font-face {
  font-family: 'soehne';
  font-style: normal;
  font-weight: normal;
  font-stretch: normal;
  src: url("fonts/soehne-buch.woff2?v=c3d5fee370") format('woff2');
}

@font-face {
  font-family: 'soehne';
  font-style: italic;
  font-weight: normal;
  font-stretch: normal;
  src: url("fonts/soehne-buch-kursiv.woff2?v=c3d5fee370") format('woff2');
}

@font-face {
  font-family: 'soehne';
  font-style: normal;
  font-weight: bold;
  font-stretch: normal;
  src: url("fonts/soehne-kraftig.woff2?v=c3d5fee370") format('woff2');
}

@font-face {
  font-family: 'soehne';
  font-style: italic;
  font-weight: bold;
  font-stretch: normal;
  src: url("fonts/soehne-kraftig-kursiv.woff2?v=c3d5fee370") format('woff2');
}

@font-face {
  font-family: "CartridgeRegularSoft";
  font-style: normal;
  font-weight: normal;
  font-stretch: normal;
  src: url("fonts/Cartridge-RegularSoft.woff2?v=c3d5fee370") format('woff2');
}

@font-face {
  font-family: "CartridgeBoldSoft";
  font-style: normal;
  font-weight: normal;
  font-stretch: normal;
  src: url("fonts/Cartridge-BoldSoft.woff2?v=c3d5fee370") format('woff2');
}

@font-face {
  font-family: "CartridgeSB";
  font-style: normal;
  font-weight: normal;
  font-stretch: normal;
  src: url("fonts/Cartridge-SB.woff2?v=c3d5fee370") format('woff2')
}

@font-face {
  font-family: "VaultAlarm";
  font-style: normal;
  font-weight: normal;
  font-stretch: normal;
  src: url("fonts/VaultAlarm-Regular.woff2?v=c3d5fee370") format('woff2');
}

@font-face {
  font-family: 'Scorekard';
  src: url('https://cdn.shopify.com/s/files/1/0638/1718/7543/files/Scorekard-Regular.woff2?v=1750428412') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'ScorekardSemibold';
  src: url('https://cdn.shopify.com/s/files/1/0638/1718/7543/files/Scorekard-Semibold.woff2?v=1750428412') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'ScorekardBold';
  src: url('https://cdn.shopify.com/s/files/1/0638/1718/7543/files/Scorekard-Bold.woff2?v=1750428411') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

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

:root {
  --bg: #f5f4f2;
  --fg: #333;
  --muted: #8f8d85;
  --accent: #ff5b40;
  --border: #e0ddd6;
  --max: 740px;
}

html { font-size: 20px; }

@media (max-width: 767px) {
    html {
      font-size: 16px;
    }
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "soehne", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  line-height: 1.75;
  padding: 0 1.5rem;
  z-index: 1;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background-image: url('sb-band.png');
  background-repeat: repeat-x;
  background-size: auto 30px;
  z-index: 2; /* Sends the image behind the container's text content */
}

a { color: #333; text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

/* ── Header ── */
header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 7rem 0 4rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: .2rem;
}

header a { 
  font-family: 'CartridgeSB';
  text-decoration: none; 
  color: var(--fg); 
}
header h1 {
  font-size: 1.85rem;
  font-weight: normal;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
header h1 span { color: var(--accent); }
header p {
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--muted);
  margin-top: 0.05rem;
}

header img {
  float: right;
  margin: -5px 0 0 30px;
  width: 140px;
}

body.post header {
  padding: 6rem 0 0 0;
  border: none;
}

body.post header + h1 {
  font-size: 1.4rem;
}

body.post header img {
  float: none;
  margin: 0;
  font-size: 1.4rem;
  width: 80px;
}

/* ── Main ── */
main {
  max-width: var(--max);
  margin: 0 auto;
}

/* ── Index list ── */
.post-list { 
  list-style: none;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.post-list li {
  padding: 1rem 0;
}
.post-list li:first-child { padding-top: 0; }

.post-list .date {
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.post-list h2 { font-size: 1.4rem; font-weight: 400; line-height: 1.3; letter-spacing: -0.015em; }
.post-list h2 a { color: var(--fg); text-decoration: none; }
.post-list h2 a:hover { color: var(--accent); }

/* ── Year headings on index ── */
.year-heading {
  font-family: 'Scorekard';
  font-size: 2rem;
  font-weight: normal;
  color: var(--accent);
  text-transform: uppercase;
  padding: 2.5rem 0 0.75rem;
  margin-bottom: 0;
}

/* ── Post page ── */
article header {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 2rem;
}

article header .meta {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

article header h1 {
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.post-body { margin-top: 2rem; line-height: 1.7; }
.post-body p { margin-bottom: 1.25rem; }
.post-body h2, .post-body h3 { margin: 2rem 0 0.75rem; font-weight: 600; }
.post-body ul, .post-body ol { margin: 0 0 1.25rem 1.5rem; }
.post-body li { margin-bottom: 0.25rem; }
.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  color: var(--muted);
  font-style: italic;
  margin: 1.5rem 0;
}
.post-body img { max-width: 100%; height: auto; margin: 1.5rem 0; }
.post-body pre, .post-body code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  background: #f0ede6;
  border-radius: 3px;
}
.post-body pre { padding: 1rem 1.25rem; overflow-x: auto; margin: 1.5rem 0; }
.post-body code { padding: 0.1em 0.35em; }
.post-body pre code { background: none; padding: 0; }

/* ── Nav ── */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 3rem 0 4rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: .9rem;
}
.post-nav a { color: var(--muted); text-decoration: none; }
.post-nav a:hover { color: var(--accent); }


a.all {

}

/* ── Footer ── */
footer {
  max-width: var(--max);
  margin: 2rem auto 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

/* extra */

.post-body .thumb {
  float: right;
  margin: 10px 0 20px 60px;
}
