/* The Tasty Pot — Clean & Minimal design system.
   Tokens locked 21 Nov 2026: white #FFFFFF, charcoal #222222,
   olive #6B705C, beige #F4F1DE, warm gray #8A8A8A. */
:root {
  --bg: #FFFFFF;
  --text: #222222;
  --muted: #8A8A8A;
  --primary: #222222;
  --accent: #6B705C;
  --light: #F4F1DE;
  --card: #FFFFFF;
  --border: #E8E8E8;
  --footer: #222222;
  --footer-accent: #F4F1DE;
  --radius: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; transition: color .2s ease; }
.wrap { max-width: 1350px; margin: 0 auto; padding: 0 28px; }

/* ---------- Header / nav ---------- */
header { background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 900; letter-spacing: -0.5px; text-decoration: none; color: var(--text); display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; background: var(--accent); color: #fff; font-size: 19px; flex: none; transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo .logo-word span { color: var(--primary); }
.links a { margin: 0 16px; text-decoration: none; color: var(--text); font-weight: 500; font-size: 15px; }
.links a:hover { color: var(--accent); }
.links a { position: relative; }
.links a::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 100%; background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.22,.61,.36,1); }
.links a:hover::after { transform: scaleX(1); }
.menu-btn { display: none; background: none; border: 1px solid var(--border); border-radius: 10px; width: 42px; height: 42px; font-size: 20px; line-height: 1; cursor: pointer; color: var(--text); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; text-decoration: none; font-weight: 700; border-radius: 999px; padding: 12px 24px; font-size: 15px; cursor: pointer; border: none; font-family: inherit; position: relative; overflow: hidden; isolation: isolate; transition: transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease, background-color .25s ease, color .25s ease, opacity .2s ease; will-change: transform; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn:hover { opacity: 1; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.16); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: 0 4px 10px rgba(0,0,0,.12); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); border-radius: inherit; transform: scaleX(0); transform-origin: right center; transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.btn:hover::before { transform: scaleX(1); }
.btn-accent::before { background: var(--primary); }
.btn-outline::before { background: var(--primary); }
.btn-outline:hover { color: #fff; }
.cta .btn::before { background: var(--primary); }
.cta .btn:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero { display: flex; gap: 48px; align-items: center; padding: 56px 0 44px; }
.hero-text { flex: 1.05; }
.pill { display: inline-block; background: var(--light); color: var(--primary); font-weight: 700; font-size: 12px; letter-spacing: 1px; padding: 7px 14px; border-radius: 999px; margin-bottom: 18px; }
h1 { font-family: 'Fraunces', serif; font-size: 52px; line-height: 1.12; font-weight: 700; letter-spacing: -0.5px; }
h1 em { font-style: normal; color: var(--primary); }
.hero p { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 18px 0 26px; }
.hero-cta { display: flex; gap: 12px; }
.trust { margin-top: 18px; font-size: 13px; color: var(--muted); }
.hero-img { flex: 0.95; position: relative; }
.hero-img img { width: 100%; height: 380px; object-fit: cover; border-radius: 20px; display: block; }
.float-card { position: absolute; left: -18px; --float-base: 22px; bottom: var(--float-base); background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: 0 12px 30px rgba(0,0,0,.14); white-space: nowrap; animation: floatY 6s ease-in-out 1.4s infinite; }
.float-card b { font-size: 15px; }
.float-card div { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---------- Trust strip ---------- */
.strip { display: flex; justify-content: center; gap: 56px; padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-weight: 600; font-size: 15px; }
.strip span.dot { color: var(--accent); margin-right: 8px; }

/* ---------- Sections / cards ---------- */
h2 { font-family: 'Fraunces', serif; font-size: 30px; font-weight: 600; letter-spacing: -0.25px; line-height: 1.25; }
.sec-sub { color: var(--muted); font-size: 16px; margin-top: 6px; }
.section { padding: 48px 0 8px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 26px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: relative; transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease, border-color .35s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(0,0,0,.12); border-color: #DDD; }
.card:focus-within { transform: translateY(-6px); box-shadow: 0 0 0 3px var(--accent), 0 18px 36px rgba(0,0,0,.12); }
.card-body a::after { content: ""; position: absolute; inset: 0; }
.card-body a:focus-visible { outline: none; }
.card img { width: 100%; height: 132px; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.card:hover img { transform: scale(1.06); }
.card-body { padding: 16px 16px 18px; }
.card-body h3 { font-size: 16px; font-weight: 700; line-height: 1.3; }
.card-body p { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 8px 0 12px; }
.card-body a { color: var(--primary); font-weight: 700; font-size: 14px; text-decoration: none; }
.card-body a:hover { color: var(--accent); }
.badge-new { display: inline-block; background: var(--accent); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 1px; padding: 3px 8px; border-radius: 999px; margin-bottom: 8px; }
.recipe img { height: 190px; }
.recipe .meta { font-size: 13px; color: var(--muted); margin-top: 8px; }
.chip { display: inline-block; background: var(--light); color: var(--primary); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }

/* ---------- Blog carousel ---------- */
.carousel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.carousel-arrows { display: flex; gap: 8px; }
.arrow-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--text); font-size: 20px; line-height: 1; cursor: pointer; }
.arrow-btn:hover { background: var(--light); }
.arrow-btn:disabled { opacity: 0.35; cursor: default; }
.carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; margin-top: 26px; scrollbar-width: none; scroll-behavior: smooth; }
.carousel::-webkit-scrollbar { display: none; }
.blog-card { flex: 0 0 320px; scroll-snap-align: start; }
.blog-card img { height: 170px; }
.blog-card .meta { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ---------- CTA band ---------- */
.cta { background: var(--accent); border-radius: 20px; padding: 44px 48px; margin: 48px 0; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); margin-top: 8px; font-size: 16px; }
.cta .btn { background: #fff; color: var(--text); white-space: nowrap; }

/* ---------- Footer ---------- */
footer { background: var(--footer); color: rgba(255,255,255,.75); padding: 40px 0 28px; margin-top: 8px; }
.foot { display: flex; justify-content: space-between; gap: 40px; }
.foot h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.foot a { display: block; color: rgba(255,255,255,.65); text-decoration: none; font-size: 14px; margin-bottom: 8px; }
.foot a:hover { color: #fff; }
.foot-logo { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 700; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.foot-logo .logo-mark { background: var(--footer-accent); color: var(--accent); }
.foot-logo .logo-word span { color: var(--footer-accent); }
.copy { border-top: 1px solid rgba(255,255,255,.15); margin-top: 28px; padding-top: 18px; font-size: 13px; color: rgba(255,255,255,.5); text-align: center; }
.foot-points { margin-top: 16px; font-size: 13.5px; line-height: 2.1; color: rgba(255,255,255,.65); }
.foot-points .icon { margin-right: 8px; color: var(--footer-accent); }

/* ---------- Page hero (tool / blog / legal) ---------- */
.page-hero { padding: 44px 0 8px; }
.page-hero h1 { font-size: 40px; }
.page-hero p { font-size: 17px; color: var(--muted); margin-top: 14px; line-height: 1.6; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Tool box ---------- */
.tool-box { border: 1px solid var(--border); border-radius: 20px; padding: 28px; margin: 28px 0 12px; background: var(--card); }
.tool-form { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; }
.field select, .field input { font-family: inherit; font-size: 15px; padding: 11px 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--text); min-width: 170px; }
.field select:focus, .field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.tool-result { margin-top: 26px; }
.plan-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.plan-table th { text-align: left; font-size: 12px; letter-spacing: 1px; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid var(--border); }
.plan-table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.plan-table tr:last-child td { border-bottom: none; }
.plan-table .day { font-weight: 700; white-space: nowrap; }
.shopping-list { columns: 2; column-gap: 32px; font-size: 14.5px; margin-top: 8px; }
.shopping-list li { margin-bottom: 6px; break-inside: avoid; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- Guide / article prose ---------- */
.prose { padding: 32px 0 8px; }
.prose h2 { font-size: 24px; margin: 32px 0 12px; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; }
.prose p { margin: 0 0 14px; color: #444; }
.prose ul, .prose ol { margin: 0 0 14px 22px; color: #444; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); font-weight: 600; }
.prose img { border-radius: var(--radius); margin: 8px 0 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 0 0 16px; }
.prose th { text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--border); font-size: 13px; }
.prose td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
.faq { padding: 24px 0 8px; }
.faq h2 { margin-bottom: 16px; }
.faq details { border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; transition: border-color .3s ease, box-shadow .3s ease; }
.faq details[open] { border-color: var(--accent); box-shadow: 0 8px 20px rgba(0,0,0,.06); }
.faq summary { font-weight: 700; cursor: pointer; font-size: 15.5px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: color .2s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .35s cubic-bezier(.22,.61,.36,1); flex: none; margin-bottom: 3px; }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq summary:hover { color: var(--accent); }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.details-body { overflow: hidden; }
.faq p { color: #444; margin-top: 8px; font-size: 14.5px; }
.article-hero { margin: 24px 0 8px; }
.article-hero img { width: 100%; height: 360px; object-fit: cover; border-radius: 20px; display: block; }
.article-meta { font-size: 13px; color: var(--muted); margin-top: 10px; }
.related { margin: 36px 0 48px; }
.callout { background: var(--light); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; font-size: 15px; }
.callout b { display: block; margin-bottom: 4px; }


/* ---------- Icons (Font Awesome SVG sprite: /assets/icons.svg) ---------- */
.icon { width: 1em; height: 1em; fill: currentColor; vertical-align: -0.125em; flex: none; }
.icon-sm { width: 0.875em; height: 0.875em; }
.icon-lg { width: 1.4em; height: 1.4em; }
.tool-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--light); color: var(--accent); font-size: 20px; margin-bottom: 12px; }
.hero-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: var(--light); color: var(--accent); font-size: 26px; margin-bottom: 16px; }
.btn .icon { margin-right: 8px; }
.card-body a .icon { margin-left: 4px; transition: transform .15s; }
.card-body a:hover .icon { transform: translateX(2px); }
.meta .icon, .article-meta .icon { margin-right: 5px; color: var(--accent); }
.strip .icon { margin-right: 8px; color: var(--accent); }
.menu-btn .icon, .arrow-btn .icon { vertical-align: middle; }
.result-actions .btn .icon { margin-right: 8px; }


/* ---------- Related tools strip (tool pages) ---------- */
.related-tools { margin: 40px 0 48px; }
.related-tools h2 { font-size: 24px; margin-bottom: 6px; }
.tool-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tool-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 14px; text-decoration: none; background: var(--card); transition: transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease, border-color .25s ease, background-color .25s ease; }
.tool-pill .icon { color: var(--accent); }
.tool-pill:hover { border-color: var(--accent); background: var(--light); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.08); }

/* ---------- Scroll reveal (JS-gated: no JS, no hiding) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}


/* ---------- Landing page entrance ---------- */
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes heroImgIn { from { opacity: 0; transform: scale(.96) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%, 100% { bottom: var(--float-base); } 50% { bottom: calc(var(--float-base) + 8px); } }
.hero-text .pill { animation: heroIn .7s cubic-bezier(.22,.61,.36,1) .05s both; }
.hero-text h1 { animation: heroIn .7s cubic-bezier(.22,.61,.36,1) .15s both; }
.hero-text p { animation: heroIn .7s cubic-bezier(.22,.61,.36,1) .25s both; }
.hero-cta { animation: heroIn .7s cubic-bezier(.22,.61,.36,1) .35s both; }
.hero-text .trust { animation: heroIn .7s cubic-bezier(.22,.61,.36,1) .45s both; }
.hero-img { animation: heroImgIn .9s cubic-bezier(.22,.61,.36,1) .3s both; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .links a { margin: 0 10px; }
  .hero { flex-direction: column; gap: 32px; padding: 40px 0 32px; }
  .hero-img { width: 100%; }
  .hero-img img { height: 320px; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .cta { flex-direction: column; align-items: flex-start; padding: 36px 32px; gap: 20px; }
  .foot { flex-wrap: wrap; gap: 28px; }
  .article-hero img { height: 280px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .menu-btn { display: block; }
  .nav .btn-primary { display: none; }
  .links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 12px 20px 16px; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  header.nav-open .links { display: block; }
  header.nav-open .links a { display: block; margin: 0; padding: 11px 0; font-size: 16px; border-bottom: 1px solid var(--border); }
  header.nav-open .links a:last-child { border-bottom: none; }
  h1 { font-size: 38px; }
  .page-hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .hero-text { text-align: center; }
  .hero-cta { flex-wrap: wrap; justify-content: center; }
  .hero-img img { height: 240px; }
  .float-card { left: 50%; transform: translateX(-50%); --float-base: 12px; padding: 12px 14px; }
  .strip { flex-direction: column; gap: 10px; align-items: center; padding: 16px 0; }
  h2 { font-size: 24px; }
  .section h2, .sec-sub { text-align: center; }
  .carousel-head { justify-content: center; }
  .carousel-arrows { display: none; }
  .blog-card { flex: 0 0 280px; }
  .grid4, .grid3 { grid-template-columns: 1fr; }
  .recipe img { height: 210px; }
  .cta { padding: 32px 24px; margin: 36px 0; text-align: center; align-items: center; }
  .cta .btn { align-self: center; }
  .foot { flex-direction: column; align-items: center; text-align: center; }
  .foot > div { text-align: center; }
  .copy { text-align: center; }
  .tool-box { padding: 20px 16px; }
  .field select, .field input { min-width: 0; width: 100%; }
  .field { flex: 1 1 100%; }
  .plan-table { font-size: 13.5px; }
  .plan-table th:nth-child(3), .plan-table td:nth-child(3) { display: none; }
  .shopping-list { columns: 1; }
  .prose table { font-size: 13px; }
  .prose th, .prose td { padding: 8px 6px; }
  .article-hero img { height: 220px; }
}

/* ---------- Recipe pages (53 recipe pages, Nov 2026) ---------- */
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.ba-panel { position: relative; border-radius: var(--radius); overflow: hidden; }
.ba-panel img { width: 100%; height: 280px; object-fit: cover; display: block; }
.ba-label { position: absolute; top: 12px; left: 12px; background: rgba(34,34,34,.85); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 1px; padding: 6px 12px; border-radius: 999px; }
.ba-panel.after .ba-label { background: var(--accent); }
.recipe-meta { background: var(--light); border-radius: 20px; padding: 24px 28px; margin: 28px 0; }
.recipe-meta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rm-stat .rm-label { font-size: 12px; letter-spacing: 1px; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.rm-stat .rm-value { font-size: 16px; font-weight: 700; margin-top: 2px; }
.rm-stat .icon { color: var(--accent); margin-right: 6px; }
.recipe-meta .note { margin-top: 14px; margin-bottom: 0; }
.ingredients { columns: 2; column-gap: 32px; }
.recipe-steps { margin-top: 8px; }
.step { display: grid; grid-template-columns: 44px 1fr 380px; gap: 28px; margin-bottom: 32px; align-items: start; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; flex: none; }
.step-body h3 { font-size: 17px; margin: 0 0 6px; }
.step-body p { color: #444; font-size: 15px; margin: 0; }
.step img { width: 100%; height: 250px; object-fit: cover; border-radius: 12px; display: block; margin: 0; }
@media (max-width: 900px) {
  .step { grid-template-columns: 44px 1fr 220px; }
  .step img { height: 160px; }
}
@media (max-width: 640px) {
  .before-after { grid-template-columns: 1fr; }
  .ba-panel img { height: 220px; }
  .recipe-meta-grid { grid-template-columns: 1fr 1fr; }
  .recipe-meta { padding: 20px; }
  .ingredients { columns: 1; }
  .step { grid-template-columns: 44px 1fr; }
  .step img { grid-column: 1 / -1; height: 220px; }
}
