/* ═══════════════════════════════════════════
   MTK additions — Oct 2026 launch pass
   Loaded after styles.css on every page.
═══════════════════════════════════════════ */

/* ─── SIGNUP BUTTON (links to Hostinger Reach form) ─── */
.signup-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--sage); color: #fff; text-decoration: none;
  padding: 13px 30px; border-radius: 24px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  transition: background 0.2s;
}
.signup-btn:hover { background: var(--forest); }
.signup-btn.on-light { background: var(--forest); color: var(--mint-light); }
.signup-btn.on-light:hover { background: var(--ink); }
.signup-btn.on-heart { background: #fff; color: var(--heart); }
.signup-btn.on-heart:hover { background: var(--linen); }
.signup-btn.full { width: 100%; }
.hero-nl .signup-btn { margin-bottom: 10px; }

/* ─── HOME: WHAT IS MTK (tighter, photo up top) ─── */
.home-what { padding-top: 44px; padding-bottom: 28px; gap: 44px; align-items: start; }
.home-what-img { margin-top: 4px; max-width: 320px; }
.home-what h2 { margin-bottom: 10px; }
.home-what p { margin-bottom: 10px; line-height: 1.75; }
.home-what blockquote { margin: 14px 0; padding: 8px 16px; }
.home-what-btns { margin-top: 16px; }

/* ─── NEWSLETTER BAND ─── */
.newsletter-band .eyebrow { font-size: 10.5px; color: var(--sage); line-height: 1.4; margin-bottom: 10px; }
.newsletter-band .home-nl-fine { font-size: 11.5px; margin: 12px 0 0; }

/* ─── PHOTOS IN STORY CARDS ─── */
.home-story-thumb img,
.story-card-thumb img,
.story-featured-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.home-story-thumb, .story-card-thumb, .story-featured-img { overflow: hidden; }
.home-story-card, .story-card { display: flex; flex-direction: column; }
.home-story-body, .story-card-body { flex: 1; }

/* ─── FROM THE TABLE GALLERY (home) ─── */
.home-gallery { max-width: 1040px; margin: 0 auto; padding: 8px 48px 16px; }
.home-gallery-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.home-gallery-head a { font-size: 13px; color: var(--sage); font-weight: 500; text-decoration: none; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px; gap: 12px; grid-auto-flow: dense;
}
.gallery-grid figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--linen2); position: relative; }
.gallery-grid figure.tall { grid-row: span 2; }
.gallery-grid figure.wide { grid-column: span 2; }
.gallery-grid figure.tall img { object-position: center 85%; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.gallery-grid figure:hover img { transform: scale(1.03); }
.gallery-grid figcaption {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(26,26,24,0.72); color: var(--linen);
  font-size: 11px; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 12px;
}

/* ─── COOKBOOK: BOOK NEWS CARD ─── */
.book-news {
  position: relative; overflow: hidden; margin: 8px 0 20px;
  padding: 30px 28px 24px; border-radius: 22px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(201,64,64,0.32) 0%, rgba(201,64,64,0) 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(29,158,117,0.22) 0%, rgba(29,158,117,0) 60%),
    rgba(255,255,255,0.05);
  border: 1px solid rgba(240,237,230,0.18);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
}
.book-news-heart { position: absolute; right: -18px; top: -14px; width: 150px; fill: var(--heart); opacity: 0.16; transform: rotate(12deg); pointer-events: none; }
.book-news-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,64,64,0.2); border: 0.5px solid rgba(201,64,64,0.55);
  color: #F49B9B; border-radius: 20px; padding: 6px 14px;
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
}
.book-news-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--heart); box-shadow: 0 0 0 0 rgba(201,64,64,0.6); animation: mtkPulse 1.8s ease-out infinite; }
@keyframes mtkPulse { 0% { box-shadow: 0 0 0 0 rgba(201,64,64,0.6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(201,64,64,0); } }
.book-news-h { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: var(--linen); line-height: 1.15; margin: 16px 0 10px; letter-spacing: -0.3px; }
.book-news-h em { color: var(--heart); font-style: italic; }
.cookbook-text .book-news-p { font-size: 14px; color: rgba(240,237,230,0.72); line-height: 1.7; margin-bottom: 16px; }
.book-news-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; padding: 16px 18px; background: rgba(0,0,0,0.22); border-radius: 14px; }
.book-news-list li { display: flex; gap: 12px; align-items: baseline; font-size: 14px; color: rgba(240,237,230,0.8); line-height: 1.5; }
.book-news-list strong { color: var(--linen); font-weight: 500; }
.book-news-check { color: var(--amber); font-size: 12px; flex-shrink: 0; }
.book-news .signup-btn { font-size: 15px; padding: 15px 30px; box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.cookbook-text .book-news-fine { font-size: 11.5px; color: rgba(240,237,230,0.45); text-align: center; margin: 12px 0 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .home-what { gap: 24px; padding-top: 36px; }
  .home-what-img { max-width: 300px; aspect-ratio: 4 / 3; justify-self: start; }
  .home-gallery { padding-left: 24px; padding-right: 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}
@media (max-width: 600px) {
  .home-gallery { padding-left: 18px; padding-right: 18px; }
  .book-news { padding: 26px 20px 20px; }
  .book-news-h { font-size: 27px; }
  .gallery-grid { grid-auto-rows: 130px; gap: 8px; }
  .gallery-grid figure.wide { grid-column: span 2; }
  .signup-btn { width: 100%; }
  .home-btns, .home-what-btns { flex-direction: column; align-items: stretch; }
  .about-hero-inner .btn-sage, .about-hero-inner .btn-outline-ink { text-align: center; }
}
