:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-elevated: #fdfdff;
  --text: #182230;
  --muted: #5d6c7b;
  --line: #dfe6ee;
  --line-strong: #c8d3df;
  --brand: #0c7a7a;
  --brand-strong: #0e7490;
  --shadow-soft: 0 14px 35px -20px rgba(16, 35, 56, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.75;
  background:
    radial-gradient(1200px 500px at -10% -10%, #c9f3ee 0%, rgba(201, 243, 238, 0) 60%),
    radial-gradient(900px 500px at 110% -15%, #fee3b8 0%, rgba(254, 227, 184, 0) 62%),
    var(--bg);
}

.container {
  width: min(860px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(200, 211, 223, 0.7);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(9px);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  font-weight: 700;
}

.nav-link {
  color: var(--brand-strong);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.88rem;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.nav-link:hover {
  border-color: var(--brand-strong);
  background: #ecfeff;
  color: #0f172a;
}

main {
  padding: 2.35rem 0 3.2rem;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.2rem);
}

h3 {
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
}

.lede {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 62ch;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(132deg, #ffffff 0%, #f6fbff 56%, #f0fdfa 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  padding: clamp(1.45rem, 4vw, 2.4rem);
  animation: rise-fade 600ms ease both;
}

.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(12, 122, 122, 0.18), rgba(12, 122, 122, 0));
  pointer-events: none;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.9rem;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, #0f766e, #0e7490);
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 10px 24px -16px rgba(14, 116, 144, 0.65);
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 24px -18px rgba(14, 116, 144, 0.75);
}

.section-title {
  margin-top: 2.4rem;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 1.05rem 0 0;
  display: grid;
  gap: 0.95rem;
}

.post-list li {
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 24px -22px rgba(20, 34, 53, 0.5);
  animation: rise-fade 560ms ease both;
  animation-delay: calc(var(--delay, 0) * 90ms);
}

.post-card-link {
  color: var(--text);
  text-decoration: none;
  display: block;
  padding: 1.05rem 1.15rem 1.15rem;
}

.post-card-image {
  width: 100%;
  height: clamp(120px, 18vw, 170px);
  object-fit: cover;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #e6edf5;
  margin-bottom: 0.8rem;
}

.post-card-title {
  margin-bottom: 0.3rem;
}

.post-card-excerpt {
  margin: 0;
  color: var(--muted);
}

.post-list li:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  transition: transform 180ms ease, border-color 180ms ease;
}

.post {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.3rem, 3.6vw, 2.2rem);
  box-shadow: var(--shadow-soft);
  animation: rise-fade 600ms ease both;
}

.post-header {
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.meta {
  color: var(--muted);
  margin: 0.1rem 0 0;
  font-size: 0.95rem;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 700;
  color: #0f766e;
  margin: 0 0 0.7rem;
}

.content p,
.content ul,
.content ol {
  margin: 0 0 1.06rem;
}

.content h2,
.content h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.55rem;
}

.content a,
p a,
li a {
  color: var(--brand-strong);
  text-underline-offset: 0.15em;
}

.content img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--line);
  margin: 0.9rem auto 1.4rem;
  box-shadow: var(--shadow-soft);
}

.content blockquote {
  margin: 1.2rem 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--brand-strong);
  color: #2b3b4d;
  background: #f8fcfe;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.8);
}

.site-footer .container {
  padding: 1.1rem 0 1.2rem;
}

@keyframes rise-fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .container {
    width: min(840px, 93vw);
  }

  .post-card-link {
    padding: 0.95rem 0.95rem 1rem;
  }

  main {
    padding-top: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
