/* Blog-specific styles. Inherits from ../styles.css for base tokens. */

/* If the parent styles.css does not load (cache or path issue), keep the page readable. */
:root {
  --navy: #0a1f3d;
  --navy-deep: #061429;
  --teal: #2ba39b;
  --teal-deep: #1f7d77;
  --teal-soft: #4ec5be;
  --cream: #f6f2ea;
  --paper: #ffffff;
  --ink: #0e1a2b;
  --ink-soft: #46566e;
  --rule: rgba(14, 26, 43, 0.08);
}

body {
  font-family: 'Satoshi', 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--teal-deep);
  text-decoration: none;
}
a:hover {
  color: var(--teal);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 48px);
}
.container--narrow {
  max-width: 760px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 48px);
  background: rgba(10, 31, 61, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(246, 242, 234, 0.08);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav__mark {
  height: 38px;
  width: auto;
}
.nav__name {
  display: flex;
  flex-direction: column;
  font-family: 'Boska', Georgia, serif;
  color: var(--cream);
  line-height: 1;
}
.nav__name-top {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.nav__name-bottom {
  font-size: 12px;
  font-weight: 500;
  color: rgba(246, 242, 234, 0.7);
  margin-top: 3px;
  letter-spacing: 0.04em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
}
.nav__links a {
  font-family: 'Satoshi', 'Inter', system-ui, sans-serif;
  font-size: clamp(13.5px, 0.92vw, 15px);
  font-weight: 500;
  color: rgba(246, 242, 234, 0.78);
  text-decoration: none;
  transition: color .15s ease;
}
.nav__links a:hover {
  color: var(--cream);
}
.nav__current {
  color: var(--cream) !important;
  border-bottom: 1.5px solid var(--teal-soft);
  padding-bottom: 4px;
}
.nav__cta {
  background: var(--teal);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 4px;
  font-weight: 500 !important;
  box-shadow: 0 4px 14px rgba(43, 163, 155, 0.25);
}
.nav__cta:hover {
  background: var(--teal-deep);
}

/* Mobile nav: hide some items on small screens */
@media (max-width: 820px) {
  .nav__links a:not(.nav__cta):not(.nav__current) {
    display: none;
  }
  .nav__name {
    display: none;
  }
}

/* ---------- BLOG HERO ---------- */
.blog-hero {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse at top, rgba(43, 163, 155, 0.10), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 9vw, 110px);
}
.blog-hero .eyebrow {
  font-family: 'Satoshi', 'Inter', system-ui, sans-serif;
  font-size: clamp(12px, 0.78vw, 13px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 18px;
  color: var(--teal-soft);
}
.blog-hero__title {
  font-family: 'Boska', Georgia, serif;
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 18px;
  color: var(--cream);
}
.blog-hero__lede {
  font-family: 'Satoshi', 'Inter', system-ui, sans-serif;
  font-size: clamp(17px, 1.25vw, 19px);
  line-height: 1.55;
  color: rgba(246, 242, 234, 0.78);
  max-width: 56ch;
  margin: 0;
}

/* ---------- BLOG LIST ---------- */
.blog-list {
  padding: clamp(60px, 10vw, 120px) 0 clamp(80px, 12vw, 160px);
  background: var(--paper);
}
.post-card {
  border-top: 1px solid var(--rule);
  padding: clamp(28px, 4vw, 44px) 0;
}
.post-card:last-child {
  border-bottom: 1px solid var(--rule);
}
.post-card__link {
  display: block;
  color: var(--ink);
  text-decoration: none;
  transition: opacity .15s ease;
}
.post-card__link:hover {
  opacity: 0.7;
}
.post-card__date {
  font-family: 'Satoshi', 'Inter', system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.post-card__title {
  font-family: 'Boska', Georgia, serif;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 14px;
}
.post-card__dek {
  font-family: 'Satoshi', 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 16px;
  max-width: 60ch;
}
.post-card__cta {
  font-family: 'Satoshi', 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-deep);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ---------- POST PAGE ---------- */
.post {
  background: var(--paper);
  padding: clamp(60px, 9vw, 110px) 0 clamp(70px, 10vw, 130px);
}
.post__header {
  margin-bottom: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--rule);
  padding-bottom: clamp(24px, 4vw, 40px);
}
.post__back {
  display: inline-block;
  font-family: 'Satoshi', 'Inter', system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: 28px;
}
.post__back:hover {
  color: var(--teal-deep);
}
.post__date {
  font-family: 'Satoshi', 'Inter', system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.post__title {
  font-family: 'Boska', Georgia, serif;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 16px;
}
.post__byline {
  font-family: 'Satoshi', 'Inter', system-ui, sans-serif;
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}

.post__body {
  font-family: 'Satoshi', 'Inter', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
}
.post__body p {
  margin: 0 0 1.2em;
}
.post__body p strong {
  font-weight: 700;
}
.post__body h2 {
  font-family: 'Boska', Georgia, serif;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.16;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: var(--ink);
  margin: 2em 0 0.6em;
}
.post__body h3 {
  font-family: 'Boska', Georgia, serif;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
  margin: 1.6em 0 0.5em;
}
.post__body hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.2em 0;
}
.post__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 16px;
}
.post__body th,
.post__body td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule);
}
.post__body th {
  font-weight: 600;
  background: rgba(43, 163, 155, 0.06);
  color: var(--ink);
}
.post__body blockquote {
  border-left: 3px solid var(--teal);
  margin: 1.6em 0;
  padding: 0.2em 0 0.2em 1.2em;
  font-family: 'Boska', Georgia, serif;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
}
.post__body ul,
.post__body ol {
  padding-left: 1.4em;
  margin: 0 0 1.2em;
}
.post__body li {
  margin-bottom: 0.4em;
}

.post__footer {
  margin-top: clamp(40px, 6vw, 70px);
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--rule);
}
.post__cta-block {
  background: var(--cream);
  border-radius: 6px;
  padding: clamp(26px, 4vw, 38px);
  margin-top: clamp(24px, 4vw, 36px);
}
.post__cta-eyebrow {
  font-family: 'Satoshi', 'Inter', system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--teal-deep);
  margin: 0 0 10px;
}
.post__cta-title {
  font-family: 'Boska', Georgia, serif;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.18;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
}
.post__cta-text {
  font-family: 'Satoshi', 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  padding: 13px 22px;
  border-radius: 4px;
  font-family: 'Satoshi', 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(43, 163, 155, 0.25);
  transition: background .15s ease, transform .15s ease;
}
.btn-primary:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
  color: #fff;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy-deep);
  color: rgba(246, 242, 234, 0.7);
  padding: clamp(50px, 7vw, 80px) 0 clamp(30px, 4vw, 50px);
  border-top: 1px solid rgba(246, 242, 234, 0.08);
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(32px, 6vw, 80px);
  flex-wrap: wrap;
}
.footer__brand {
  flex: 0 1 auto;
}
.footer__lockup {
  max-width: 320px;
  height: auto;
  opacity: 0.92;
}
.footer__meta {
  flex: 1 1 280px;
  font-size: 14px;
  line-height: 1.65;
}
.footer__meta a {
  color: var(--teal-soft);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 18px;
}
.footer__meta a:hover {
  color: var(--cream);
}
.footer__ventures-label {
  margin: 14px 0 6px;
  font-weight: 600;
  color: rgba(246, 242, 234, 0.82);
}
.footer__ventures {
  margin: 0 0 6px;
  font-size: 13.5px;
  line-height: 1.5;
}
