/* ============================================================
   Nourishing Growing Brains — Rev 2.0 Shared Stylesheet
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Manrope:wght@400;500;600;700&family=Caveat:wght@400;600&family=DM+Mono:wght@400;500&display=swap');

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --cream:      #F5EFE5;
  --earth:      #5C4A3E;
  --terra:      #C25B3F;
  --forest:     #3E5A47;
  --ochre:      #D9A653;
  --dusty-pink: #D9A599;
  --soft-navy:  #4A5872;
  --sand:       #E8D9BE;
  --white:      #FFFFFF;

  --font-display: 'Newsreader', Georgia, serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-hand:    'Caveat', cursive;
  --font-mono:    'DM Mono', monospace;

  --max-w:   1080px;
  --pad:     clamp(24px, 5vw, 72px);
  --rad:     12px;
  --rad-sm:  6px;

  --shadow: 0 2px 12px rgba(92,74,62,0.08);
  --shadow-hover: 0 6px 24px rgba(92,74,62,0.14);

  --transition: 0.22s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--earth);
  background: var(--cream);
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--terra); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--earth); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--earth);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 500; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 600; font-family: var(--font-body); }

p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.4em; margin-bottom: 1em; }
li { margin-bottom: 0.4em; }

strong { font-weight: 700; }
em { font-style: italic; }

hr { border: none; border-top: 1px solid var(--sand); margin: 2.5rem 0; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
  display: block;
  margin-bottom: 0.6rem;
}

.hand {
  font-family: var(--font-hand);
  font-size: 1.35em;
  color: var(--terra);
  display: block;
}

.divider-line {
  width: 48px;
  height: 2px;
  background: var(--ochre);
  margin: 1.5rem 0;
}

.divider-line.centered { margin: 1.5rem auto; }

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--sand);
  color: var(--earth);
}
.tag.feed        { background: rgba(217,166,83,0.18); color: var(--earth); }
.tag.nourish     { background: rgba(62,90,71,0.12); color: var(--forest); }
.tag.regulate    { background: rgba(217,165,153,0.3); color: var(--earth); }
.tag.discover    { background: rgba(74,88,114,0.12); color: var(--soft-navy); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--rad-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--terra);
  color: var(--white);
  border-color: var(--terra);
}
.btn-primary:hover {
  background: #a84d34;
  border-color: #a84d34;
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--terra);
  border-color: var(--terra);
}
.btn-outline:hover {
  background: var(--terra);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--earth);
  border-color: var(--sand);
}
.btn-ghost:hover {
  border-color: var(--earth);
}

/* Section spacing */
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section-sm { padding: clamp(40px, 5vw, 60px) 0; }

/* Text alignment helpers */
.text-center { text-align: center; }
.text-left   { text-align: left; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--earth);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.nav-logo:hover { color: var(--ochre); }
.nav-logo em { font-style: italic; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(245,239,229,0.8);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--ochre); }

.nav-links .btn {
  padding: 8px 18px;
  font-size: 0.82rem;
}

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: absolute;
  top: 66px;
  left: 0; right: 0;
  background: var(--earth);
  padding: 1rem var(--pad) 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.nav-drawer.open { display: block; }
.nav-drawer a {
  display: block;
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(245,239,229,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
}
.nav-drawer a:hover { color: var(--ochre); }
.nav-drawer a:last-child { border-bottom: none; }

/* ============================================================
   HERO — HOME
   ============================================================ */
.hero-home {
  background: var(--cream);
  padding: clamp(60px, 8vw, 100px) 0 0;
}

.hero-home-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-home-text .eyebrow { margin-bottom: 1rem; }

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 1.4rem;
  letter-spacing: -0.02em;
}
.hero-title em { font-style: italic; }

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(92,74,62,0.82);
  max-width: 440px;
  margin-bottom: 1.8rem;
}

.hero-home-image {
  position: relative;
  border-radius: var(--rad);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-hover);
}
.hero-home-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-wave {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: 3rem;
}
.hero-wave svg { display: block; width: 100%; }

/* ============================================================
   CARDS GRID
   ============================================================ */
.cards-section { padding: clamp(60px, 8vw, 100px) 0; }

.cards-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--rad);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.card-thumb {
  background: var(--sand);
  aspect-ratio: 16/9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-thumb svg { opacity: 0.5; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }

.card-body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.card-body .tag { margin-bottom: 0.8rem; }
.card-body h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.card-body p  { font-size: 0.92rem; color: rgba(92,74,62,0.78); flex: 1; }
.card-body .card-link {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--terra);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card-body .card-link:hover { color: var(--earth); }

/* ============================================================
   NEWSLETTER BAND
   ============================================================ */
.signup-band {
  background: var(--earth);
  padding: clamp(50px, 7vw, 80px) 0;
}

.signup-band-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--pad);
  text-align: center;
}

.signup-band .hand { color: var(--ochre); margin-bottom: 0.4rem; }
.signup-band h2 { color: var(--cream); margin-bottom: 0.7rem; }
.signup-band p  { color: rgba(245,239,229,0.72); font-size: 0.95rem; margin-bottom: 1.8rem; }

.signup-form {
  display: flex;
  gap: 0.6rem;
  max-width: 440px;
  margin: 0 auto;
}

.signup-form input[type="email"] {
  flex: 1;
  padding: 13px 16px;
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: var(--rad-sm);
  background: rgba(255,255,255,0.08);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}
.signup-form input[type="email"]::placeholder { color: rgba(245,239,229,0.4); }
.signup-form input[type="email"]:focus { border-color: var(--ochre); }

.signup-form button {
  padding: 13px 20px;
  background: var(--terra);
  color: var(--white);
  border: none;
  border-radius: var(--rad-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.signup-form button:hover { background: #a84d34; }

.signup-note {
  font-size: 0.76rem;
  color: rgba(245,239,229,0.4);
  margin-top: 0.8rem;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--sand);
  padding: clamp(50px, 7vw, 80px) 0;
  border-bottom: 1px solid rgba(92,74,62,0.08);
}
.page-hero h1 { margin-top: 0.5rem; }
.page-hero p.lead {
  font-size: 1.1rem;
  max-width: 560px;
  color: rgba(92,74,62,0.78);
  margin-top: 1rem;
}

/* ============================================================
   BLOG POST LAYOUT
   ============================================================ */
.post-hero {
  background: var(--sand);
  padding: clamp(50px, 7vw, 80px) 0 0;
}

.post-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.post-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(92,74,62,0.55);
}

.post-hero h1 { margin-bottom: 1rem; }
.post-hero p.lead {
  font-size: 1.15rem;
  color: rgba(92,74,62,0.78);
  margin-bottom: 2rem;
}

.post-hero-wave { margin-top: 2rem; line-height: 0; }
.post-hero-wave svg { width: 100%; display: block; }

.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 70px) var(--pad) clamp(60px, 8vw, 100px);
}

.post-body h2 {
  font-size: 1.5rem;
  margin: 2.2rem 0 0.8rem;
}
.post-body h3 {
  font-size: 1.15rem;
  margin: 1.8rem 0 0.6rem;
}
.post-body p    { font-size: 1rem; line-height: 1.8; }
.post-body ul   { margin: 0.5rem 0 1.2rem 1.4rem; }
.post-body li   { margin-bottom: 0.6rem; font-size: 1rem; line-height: 1.7; }

.reality-check {
  background: var(--sand);
  border-left: 4px solid var(--ochre);
  padding: 1.4rem 1.6rem;
  border-radius: 0 var(--rad-sm) var(--rad-sm) 0;
  margin: 2rem 0;
}
.reality-check .eyebrow { color: var(--ochre); margin-bottom: 0.6rem; }
.reality-check p { font-size: 0.95rem; margin-bottom: 0; }

.post-nav {
  border-top: 1px solid var(--sand);
  padding-top: 2rem;
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.post-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--terra);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ============================================================
   WEEKLY FOCUS PAGE — POST LIST
   ============================================================ */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(40px, 5vw, 60px) 0;
}

.post-list-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  background: var(--white);
  border-radius: var(--rad);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  color: var(--earth);
}
.post-list-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  color: var(--earth);
}
.post-list-thumb {
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}
.post-list-thumb svg { opacity: 0.45; }
.post-list-body { padding: 1.4rem 1.5rem 1.5rem 0; }
.post-list-body .tag { margin-bottom: 0.6rem; }
.post-list-body h3  { font-size: 1.2rem; margin-bottom: 0.5rem; }
.post-list-body p   { font-size: 0.9rem; color: rgba(92,74,62,0.72); }
.post-list-body .card-link { margin-top: 0.6rem; font-size: 0.83rem; font-weight: 600; color: var(--terra); display: inline-flex; align-items: center; gap: 4px; }

/* ============================================================
   RESOURCES PAGE
   ============================================================ */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: clamp(40px, 5vw, 60px) 0;
}

.resource-category {
  background: var(--white);
  border-radius: var(--rad);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.resource-category-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--sand);
}

.resource-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.resource-icon.recipes  { background: rgba(217,166,83,0.2); }
.resource-icon.books    { background: rgba(62,90,71,0.12); }
.resource-icon.podcasts { background: rgba(217,165,153,0.3); }
.resource-icon.nervous  { background: rgba(74,88,114,0.12); }

.resource-category h3 { font-size: 1.05rem; margin: 0; }

.resource-list { list-style: none; padding: 0; margin: 0; }
.resource-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--sand);
  font-size: 0.92rem;
}
.resource-list li:last-child { border-bottom: none; padding-bottom: 0; }
.resource-list a { color: var(--terra); font-weight: 500; }
.resource-list a:hover { color: var(--earth); }
.resource-list .res-desc {
  display: block;
  font-size: 0.8rem;
  color: rgba(92,74,62,0.58);
  margin-top: 2px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  padding: clamp(60px, 8vw, 100px) 0;
}

.about-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  align-items: start;
}

.about-photo-wrap {
  position: sticky;
  top: 90px;
}

.about-photo {
  border-radius: var(--rad);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  aspect-ratio: 3/4;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-photo-caption {
  font-family: var(--font-hand);
  font-size: 1.1rem;
  color: var(--terra);
  margin-top: 0.8rem;
  text-align: center;
}

.about-text .eyebrow  { margin-bottom: 1rem; }
.about-text h1        { margin-bottom: 0.3rem; }
.about-text h1 em     { display: block; }
.about-text .intro    { font-size: 1.1rem; line-height: 1.8; margin: 1.4rem 0 2rem; }

.credentials {
  background: var(--sand);
  border-radius: var(--rad);
  padding: 1.8rem;
  margin: 2rem 0;
}

.credentials h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 0.03em;
}

.cred-list { list-style: none; padding: 0; }
.cred-list li {
  display: flex;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(92,74,62,0.1);
  font-size: 0.9rem;
}
.cred-list li:last-child { border-bottom: none; }

.cred-badge {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terra);
  flex-shrink: 0;
  margin-top: 6px;
}
.cred-name   { font-weight: 600; display: block; }
.cred-detail { color: rgba(92,74,62,0.65); font-size: 0.82rem; }

.journey {
  margin-top: 2.2rem;
}
.journey h2 { margin-bottom: 1rem; }
.journey p  { font-size: 1rem; line-height: 1.8; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: clamp(60px, 8vw, 100px) 0;
}

.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p  { font-size: 0.95rem; line-height: 1.8; margin-bottom: 1.5rem; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.contact-detail-icon {
  width: 38px;
  height: 38px;
  background: var(--sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-text { font-size: 0.9rem; line-height: 1.5; }
.contact-detail-text strong { display: block; }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--rad);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--sand);
  border-radius: var(--rad-sm);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--earth);
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--terra); }

.form-group textarea { min-height: 130px; resize: vertical; }

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235C4A3E' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--earth);
  padding: clamp(50px, 6vw, 70px) 0 2rem;
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .nav-logo {
  font-size: 1.1rem;
  display: inline-block;
  margin-bottom: 0.8rem;
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(245,239,229,0.55);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(245,239,229,0.65);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 1.5rem auto 0;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(245,239,229,0.35);
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-home-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-home-image { max-width: 480px; aspect-ratio: 3/2; }
  .about-hero-inner { grid-template-columns: 1fr; }
  .about-photo-wrap { position: static; }
  .about-photo { max-width: 380px; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .post-list-item { grid-template-columns: 1fr; }
  .post-list-thumb { min-height: 120px; }
  .post-list-body { padding: 1.2rem 1.4rem 1.4rem; }
  .form-row { grid-template-columns: 1fr; }
  .cards-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .hero-title { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .signup-form { flex-direction: column; }
  .signup-form button { width: 100%; }
}
