/* Diet by Nada — shared styles (palette from Nada_Posts) */
:root {
  --bg: #E9E2CF;
  --ink: #505A35;
  --head: #3B4326;
  --muted: #6B6852;
  --rule: #D5CCB3;
  --stripe: #505A35;
  --ring: #E9E2CF;
  --mark-bg: rgba(205, 208, 162, .75);
  --leaf: 80, 90, 53;
  --leaf-a: .13;
  --olive-fruit: rgba(59, 67, 38, .22);
  --g-top: rgba(255, 253, 245, .46);
  --g-mid: rgba(255, 253, 245, .16);
  --g-end: rgba(255, 253, 245, .30);
  --g-border: rgba(255, 255, 255, .55);
  --g-inset: rgba(255, 255, 255, .85);
  --g-glow: rgba(255, 255, 255, .25);
  --g-shadow: rgba(59, 67, 38, .22);
  --g-sheen: rgba(255, 255, 255, .55);
  --g-tint: rgba(205, 208, 162, .35);
  --g-rim: rgba(255, 255, 255, .95);
  --g-rim2: rgba(255, 255, 255, .6);
  --g-solid: rgba(244, 239, 226, .96);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15180E; --ink: #D9D9B8; --head: #E9E2CF; --muted: #A9A68B; --rule: rgba(233,226,207,.14);
    --stripe: #505A35; --ring: #15180E; --mark-bg: rgba(92, 104, 60, .7);
    --leaf: 205, 208, 162; --leaf-a: .07; --olive-fruit: rgba(120, 134, 78, .28);
    --g-top: rgba(70, 80, 46, .42); --g-mid: rgba(40, 46, 28, .22); --g-end: rgba(60, 68, 40, .34);
    --g-border: rgba(233, 226, 207, .16); --g-inset: rgba(255, 255, 255, .18); --g-glow: rgba(205, 208, 162, .06);
    --g-shadow: rgba(0, 0, 0, .55); --g-sheen: rgba(255, 255, 255, .12); --g-tint: rgba(120, 134, 78, .25);
    --g-rim: rgba(255, 255, 255, .35); --g-rim2: rgba(255, 255, 255, .14); --g-solid: rgba(32, 37, 22, .97);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #15180E; --ink: #D9D9B8; --head: #E9E2CF; --muted: #A9A68B; --rule: rgba(233,226,207,.14);
  --stripe: #505A35; --ring: #15180E; --mark-bg: rgba(92, 104, 60, .7);
  --leaf: 205, 208, 162; --leaf-a: .07; --olive-fruit: rgba(120, 134, 78, .28);
  --g-top: rgba(70, 80, 46, .42); --g-mid: rgba(40, 46, 28, .22); --g-end: rgba(60, 68, 40, .34);
  --g-border: rgba(233, 226, 207, .16); --g-inset: rgba(255, 255, 255, .18); --g-glow: rgba(205, 208, 162, .06);
  --g-shadow: rgba(0, 0, 0, .55); --g-sheen: rgba(255, 255, 255, .12); --g-tint: rgba(120, 134, 78, .25);
  --g-rim: rgba(255, 255, 255, .35); --g-rim2: rgba(255, 255, 255, .14); --g-solid: rgba(32, 37, 22, .97);
  color-scheme: dark;
}

/* one language at a time */
:root[lang="en"] [data-only="ar"], :root:not([lang="en"]) [data-only="en"] { display: none !important; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: "Readex Pro", system-ui, sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
  padding-right: 14px; /* room for the olive stripe */
  transition: background-color .4s ease, color .4s ease;
}
a { color: inherit; }
.art { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.art .stem, .art .tip { fill: rgba(var(--leaf), calc(var(--leaf-a) + .03)); }
.art .l0 { fill: rgba(var(--leaf), var(--leaf-a)); }
.art .l1 { fill: rgba(var(--leaf), calc(var(--leaf-a) + .06)); }
.art .l2 { fill: rgba(var(--leaf), calc(var(--leaf-a) + .12)); }
.art .fruit { fill: var(--olive-fruit); }
.art * { transition: fill .4s ease; }
.side { position: fixed; top: 0; right: 0; width: 14px; height: 100%; background: var(--stripe); z-index: 2; }
header, main, footer { position: relative; z-index: 1; }

/* ---------- liquid glass ---------- */
.glass {
  position: relative;
  isolation: isolate;
  border-radius: 36px;
  background: linear-gradient(135deg, var(--g-top) 0%, var(--g-mid) 55%, var(--g-end) 100%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid var(--g-border);
  box-shadow:
    inset 0 1.5px 0 var(--g-inset),
    inset 0 -1px 0 rgba(80,90,53,.10),
    inset 0 0 24px var(--g-glow),
    0 1px 2px rgba(59,67,38,.06),
    0 24px 60px -12px var(--g-shadow);
}
.btn.glass, .chip.glass, .nav.glass { box-shadow: inset 0 1.5px 0 var(--g-inset), inset 0 0 12px var(--g-glow), 0 8px 22px -8px var(--g-shadow); }
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background:
    radial-gradient(120% 60% at 15% -10%, var(--g-sheen), transparent 55%),
    radial-gradient(80% 50% at 110% 120%, var(--g-tint), transparent 60%);
  pointer-events: none;
}
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: linear-gradient(140deg, var(--g-rim), transparent 30%, transparent 70%, var(--g-rim2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.refract .glass { backdrop-filter: url(#lens) blur(14px) saturate(170%); }
.glass.olive {
  background: linear-gradient(135deg, rgba(92,104,60,.92), rgba(59,67,38,.86));
  border-color: rgba(233,226,207,.35);
  color: #E9E2CF;
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.35), inset 0 -2px 6px rgba(21,24,14,.25), 0 12px 28px -8px rgba(59,67,38,.45);
}
.glass.olive::before { background: radial-gradient(90% 70% at 20% -20%, rgba(255,255,255,.30), transparent 60%); }
@media (prefers-reduced-transparency: reduce) {
  .glass { background: var(--g-solid); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- header + menu ---------- */
.top {
  padding: 24px clamp(28px, 5vw, 96px) 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
}
.who { justify-self: start; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; direction: ltr; color: var(--ink); text-decoration: none; }
.who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--ring), 0 0 0 5px #505A35; }
.chip { display: inline-flex; padding: 6px 18px 6px 6px; border-radius: 999px; }
.ig-follow { gap: 10px; }
.ig-follow .ig { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ig-text { display: flex; flex-direction: column; line-height: 1.25; text-align: start; white-space: nowrap; }
.ig-text .short { display: none; }
.ig-text small { font-size: 12px; font-weight: 500; color: var(--muted); }
:root[dir="rtl"] .ig-text small { font-family: "Readex Pro", system-ui, sans-serif; }
.ig-text b { font-size: 16px; font-weight: 700; }
.ig-follow:hover .ig { color: #6A7546; }
@media (max-width: 420px) { .who img { width: 40px; height: 40px; } .ig-follow { gap: 8px; padding-right: 14px; } .ig-follow .ig { width: 20px; height: 20px; } .ig-text b { font-size: 14px; } .ig-text small { font-size: 11px; } .ig-text .long { display: none; } .ig-text .short { display: inline; } }
.enquiries a { font-weight: 700; }
.nav { display: flex; gap: 4px; padding: 5px; border-radius: 999px; }
.nav a {
  text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 9px 20px 11px; border-radius: 999px;
  color: var(--ink);
  transition: background-color .2s ease, color .2s ease;
}
.nav a:hover { background: rgba(var(--leaf), .10); }
.nav a[aria-current="page"] {
  background: linear-gradient(135deg, #5C683C, #3B4326);
  color: #E9E2CF;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 4px 12px -4px rgba(59,67,38,.5);
}
.nav a:focus-visible, .btn:focus-visible, .who:focus-visible, .more:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.controls { justify-self: end; display: flex; gap: 10px; }
.btn {
  font: inherit; color: var(--ink); cursor: pointer;
  height: 46px; min-width: 46px; padding: 0 16px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: transform .2s cubic-bezier(.2,.8,.2,1);
  -webkit-tap-highlight-color: transparent;
}
.btn.icon { padding: 0; width: 46px; }
.btn:active { transform: scale(.94); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn .moon { display: none; }
:root[data-mode="dark"] .btn .sun { display: none; }
:root[data-mode="dark"] .btn .moon { display: block; }
@media (max-width: 760px) {
  .top { grid-template-columns: 1fr auto; row-gap: 14px; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; }
  .nav a { flex: 1; text-align: center; padding-inline: 8px; }
}

/* ---------- home + shop hero card ---------- */
main {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center; align-items: stretch;
  padding: clamp(24px, 4vh, 56px) clamp(20px, 5vw, 96px);
}
.card {
  container-type: inline-size;
  display: flex; flex-direction: column; align-items: flex-start;
  width: 100%; max-width: 1600px; margin-inline: auto;
  padding: clamp(28px, 5vw, 104px) clamp(24px, 6vw, 120px);
  border-radius: clamp(26px, 3vw, 48px);
}
.kicker { font-size: clamp(17px, 2.6cqi, 34px); font-weight: 500; color: var(--muted); }
.hero-title {
  margin-top: 6px; font-weight: 700;
  font-size: clamp(60px, 17cqi, 260px);
  line-height: 1.05; color: var(--head);
}
:root[lang="en"] .hero-title { font-size: clamp(44px, 11.5cqi, 200px); letter-spacing: -0.02em; }
.pill {
  margin-top: clamp(16px, 2.4cqi, 40px); border-radius: clamp(14px, 1.8cqi, 28px);
  font-weight: 700; font-size: clamp(18px, 3.3cqi, 50px); line-height: 1.4;
  padding: .45em 1em .55em; text-wrap: balance;
}
.lead {
  margin-top: clamp(18px, 2.8cqi, 48px);
  font-size: clamp(16px, 2.1cqi, 30px); line-height: 1.9;
  color: var(--muted); max-width: 36em;
}
.actions { margin-top: clamp(20px, 3cqi, 48px); display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- home: intro + bio ---------- */
main.home { justify-content: flex-start; gap: clamp(20px, 3vw, 40px); }
.card.intro { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.intro-text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.intro .hero-title { font-size: clamp(52px, 10cqi, 170px); }
:root[lang="en"] .intro .hero-title { font-size: clamp(48px, 9cqi, 150px); }
.intro .pill { font-size: clamp(17px, 2.3cqi, 34px); }
.intro .lead { font-size: clamp(16px, 1.75cqi, 24px); max-width: 34em; }
.portrait {
  margin: 0; order: -1; justify-self: center; width: min(100%, 340px);
  aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: clamp(22px, 2.6vw, 40px);
  border: 4px solid rgba(255, 255, 255, .65);
  box-shadow: 0 24px 50px -16px var(--g-shadow);
}
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .card.intro { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .portrait { order: 0; width: 100%; max-width: 520px; }
}
.facts, .section, .shop-teaser { width: 100%; max-width: 1600px; margin-inline: auto; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.fact { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 26px; }
.fact > svg {
  flex: none; width: 48px; height: 48px; padding: 11px; border-radius: 50%;
  background: linear-gradient(135deg, #5C683C, #3B4326);
  fill: none; stroke: #E9E2CF; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
}
.fact b { display: block; font-size: 16px; font-weight: 700; color: var(--head); line-height: 1.5; }
.fact .sub { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: clamp(14px, 2vw, 24px); }
.section-head h2 { font-size: clamp(28px, 3.4vw, 48px); font-weight: 700; color: var(--head); line-height: 1.2; }
.shop-teaser {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: clamp(24px, 4vw, 56px); text-decoration: none;
  border-radius: clamp(24px, 3vw, 40px);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.shop-teaser:hover { transform: translateY(-3px); }
.shop-teaser h2 { font-size: clamp(26px, 3vw, 44px); font-weight: 700; color: var(--head); line-height: 1.25; }
.shop-teaser p { font-size: clamp(15px, 1.4vw, 20px); color: var(--muted); line-height: 1.8; }

/* ---------- blog list ---------- */
.wrap { width: 100%; max-width: 1600px; margin-inline: auto; }
.page-head { padding: clamp(8px, 2vw, 24px) 0 clamp(24px, 3vw, 40px); }
.page-head h1 { font-weight: 700; font-size: clamp(44px, 7vw, 110px); line-height: 1.05; color: var(--head); }
.page-head p { margin-top: 10px; font-size: clamp(16px, 1.6vw, 22px); color: var(--muted); line-height: 1.8; }
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(18px, 2vw, 32px); }
.post { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; border-radius: clamp(24px, 2.4vw, 40px); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.post:hover { transform: translateY(-3px); }
.post .body { padding: clamp(22px, 2.6vw, 44px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post h2 { font-size: clamp(24px, 2.6vw, 40px); line-height: 1.3; color: var(--head); font-weight: 700; }
.post p { font-size: clamp(15px, 1.3vw, 19px); line-height: 1.9; color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; color: var(--muted); }
.tag { font-size: 13px; font-weight: 700; color: #E9E2CF; background: #505A35; padding: 4px 12px 6px; border-radius: 999px; }
.more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--ink); }
/* every card the same: same cover height, photo fitted inside it */
.post .cover, .post .cover.has-img { aspect-ratio: 4 / 3; min-height: 0; }
.post .cover.has-img { padding: 6% 6% 0; }
.post .cover .cimg { flex: 1 1 0; min-height: 0; width: auto; max-width: 88%; height: auto; object-fit: contain; margin: 2cqi 0 0; }

/* cover art used on post cards and article header */
.cover {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10;
  background: radial-gradient(120% 90% at 50% 40%, #6A7546 0%, #505A35 55%, #3B4326 100%);
  color: #E9E2CF;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 8%;
  container-type: inline-size;
}
.cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover .stem, .cover .tip { fill: rgba(233,226,207,.10); }
.cover .l0 { fill: rgba(233,226,207,.09); }
.cover .l1 { fill: rgba(233,226,207,.14); }
.cover .l2 { fill: rgba(233,226,207,.19); }
.cover .fruit { fill: rgba(28,32,18,.22); }
.cover strong { position: relative; display: block; font-size: clamp(30px, 11cqi, 96px); line-height: 1.15; font-weight: 700; }
.cover strong em { font-style: normal; color: #CDD0A2; }
.cover .cpill { position: relative; margin-top: 4cqi; font-size: clamp(14px, 4cqi, 30px); font-weight: 700; background: #3B4326; padding: .35em .9em .45em; border-radius: .6em; }

/* ---------- article ---------- */
.article {
  container-type: inline-size;
  width: 100%; max-width: 900px; margin-inline: auto;
  overflow: hidden;
  border-radius: clamp(24px, 3vw, 44px);
}
.article .cover { aspect-ratio: 21 / 9; }
.article .inner { padding: clamp(24px, 6cqi, 72px); }
.crumb { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; }
.crumb:hover { color: var(--ink); }
.article h1 { margin-top: 14px; font-size: clamp(32px, 6.4cqi, 60px); line-height: 1.25; color: var(--head); font-weight: 700; text-wrap: balance; }
.byline { margin-top: 18px; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--ring), 0 0 0 3.5px #505A35; }
.byline b { color: var(--ink); font-weight: 700; display: block; font-size: 15px; }
.prose { margin-top: clamp(24px, 4cqi, 40px); font-size: clamp(17px, 2.3cqi, 20px); line-height: 2; color: var(--ink); }
:root[lang="en"] .prose { line-height: 1.8; }
.prose p + p { margin-top: .9em; }
.prose mark { background: linear-gradient(transparent 52%, var(--mark-bg) 52%); color: var(--head); font-weight: 700; padding: 0 .1em; }
.intro { font-size: 1.08em; color: var(--muted); }
.point { margin-top: clamp(32px, 5cqi, 52px); padding-top: clamp(28px, 4cqi, 40px); border-top: 1.5px solid var(--rule); }
.point-head { display: flex; align-items: center; gap: 14px; }
.num {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 24px; font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, #5C683C, #3B4326); color: #E9E2CF;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
}
.point-head svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.label { font-size: 15px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.point h2 { margin: 14px 0 10px; font-size: clamp(24px, 4cqi, 36px); line-height: 1.35; color: var(--head); font-weight: 700; }
.recap { margin-top: clamp(36px, 6cqi, 56px); padding: clamp(22px, 4.5cqi, 44px); border-radius: clamp(20px, 3cqi, 32px); }
.recap h2 { font-size: clamp(22px, 3.6cqi, 32px); line-height: 1.35; font-weight: 700; }
.recap ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.recap li { display: inline-flex; align-items: center; gap: 8px; background: rgba(233,226,207,.14); border: 1px solid rgba(233,226,207,.22); border-radius: 999px; padding: 5px 14px 7px 6px; font-weight: 500; font-size: .92em; }
:root[dir="rtl"] .recap li { padding: 5px 6px 7px 14px; }
.recap li b { width: 26px; height: 26px; border-radius: 50%; background: #E9E2CF; color: #3B4326; display: grid; place-items: center; font-size: 14px; }
.recap p { line-height: 2; }
.recap p b { color: #CDD0A2; }
.closing { margin-top: clamp(28px, 5cqi, 44px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.closing p { font-weight: 700; color: var(--head); font-size: 1.05em; }
.closing .actions { margin: 0; }

/* photo covers (carousel cover image under the title) */
.cover.has-img { aspect-ratio: auto; justify-content: flex-start; padding: 7% 6% 0; min-height: 280px; }
.cover .cimg { position: relative; width: min(82%, 560px); margin-top: 3cqi; margin-bottom: -3%; filter: drop-shadow(0 18px 24px rgba(20,24,12,.38)); }
.article .cover.has-img { aspect-ratio: auto; }

/* posts with food photos: text beside the photo, alternating sides */
.point-head h2 { margin: 0; }
.dish { margin: 0; }
.dish img { display: block; width: 100%; max-width: 340px; height: auto; margin-inline: auto; filter: drop-shadow(0 18px 22px rgba(20,24,12,.26)); }
.point.photo .dish { margin-top: 18px; }
@container (min-width: 620px) {
  .point.photo { display: grid; grid-template-columns: 3fr 2fr; gap: 36px; align-items: center; }
  .point.photo .dish { margin-top: 0; }
  .point.photo:nth-of-type(even) { grid-template-columns: 2fr 3fr; }
  .point.photo:nth-of-type(even) .dish { order: -1; }
}
.recipe { margin-top: 14px; display: grid; gap: 14px; }
.recipe h3 { font-size: .82em; font-weight: 700; color: var(--muted); letter-spacing: .02em; margin-bottom: 4px; }
.recipe ul { padding-inline-start: 1.1em; }
.recipe li { line-height: 1.85; }
.recipe li::marker { color: #6A7546; }
.recipe > div + div { padding-top: 14px; border-top: 1px dashed var(--rule); }

/* ---------- footer ---------- */
footer {
  padding: 8px clamp(28px, 5vw, 96px) 28px;
  font-size: 13px; color: var(--muted);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
footer a { color: var(--ink); font-weight: 500; text-decoration: none; }
footer a:hover { text-decoration: underline; }

[data-i18n], [data-only] { transition: opacity .18s ease; }
.swap [data-i18n], .swap main { opacity: 0; }
main { transition: opacity .18s ease; }
@media (prefers-reduced-motion: reduce) {
  body, .art *, [data-i18n], [data-only], main, .post { transition: none; }
}
