/* 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 {
  overflow-x: hidden;
  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); }

/* My Faves submenu */
#ms-nav .has-sub { position: relative; }
#ms-nav .sub-caret { font-size: 0.6em; margin-left: 0.25rem; opacity: 0.8; }
#ms-nav .nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  list-style: none;
  background: var(--ms-navy);
  border-top: 2px solid var(--ms-gold);
  box-shadow: 0 16px 32px rgba(0,0,0,0.28);
  padding: 0.35rem 0 0.5rem;
  z-index: 1200;
}
#ms-nav .has-sub:hover .nav-sub,
#ms-nav .has-sub:focus-within .nav-sub { display: block; }
#ms-nav .nav-sub a {
  padding: 0.55rem 1.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
#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 EMBED (Spring's own widget, deliberately their look) ---------- */
.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: 900px; border: none; display: block; background: #fff; }
@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 BOXES (Amazon, Books, Merch all share this) ---------- */
.shop-tabs { display: none; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.shop-tabs.ready { display: flex; }

.shop-box {
  background: var(--ms-gold-pale);
  border: 1px solid var(--ms-gold-light);
  border-radius: 16px;
  padding: 1.5rem 1.6rem 1.6rem;
}
.shop-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.shop-box-kicker {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ms-gold);
  display: block;
}
.shop-box-head h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--ms-navy);
  margin-top: 0.25rem;
}
.shop-box-btn {
  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: 3px;
  white-space: nowrap;
}
.shop-box-btn:hover { color: var(--ms-gold); }
.shop-box-note {
  margin-top: 1.1rem;
  font-size: 0.68rem;
  color: var(--ms-text-muted);
  letter-spacing: 0.02em;
}

/* Wrapping grid, never a horizontal scroller. */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.shop-card {
  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); }

@media (max-width: 560px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-box { padding: 1.25rem 1rem 1.3rem; }
  .shop-box-btn { white-space: normal; }
}

.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; }
/* A real photographed 3D book, cut out so it sits on the navy. No CSS 3D:
   faking depth on top of a render that already has it reads as two books. */
.cb-book {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  filter: drop-shadow(-10px 24px 34px rgba(0, 0, 0, 0.5));
  transition: transform 0.4s ease;
}
.cb-book:hover { transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) { .cb-book { transition: none; } }

/* ---------- WORK WITH THE BOOK ---------- */
.work { padding: 4rem 2rem; background: white; border-top: 3px solid var(--ms-gold); }
.work-inner { max-width: 1100px; margin: 0 auto; }
.work-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.work-card {
  background: var(--ms-gold-pale);
  border: 1px solid var(--ms-gold-light);
  border-radius: 14px;
  padding: 1.6rem 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(201,169,110,0.25); }
.work-card h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--ms-navy); }
.work-card p { font-size: 0.87rem; color: var(--ms-text-soft); }
.work-go {
  margin-top: auto; padding-top: 0.8rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ms-gold);
}
.work-card:hover .work-go { color: var(--ms-navy); }
@media (max-width: 800px) { .work-cards { grid-template-columns: 1fr; } }

/* ---------- PRESS ---------- */
.media { padding: 4rem 2rem; background: var(--ms-cream); }
.media-inner { max-width: 1100px; margin: 0 auto; }

.press-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
@media (max-width: 900px) { .press-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .press-grid { grid-template-columns: 1fr; } }

.press-card {
  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;
}
.press-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(26,39,68,0.14); }
.press-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--ms-gold-pale);
  border-bottom: 1px solid var(--ms-gold-light);
  overflow: hidden;
  position: relative;
}
.press-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.press-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--ms-gold);
}
.press-meta { padding: 0.8rem 0.9rem 1rem; display: flex; flex-direction: column; gap: 0.2rem; }
.press-outlet {
  font-size: 0.63rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--ms-gold);
}
.press-desc {
  font-family: 'Playfair Display', serif;
  font-size: 0.92rem; line-height: 1.3; color: var(--ms-navy);
}
.press-card:hover .press-desc { color: var(--ms-gold); }

.media-head {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ms-gold);
  margin: 2.75rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--ms-gold-light);
}
.pod-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .pod-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .pod-row { grid-template-columns: repeat(2, 1fr); } }
.pod-card { text-decoration: none; display: block; }
.pod-art {
  display: block;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--ms-gold-light);
  background: var(--ms-gold-pale);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pod-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pod-card:hover .pod-art { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(26,39,68,0.16); }
.pod-title {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--ms-text-soft);
}
.pod-card:hover .pod-title { color: var(--ms-navy); }

/* ---------- LOOK INSIDE ---------- */
.peek { padding: 3.5rem 0 3rem; background: white; }
.peek-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.peek .section-header { margin-bottom: 1.5rem; }
.peek-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0.25rem 2rem 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--ms-gold-light) transparent;
}
.peek-track::-webkit-scrollbar { height: 6px; }
.peek-track::-webkit-scrollbar-track { background: var(--ms-gold-pale); border-radius: 3px; }
.peek-track::-webkit-scrollbar-thumb { background: var(--ms-gold-light); border-radius: 3px; }
.peek-slide { flex: 0 0 auto; margin: 0; scroll-snap-align: start; width: 260px; }
/* Every tile identical; contain rather than crop, since spreads are landscape
   and the covers are portrait. */
.peek-slide img {
  width: 260px;
  height: 190px;
  object-fit: contain;
  display: block;
  background: var(--ms-gold-pale);
  border: 1px solid var(--ms-gold-light);
  border-radius: 8px;
  padding: 0.5rem;
}
.peek-slide figcaption {
  margin-top: 0.55rem;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ms-text-muted);
  line-height: 1.4;
}
.peek-hint {
  max-width: 1100px; margin: 0 auto; padding: 0 2rem;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ms-gold);
}

/* ---------- 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; }

/* ---------- BOOK LIST ---------- */
.books-group { margin-bottom: 2.5rem; }
.books-head {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--ms-navy);
  padding-bottom: 0.6rem;
  margin-bottom: 1.1rem;
  border-bottom: 2px solid var(--ms-gold);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.books-head span {
  font-family: 'Lato', sans-serif;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--ms-text-muted);
}
.books-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.1rem; }
.book-card {
  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;
}
.book-cover {
  display: block;
  aspect-ratio: 2 / 3;
  background: var(--ms-gold-pale);
  border-bottom: 1px solid var(--ms-gold-light);
  position: relative;
  overflow: hidden;
}
.book-cover img { width: 100%; height: 100%; object-fit: contain; display: block; }
.book-noart {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 0.9rem;
  font-family: 'Playfair Display', serif; font-size: 0.95rem;
  line-height: 1.3; color: var(--ms-gold);
}
.book-body { padding: 0.9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.book-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(201,169,110,0.24); }
.book-card h4 { font-family: 'Playfair Display', serif; font-size: 1.02rem; line-height: 1.3; color: var(--ms-navy); }
.book-card p { font-size: 0.8rem; line-height: 1.55; color: var(--ms-text-soft); }
.book-cta {
  margin-top: auto; padding-top: 0.7rem;
  font-size: 0.63rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ms-gold);
}
.book-card:hover .book-cta { color: var(--ms-navy); }

/* ---------- 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;
}


/* ---------- WELCOME ---------- */
.story { padding: 4.5rem 2rem 5rem; background: var(--ms-cream); border-top: 1px solid var(--ms-gold-light); }
.story-inner { max-width: 44rem; margin: 0 auto; }
.story-inner .hero-eyebrow { justify-content: flex-start; }
.story-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.2;
  color: var(--ms-navy);
  margin-bottom: 1.5rem;
}
.story-inner p {
  color: var(--ms-text-soft);
  font-size: 1.03rem;
  line-height: 1.85;
  margin-bottom: 1.15rem;
}
.story-inner a { color: var(--ms-navy); text-decoration: none; border-bottom: 1.5px solid var(--ms-gold); }
.story-inner a:hover { color: var(--ms-gold); }
.story-message {
  border-left: 3px solid var(--ms-gold);
  padding: 0.1rem 0 0.1rem 1.5rem;
  margin: 1.6rem 0 1.6rem;
}
.story-inner .story-lead {
  font-size: 1.18rem;
  line-height: 1.75;
  color: var(--ms-navy);
  margin-bottom: 1.5rem;
}
.story-inner .story-bridge {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.12rem;
  color: var(--ms-gold);
  margin: 1.9rem 0 1.4rem;
}
.story-inner .story-message-lead {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.35;
  color: var(--ms-navy);
  margin-bottom: 0.7rem !important;
}
.story-inner .story-message p:last-child { margin-bottom: 0 !important; }
.story-inner .story-sign {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.75rem;
  color: var(--ms-gold);
  margin-top: 2.25rem;
  margin-bottom: 0 !important;
}

/* ---------- NEWSLETTER ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.signup { background: var(--ms-navy); padding: 3.25rem 2rem; }
.signup-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem 3rem;
  align-items: center;
}
.signup-copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: white;
  margin-bottom: 0.4rem;
}
.signup-copy p { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.signup-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.signup-form input {
  flex: 1;
  min-width: 12rem;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid rgba(255,255,255,0.28);
  border-radius: 30px;
  background: rgba(255,255,255,0.06);
  color: white;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  outline: none;
}
.signup-form input::placeholder { color: rgba(255,255,255,0.45); }
.signup-form input:focus { border-color: var(--ms-gold); background: rgba(255,255,255,0.1); }
.signup-form button {
  padding: 0.85rem 1.7rem;
  border: none;
  border-radius: 30px;
  background: var(--ms-gold);
  color: var(--ms-navy);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.signup-form button:hover { background: var(--ms-gold-light); }
.signup-form button:disabled { opacity: 0.6; cursor: not-allowed; }
.signup-msg {
  grid-column: 1 / -1;
  font-size: 0.88rem;
  color: var(--ms-gold-light);
  min-height: 1.2rem;
}
.signup-msg.bad { color: #ffb4a8; }
@media (max-width: 760px) {
  .signup-inner { grid-template-columns: 1fr; }
}

/* ---------- 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); }
  .recipe-tools { flex-direction: column; align-items: stretch; }
}

/* ---------- MENU SEARCH ---------- */
#ms-nav .nav-searchbar { display: flex; align-items: center; gap: 0.45rem; margin-left: 0.8rem; width: 180px; height: 36px; padding: 0 0.8rem; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.28); border-radius: 30px; }
#ms-nav .nav-searchbar:focus-within { background: white; border-color: var(--ms-gold); }
#ms-nav .nav-searchbar svg { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: white; stroke-width: 2.4; }
#ms-nav .nav-searchbar:focus-within svg { stroke: var(--ms-navy); }
#ms-nav .nav-searchbar input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: white; font: 400 0.9rem 'Lato', sans-serif; }
#ms-nav .nav-searchbar input::placeholder { color: rgba(255,255,255,0.75); }
#ms-nav .nav-searchbar:focus-within input { color: var(--ms-navy); }
#ms-nav .nav-searchbar:focus-within input::placeholder { color: var(--ms-text-muted); }
#ms-nav .nav-search { display: none; background: transparent; border: 0; color: white; cursor: pointer; padding: 0.4rem; margin-left: 0.4rem; line-height: 0; border-radius: 50%; }
#ms-nav .nav-search:hover, #ms-nav .nav-search[aria-expanded="true"] { background: rgba(255,255,255,0.12); }
#ms-nav .nav-search svg { width: 19px; height: 19px; fill: none; stroke: white; stroke-width: 2.2; }
.ms-search { position: absolute; top: 100%; left: 0; right: 0; background: var(--ms-cream); border-bottom: 3px solid var(--ms-gold); box-shadow: 0 18px 36px rgba(26,39,68,0.22); max-height: var(--ms-search-max, 70vh); overflow-y: auto; z-index: 1300; text-align: left; }
.ms-search[hidden] { display: none; }
.ms-search-box { max-width: 760px; margin: 0 auto; padding: 1.1rem 1.25rem 1.25rem; }
.ms-search-row { display: flex; gap: 0.5rem; align-items: center; }
.ms-search-row input { flex: 1; min-width: 0; font: 400 1.05rem 'Lato', sans-serif; color: var(--ms-navy); padding: 0.8rem 1.2rem; border: 1px solid var(--ms-gold); border-radius: 30px; background: white; }
.ms-search.from-bar .ms-search-row input { display: none; }
.ms-search.from-bar .ms-search-row { justify-content: flex-end; height: 0; position: relative; top: 0.9rem; }
.ms-search-close { background: transparent; border: 0; color: var(--ms-navy); font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0.2rem 0.5rem; }
.ms-search-status { color: var(--ms-text-soft); font-size: 0.85rem; margin: 0.7rem 0.3rem 0.3rem; }
.ms-search-list { list-style: none; }
.ms-search-list a { display: flex; align-items: center; gap: 0.8rem; padding: 0.55rem 0.3rem; border-bottom: 1px solid var(--ms-gold-light); color: var(--ms-navy); text-decoration: none; }
.ms-search-list a:hover, .ms-search-list a:focus-visible { background: white; }
.ms-search-list img, .ms-search-noimg { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; flex: 0 0 52px; background: var(--ms-gold-light); }
.ms-search-title { flex: 1; min-width: 0; font-weight: 700; font-size: 0.95rem; line-height: 1.35; }
.ms-search-kind { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: #8a6d33; }
.ms-search-more { display: block; margin: 0.9rem auto 0; font: 700 0.8rem 'Lato', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.6rem 1.3rem; border: 2px solid var(--ms-navy); border-radius: 30px; background: transparent; color: var(--ms-navy); cursor: pointer; }
.ms-search-more[hidden] { display: none; }

/* ---------- MENU FOLDS INTO THE BUTTON ---------- */
@media (max-width: 1060px) {
  #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; }
  /* On mobile the submenu is just indented links inside the open menu. */
  #ms-nav .nav-sub {
    display: block;
    position: static;
    background: transparent;
    border-top: 0;
    box-shadow: none;
    padding: 0 0 0.4rem 1rem;
    min-width: 0;
  }
  #ms-nav .nav-sub a { padding: 0.5rem 0; font-size: 0.78rem; }
  #ms-nav .sub-caret { display: none; }
  #ms-nav .nav-right { margin-left: auto; }
}
@media (max-width: 680px) {
  #ms-nav .nav-searchbar { display: none; }
  #ms-nav .nav-search { display: block; }
}
@media (max-width: 560px) {
  #ms-nav .nav-social { display: none; }
}

/* contact form: real checkboxes. The text-field styling was stretching them and hiding the check mark. */
.cf-row .cf-select-dropdown label { display: flex; align-items: center; gap: 0.7rem; text-align: left; }
.cf-row .cf-select-dropdown input[type="checkbox"] { -webkit-appearance: checkbox; appearance: auto; box-sizing: border-box; width: 18px; height: 18px; min-height: 0; flex: 0 0 18px; margin: 0; padding: 0; border: 0; border-radius: 3px; background: none; box-shadow: none; accent-color: var(--ms-navy); cursor: pointer; }

/* ---------- WIDER LAYOUT ---------- */
/* the menu reaches toward both edges and the hero opens up on large screens */
#ms-nav .nav-inner { max-width: 1560px; }
@media (min-width: 1061px) {
  #ms-nav { padding: 0 2.5rem; }
}
@media (min-width: 1280px) {
  #ms-nav .nav-links a { padding-left: 1.05rem; padding-right: 1.05rem; }
  #ms-nav .nav-searchbar { width: 230px; margin-left: 1.1rem; }
  .hero { padding-left: 3rem; padding-right: 3rem; }
  .hero-inner { max-width: 1400px; grid-template-columns: minmax(0, 1fr) clamp(440px, 36vw, 540px); gap: 5rem; }
  .hero-content h1 { font-size: clamp(3.6rem, 5vw, 4.6rem); }
  .hero-content p { max-width: 580px; font-size: 1.12rem; }
  .hero-image-wrap img { width: 100%; max-width: 540px; height: clamp(540px, 42vw, 640px); object-fit: cover; object-position: 50% 20%; }
}

/* ---------- MY FAVES: collapsed sections ---------- */
.ft-sections:has(.faves) { background: linear-gradient(180deg, var(--ms-gold-pale) 0%, var(--ms-cream) 100%); }
.faves { max-width: 980px; margin: 0 auto; }
.faves .fave { background: white; border-radius: 20px; margin-bottom: 1.4rem; overflow: hidden; scroll-margin-top: 76px; box-shadow: 0 12px 34px rgba(26,39,68,0.09); transition: box-shadow .25s, transform .25s; }
.faves .fave:not([open]):hover { transform: translateY(-3px); box-shadow: 0 20px 46px rgba(26,39,68,0.16); }
.faves .fave summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 150px minmax(0,1fr) auto; align-items: stretch; column-gap: 1.75rem; padding: 0 1.75rem 0 0; min-height: 150px; }
.faves .fave summary::-webkit-details-marker { display: none; }
.faves .fave summary:focus-visible { outline: 3px solid var(--ms-gold); outline-offset: -3px; }
.faves .fave-art { position: relative; display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, var(--ms-navy-light) 0%, var(--ms-navy) 70%); border-right: 4px solid var(--ms-gold); }
.faves .fave-art::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(201,169,110,0.4); border-radius: 12px; }
.faves .fave-art svg { width: 54px; height: 54px; fill: none; stroke: var(--ms-gold-light); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.faves .fave:hover .fave-art svg { transform: scale(1.1); }
.faves .fave-head { display: flex; flex-direction: column; justify-content: center; padding: 1.4rem 0; }
.faves .fave-brow { display: flex; align-items: center; gap: .55rem; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #9a7b3f; margin-bottom: .35rem; }
.faves .fave-brow::before { content: ''; width: 26px; height: 2px; background: var(--ms-gold); }
.faves .fave-title { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; line-height: 1.2; color: var(--ms-navy); }
.faves .fave-title em { color: var(--ms-gold); font-style: italic; }
.faves .fave-sub { margin-top: .3rem; font-size: .96rem; color: var(--ms-text-soft); text-wrap: pretty; }
.faves .fave-pill { align-self: center; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; width: 140px; height: 46px; border-radius: 30px; background: var(--ms-gold); color: var(--ms-navy); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: background .2s, color .2s; }
.faves .fave summary:hover .fave-pill, .faves .fave[open] .fave-pill { background: var(--ms-navy); color: white; }
.faves .fave-chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.faves .fave[open] .fave-chev { transform: translateY(2px) rotate(225deg); }
.faves .fave-close, .faves .fave[open] .fave-open { display: none; }
.faves .fave[open] .fave-close { display: inline; }
.faves .fave[open] summary { border-bottom: 1px solid var(--ms-gold-light); }
.faves .fave-body { padding: 1.6rem 1.75rem 1.9rem; background: var(--ms-cream); }
.faves .fave-note { margin-bottom: 1rem; color: var(--ms-text-soft); font-size: 0.95rem; }
.faves .fave-note a { color: #7a5a1e; }
.faves .fave-actions { text-align: center; margin-top: 1.25rem; }
.faves .fave-beauty .fave-actions { margin: 0; }
.faves .recipe-card { text-decoration: none; color: inherit; background: white; }
.faves .recipe-card h3 { font-size: 1rem; }
@media (max-width: 640px) {
  .faves .fave summary { grid-template-columns: 78px minmax(0,1fr); column-gap: 1rem; padding-right: 1rem; }
  .faves .fave-art { grid-row: 1 / span 2; }
  .faves .fave-art::after { inset: 8px; }
  .faves .fave-art svg { width: 34px; height: 34px; }
  .faves .fave-head { padding: 1.1rem 0 .7rem; }
  .faves .fave-title { font-size: 1.45rem; }
  .faves .fave-sub { font-size: .86rem; }
  .faves .fave-pill { grid-column: 2; justify-self: start; width: 124px; height: 38px; margin-bottom: 1.1rem; }
  .faves .fave-body { padding: 1.2rem .8rem 1.4rem; }
}

/* ---------- CENTERED MENU ---------- */
@media (min-width: 1061px) {
  #ms-nav .nav-inner { position: relative; }
  #ms-nav .nav-right { flex: 1; }
  #ms-nav .nav-links { margin-left: auto; margin-right: auto; }
}
@media (min-width: 1440px) {
  /* wide enough to center Home to Contact on the page itself */
  #ms-nav .nav-right { justify-content: flex-end; }
  #ms-nav .nav-links { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; }
  #ms-nav .nav-searchbar { width: 190px; }
}
@media (min-width: 1600px) { #ms-nav .nav-searchbar { width: 230px; } }
@media (min-width: 1280px) and (max-width: 1439px) {
  /* slimmer right side so Home to Contact can sit in the true center */
  #ms-nav .nav-right { justify-content: flex-end; }
  #ms-nav .nav-links { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; }
  #ms-nav .nav-links a { padding-left: .6rem; padding-right: .6rem; letter-spacing: .07em; }
  #ms-nav .nav-links a.nav-cta { padding-left: .9rem; padding-right: .9rem; }
  #ms-nav .nav-social { margin-left: 0; padding-left: .5rem; gap: 0; }
  #ms-nav .nav-social a { width: 25px; }
  #ms-nav .nav-searchbar { width: 140px; margin-left: .6rem; }
}

/* hero: text and photo sit together instead of being pushed to opposite edges */
@media (min-width: 1280px) {
  .hero-inner { max-width: 1400px; grid-template-columns: minmax(0, 590px) clamp(440px, 36vw, 540px); justify-content: center; column-gap: 4rem; }
}
@media (min-width: 901px) and (max-width: 1279px) {
  .hero-inner { grid-template-columns: minmax(0, 560px) 400px; justify-content: center; }
}
