/* KitchSnag — single stylesheet, no build step */
:root {
  --cream: #fff8ef;
  --cream-2: #fbefe1;
  --peach: #f6e3cf;
  --sage: #e8f0e3;
  --sage-dark: #5d7a52;
  --tomato: #c4552f;
  --tomato-dark: #a3431f;
  --butter: #f2b84b;
  --ink: #2b211c;
  --ink-soft: #5e5049;
  --line: #ead9c6;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(43, 33, 28, .06), 0 8px 24px rgba(43, 33, 28, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tomato-dark); text-underline-offset: 3px; }
a:hover { color: var(--tomato); }
:focus-visible { outline: 3px solid var(--butter); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.container.narrow { width: min(760px, 100% - 2.5rem); }
.skip-link { position: absolute; left: -999px; top: .5rem; background: var(--ink); color: var(--white); padding: .5rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: .5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 239, .92);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand img { height: 40px; width: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.site-nav a {
  display: block; padding: .5rem .8rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.site-nav a:hover { background: var(--peach); color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--ink); color: var(--cream); }
.nav-toggle { display: none; }
.nav-toggle-label { display: none; }

@media (max-width: 820px) {
  .nav-toggle-label {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s;
  }
  .nav-toggle-label span::before, .nav-toggle-label span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-label span::before { top: -7px; }
  .nav-toggle-label span::after { top: 7px; }
  .nav-toggle:checked + .nav-toggle-label span { background: transparent; }
  .nav-toggle:checked + .nav-toggle-label span::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-toggle-label span::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; padding: .75rem 1.25rem 1rem; }
  .site-nav a { padding: .75rem 1rem; border-radius: 12px; }
}

/* Disclosure bar */
.topbar-disclosure { background: var(--sage); color: var(--ink-soft); font-size: .85rem; padding: .55rem 0; text-align: center; border-bottom: 1px solid #d6e2cf; }
.topbar-disclosure a { color: var(--sage-dark); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .8rem 1.35rem; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--tomato); color: var(--white); box-shadow: 0 6px 16px rgba(196, 85, 47, .3); }
.btn-primary:hover { background: var(--tomato-dark); color: var(--white); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-small { padding: .5rem 1rem; font-size: .9rem; background: var(--tomato); color: var(--white); }
.btn-small:hover { background: var(--tomato-dark); color: var(--white); }

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 6rem) 0;
  background:
    radial-gradient(circle at 90% 10%, var(--peach) 0 22%, transparent 22.2%),
    radial-gradient(circle at 5% 100%, var(--sage) 0 18%, transparent 18.2%),
    var(--cream);
}
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 800; color: var(--tomato); margin-bottom: .75rem; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-art { display: grid; gap: 1rem; justify-items: center; }
.verdict-card {
  width: min(320px, 100%); padding: 1.4rem 1.6rem; border-radius: 22px; background: var(--white);
  box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: .2rem;
}
.verdict-card.snag { transform: rotate(-3deg); border-left: 8px solid var(--sage-dark); }
.verdict-card.skip { transform: rotate(2.5deg) translateX(1.5rem); border-left: 8px solid var(--tomato); }
.verdict-label { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; }
.verdict-card.snag .verdict-label { color: var(--sage-dark); }
.verdict-card.skip .verdict-label { color: var(--tomato); }
.verdict-line { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .verdict-card.skip { transform: rotate(2deg); }
}

/* Sections */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-alt { background: var(--cream-2); border-block: 1px solid var(--line); }
.section-title { margin-bottom: .35em; }
.section-sub { color: var(--ink-soft); margin-bottom: 1.75rem; max-width: 62ch; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.feature p { color: var(--ink-soft); margin: 0; }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--peach); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1rem; }
@media (max-width: 820px) { .feature-grid { grid-template-columns: 1fr; } }

/* Latest finds */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.product-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product-card img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; background: var(--cream-2); }
.product-body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product-body h3 { margin: 0; }
.verdict { color: var(--ink-soft); margin: 0; }
.shop-buttons { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .5rem; }
.aff-note { font-size: .75rem; color: var(--ink-soft); margin: 0; }
.product-card.placeholder { border-style: dashed; box-shadow: none; background: transparent; }
.product-img-placeholder {
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(45deg, var(--peach) 0 14px, var(--cream-2) 14px 28px);
  opacity: .7;
}
.product-card.placeholder h3 { color: var(--ink-soft); }

/* Social */
.social-grid { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.social-card {
  display: flex; flex-direction: column; gap: .15rem; padding: 1.15rem 1.35rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow); transition: transform .15s; border-top: 5px solid var(--tomato);
}
.social-card:hover { transform: translateY(-2px); color: var(--ink); }
.social-card.pin { border-top-color: var(--butter); }
.social-card.ig { border-top-color: var(--sage-dark); }
.social-name { font-weight: 800; font-family: var(--font-display); font-size: 1.15rem; }
.social-handle { color: var(--ink-soft); font-size: .9rem; word-break: break-word; }

/* Inner pages */
.page-hero { padding: clamp(2.5rem, 6vw, 4rem) 0 1rem; background: linear-gradient(var(--cream-2), var(--cream)); }
.page-sub { color: var(--ink-soft); }
.prose h2 { margin-top: 2rem; font-size: 1.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }
.callout { background: var(--sage); border-left: 5px solid var(--sage-dark); padding: 1rem 1.25rem; border-radius: 0 12px 12px 0; font-weight: 600; }
.callout-muted { background: var(--cream-2); border-left-color: var(--line); font-weight: 400; }
.small-note { font-size: .92rem; color: var(--ink-soft); margin-top: 2rem; }
.contact-card {
  display: grid; gap: .25rem; padding: 1.5rem 1.75rem; margin: 1.5rem 0 2rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.contact-label { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 800; color: var(--tomato); }
.contact-email { font-family: var(--font-display); font-size: clamp(1.3rem, 4vw, 1.75rem); font-weight: 800; word-break: break-all; }
.contact-meta { color: var(--ink-soft); font-size: .95rem; }
.notfound { padding-bottom: 5rem; text-align: center; }
.notfound .hero-actions { justify-content: center; }

/* Footer */
.site-footer { background: var(--ink); color: #e9ddd2; margin-top: 2rem; padding: 3rem 0 1.5rem; font-size: .95rem; }
.site-footer a { color: #ffd9b8; }
.site-footer a:hover { color: var(--white); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-brand img { height: 33px; width: auto; margin-bottom: 1rem; }
.footer-disclosure { color: #cbbcae; font-size: .88rem; max-width: 52ch; }
.footer-links h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--butter); margin-bottom: .75rem; }
.footer-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2rem; padding-top: 1.25rem; color: #a99a8d; font-size: .85rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
