/* ============================================================
   RENT-A-GRANDMA — design system
   Primary #E35B37 · Secondary #4BA173 · Tertiary #FFB800 · Neutral #FDF9F0
   Headline: EB Garamond · Body: Hanken Grotesk · Label: Plus Jakarta Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Hanken+Grotesk:wght@300..800&family=Plus+Jakarta+Sans:wght@400..800&display=swap');

:root {
  --primary: #E35B37;
  --primary-dark: #B2401F;
  --secondary: #4BA173;
  --secondary-dark: #1E5C3C;
  --tertiary: #FFB800;
  --neutral: #FDF9F0;
  --cream: #F5EFE2;
  --ink: #2B2620;
  --ink-soft: #5C544A;
  --line: #E3DACA;
  --card: #FFFFFF;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(43, 38, 32, .07);
  --shadow-hard: 4px 4px 0 var(--ink);
  --font-head: "EB Garamond", Georgia, serif;
  --font-body: "Hanken Grotesk", -apple-system, sans-serif;
  --font-label: "Plus Jakarta Sans", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--neutral);
  color: var(--ink);
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: inherit; }

h1, h2, h3, .serif { font-family: var(--font-head); font-weight: 600; line-height: 1.12; }
.italic { font-style: italic; }

.label {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- badges / chips ---------- */
.chip {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--cream);
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.chip.green  { background: #DDF3E4; border-color: var(--secondary-dark); color: var(--secondary-dark); }
.chip.yellow { background: #FFEDBB; border-color: #8a6400; color: #6d5000; }
.chip.red    { background: #FBDCD2; border-color: var(--primary-dark); color: var(--primary-dark); }
.chip.dark   { background: var(--ink); border-color: var(--ink); color: var(--neutral); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  border: 2px solid var(--ink);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  background: var(--card);
  color: var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
  box-shadow: 3px 3px 0 var(--ink);
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn.primary   { background: var(--primary); color: #fff; }
.btn.secondary { background: #CBEFD9; color: var(--secondary-dark); }
.btn.inverted  { background: var(--ink); color: var(--neutral); }
.btn.gold      { background: var(--tertiary); color: var(--ink); }
.btn.small     { padding: 8px 14px; font-size: 11px; box-shadow: 2px 2px 0 var(--ink); }
.btn:disabled  { opacity: .4; cursor: default; pointer-events: none; }
.btn.wide      { width: 100%; justify-content: center; }

.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--ink); border-radius: 8px;
  background: var(--card); cursor: pointer; font-size: 16px;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform .12s ease;
  position: relative;
}
.icon-btn:hover { transform: translate(-1px,-1px); }
.icon-btn .count {
  position: absolute; top: -7px; right: -7px;
  background: var(--primary); color: #fff;
  border-radius: 50%; width: 18px; height: 18px;
  font-size: 10px; font-weight: 800; font-family: var(--font-label);
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--ink);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: var(--neutral);
  border-bottom: 2px solid var(--ink);
}
.nav-inner {
  display: flex; align-items: center; gap: 22px;
  padding: 14px 24px; max-width: 1240px; margin: 0 auto;
}
.logo {
  font-family: var(--font-head);
  font-weight: 800; font-size: 20px; letter-spacing: .02em;
  color: var(--primary-dark); text-decoration: none; line-height: 1;
}
.logo-tag {
  display: block;
  font-family: var(--font-label); font-size: 9px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 5px; white-space: nowrap;
}
.nav-links { display: flex; gap: 18px; align-items: center; flex: 1; }
.nav-links a {
  font-family: var(--font-label); font-size: 12.5px; font-weight: 700;
  text-decoration: none; color: var(--ink); padding: 4px 2px;
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav-links a.active, .nav-links a:hover { color: var(--primary-dark); border-bottom-color: var(--primary); }
.nav-search {
  display: flex; align-items: center; gap: 6px;
  border: 2px solid var(--ink); border-radius: 8px;
  background: var(--card); padding: 7px 12px; min-width: 190px;
}
.nav-search input {
  border: 0; outline: 0; background: transparent;
  font-family: var(--font-body); font-size: 13px; width: 100%;
}
.search-go {
  border: 0; background: transparent; padding: 0; cursor: pointer;
  display: flex; align-items: center; color: inherit;
}
.search-go:hover { color: var(--primary-dark); }
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6vw, 68px); margin: 18px 0 8px; }
.hero h1 .italic { color: var(--primary); }
.hero p.lede { font-size: 17px; color: var(--ink-soft); max-width: 46ch; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-photo {
  border: 2px solid var(--ink); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-hard);
  aspect-ratio: 4 / 4.4;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #F3E3C8, #E8C9A8 55%, #D9A87E);
  font-size: 120px;
  position: relative;
}

/* ---------- animated steam over the soup pot ---------- */
.hero-photo .steam {
  position: absolute; left: 47%; bottom: 20%;
  width: 26%; height: 40%; translate: -50%;
  pointer-events: none; overflow: visible;
  filter: blur(2.5px) drop-shadow(0 0 5px rgba(255, 248, 236, .8));
}
.steam .wisp {
  fill: none; stroke: #FFFDF6; stroke-width: 10; stroke-linecap: round;
  opacity: 0;
  transform-origin: 50% 100%;
  animation: steam-rise 4.6s ease-in-out infinite;
  will-change: transform, opacity;
}
.steam .w2 { stroke-width: 12; animation-delay: 1.5s; animation-duration: 5.2s; }
.steam .w3 { stroke-width: 9; animation-delay: 3s; }
@keyframes steam-rise {
  0%   { transform: translate(0, 26px) scale(.82); opacity: 0; }
  22%  { opacity: .6; }
  50%  { transform: translate(6px, -14px) scale(.96); opacity: .42; }
  78%  { opacity: .18; }
  100% { transform: translate(14px, -56px) scale(1.1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .steam .wisp { animation: none; opacity: 0; }
}
.hero-sticker {
  position: absolute; top: -26px; right: -18px; z-index: 5;
  width: 108px; height: 108px; border-radius: 50%;
  background: var(--tertiary); border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-label); font-size: 9.5px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; padding: 14px;
  rotate: 8deg;
}
.hero-quote {
  position: absolute; bottom: 22px; right: -14px;
  background: var(--card); border: 2px solid var(--ink); border-radius: 8px;
  padding: 10px 16px; font-family: var(--font-head); font-style: italic;
  box-shadow: 3px 3px 0 var(--ink); font-size: 15px;
}
.hero-quote .by { font-family: var(--font-label); font-style: normal; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- stats ---------- */
.stats {
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  background: var(--cream);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat { padding: 26px 12px; border-left: 1.5px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .num { font-family: var(--font-head); font-size: 30px; font-weight: 700; }
.stat .cap { font-family: var(--font-label); font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); }
.stat .ico { font-size: 18px; }

/* ---------- sections ---------- */
section.block { padding: 56px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head h2 u { text-decoration-thickness: 3px; text-underline-offset: 6px; }
.section-sub { color: var(--ink-soft); margin-bottom: 28px; font-size: 15px; }
.link-arrow {
  font-family: var(--font-label); font-size: 12px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border-bottom: 2px solid var(--primary); padding-bottom: 2px; white-space: nowrap;
}

/* ---------- grandma cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.g-card {
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.g-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hard); }
.g-photo {
  aspect-ratio: 4 / 3.1; display: flex; align-items: center; justify-content: center;
  font-size: 64px; border-bottom: 2px solid var(--ink); position: relative;
  overflow: hidden; cursor: pointer;
}
.g-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.modal-photo {
  width: 100%; max-height: 320px; object-fit: cover; object-position: center 22%;
  border: 2px solid var(--ink); border-radius: 10px; margin-bottom: 16px;
}
.opt-row .em .thumb {
  width: 46px; height: 46px; object-fit: cover; border-radius: 8px;
  border: 2px solid var(--ink); display: block;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.g-photo .tier { position: absolute; top: 10px; left: 10px; }
.g-photo .stat-chip { position: absolute; top: 10px; right: 10px; }
.g-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.g-name-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.g-name { font-family: var(--font-head); font-size: 21px; font-weight: 700; }
.g-num { font-family: var(--font-label); font-size: 11px; font-weight: 800; color: var(--primary); }
.g-class { font-family: var(--font-label); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-dark); }
.g-quote { font-family: var(--font-head); font-style: italic; font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.g-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.g-rating { font-family: var(--font-label); font-size: 12px; font-weight: 700; }

/* ---------- my corner (members) ---------- */
.auth-card {
  max-width: 420px; background: var(--card);
  border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-hard); padding: 28px;
}
.auth-tabs { display: flex; gap: 10px; margin-bottom: 20px; }

/* ---------- events (Grandma Gatherings) ---------- */
.events-list { display: flex; flex-direction: column; gap: 18px; max-width: 860px; }
.e-card {
  display: flex; gap: 22px; align-items: center;
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 20px 24px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.e-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hard); }
.e-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 74px; padding: 12px 10px;
  background: var(--cream); border: 2px solid var(--ink); border-radius: 10px;
}
.e-day { font-family: var(--font-head); font-size: 30px; font-weight: 700; line-height: 1; }
.e-mon { font-family: var(--font-label); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-dark); margin-top: 4px; }
.e-body { flex: 1; }
.e-body h3 { font-size: 22px; }
.e-meta { font-family: var(--font-label); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary-dark); margin: 4px 0 6px; }
.e-desc { font-size: 14.5px; color: var(--ink-soft); }
.e-cta { white-space: nowrap; }
@media (max-width: 620px) {
  .e-card { flex-direction: column; align-items: flex-start; }
  .e-cta { width: 100%; }
  .e-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- ambient photo effects (per-grandma) ---------- */
.g-photo .fx {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.fx-snow i {
  position: absolute; top: -12px; display: block; border-radius: 50%;
  background: #fff; opacity: .8; filter: blur(.6px);
  box-shadow: 0 0 4px rgba(255, 255, 255, .7);
  animation-name: snow-fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes snow-fall {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(8px, 240px, 0); }
  100% { transform: translate3d(-6px, 480px, 0); }
}

/* steam (Pearl) — same wisps as the hero, card-sized */
.fx-steam svg {
  position: absolute; left: 30%; bottom: 0; width: 40%; height: 72%;
  overflow: visible; filter: blur(2px);
}
.fx-steam path {
  fill: none; stroke: #FFF8EC; stroke-width: 9; stroke-linecap: round;
  opacity: 0; animation: steam-rise 4.8s ease-in-out infinite;
}

/* flour dust (Rosa) — soft particles drifting up */
.fx-flour i {
  position: absolute; bottom: -8px; display: block; border-radius: 50%;
  background: #FFF6E8; opacity: 0; filter: blur(1px);
  animation-name: flour-rise; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes flour-rise {
  0%   { transform: translate3d(0, 0, 0); opacity: 0; }
  12%  { opacity: .75; }
  100% { transform: translate3d(12px, -240px, 0); opacity: 0; }
}

/* garage sparks (Margaret) — quick ember pops */
.fx-sparks i {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: var(--tertiary); box-shadow: 0 0 6px #FF7A3D;
  opacity: 0;
  animation-name: spark-pop; animation-timing-function: ease-out; animation-iteration-count: infinite;
}
@keyframes spark-pop {
  0%   { transform: translate3d(0, 0, 0); opacity: 0; }
  6%   { opacity: 1; }
  22%  { transform: translate3d(-10px, -34px, 0); opacity: .9; }
  38%  { transform: translate3d(-18px, -10px, 0); opacity: 0; }
  100% { transform: translate3d(-18px, -10px, 0); opacity: 0; }
}

/* mirror-ball sparkles (Dolores) — colored twinkles */
.fx-disco i {
  position: absolute; display: block; border-radius: 50%;
  opacity: 0; filter: blur(.4px);
  animation-name: disco-twinkle; animation-timing-function: ease-in-out; animation-iteration-count: infinite;
}
@keyframes disco-twinkle {
  0%, 100% { opacity: 0; transform: scale(.4); }
  50%      { opacity: .95; transform: scale(1); }
}

/* victory confetti (Betty) — sparse tumbling squares */
.fx-confetti i {
  position: absolute; top: -14px; display: block; border-radius: 1px;
  opacity: .85;
  animation-name: confetti-fall; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes confetti-fall {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: translate3d(-16px, 480px, 0) rotate(540deg); }
}

/* searchlight sweep (Agnes) — slow surveillance pan */
.fx-search i {
  position: absolute; top: -20%; left: 0; width: 30%; height: 140%;
  background: linear-gradient(90deg, transparent, rgba(255, 248, 214, .32), transparent);
  transform: skewX(-14deg) translate3d(-130%, 0, 0);
  animation: search-sweep 6.5s ease-in-out infinite;
}
@keyframes search-sweep {
  0%, 55%   { transform: skewX(-14deg) translate3d(-130%, 0, 0); }
  85%, 100% { transform: skewX(-14deg) translate3d(420%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .g-photo .fx { display: none; }
}

/* ---------- CTA band ---------- */
.band {
  background: var(--secondary-dark); color: var(--neutral);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  padding: 64px 0; position: relative; overflow: hidden;
}
.band h2 { font-size: clamp(30px, 4.4vw, 46px); max-width: 22ch; }
.band .hl { background: var(--tertiary); color: var(--ink); padding: 0 10px; font-style: italic; }
.band p { max-width: 52ch; margin: 16px 0 26px; color: #D8EBDD; }
.band-ico { position: absolute; right: 6%; top: 50%; translate: 0 -50%; font-size: 150px; opacity: .16; }

/* ---------- recipes ---------- */
.recipe-hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; margin-bottom: 44px; }
.recipe-feature {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden;
  background: #CBEFD9; min-height: 300px; cursor: pointer;
}
.recipe-feature:hover { box-shadow: var(--shadow-hard); }
.recipe-feature .txt { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.recipe-feature h3 { font-size: clamp(24px, 2.6vw, 34px); color: var(--secondary-dark); }
.recipe-feature .meta { display: flex; gap: 26px; }
.recipe-feature .meta div .label { color: var(--secondary-dark); opacity: .75; }
.recipe-feature .meta div .val { font-family: var(--font-head); font-size: 22px; font-weight: 700; }
.recipe-feature .img { display: flex; align-items: center; justify-content: center; font-size: 110px; background: linear-gradient(150deg,#F4E4C6,#E4B984); border-left: 2px solid var(--ink); }
.recipe-side { display: flex; flex-direction: column; gap: 22px; }
.recipe-side .mini {
  flex: 1; border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 20px; cursor: pointer; background: var(--card);
  display: flex; flex-direction: column; gap: 8px; justify-content: center;
}
.recipe-side .mini:hover { box-shadow: var(--shadow-hard); }
.recipe-side .mini.orange { background: var(--primary); color: #fff; }
.recipe-side .mini h4 { font-family: var(--font-head); font-size: 21px; }
.recipe-side .mini p { font-size: 13.5px; opacity: .85; }

.r-card {
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.r-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hard); }
.r-photo { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-size: 60px; border-bottom: 2px solid var(--ink); background: linear-gradient(150deg, #FBF3E2, #F0DDBB); }
.r-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.r-title { font-family: var(--font-head); font-size: 19px; font-weight: 700; flex: 1; }
.r-by { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-label); font-size: 11.5px; font-weight: 700; color: var(--ink-soft); }
.r-by .heart { cursor: pointer; font-size: 15px; }
.cards-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- wisdom ---------- */
.wisdom-hero {
  background: var(--primary); color: #fff;
  border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 44px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px;
  align-items: center; margin-bottom: 40px; position: relative; overflow: hidden;
}
.wisdom-hero blockquote { font-family: var(--font-head); font-style: italic; font-size: clamp(24px, 3vw, 36px); font-weight: 600; }
.wisdom-hero .src { margin: 14px 0 22px; font-size: 14px; opacity: .9; }
.wisdom-note {
  background: var(--neutral); color: var(--ink);
  border: 2px solid var(--ink); padding: 26px 22px;
  font-family: var(--font-head); font-style: italic; font-size: 22px; text-align: center;
  rotate: 3deg; box-shadow: 4px 4px 0 rgba(0,0,0,.28); justify-self: center; max-width: 250px;
}
.w-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.w-card {
  background: var(--card); border: 2px solid var(--ink); border-radius: 10px;
  padding: 20px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.w-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hard); }
.w-card .w-cat { align-self: flex-start; }
.w-card .q { font-family: var(--font-head); font-style: italic; font-size: 16.5px; flex: 1; }
.w-card .meta { display: flex; justify-content: space-between; align-items: center; }
.w-card .who { font-family: var(--font-label); font-size: 11px; font-weight: 800; color: var(--primary-dark); }
.w-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.w-filters .chip { cursor: pointer; font-size: 11px; padding: 6px 13px; }
.w-filters .chip.on { background: var(--ink); color: var(--neutral); border-color: var(--ink); }

/* ---------- footer ---------- */
footer {
  background: var(--cream); border-top: 2px solid var(--ink);
  padding: 48px 0 22px; margin-top: 70px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.4fr; gap: 30px; }
.footer-grid h4 { font-family: var(--font-label); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-dark); margin-bottom: 12px; }
.footer-grid a { display: block; text-decoration: none; font-size: 13.5px; color: var(--ink-soft); padding: 3px 0; cursor: pointer; }
.footer-grid a:hover { color: var(--primary-dark); }
.footer-logo { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--primary-dark); margin-bottom: 8px; }
.footer-tag { font-size: 13.5px; color: var(--ink-soft); max-width: 30ch; }
.newsletter { display: flex; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; background: var(--card); margin-top: 6px; }
.newsletter input { flex: 1; border: 0; outline: 0; padding: 11px 12px; font-family: var(--font-body); font-size: 13px; background: transparent; }
.newsletter button { border: 0; border-left: 2px solid var(--ink); background: var(--secondary-dark); color: var(--neutral); padding: 0 18px; font-family: var(--font-label); font-size: 11px; font-weight: 800; letter-spacing: .08em; cursor: pointer; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; padding-top: 18px; border-top: 1.5px solid var(--line); font-size: 12px; color: var(--ink-soft); flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: var(--ink-soft); text-decoration: none; margin-left: 16px; cursor: pointer; }

/* ---------- page headers ---------- */
.page-head { padding: 46px 0 10px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); }
.page-head h1 .italic { color: var(--primary); }
.page-head .sub { color: var(--ink-soft); max-width: 60ch; margin-top: 10px; font-size: 15.5px; }
.page-head .topchip { margin-bottom: 14px; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }

/* ---------- modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(43,38,32,.55);
  display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--neutral); border: 2px solid var(--ink); border-radius: var(--radius);
  width: min(680px, 100%); max-height: 88vh; overflow-y: auto;
  box-shadow: 6px 6px 0 var(--ink); animation: pop .18s ease;
}
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; border-bottom: 2px solid var(--ink);
  position: sticky; top: 0; background: var(--neutral); z-index: 2;
}
.modal-head h3 { font-size: 24px; }
.modal-close { border: 2px solid var(--ink); background: var(--card); border-radius: 6px; width: 32px; height: 32px; cursor: pointer; font-size: 15px; font-weight: 700; }
.modal-body { padding: 22px; }

.opt-row {
  display: flex; gap: 14px; align-items: flex-start;
  border: 2px solid var(--line); border-radius: 10px;
  padding: 14px 16px; margin-bottom: 12px; cursor: pointer; background: var(--card);
}
.opt-row:hover { border-color: var(--ink); }
.opt-row.sel { border-color: var(--ink); background: #FFF4E3; box-shadow: 3px 3px 0 var(--ink); }
.opt-row .em { font-size: 26px; }
.opt-row h4 { font-family: var(--font-head); font-size: 18px; }
.opt-row p { font-size: 13px; color: var(--ink-soft); }
.opt-row .price { margin-left: auto; font-family: var(--font-label); font-weight: 800; font-size: 14px; white-space: nowrap; }
.steps-bar { display: flex; gap: 6px; margin-bottom: 20px; }
.steps-bar span { flex: 1; height: 6px; border-radius: 4px; background: var(--line); }
.steps-bar span.on { background: var(--primary); }
.modal-foot { display: flex; justify-content: space-between; gap: 12px; padding: 16px 22px; border-top: 2px solid var(--ink); position: sticky; bottom: 0; background: var(--neutral); }

.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-family: var(--font-label); font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 5px; }
.form-field input, .form-field textarea {
  width: 100%; border: 2px solid var(--ink); border-radius: 8px;
  padding: 11px 12px; font-family: var(--font-body); font-size: 14px; background: var(--card);
}
.summary-box { border: 2px dashed var(--ink); border-radius: 10px; padding: 16px; background: var(--cream); margin-bottom: 16px; font-size: 14px; }
.summary-box .row { display: flex; justify-content: space-between; padding: 3px 0; }
.summary-box .total { border-top: 1.5px solid var(--ink); margin-top: 8px; padding-top: 8px; font-weight: 800; font-family: var(--font-label); }

.confirm-wrap { text-align: center; padding: 30px 10px; }
.confirm-wrap .big { font-size: 64px; }
.confirm-wrap h3 { font-size: 28px; margin: 12px 0 8px; }
.confirm-wrap p { color: var(--ink-soft); max-width: 42ch; margin: 0 auto 22px; }

/* recipe modal details */
.recipe-detail .r-meta { display: flex; gap: 22px; margin: 6px 0 16px; }
.recipe-detail .r-meta div .label { color: var(--ink-soft); }
.recipe-detail .r-meta div .val { font-family: var(--font-head); font-size: 20px; font-weight: 700; }
.recipe-detail h4 { font-family: var(--font-label); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--primary-dark); margin: 18px 0 8px; }
.recipe-detail ul, .recipe-detail ol { padding-left: 22px; display: grid; gap: 6px; font-size: 14.5px; }
.recipe-detail .story { font-family: var(--font-head); font-style: italic; font-size: 16px; color: var(--ink-soft); border-left: 3px solid var(--tertiary); padding-left: 14px; }

/* ---------- toasts ---------- */
#toast-zone { position: fixed; bottom: 22px; left: 50%; translate: -50% 0; z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; width: min(480px, calc(100vw - 40px)); }
.toast {
  background: var(--ink); color: var(--neutral);
  border: 2px solid var(--ink); border-radius: 10px;
  padding: 13px 18px; font-size: 13.5px; width: 100%;
  box-shadow: 4px 4px 0 rgba(0,0,0,.25);
  display: flex; gap: 10px; align-items: flex-start;
  animation: rise .25s ease;
}
.toast.error { background: #FBEFEA; color: var(--primary-dark); border-color: var(--primary-dark); }
.toast.success { background: #E4F5EA; color: var(--secondary-dark); border-color: var(--secondary-dark); }
.toast b { font-family: var(--font-label); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; display: block; margin-bottom: 2px; }
@keyframes rise { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- filters row (grandmas) ---------- */
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 30px; }
.filter-row .chip { cursor: pointer; font-size: 11px; padding: 6px 13px; }
.filter-row .chip.on { background: var(--ink); color: var(--neutral); border-color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .wisdom-hero, .recipe-hero { grid-template-columns: 1fr; }
  .recipe-feature { grid-template-columns: 1fr; }
  .recipe-feature .img { border-left: 0; border-top: 2px solid var(--ink); min-height: 160px; }
  .cards-grid, .w-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-search { display: none; }
  .hero-sticker { top: 10px; right: 6px; }
  .hero-quote { right: 4px; }
}
@media (max-width: 620px) {
  .cards-grid, .cards-grid-4, .w-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 10px; }
  .nav-links a { font-size: 11px; }
  .band-ico { display: none; }
}

/* ---------- monograms (photo placeholders, no emoji) ---------- */
.mono {
  font-family: var(--font-head); font-weight: 700; font-style: italic;
  color: var(--primary-dark); line-height: 1;
}
.g-photo .mono, .r-photo .mono { font-size: 64px; }
.opt-row .em .mono {
  display: flex; width: 46px; height: 46px; align-items: center; justify-content: center;
  border: 2px solid var(--ink); border-radius: 8px; background: var(--cream); font-size: 22px;
}
.opt-row .em { display: flex; align-items: center; }
.confirm-photo {
  width: 130px; height: 130px; object-fit: cover; object-position: center 20%;
  border-radius: 50%; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
}
.r-by .heart { color: var(--primary); font-size: 18px; line-height: 1; }
.icon-btn svg, .nav-search svg { display: block; }

/* ---------- ASK floating button (per mockup) ---------- */
.fab-ask {
  position: fixed; bottom: 20px; right: 20px; z-index: 80;
  background: var(--tertiary); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink); padding: 9px 13px 7px;
  display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer;
  font-family: var(--font-label); font-size: 9px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
}
.fab-ask:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); }

/* ---------- wisdom quote band (pixel-matched to mock) ---------- */
.quote-band {
  position: relative; background: #A63E24; color: #fff;
  border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink);
  padding: 60px 56px;
}
.qb-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: center; }
.quote-band blockquote {
  font-family: var(--font-head); font-style: italic; font-weight: 700;
  font-size: clamp(28px, 3.6vw, 42px); line-height: 1.16; max-width: 17ch;
}
.quote-band p { color: #F0C9B9; font-size: 14.5px; max-width: 48ch; margin: 20px 0 32px; }
.qb-outline { background: transparent; color: #fff; border-color: #fff; box-shadow: none; }
.qb-outline:hover { box-shadow: none; transform: none; background: rgba(255,255,255,.08); }
.qb-outline:active { transform: none; box-shadow: none; }
.qb-star { position: absolute; top: 24px; right: 28px; opacity: .28; color: #fff; }
.quote-band .wisdom-note {
  rotate: 4deg; font-size: 24px; line-height: 1.35; padding: 40px 30px; max-width: 280px;
  border: 1.5px solid var(--ink); box-shadow: 7px 9px 0 rgba(0, 0, 0, .5);
}
@media (max-width: 960px) {
  .qb-grid { grid-template-columns: 1fr; }
  .quote-band { padding: 40px 28px; }
  .quote-band .wisdom-note { justify-self: start; }
}

/* ---------- recipe author avatars ---------- */
.r-author { display: flex; align-items: center; gap: 7px; }
.avatar {
  width: 24px; height: 24px; border-radius: 50%; object-fit: cover;
  object-position: center 20%; border: 1.5px solid var(--ink); display: block;
}
