/* Melinda Strauss - standalone site (dev) */

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

:root {
  --ms-navy: #1a2744;
  --ms-navy-mid: #243660;
  --ms-navy-light: #2e3f6e;
  --ms-gold: #c9a96e;
  --ms-gold-light: #e8d5b0;
  --ms-gold-pale: #faf5ec;
  --ms-cream: #fdf8f0;
  --ms-text: #1a2744;
  --ms-text-soft: #4a5568;
  --ms-text-muted: #8a96a8;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--ms-text);
  background: var(--ms-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

h1, h2, h3, h4 { text-wrap: balance; }

/* ---------- NAV ---------- */
#ms-nav {
  background: var(--ms-navy);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}
#ms-nav .nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}
#ms-nav .nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: white;
  text-decoration: none;
  flex-shrink: 0;
}
#ms-nav .nav-logo em { color: var(--ms-gold); font-style: italic; }
#ms-nav .nav-right { display: flex; align-items: center; }
#ms-nav .nav-links { display: flex; list-style: none; align-items: center; }
#ms-nav .nav-links li { list-style: none; }
#ms-nav .nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  transition: color 0.2s;
  white-space: nowrap;
  display: block;
}
#ms-nav .nav-links a:hover,
#ms-nav .nav-links a.active { color: var(--ms-gold); }
#ms-nav .nav-links a.nav-cta {
  background: var(--ms-gold);
  color: var(--ms-navy) !important;
  border-radius: 25px;
  padding: 0.4rem 1.1rem;
  margin-left: 0.5rem;
  font-size: 0.75rem;
}
#ms-nav .nav-links a.nav-cta:hover { background: var(--ms-gold-light); }
#ms-nav .nav-social {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255,255,255,0.15);
}
#ms-nav .nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: background 0.2s;
  opacity: 0.65;
  text-decoration: none;
}
#ms-nav .nav-social a:hover { opacity: 1; background: rgba(255,255,255,0.1); }
#ms-nav .nav-social a svg { width: 15px; height: 15px; fill: white; display: block; }
#ms-nav .nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 0;
}
#ms-nav .nav-toggle svg { width: 24px; height: 24px; stroke: white; fill: none; stroke-width: 2; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 30px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-gold { background: var(--ms-gold); color: var(--ms-navy); border-color: var(--ms-gold); }
.btn-gold:hover { background: #b8924a; border-color: #b8924a; color: white; }
.btn-navy { background: var(--ms-navy); color: white; border-color: var(--ms-navy); }
.btn-navy:hover { background: var(--ms-navy-light); border-color: var(--ms-navy-light); }
.btn-outline-navy { background: transparent; color: var(--ms-navy); border-color: var(--ms-navy); }
.btn-outline-navy:hover { background: var(--ms-navy); color: white; }
.btn-outline-white { background: transparent; color: white; border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: white; color: var(--ms-navy); border-color: white; }
.btn-outline-gold { background: transparent; color: var(--ms-gold); border-color: var(--ms-gold); }
.btn-outline-gold:hover { background: var(--ms-gold); color: var(--ms-navy); }

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(135deg, var(--ms-cream) 0%, var(--ms-gold-pale) 100%);
  padding: 3.5rem 2rem 3rem;
  overflow: hidden;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ms-gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--ms-gold);
  display: inline-block;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  color: var(--ms-navy);
  margin-bottom: 1.25rem;
}
.hero-content h1 em { color: var(--ms-gold); font-style: italic; }
.hero-content p {
  font-size: 1.05rem;
  color: var(--ms-text-soft);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; gap: 2rem; padding-top: 2rem; border-top: 1px solid var(--ms-gold-light); }
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ms-navy);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ms-text-muted);
  margin-top: 0.25rem;
}
.hero-image-wrap { position: relative; display: flex; justify-content: center; }
.hero-image-wrap img {
  width: 360px;
  height: 460px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(26,39,68,0.2);
  display: block;
}
.hero-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--ms-navy);
  color: white;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  font-size: 0.75rem;
  line-height: 1.4;
  box-shadow: 0 10px 30px rgba(26,39,68,0.3);
  max-width: 155px;
  border-left: 3px solid var(--ms-gold);
}
.hero-badge strong {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ms-gold);
  margin-bottom: 0.2rem;
}

/* ---------- SHARED SECTION BITS ---------- */
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--ms-navy);
  margin-bottom: 0.4rem;
}
.section-header h2 em { color: var(--ms-gold); font-style: italic; }
.section-header p { color: var(--ms-text-soft); font-size: 0.95rem; }

/* ---------- NAV CARDS ---------- */
.nav-cards-section { padding: 4rem 2rem; background: white; border-top: 3px solid var(--ms-gold); }
.nav-cards-inner { max-width: 1100px; margin: 0 auto; }
.nav-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.nav-card {
  background: var(--ms-gold-pale);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--ms-gold-light);
  text-decoration: none;
  display: block;
}
.nav-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(201,169,110,0.2); }
.nav-card-icon { font-size: 2.2rem; margin-bottom: 0.9rem; display: block; }
.nav-card h3 { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--ms-navy); margin-bottom: 0.4rem; }
.nav-card p { font-size: 0.85rem; color: var(--ms-text-soft); }

/* ---------- RECIPE STRIP + GRID ---------- */
.recipe-strip { padding: 4rem 2rem; background: var(--ms-cream); }
.recipe-strip-inner { max-width: 1100px; margin: 0 auto; }
.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.recipe-card {
  background: white;
  border: 1px solid var(--ms-gold-light);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.recipe-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(26,39,68,0.12); }
.recipe-card-main { text-decoration: none; display: flex; flex-direction: column; flex: 1; }

/* Ingredients pulled live from her Tasty Recipes card on WordPress */
.recipe-ing-toggle {
  width: 100%;
  border: none;
  border-top: 1px solid var(--ms-gold-light);
  background: var(--ms-gold-pale);
  color: var(--ms-navy);
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  transition: background 0.2s;
}
.recipe-ing-toggle:hover { background: var(--ms-gold-light); }
.recipe-ing-toggle .ing-sign { font-size: 0.9rem; line-height: 1; color: var(--ms-gold); }
.recipe-card.open .recipe-ing-toggle { background: var(--ms-navy); color: white; }
.recipe-card.open .recipe-ing-toggle .ing-sign { color: var(--ms-gold); }

.recipe-ing {
  border-top: 1px solid var(--ms-gold-light);
  padding: 1rem 1.2rem 1.1rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ms-text-soft);
  max-height: 260px;
  overflow-y: auto;
}
.recipe-ing[hidden] { display: none; }
.recipe-ing ul { list-style: none; }
.recipe-ing li { padding: 0.22rem 0 0.22rem 0.9rem; position: relative; }
.recipe-ing li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ms-gold);
}
.recipe-ing .ing-group {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  color: var(--ms-navy);
  margin: 0.7rem 0 0.2rem;
}
.recipe-ing .ing-group:first-child { margin-top: 0; }
.recipe-ing .ing-yield {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ms-text-muted);
  margin-bottom: 0.6rem;
}
.recipe-ing .ing-full {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ms-gold);
  text-decoration: none;
}
.recipe-ing .ing-full:hover { color: var(--ms-navy); }
.recipe-ing .ing-msg { color: var(--ms-text-muted); font-size: 0.78rem; }

/* ---------- MERCH GRID ---------- */
.merch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.merch-grid .shop-card { flex: none; }

/* ---------- MERCH EMBED (retired, their widget was flaky in a frame) ---------- */
.merch-embed {
  border: 1px solid var(--ms-gold-light);
  border-radius: 14px;
  overflow: hidden;
  background: white;
}
.merch-embed-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.9rem 1.2rem;
  background: var(--ms-gold-pale);
  border-bottom: 1px solid var(--ms-gold-light);
}
.merch-embed-bar span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ms-text-muted);
}
.merch-embed-bar a {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ms-navy);
  text-decoration: none;
  border-bottom: 1.5px solid var(--ms-gold);
  padding-bottom: 2px;
}
.merch-embed-bar a:hover { color: var(--ms-gold); }
.merch-embed iframe { width: 100%; height: 820px; border: none; display: block; }
@media (max-width: 768px) { .merch-embed iframe { height: 640px; } }
.recipe-card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--ms-gold-pale); }
.recipe-card-body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.recipe-card-cat {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ms-gold);
}
.recipe-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--ms-navy);
}
.recipe-card-foot {
  display: block;
  border-top: 1px solid var(--ms-gold-light);
  padding: 0.8rem 1.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ms-navy);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s, color 0.2s;
}
.recipe-card:hover .recipe-card-foot { opacity: 1; }
.recipe-card-foot:hover { color: var(--ms-gold); opacity: 1; }

.recipes-hero {
  background: linear-gradient(135deg, var(--ms-cream), var(--ms-gold-pale));
  padding: 3.5rem 2rem 3rem;
  text-align: center;
  border-bottom: 3px solid var(--ms-gold);
}
.recipes-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 5vw, 2.9rem); color: var(--ms-navy); margin-bottom: 0.5rem; }
.recipes-hero h1 em { color: var(--ms-gold); font-style: italic; }
.recipes-hero p { color: var(--ms-text-soft); font-size: 1rem; max-width: 640px; margin: 0 auto; }
.recipes-body { padding: 2.5rem 2rem 4rem; background: white; }
.recipes-inner { max-width: 1100px; margin: 0 auto; }
.recipe-tools { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.recipe-search {
  flex: 1;
  min-width: 240px;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--ms-gold-light);
  border-radius: 30px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--ms-text);
  outline: none;
}
.recipe-search:focus { border-color: var(--ms-gold); }
.recipe-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.recipe-chip {
  padding: 0.4rem 1rem;
  border-radius: 25px;
  border: 1.5px solid var(--ms-gold-light);
  background: white;
  color: var(--ms-text-soft);
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
}
.recipe-chip:hover { border-color: var(--ms-gold); color: var(--ms-navy); }
.recipe-chip.active { background: var(--ms-navy); border-color: var(--ms-navy); color: white; }
/* ---------- SHOP RAIL ---------- */
.shop-tabs { display: none; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.shop-tabs.ready { display: flex; }

.shop-rail {
  background: var(--ms-gold-pale);
  border: 1px solid var(--ms-gold-light);
  border-radius: 16px;
  padding: 1.5rem 0 1.6rem;
  margin: 0 0 2.5rem;
  display: none;
}
.shop-rail.ready { display: block; }
.shop-rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0 1.6rem 1.1rem;
}
.shop-rail-head h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--ms-navy);
}
.shop-rail .shop-rail-kicker {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ms-gold);
  display: block;
  margin-bottom: 0.3rem;
}
.shop-rail-all {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ms-navy);
  text-decoration: none;
  border-bottom: 1.5px solid var(--ms-gold);
  padding-bottom: 2px;
  white-space: nowrap;
}
.shop-rail-all:hover { color: var(--ms-gold); }
.shop-rail-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 1.6rem 0.5rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.shop-card {
  flex: 0 0 178px;
  scroll-snap-align: start;
  background: white;
  border: 1px solid var(--ms-gold-light);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.shop-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(201,169,110,0.28); }
.shop-card-tile {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--ms-gold-pale), #f2e6cf);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--ms-gold-light);
  overflow: hidden;
}
.shop-card-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-card-initial {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-style: italic;
  color: var(--ms-gold);
  opacity: 0.65;
  line-height: 1;
}
.shop-card-body { padding: 0.85rem 0.95rem 1rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.shop-card-kicker {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ms-text-muted);
}
.shop-card h4 { font-family: 'Playfair Display', serif; font-size: 0.95rem; line-height: 1.3; color: var(--ms-navy); }
.shop-card p { font-size: 0.76rem; line-height: 1.5; color: var(--ms-text-soft); }
.shop-card-cta {
  margin-top: auto;
  padding-top: 0.6rem;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ms-gold);
}
.shop-card:hover .shop-card-cta { color: var(--ms-navy); }
.shop-rail-note {
  padding: 0.9rem 1.6rem 0;
  font-size: 0.68rem;
  color: var(--ms-text-muted);
  letter-spacing: 0.02em;
}

.recipe-status { text-align: center; padding: 2.5rem 1rem; color: var(--ms-text-muted); font-size: 0.9rem; }
.recipe-more { text-align: center; margin-top: 2.5rem; }
.recipe-skel { border-radius: 14px; background: var(--ms-gold-pale); aspect-ratio: 4 / 5; animation: ms-pulse 1.3s ease-in-out infinite; }
@keyframes ms-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

/* ---------- SOCIAL ---------- */
.social-section { padding: 4rem 2rem; background: var(--ms-navy); }
.social-inner { max-width: 1100px; margin: 0 auto; }
.social-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.social-header h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: white; }
.social-header h2 em { color: var(--ms-gold); font-style: italic; }
.social-tabs { display: flex; background: rgba(255,255,255,0.1); padding: 4px; border-radius: 30px; }
.social-tab {
  padding: 0.45rem 1.2rem;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.55);
  transition: all 0.2s;
  font-family: 'Lato', sans-serif;
}
.social-tab.active { background: var(--ms-gold); color: var(--ms-navy); }
.social-feed-panel { display: none; }
.social-feed-panel.active { display: block; }
.sg-grid { display: grid; gap: 0.85rem; }
.sg-grid.sg-ig { grid-template-columns: repeat(4, 1fr); }
.sg-grid.sg-tt { grid-template-columns: repeat(5, 1fr); }

.sg-tile {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sg-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.sg-ig .sg-tile { aspect-ratio: 1; }
.sg-tt .sg-tile { aspect-ratio: 9 / 16; }
.sg-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.sg-tile:hover img { transform: scale(1.06); }

.sg-tile-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,16,32,0.85) 0%, rgba(10,16,32,0.25) 38%, rgba(10,16,32,0) 65%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.sg-ig .sg-tile:hover .sg-tile-veil { opacity: 1; }
.sg-tt .sg-tile-veil { opacity: 1; }

.sg-tile-mark {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 26px;
  height: 26px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.sg-tile-mark svg { width: 100%; height: 100%; fill: white; display: block; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5)); }
.sg-tile:hover .sg-tile-mark { opacity: 1; }

.sg-tile-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 0.9rem;
  color: white;
}
.sg-tile-plays {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}
.sg-tile-plays svg { width: 11px; height: 11px; fill: white; flex-shrink: 0; }
.sg-tile-desc {
  font-size: 0.72rem;
  line-height: 1.45;
  opacity: 0.82;
  margin-top: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.social-follow-row { display: flex; gap: 1rem; justify-content: center; margin-top: 1.75rem; flex-wrap: wrap; }

/* ---------- COOKBOOK ---------- */
.cb-hero { background: linear-gradient(135deg, var(--ms-navy) 0%, var(--ms-navy-mid) 100%); padding: 4rem 2rem; color: white; }
.cb-hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 320px; gap: 4rem; align-items: center; }
.cb-eyebrow { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ms-gold); margin-bottom: 1rem; }
.cb-hero-content h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1.2; margin-bottom: 1.25rem; }
.cb-hero-content h1 em { color: var(--ms-gold); font-style: italic; }
.cb-hero-content p { font-size: 1.05rem; opacity: 0.85; line-height: 1.8; max-width: 480px; margin-bottom: 2rem; }
.cb-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.cb-img-wrap { display: flex; justify-content: center; align-items: center; perspective: 1200px; }
.cb-book-3d {
  position: relative;
  width: 260px;
  height: 340px;
  transform-style: preserve-3d;
  transform: rotateY(-25deg) rotateX(3deg);
  transition: transform 0.4s ease;
}
.cb-book-3d:hover { transform: rotateY(-15deg) rotateX(3deg); }
.cb-book-cover { position: absolute; width: 260px; height: 340px; transform-origin: left center; transform: translateZ(0px); border-radius: 0 4px 4px 0; overflow: hidden; box-shadow: -18px 26px 40px rgba(0,0,0,0.45); }
.cb-book-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cb-book-spine {
  position: absolute;
  width: 30px;
  height: 340px;
  background: linear-gradient(to right, #8a6a2a, #c9a96e, #a07830);
  transform-origin: right center;
  transform: rotateY(-90deg) translateZ(0px) translateX(-30px);
  border-radius: 2px 0 0 2px;
}
.cb-book-pages {
  position: absolute;
  width: 260px;
  height: 340px;
  background: repeating-linear-gradient(to bottom, #f5f0e8, #f5f0e8 2px, #e8e0d0 2px, #e8e0d0 3px);
  transform: translateZ(-8px);
  border-radius: 0 4px 4px 0;
}
.cb-features { padding: 4rem 2rem; background: white; }
.cb-features-inner { max-width: 1100px; margin: 0 auto; }
.feature-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.feature-card { background: var(--ms-gold-pale); border: 1px solid var(--ms-gold-light); border-radius: 12px; padding: 1.5rem; }
.feature-card span { font-size: 1.8rem; display: block; margin-bottom: 0.7rem; }
.feature-card h4 { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--ms-navy); margin-bottom: 0.35rem; }
.feature-card p { font-size: 0.85rem; color: var(--ms-text-soft); }

/* ---------- FAVE THINGS ---------- */
.ft-hero { background: linear-gradient(135deg, var(--ms-cream), var(--ms-gold-pale)); padding: 3.5rem 2rem 3rem; text-align: center; border-bottom: 3px solid var(--ms-gold); }
.ft-hero h1 { font-family: 'Playfair Display', serif; font-size: 2.8rem; color: var(--ms-navy); margin-bottom: 0.5rem; }
.ft-hero h1 em { color: var(--ms-gold); font-style: italic; }
.ft-hero p { color: var(--ms-text-soft); font-size: 1rem; }
.ft-sections { padding: 3.5rem 2rem; background: white; }
.ft-sections-inner { max-width: 1100px; margin: 0 auto; }
.ft-section { margin-bottom: 3.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--ms-gold-light); }
.ft-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.ft-section-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.75rem; }
.ft-section-header h2 { font-family: 'Playfair Display', serif; font-size: 1.7rem; color: var(--ms-navy); }
.ft-section-header p { font-size: 0.87rem; color: var(--ms-text-soft); }
.ft-panel { text-align: center; padding: 2rem; background: var(--ms-gold-pale); border-radius: 12px; border: 1px solid var(--ms-gold-light); }
.ft-panel p { color: var(--ms-text-soft); margin-bottom: 1.25rem; }
.ft-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.1rem; }
.ft-card { border: 1px solid var(--ms-gold-light); border-radius: 11px; padding: 1.4rem; background: var(--ms-gold-pale); transition: transform 0.2s, box-shadow 0.2s; }
.ft-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(201,169,110,0.15); }
.ft-card h4 { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--ms-navy); margin-bottom: 0.35rem; }
.ft-card p { font-size: 0.83rem; color: var(--ms-text-soft); margin-bottom: 0.9rem; }
.ft-card a { font-size: 0.73rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ms-gold); text-decoration: none; }
.ft-card a:hover { color: var(--ms-navy); }
.ft-note { background: var(--ms-gold-pale); border-radius: 12px; border: 1px solid var(--ms-gold-light); padding: 1.5rem 2rem; margin-bottom: 1.5rem; }
.ft-note p { font-size: 0.9rem; color: var(--ms-text-soft); margin-bottom: 0.5rem; }
.ft-note strong { color: var(--ms-navy); }
.ft-note a { color: var(--ms-gold); text-decoration: none; }
.ft-note .ft-note-small { font-size: 0.8rem; color: var(--ms-text-muted); margin-bottom: 0; }

/* ---------- CONTACT ---------- */
.contact-page { min-height: 80vh; background: linear-gradient(135deg, var(--ms-cream), var(--ms-gold-pale)); padding: 4rem 2rem; }
.contact-inner { max-width: 780px; margin: 0 auto; }
.contact-header { text-align: center; margin-bottom: 2.5rem; }
.contact-header h1 { font-family: 'Playfair Display', serif; font-size: 2.6rem; color: var(--ms-navy); margin-bottom: 0.5rem; }
.contact-header h1 em { color: var(--ms-gold); font-style: italic; }
.contact-header p { color: var(--ms-text-soft); font-size: 1rem; }
.cf-card { background: white; border-radius: 14px; border-top: 3px solid var(--ms-gold); padding: 2.5rem 2rem; box-shadow: 0 20px 60px rgba(26,39,68,0.08); }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf-row { margin-bottom: 1.1rem; }
.cf-row label { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ms-navy); margin-bottom: 0.4rem; }
.cf-row input, .cf-row select, .cf-row textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--ms-gold-light);
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--ms-text);
  background: white;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.cf-row input:focus, .cf-row select:focus, .cf-row textarea:focus { border-color: var(--ms-gold); }
.cf-row textarea { min-height: 110px; resize: vertical; }
.cf-select-trigger {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--ms-gold-light);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--ms-text-muted);
  background: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.cf-select-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1.5px solid var(--ms-gold-light);
  border-top: none;
  border-radius: 0 0 8px 8px;
  z-index: 100;
  box-shadow: 0 8px 20px rgba(26,39,68,0.1);
}
.cf-select-dropdown label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ms-text);
  border-bottom: 1px solid var(--ms-gold-pale);
  margin: 0;
}
.cf-select-dropdown label:last-child { border-bottom: none; }
.cf-select-dropdown label:hover { background: var(--ms-gold-pale); }
.cf-select-dropdown input { width: 15px; height: 15px; accent-color: var(--ms-navy); }
.cf-community-text { font-size: 0.95rem; color: var(--ms-text-soft); line-height: 1.7; margin: 1.5rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--ms-gold-light); }
.cf-error { background: #fff0f0; border: 1px solid #ffcccc; color: #cc0000; padding: 0.75rem 1rem; border-radius: 8px; font-size: 0.85rem; margin-bottom: 1rem; display: none; }
.cf-btn {
  width: 100%;
  padding: 0.9rem;
  background: var(--ms-navy);
  color: white;
  border: none;
  border-radius: 30px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}
.cf-btn:hover { background: var(--ms-navy-light); }
.cf-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.cf-thanks { text-align: center; padding: 3rem 1rem; display: none; }
.cf-thanks-icon { font-size: 3rem; margin-bottom: 1rem; display: block; }
.cf-thanks h3 { font-family: 'Playfair Display', serif; font-size: 1.9rem; color: var(--ms-navy); margin-bottom: 0.75rem; }
.cf-thanks h3 em { color: var(--ms-gold); font-style: italic; }
.cf-thanks p { color: var(--ms-text-soft); font-size: 0.95rem; max-width: 420px; margin: 0 auto; }
.cf-social-row { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cf-social-row a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ms-navy);
  color: white;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.cf-social-row a:hover { opacity: 0.85; }
@keyframes cf-spin { to { transform: rotate(360deg); } }
.cf-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: cf-spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

/* ---------- FOOTER ---------- */
.ms-footer { background: var(--ms-navy); color: white; padding: 2.5rem 2rem 2rem; text-align: center; }
.ms-footer .footer-logo { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 0.75rem; }
.ms-footer .footer-logo em { color: var(--ms-gold); font-style: italic; }
.ms-footer .footer-divider { width: 40px; height: 2px; background: var(--ms-gold); margin: 0 auto 1.25rem; }
.ms-footer .footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.ms-footer .footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s; }
.ms-footer .footer-links a:hover { color: var(--ms-gold); }
.ms-footer .footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.35); }

/* ---------- DEV BANNER ---------- */
.dev-banner {
  background: #2e3f6e;
  color: rgba(255,255,255,0.85);
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  font-weight: 700;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav-cards { grid-template-columns: repeat(2, 1fr); }
  .sg-grid.sg-ig { grid-template-columns: repeat(3, 1fr); }
  .sg-grid.sg-tt { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .hero-inner, .cb-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-image-wrap { order: -1; }
  .hero-image-wrap img { width: 100%; max-width: 320px; height: 360px; }
  .nav-cards { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .social-header { flex-direction: column; align-items: flex-start; }
  .cf-grid { grid-template-columns: 1fr; }
  .sg-grid.sg-ig, .sg-grid.sg-tt { grid-template-columns: repeat(2, 1fr); }
  #ms-nav .nav-social { display: none; }
  #ms-nav .nav-toggle { display: block; }
  #ms-nav .nav-links {
    display: none;
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    background: var(--ms-navy);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1.5rem 1.25rem;
    border-bottom: 3px solid var(--ms-gold);
  }
  #ms-nav .nav-links.open { display: flex; }
  #ms-nav .nav-links a { padding: 0.8rem 0; font-size: 0.85rem; }
  #ms-nav .nav-links a.nav-cta { margin: 0.5rem 0 0; text-align: center; }
  .recipe-tools { flex-direction: column; align-items: stretch; }
}
