/* Kitchen Scout — kitchenscout.online */
:root {
  --bg: #f6f4ef;
  --bg-deep: #ebe6dc;
  --surface: #fffdf9;
  --ink: #1a221f;
  --ink-soft: #3d4843;
  --muted: #66706a;
  --accent: #2f5d4a;
  --accent-dark: #234636;
  --copper: #b86b3a;
  --copper-soft: #d4a574;
  --line: #ddd6c8;
  --shadow: 0 12px 40px rgba(26, 34, 31, 0.08);
  --radius: 2px;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1120px;
  --content: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(47, 93, 74, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(184, 107, 58, 0.07), transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, #f3f0e9 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--copper);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 550;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1.15rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2.5rem, var(--content));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(26, 34, 31, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.logo svg {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.logo-text span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a:hover,
.nav a.is-active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
  color: var(--ink);
}

/* Hero */
.hero {
  padding: 3.5rem 0 2.5rem;
  animation: fadeUp 0.7s ease both;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: end;
}

.hero-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 0 0 1rem;
  max-width: 14ch;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  background: var(--bg-deep);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
  animation: kenBurns 18s ease-in-out infinite alternate;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 55%, rgba(26, 34, 31, 0.18));
  pointer-events: none;
}

/* Sections */
.section {
  padding: 3.25rem 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.section-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  max-width: 42ch;
}

.section-link {
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

/* Cards / posts */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fadeUp 0.6s ease both;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.post-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-deep);
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card__image img {
  transform: scale(1.04);
}

.post-card__body {
  padding: 1.25rem 1.3rem 1.4rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.post-meta a {
  color: var(--copper);
  text-decoration: none;
}

.post-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
}

.post-card h3 a {
  color: inherit;
  text-decoration: none;
}

.post-card h3 a:hover {
  color: var(--accent);
}

.post-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 0;
}

/* Featured large */
.featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 2rem;
  animation: fadeUp 0.65s ease both;
}

.featured__image {
  min-height: 320px;
  overflow: hidden;
}

.featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.featured__body {
  padding: 2rem 2.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured__body h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.featured__body h2 a {
  color: inherit;
  text-decoration: none;
}

.featured__body h2 a:hover {
  color: var(--accent);
}

/* Categories strip */
.cat-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

.cat-chip {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cat-chip:hover {
  border-color: var(--accent);
  background: #fff;
  color: var(--accent);
}

.cat-chip strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 550;
}

.cat-chip span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* About blurb */
.about-band {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem;
  background: var(--accent);
  color: #f4f7f5;
}

.about-band h2 {
  color: #fff;
  margin: 0 0 0.75rem;
  font-size: 2rem;
}

.about-band p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.25rem;
}

.about-band .btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.about-band .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.about-stat {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--copper-soft);
  margin-bottom: 0.35rem;
}

/* Article page */
.article-hero {
  padding: 2.5rem 0 0;
}

.article-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin: 0.5rem 0 1rem;
}

.article-cover {
  margin: 1.75rem 0 2rem;
  overflow: hidden;
  background: var(--bg-deep);
}

.article-cover img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.prose {
  font-size: 1.08rem;
}

.prose h2 {
  margin: 2.2rem 0 0.85rem;
  font-size: 1.55rem;
}

.prose h3 {
  margin: 1.6rem 0 0.65rem;
  font-size: 1.2rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose blockquote {
  margin: 1.75rem 0;
  padding: 1rem 0 1rem 1.25rem;
  border-left: 3px solid var(--copper);
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
}

.affiliate-note {
  margin: 1.5rem 0 2rem;
  padding: 1rem 1.15rem;
  background: #f0ebe2;
  border-left: 3px solid var(--accent);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.buy-box {
  margin: 2rem 0;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.buy-box h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.buy-box p {
  margin-bottom: 1rem;
  color: var(--ink-soft);
}

.related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

/* Category page */
.page-hero {
  padding: 2.75rem 0 1.5rem;
}

.page-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.page-hero p {
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0;
  font-size: 1.1rem;
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
  max-width: 520px;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 650;
  font-size: 0.92rem;
}

.form input,
.form textarea,
.form select {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid rgba(47, 93, 74, 0.35);
  border-color: var(--accent);
}

.form-success {
  display: none;
  padding: 1rem 1.15rem;
  background: #e8f0ec;
  border: 1px solid #b7d0c4;
  color: var(--accent-dark);
}

.form-success.is-visible {
  display: block;
}

/* Legal */
.legal h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 2rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer .logo-text strong {
  color: #fff;
}

.site-footer .logo-text span {
  color: rgba(255, 255, 255, 0.5);
}

.site-footer h4 {
  color: #fff;
  margin: 0 0 0.85rem;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--copper-soft);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.88rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  max-width: 560px;
  margin-inline: auto;
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: fadeUp 0.35s ease both;
}

.cookie-banner p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .featured,
  .about-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cat-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-visual,
  .hero-visual img,
  .featured__image img {
    min-height: 260px;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }

  .header-inner {
    position: relative;
  }

  .post-grid,
  .cat-strip {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .about-band {
    padding: 1.75rem;
  }
}
