:root {
  --bg: #f8f8f8;
  --paper: #ffffff;
  --ink: #2b2f36;
  --muted: #8a8f98;
  --line: #e8e8e8;
  --brand: #2b5c90;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
}

.wrap { width: min(1100px, 92vw); margin: 0 auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.hero-shell {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 24, .45) 0%, rgba(8, 12, 24, .25) 45%, rgba(8, 12, 24, .42) 100%);
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}
.top-nav.on-hero {
  position: relative;
  z-index: 2;
}

.brand { font-weight: 700; font-size: 1.12rem; letter-spacing: .01em; }
.brand.light { color: #fff; }

.site-nav { display: flex; gap: 1.2rem; font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.site-nav.light a { color: #fff; }

.hero-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 380px;
  color: #fff;
  padding-top: 2.2rem;
}
.hero-center p {
  margin: .35rem 0 0;
  font-size: clamp(1rem, 2.2vw, 1.9rem);
  opacity: .95;
  text-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}

.hero-kicker {
  color: #dbeafe;
  text-shadow: 0 3px 14px rgba(0,0,0,.35);
  margin-bottom: .35rem;
  font-size: clamp(1.25rem, 2.4vw, 2rem) !important;
  letter-spacing: .08em;
}



.hero-text-below {
  text-align: center;
  padding: 1.35rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
}

.hero-subhead {
  margin: 0 !important;
  font-size: clamp(1.55rem, 2.7vw, 2.25rem) !important;
  font-weight: 700;
  color: #3a3f46;
  letter-spacing: -0.01em;
  line-height: 1.28;
  text-shadow: none;
}

.hero-subcopy {
  max-width: 920px;
  margin: .5rem auto 0 !important;
  font-size: clamp(1.02rem, 1.45vw, 1.18rem) !important;
  color: #7f8792;
  line-height: 1.75;
  text-shadow: none;
}

.hero-bot {
  position: absolute;
  right: clamp(16px, 6vw, 90px);
  bottom: 36px;
  width: clamp(96px, 11vw, 160px);
  z-index: 2;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
}

.layout.classic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2rem;
  background: var(--paper);
  padding: 1.7rem 1.2rem 2.4rem;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.posts-stream { padding-right: .5rem; }
.post-item {
  padding: 1rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
}
.post-item h2 {
  margin: 0 0 .2rem;
  font-size: clamp(1.2rem, 2.4vw, 2.05rem);
  line-height: 1.2;
  font-weight: 700;
  color: #3b3f45;
}
.post-item h3 {
  margin: 0 0 .42rem;
  font-weight: 500;
  color: #5a5f67;
  font-size: clamp(1.05rem, 2.1vw, 1.65rem);
}
.excerpt {
  margin: 0;
  color: #9aa0a8;
  font-style: italic;
  font-size: 1.03rem;
}
.posted {
  margin: .35rem 0 0;
  color: #8c919a;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.03rem;
}

.sidebar { padding-top: .4rem; }
.panel {
  padding: 0 0 1.3rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.panel h5 {
  margin: 0 0 .7rem;
  font-size: .82rem;
  letter-spacing: .08em;
  color: #8d939c;
}
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list a {
  border: 1px solid #d8dce2;
  border-radius: 999px;
  padding: .14rem .56rem;
  color: #9ba1aa;
  font-size: .95rem;
}

.about-image {
  width: 170px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  margin-bottom: .8rem;
}
.about-name { margin: 0; font-size: 1.7rem; font-weight: 700; color: #3f444c; }
.about-role { margin: .1rem 0 .75rem; color: #adb2b9; }

.social-buttons {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.social-buttons.compact .social-btn { padding: .18rem .5rem; font-size: .82rem; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 1px solid #d8dde5;
  border-radius: 999px;
  background: #fff;
  color: #4a5160;
  padding: .26rem .62rem;
  font-size: .85rem;
}
.social-btn img { width: 14px; height: 14px; }

.foot {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: #949aa3;
  font-size: .9rem;
  padding: 1rem 1.2rem 1.4rem;
}

/* Blog archive/post pages */
.archive-head { border-top: 1px solid var(--line); padding: 1.8rem 0 .4rem; }
.archive { display: grid; gap: .9rem; padding: .2rem 0 2.8rem; }
.archive article { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.2rem; }
.archive h2 { margin: .15rem 0 .4rem; font-size: 1.4rem; }
.meta { margin: 0; font-size: .9rem; color: var(--muted); }
.post { width: min(760px, 92vw); padding: 2.2rem 0 3rem; }
.post h1 { margin-top: .35rem; font-size: 2.5rem; }
.post p { font-size: 1.04rem; color: #253042; }
.back { display: inline-block; margin-bottom: .75rem; }

@media (max-width: 930px) {
  .layout.classic { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hero-shell { min-height: 360px; }
  .hero-center { min-height: 320px; padding-top: 1.7rem; }
  .hero-bot { width: 92px; right: 10px; bottom: 20px; }
  .site-nav { gap: .75rem; font-size: .8rem; }
  .about-image { width: 130px; }
}
