:root {
  --primary: #303486;
  --primary-2: #4658ba;
  --mint: #99d0c2;
  --mint-light: #e8f6f1;
  --pink: #f7c9d7;
  --pink-light: #fff0f5;
  --yellow: #f5d981;
  --yellow-light: #fff6d8;
  --lavender: #dddaf7;
  --blue-light: #dfeefb;
  --cream: #fff9f6;
  --cream-2: #fbf2ee;
  --text: #283052;
  --muted: #68708a;
  --white: #ffffff;
  --line: rgba(48, 52, 134, 0.12);
  --shadow: 0 18px 55px rgba(53, 53, 92, 0.10);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  border-bottom: 1px solid var(--line);
  color: var(--primary);
  font-size: 0.84rem;
  background: rgba(255,255,255,0.35);
}
.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar a:hover { opacity: 0.75; }
.topbar-actions { display: flex; gap: 24px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(255, 249, 246, 0.90);
  border-bottom: 1px solid rgba(48,52,134,0.06);
}
.nav-wrap {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  min-width: 220px;
}
.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px 18px 22px 14px;
  background: linear-gradient(145deg, var(--primary), #515cc0);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -0.08em;
  box-shadow: 10px 12px 0 rgba(153,208,194,0.55);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
}
.brand-copy small {
  margin-top: 6px;
  font-size: 0.46rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #2d315f;
}
.main-nav a {
  position: relative;
  padding: 10px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 10px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 9px;
  padding: 0 22px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 22px rgba(48,52,134,.18);
}
.button:hover { transform: translateY(-2px); }
.header-cta { white-space: nowrap; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 28px;
  background:
    radial-gradient(circle at 8% 38%, rgba(223,238,251,0.9) 0 70px, transparent 72px),
    radial-gradient(circle at 92% 14%, rgba(153,208,194,0.20) 0 120px, transparent 122px),
    linear-gradient(180deg, #fffaf7 0%, #fff8f4 100%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 70px solid rgba(247,201,215,0.12);
  right: -260px;
  top: -260px;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.93fr 1.07fr;
  gap: 58px;
  align-items: center;
}
.hero-copy { position: relative; padding-left: 8px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .12em;
  font-weight: 800;
}
.hero h1,
.section-heading h2,
.featured-content h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--primary);
  letter-spacing: -0.035em;
}
.hero h1 {
  font-size: clamp(3rem, 5.2vw, 5.35rem);
  line-height: 0.98;
  margin: 0 0 24px;
}
.hero-text {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0;
}
.hand-note {
  display: inline-block;
  margin: 24px 0 0 58%;
  transform: rotate(-4deg);
  color: var(--primary-2);
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.25;
}
.hand-note strong {
  position: relative;
  font-weight: 800;
}
.hand-note strong::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -8px;
  bottom: -5px;
  height: 4px;
  border-radius: 10px;
  background: #ff7da7;
  transform: rotate(-2deg);
}
.doodle-sun {
  position: absolute;
  right: 6%;
  top: -28px;
  color: var(--primary);
  font-size: 3.2rem;
  font-weight: 400;
}

.hero-visual {
  min-height: 455px;
  position: relative;
}
.hero-photo-wrap {
  width: 86%;
  margin-left: 0;
  aspect-ratio: 1.38;
  border-radius: 38% 52% 38% 48% / 48% 36% 54% 42%;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-photo { height: 100%; object-fit: cover; object-position: center; }
.quote-bubble {
  position: absolute;
  right: -2px;
  top: 28px;
  width: 190px;
  min-height: 190px;
  padding: 34px 22px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50% 46% 52% 45%;
  color: var(--primary);
  background: #dff4ee;
  font-weight: 700;
  line-height: 1.35;
  transform: rotate(3deg);
}
.quote-bubble span { font-size: 1.6rem; display: block; }
.stars {
  position: absolute;
  right: 8%;
  bottom: 28px;
  color: #f2bd3d;
  font-size: 2.5rem;
  letter-spacing: .1em;
}

.first-section { padding-top: 0; }
.content-section {
  padding: 0 0 86px;
  background: linear-gradient(180deg, #fff8f4 0%, #fffdfa 100%);
}
.category-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.category-chip {
  border: 0;
  border-radius: 999px;
  padding: 13px 14px;
  font-size: .84rem;
  font-weight: 800;
  color: var(--primary);
  background: #f9d5df;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.category-chip:hover { transform: translateY(-2px); box-shadow: 0 7px 20px rgba(48,52,134,.08); }
.category-chip.active { box-shadow: inset 0 0 0 2px rgba(48,52,134,.18); }
.category-chip.mint { background: #dff3ed; }
.category-chip.blue { background: #e1effb; }
.category-chip.yellow { background: #fff1bd; }
.category-chip.pink { background: #fbe2ea; }
.category-chip.lavender { background: #e9e7fb; }

.featured-card {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  overflow: hidden;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 16px 50px rgba(48,52,134,.08);
  min-height: 280px;
}
.featured-image-wrap { position: relative; min-height: 100%; }
.featured-image-wrap img { height: 100%; object-fit: cover; }
.featured-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 13px;
  background: #b8e8db;
  color: var(--primary);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(48,52,134,.12);
}
.featured-content {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: #7d8398;
  font-size: .8rem;
}
.tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: .67rem;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--primary);
}
.tag-mint { background: #dff3ed; }
.tag-blue { background: #dfeefb; }
.tag-yellow { background: #fff0b8; }
.tag-pink { background: #fde2eb; color: #9b3152; }
.tag-lavender { background: #e9e7fb; }
.featured-content h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.08;
  margin: 0 0 14px;
}
.featured-content p { color: var(--muted); margin: 0 0 18px; }
.read-more { color: var(--primary-2); font-weight: 800; font-size: .88rem; }
.read-more:hover { text-decoration: underline; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 48px 0 18px;
}
.section-heading h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin: 0;
}
.section-heading a { color: var(--primary-2); font-size: .9rem; font-weight: 800; }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.article-card {
  overflow: hidden;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(48,52,134,.07);
  transition: transform .22s ease, box-shadow .22s ease, opacity .2s ease;
}
.article-card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(48,52,134,.12); }
.article-card > img { aspect-ratio: 1.6; object-fit: cover; }
.article-card-body { padding: 18px 18px 21px; }
.article-meta.compact { font-size: .68rem; margin-bottom: 9px; }
.article-card h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.15;
}
.article-card p {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: .89rem;
  line-height: 1.55;
}
.article-item.is-hidden { display: none; }
.empty-state {
  margin: 32px 0 0;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}

.newsletter {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  background: linear-gradient(135deg, #eef8ff, #f0f4ff 48%, #e6f7f1);
}
.newsletter::before,
.newsletter::after {
  content: "";
  position: absolute;
  left: -5%;
  width: 110%;
  height: 42px;
  border-radius: 50%;
  background: var(--cream);
}
.newsletter::before { top: -26px; }
.newsletter::after { display: none; }
.newsletter-inner {
  display: grid;
  grid-template-columns: auto 1.25fr 1fr;
  gap: 28px;
  align-items: center;
}
.newsletter-icon {
  color: var(--primary);
  font-size: 3.6rem;
  transform: rotate(-9deg);
}
.newsletter h2 { margin: 0 0 5px; color: var(--primary); font-size: 1.55rem; }
.newsletter p { margin: 0; color: var(--muted); }
.hand-note.small { margin: 0 0 6px; transform: rotate(-3deg); color: var(--primary-2); font-size: .9rem; }
.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.newsletter-form input {
  width: 100%;
  min-height: 46px;
  border-radius: 9px;
  border: 1px solid rgba(48,52,134,.14);
  background: rgba(255,255,255,.9);
  padding: 0 14px;
  outline: none;
}
.newsletter-form input:focus { box-shadow: 0 0 0 3px rgba(153,208,194,.35); border-color: var(--mint); }
.form-message { grid-column: 1 / -1; min-height: 1.4em; font-size: .78rem; color: var(--primary) !important; }

.site-footer {
  position: relative;
  padding: 66px 0 22px;
  background: linear-gradient(145deg, #303486, #4258b0);
  color: white;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -34px;
  left: -2%;
  width: 104%;
  height: 68px;
  border-radius: 50%;
  background: #edf6ff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr .8fr 1.35fr;
  gap: 42px;
}
.site-footer h3 { margin: 0 0 15px; font-size: 1rem; }
.site-footer p,
.site-footer a { color: rgba(255,255,255,.86); font-size: .84rem; }
.site-footer p { margin: 5px 0; }
.site-footer > .container a:hover { color: white; text-decoration: underline; }
.site-footer .footer-grid > div:nth-child(3) { display: flex; flex-direction: column; gap: 7px; }
.brand-footer { color: white; min-width: 0; }
.brand-mark.light { background: white; color: var(--primary); box-shadow: 10px 12px 0 rgba(153,208,194,.6); }
.footer-more { display: inline-block; margin-top: 9px; font-weight: 800; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.65);
  font-size: .74rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1080px) {
  .main-nav { gap: 17px; font-size: .82rem; }
  .header-cta { display: none; }
  .nav-wrap { grid-template-columns: auto 1fr; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .category-bar { grid-template-columns: repeat(3, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .topbar-inner { align-items: flex-start; padding: 9px 0; flex-direction: column; gap: 5px; }
  .topbar-actions { gap: 12px; flex-wrap: wrap; }
  .nav-wrap { min-height: 78px; grid-template-columns: 1fr auto; }
  .brand { min-width: 0; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-copy small { display: none; }
  .nav-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    color: var(--primary);
    font-size: 1.35rem;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; }
  .main-nav a::after { display: none; }
  .hero { padding-top: 44px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; }
  .hero-photo-wrap { width: 88%; aspect-ratio: 1.25; }
  .quote-bubble { width: 150px; min-height: 150px; font-size: .82rem; }
  .doodle-sun { right: 10px; }
  .hand-note { margin-left: 45%; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-image-wrap { min-height: 250px; }
  .newsletter-inner { grid-template-columns: auto 1fr; }
  .newsletter-form { grid-column: 1 / -1; }
}

@media (max-width: 580px) {
  .container { width: min(100% - 28px, 1180px); }
  .topbar { font-size: .76rem; }
  .brand-copy strong { font-size: 1rem; }
  .hero h1 { font-size: 3.05rem; }
  .hero-text { font-size: .94rem; }
  .hero-visual { min-height: 300px; }
  .hero-photo-wrap { width: 100%; }
  .quote-bubble { right: 0; top: -20px; width: 130px; min-height: 130px; padding: 20px 14px; }
  .stars { right: 2%; bottom: 8px; }
  .category-bar { grid-template-columns: repeat(2, 1fr); }
  .category-chip { font-size: .76rem; padding: 11px 8px; }
  .featured-content { padding: 24px 22px; }
  .article-meta { align-items: flex-start; flex-direction: column; gap: 8px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .articles-grid { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; text-align: center; }
  .newsletter-icon { margin: 0 auto; }
  .newsletter-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
}
