/* ─────────────────────────────────────────
   Kanpai Ø — Charte graphique
   Layout unique (mobile-first, tous formats)
───────────────────────────────────────── */

:root {
  --bg:     #F7F4EE;
  --ink:    #1A1A18;
  --muted:  #6B6860;
  --sage:   #3D5A3E;
  --white:  #FFFFFF;
  --border: #E8E3D8;

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;

  --header-h: 60px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

/* ── Header ── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 24px;
  background: var(--bg);
  z-index: 100;
}

.site-logo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

/* ── Page ── */
.recipe {
  position: relative;
  height: 100vh;
  height: 100dvh;
  padding-top: var(--header-h);
  overflow: hidden;
}

/* ── Photo ──
   Déborde légèrement à gauche, occupe la zone haute.
   mix-blend-mode:multiply efface le fond blanc/gris de la photo.
   filter:brightness pousse les gris clairs vers le blanc pur
   pour que multiply les rende complètement transparents. */
.recipe__photo {
  position: absolute;
  top: var(--header-h);
  width: 80%;
  bottom: 180px;
  margin: 0;
}

.recipe__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: multiply;
  filter: brightness(1.08);
}

/* ── Carte ingrédients ──
   Flotte en haut-droite, chevauche la photo. */
.recipe__card {
  position: absolute;
  bottom: calc(var(--header-h) + 21%);
  right: 8%;
  width: 30%;
  min-width: 180px;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 4px 40px rgba(26, 26, 24, 0.08);
}

.recipe__card-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
}

.recipe__card hr {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 14px;
}

.recipe__ingredients {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.recipe__ingredients li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.recipe__ingredients li span:first-child {
  font-size: 13px;
  color: var(--ink);
}

.recipe__ingredients li span:last-child {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

/* ── Titre ──
   Ancré en bas de la page. */
.recipe__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  padding: 0 32px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.recipe__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(48px, 15vw, 60px);
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--ink);
}

