@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --black: #000000;
  --white: #ffffff;
  --red: #c1000f;
  --amber: #e8a020;
  --olive: #7a7a68;
  --text: #1a1a1a;
  --muted: #666666;
  --border: #dddddd;
  --tag-black: #111111;
}

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

body {
  font-family: 'Libre Franklin', Helvetica, Arial, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.5;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
img { display: block; max-width: 100%; height: auto; }

/* ── HEADER ── */
.site-header { border-bottom: none; padding: 0 2rem; }
.header-tagline { border-bottom: 1px solid var(--border); }
.header-main {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1rem 0 0.8rem;
}
.header-left { display: flex; list-style: none; align-items: center; }
.header-left li a {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  padding-right: 1.5rem;
  transition: color 0.15s;
}
.header-left li a:hover { color: var(--red); }

.site-logo-wrap {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo-rule-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.1rem;
}
.logo-rule { width: 40px; height: 1px; background: var(--black); }
.logo-the {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
}
.site-logo-name {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--black);
  text-transform: uppercase;
  line-height: 1;
}
.site-logo-name a { color: inherit; }
.site-logo-name a:hover { color: var(--red); }

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}
.header-right-links { display: flex; list-style: none; }
.header-right-links li a {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  padding-left: 1.5rem;
  transition: color 0.15s;
}
.header-right-links li a:hover { color: var(--red); }
.header-socials { display: flex; align-items: center; gap: 0.7rem; }
.header-socials a {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.15s;
}
.header-socials a:hover { color: var(--red); }

.header-tagline {
  text-align: center;
  font-family: 'Libre Baskerville', serif;
  font-size: 0.92rem;
  color: var(--text);
  padding: 0.6rem 2rem;
  border-top: 1px solid var(--border);
  width: 100%;
  display: block;
}

/* ── TAGS ── */
.tags { display: flex; gap: 0.3rem; align-items: center; margin-bottom: 0.6rem; flex-wrap: wrap; }
.tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  line-height: 1;
}
.tag-black  { background: var(--tag-black); color: var(--white); }
.tag-red    { background: var(--red);       color: var(--white); }
.tag-amber  { background: var(--amber);     color: var(--white); }
.tag-teal   { background: #2a9d8f;          color: var(--white); }
.tag-olive  { background: #7a7a68;          color: var(--white); }
.tag-blue   { background: #2563eb;          color: var(--white); }

/* ── MAIN WRAPPER ── */
.main-wrap { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ── HERO SECTION ── */
.hero-section { padding: 2.5rem 0 2rem; }
.hero-featured {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
.hero-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-img-placeholder { width: 100%; aspect-ratio: 4/3; background: #e0ddd5; }
.hero-content { padding-top: 0.2rem; }
.hero-content h1 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 0.8rem;
}
.hero-content h1 a:hover { color: var(--red); }
.hero-excerpt { font-size: 0.92rem; color: #444; line-height: 1.7; margin-bottom: 0.8rem; }
.hero-byline  { font-size: 0.82rem; color: var(--text); margin-bottom: 0.2rem; }
.hero-date    { font-size: 0.82rem; color: var(--text); }

/* 3-col card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 0.8rem; }
.card-img-placeholder { width: 100%; aspect-ratio: 4/3; background: #e0ddd5; margin-bottom: 0.8rem; }
.card h3 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 0.5rem;
}
.card h3 a:hover { color: var(--red); }
.card-subtitle { font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.card-excerpt  { font-size: 0.82rem; color: #555; line-height: 1.6; margin-bottom: 0.5rem; }
.card-date     { font-size: 0.8rem;  color: var(--text); }

/* ── WHO WE ARE ── */
.who-band { background: var(--olive); padding: 4rem 2rem; text-align: center; margin-top: 3rem; }
.who-band h2 {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.who-band p {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto 1.5rem;
}
.who-learn {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 0.1rem;
  display: inline-block;
  transition: opacity 0.15s;
}
.who-learn:hover { opacity: 0.7; color: var(--white); }

/* ── LATEST PUBLICATIONS ── */
.pub-section { padding: 3rem 0 2rem; }
.pub-section-title {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 2.5rem;
}
.pub-list { list-style: none; }
.pub-item {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 2rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.pub-item:first-child { border-top: 1px solid var(--border); }
.pub-thumb { width: 230px; height: 150px; object-fit: cover; }
.pub-thumb-placeholder { width: 230px; height: 150px; background: #e0ddd5; }
.pub-content h2 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 0.3rem;
}
.pub-content h2 a:hover { color: var(--red); }
.pub-subtitle { font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.pub-excerpt  { font-size: 0.85rem; color: #555; line-height: 1.65; margin-bottom: 0.6rem; }
.pub-date     { font-size: 0.82rem; font-weight: 700; color: var(--text); }

.view-all-wrap { text-align: center; padding: 2rem 0 3rem; border-bottom: 1px solid var(--border); }
.view-all {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--text);
  transition: color 0.15s;
}
.view-all:hover { color: var(--red); }

/* ── SINGLE POST ── */
.single-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.single-tags { margin: 2.5rem 0 1rem; }

.single-hero-img { margin-bottom: 1.5rem; }
.single-hero-img img { width: 100%; height: auto; }

.single-title-block { margin-bottom: 2rem; }
.single-title-block h1 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 0.6rem;
}
.single-subtitle { font-size: 1rem; color: #444; line-height: 1.6; margin-bottom: 0.8rem; }
.single-date { font-size: 0.88rem; color: var(--text); }

.single-body { margin-bottom: 2.5rem; }
.single-body p    { font-family: 'Libre Baskerville', serif; font-size: 1rem; line-height: 1.85; margin-bottom: 1.4rem; color: #222; }
.single-body h2   { font-family: 'Libre Baskerville', serif; font-size: 1.4rem; font-weight: 700; margin: 2rem 0 1rem; }
.single-body h3   { font-family: 'Libre Baskerville', serif; font-size: 1.15rem; font-weight: 700; margin: 1.5rem 0 0.8rem; }
.single-body ul, .single-body ol { font-family: 'Libre Baskerville', serif; margin: 0 0 1.4rem 1.5rem; }
.single-body li   { font-size: 1rem; line-height: 1.8; margin-bottom: 0.4rem; }
.single-body a    { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.single-body a:hover { color: var(--red); }
.single-body blockquote {
  border-left: 3px solid var(--black);
  margin: 2rem 0;
  padding: 0.5rem 1.5rem;
  font-style: italic;
}
.single-body img  { max-width: 100%; margin: 1.5rem 0; }
.single-body figure { margin: 2rem 0; }
.single-body figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 0.4rem; text-align: center; }

/* ── ARCHIVE / CATEGORY ── */
.archive-header {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding: 0 2rem;
  border-bottom: 2px solid var(--black);
  padding-bottom: 1rem;
  margin-bottom: 0;
}
.archive-header h1 {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── 404 ── */
.not-found { max-width: 600px; margin: 5rem auto; padding: 0 2rem; text-align: center; }
.not-found h1 { font-family: 'Libre Baskerville', serif; font-size: 3rem; margin-bottom: 1rem; }
.not-found p  { color: var(--muted); margin-bottom: 1.5rem; }

/* ── PAGINATION ── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 0;
}
.pagination a, .pagination span {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  color: var(--text);
  transition: background 0.15s;
}
.pagination a:hover    { background: var(--black); color: var(--white); }
.pagination .current   { background: var(--black); color: var(--white); }

/* ── FOOTER ── */
footer { background: var(--black); padding: 3rem 2rem 2.5rem; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.footer-desc { font-size: 0.88rem; color: var(--white); line-height: 1.7; }
.footer-socials { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.5rem; }
.footer-socials li a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.15s;
}
.footer-socials li a:hover { opacity: 0.6; color: var(--white); }
.footer-nav-links { list-style: none; display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 1.8rem; }
.footer-nav-links li a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  transition: opacity 0.15s;
}
.footer-nav-links li a:hover { opacity: 0.6; color: var(--white); }
.footer-mail-head {
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.footer-mail-row { display: flex; }
.footer-mail-row input {
  flex: 1;
  background: var(--white);
  border: none;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.82rem;
  padding: 0.5rem 0.8rem;
  outline: none;
  color: var(--text);
}
.footer-mail-row button {
  background: var(--white);
  border: none;
  border-left: 1px solid #ccc;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  color: var(--black);
  text-transform: uppercase;
  transition: background 0.15s;
}
.footer-mail-row button:hover { background: #eee; }

/* Back to top */
.back-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #333;
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
  z-index: 999;
}
.back-top:hover { background: #555; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .header-main { grid-template-columns: 1fr; gap: 0.8rem; text-align: center; }
  .header-left, .header-right { justify-content: center; }
  .header-left li a { padding: 0 0.75rem; }
  .header-right-links li a { padding: 0 0.75rem; }
  .hero-featured { grid-template-columns: 1fr; gap: 1.5rem; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
  .pub-item { grid-template-columns: 1fr; }
  .pub-thumb, .pub-thumb-placeholder { width: 100%; height: 200px; }
  .main-wrap { padding: 0 1rem; }
  .who-band { padding: 2.5rem 1.2rem; }
  .single-header h1 { font-size: 1.6rem; }
}

/* ── SINGLE POST ── */
.single-wrap {
  max-width: 660px;
  margin: 0 auto;
  padding: 2.5rem 2rem 0;
}
.single-tags { margin-bottom: 1rem; }
.single-hero-img { margin-bottom: 1.5rem; }
.single-hero-img img { width: 100%; height: auto; }

.single-title-block { margin-bottom: 2rem; }
.single-title-block h1 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 0.6rem;
}
.single-subtitle {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}
.single-date { font-size: 0.88rem; color: var(--text); }

.single-body { margin-bottom: 2.5rem; }
.single-body p    { font-family: 'Libre Baskerville', serif; font-size: 1rem; line-height: 1.85; margin-bottom: 1.4rem; color: #222; }
.single-body h2   { font-family: 'Libre Baskerville', serif; font-size: 1.4rem; font-weight: 700; margin: 2rem 0 1rem; }
.single-body h3   { font-family: 'Libre Baskerville', serif; font-size: 1.15rem; font-weight: 700; margin: 1.5rem 0 0.8rem; }
.single-body ul, .single-body ol { font-family: 'Libre Baskerville', serif; margin: 0 0 1.4rem 1.5rem; }
.single-body li   { font-size: 1rem; line-height: 1.8; margin-bottom: 0.4rem; }
.single-body a    { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.single-body a:hover { color: var(--red); }
.single-body blockquote {
  border-left: 3px solid var(--black);
  margin: 2rem 0;
  padding: 0.5rem 1.5rem;
  font-style: italic;
}
.single-body img  { max-width: 100%; margin: 1.5rem 0; }
.single-body figure { margin: 2rem 0; }
.single-body figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 0.4rem; text-align: center; }

/* Share buttons */
.share-row {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.share-btn {
  width: 40px;
  height: 40px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
}
.share-btn:hover { background: #444; color: var(--white); }
.share-btn svg { width: 16px; height: 16px; }

.single-end-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 3rem;
}

@media (max-width: 700px) {
  .single-wrap { padding: 1.5rem 1rem 0; }
  .single-title-block h1 { font-size: 1.5rem; }
}
