@import url("https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --ink-950: #05090f;
  --ink-900: #0b1420;
  --ink-850: #121f2f;
  --ink-700: #23405a;
  --ink-500: #3d6e96;
  --ink-300: #9dc4de;
  --ink-200: #d9ebf7;
  --flare: #f7bc5f;
  --flare-soft: #f2d6aa;
  --panel: rgba(11, 20, 32, 0.88);
}

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

body {
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 8% 10%, rgba(247, 188, 95, 0.18), rgba(247, 188, 95, 0) 34%),
    radial-gradient(circle at 92% 18%, rgba(61, 110, 150, 0.34), rgba(61, 110, 150, 0) 38%),
    linear-gradient(160deg, #060b12 0%, #0c1827 46%, #070d16 100%);
  color: var(--ink-200);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.1'/%3E%3C/svg%3E");
  opacity: 0.24;
  pointer-events: none;
  mix-blend-mode: screen;
}

.content-wrap {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 8vw;
}

.hero {
  position: relative;
  z-index: 2;
  padding: 48px 0 96px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo,
h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
}

.logo {
  font-size: 1.2rem;
  color: var(--ink-200);
}

.nav-links {
  display: flex;
  gap: 28px;
  color: var(--ink-300);
}

.nav-links a[aria-current="page"] {
  color: var(--flare-soft);
}

.article-page .hero .content-wrap > div {
  margin-top: 40px;
}

.article-page .hero {
  padding-bottom: 54px;
}

.article-page .hero .content-wrap {
  display: grid;
  gap: 16px;
}

.article-page .hero .content-wrap > div:last-child {
  max-width: 960px;
}

.article-page .hero h1 {
  max-width: 16ch;
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: 8px;
}

.article-page .post-meta {
  margin-top: 8px;
  margin-bottom: 4px;
}

.article-page .lead {
  max-width: 70ch;
  font-size: 1.02rem;
  line-height: 1.7;
}

.article-page .latest-post-card {
  max-width: 1920px;
  margin: 0 auto;
  padding: clamp(30px, 4vw, 44px);
  background: linear-gradient(180deg, rgba(9, 15, 24, 0.95), rgba(11, 20, 32, 0.88));
  border: 1px solid rgba(130, 173, 199, 0.34);
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
}

.article-page .latest-post-card > * + * {
  margin-top: 14px;
}

.article-page .latest-post-card h2 {
  margin-top: 30px;
  margin-bottom: 8px;
  color: var(--ink-200);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.article-page .latest-post-card h2:first-child {
  margin-top: 0;
}

.article-page .latest-post-card p {
  color: var(--ink-300);
  line-height: 1.75;
  font-size: 0.98rem;
}

.article-page .latest-post-card p + p {
  margin-top: 12px;
}

.article-page .latest-post-card p:last-child {
  margin-top: 24px;
  padding-top: 8px;
}

.article-page .latest-post-card .read-link {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section {
  position: relative;
  z-index: 2;
  padding: 24px 0 72px;
}

.section-head {
  margin-bottom: 24px;
}

.eyebrow {
  color: var(--ink-300);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-top: 8px;
}

.latest-post-card,
.post-card {
  background: var(--panel);
  border: 1px solid rgba(130, 173, 199, 0.34);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

.latest-post-card {
  padding: 24px;
}

.latest-post-card h3 {
  font-size: 1.8rem;
  margin: 8px 0 12px;
}

.latest-post-card p,
.post-card p {
  color: var(--ink-300);
  line-height: 1.6;
}

.post-meta {
  color: var(--ink-300);
  font-size: 0.83rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.post-card {
  padding: 18px;
}

.post-card h3 {
  margin: 10px 0;
  font-size: 1.32rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  font-size: 0.75rem;
  border: 1px solid rgba(128, 188, 212, 0.32);
  background: rgba(129, 192, 219, 0.1);
  color: var(--ink-200);
  border-radius: 999px;
  padding: 6px 9px;
}

.read-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--flare-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer {
  border-top: 1px solid rgba(116, 156, 180, 0.25);
  padding: 24px 0 36px;
  color: var(--ink-300);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

@media (max-width: 760px) {
  .nav {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 10px 14px;
  }
}
