/* Alex Moncayo cookbook — "Fresh & Clean" style.
   To change the look, edit the color tokens below. Everything on the site uses them. */
:root {
  --bg: #FFFFFF;          /* page background */
  --surface: #F1F7F3;     /* soft panels, stat boxes */
  --card: #FFFFFF;        /* cards */
  --ink: #15231B;         /* main text */
  --muted: #5B6A62;       /* secondary text */
  --line: #DFE8E2;        /* borders */
  --accent: #1E7A4C;      /* main brand color (herb green) */
  --accent-ink: #FFFFFF;  /* text on top of the brand color */
  --warm: #D98A1F;        /* second color (carbs bar, highlights) */
  --fat: #9DB7A7;         /* fat bar */
  --display: "Bricolage Grotesque", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --maxw: 1100px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1512; --surface: #17201B; --card: #141C17; --ink: #E7EEE9; --muted: #9DAAA2;
    --line: #26312B; --accent: #5CC48B; --accent-ink: #0C1A12; --warm: #F0AE4E; --fat: #6E8C7B;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }

/* Header + footer */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.brand { white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.nav { display: flex; gap: 14px; font-size: 14.5px; font-weight: 700; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.site-foot { border-top: 1px solid var(--line); margin-top: 56px; }
.site-foot .wrap { padding-block: 22px 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; color: var(--muted); }
.site-foot p { margin: 0; max-width: 60ch; }

/* Shared bits */
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--accent); }
.btn { appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 14px; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 999px; }
.sample-note { margin: 18px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--surface); color: var(--muted); font-size: 13.5px; }
.sample-note strong { color: var(--ink); }

/* Home */
.home-hero { padding-block: 44px 28px; display: grid; gap: 10px; }
.home-hero h1 { font-family: var(--display); font-size: clamp(36px, 7vw, 64px); line-height: 1; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.home-hero p { margin: 0; color: var(--muted); font-size: 17px; max-width: 56ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { appearance: none; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 700; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
/* Photos are shown whole (iPhone photos are 3:4 portrait), so plates never get cut off. */
.cards { display: grid; gap: 22px 14px; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); }
.card { text-decoration: none; color: inherit; display: grid; gap: 8px; align-content: start; }
.card .thumb { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.card .thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.card:hover .thumb img { transform: scale(1.03); }
.card h2 { font-family: var(--display); font-size: 17px; line-height: 1.2; margin: 0; text-wrap: balance; }
.card .facts { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.card .facts b { color: var(--accent); }
.empty { color: var(--muted); }

/* Recipe page */
.r-hero { display: grid; gap: 22px; padding-block: 28px 8px; align-items: center; }
.r-photo { aspect-ratio: 3 / 4; max-height: 82vh; margin-inline: auto; width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.r-photo img { width: 100%; height: 100%; object-fit: contain; }
.r-head { display: grid; gap: 14px; min-width: 0; }
.r-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.protein-pill { justify-self: start; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.protein-pill span { font-weight: 600; opacity: .85; }
.r-title { font-family: var(--display); font-size: clamp(32px, 6vw, 54px); line-height: 1.02; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.r-intro { margin: 0; color: var(--muted); font-size: 17px; max-width: 54ch; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.stat { padding: 10px 12px; border-radius: 10px; background: var(--surface); }
.stat b { display: block; font-size: 21px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat span { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.r-grid { display: grid; gap: 20px; margin-top: 26px; }
.r-side { display: grid; gap: 20px; align-content: start; min-width: 0; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; min-width: 0; }
.panel-h { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.panel-h h2 { font-family: var(--display); font-size: 23px; line-height: 1.1; margin: 0; }
.panel-h small { font-size: 12.5px; font-weight: 700; color: var(--muted); }

.stepper { display: inline-flex; align-items: center; gap: 2px; border: 1.5px solid var(--line); border-radius: 999px; padding: 2px; }
.stepper button { appearance: none; border: 0; background: none; cursor: pointer; width: 32px; height: 32px; border-radius: 50%; font-size: 18px; font-weight: 800; color: var(--accent); }
.stepper button:hover { background: var(--surface); }
.stepper output { min-width: 90px; text-align: center; font-size: 13.5px; font-weight: 800; font-variant-numeric: tabular-nums; }

.ing { list-style: none; margin: 0; padding: 0; }
.ing li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 11px 0; border-top: 1px dashed var(--line); }
.ing li:first-child { border-top: 0; }
.ing .nm { font-weight: 700; min-width: 0; }
.ing .amt { color: var(--accent); font-weight: 800; margin-right: 6px; font-variant-numeric: tabular-nums; }
.ing .pr { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.ing .meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 13px; color: var(--muted); }
.store { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--surface); color: var(--ink); }
.ing-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 2px solid var(--ink); }
.ing-foot b { font-size: 19px; font-variant-numeric: tabular-nums; }
.copybox { width: 100%; margin-top: 10px; min-height: 140px; font: 13px/1.4 ui-monospace, monospace; }

.macros { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mac b { display: block; font-size: 27px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.mac span { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; margin: 16px 0 6px; background: var(--surface); }
.bar i { display: block; height: 100%; }
.legend { font-size: 12.5px; color: var(--muted); margin: 0; }

.stores { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.stores li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; }
.stores b { font-variant-numeric: tabular-nums; }
.track { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--surface); overflow: hidden; }
.track i { display: block; height: 100%; background: var(--accent); }
.per { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.per b { font-size: 25px; color: var(--accent); font-variant-numeric: tabular-nums; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.steps li::before { content: counter(s); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.steps b { display: block; }
.steps p { margin: 2px 0 0; color: var(--muted); max-width: 70ch; }
.tip { margin: 20px 0 0; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); }
.more { margin-top: 44px; }
.more h2 { font-family: var(--display); font-size: 26px; margin: 0 0 16px; }

/* About */
.about { padding-block: 44px 10px; max-width: 64ch; }
.about h1 { font-family: var(--display); font-size: clamp(34px, 6vw, 52px); line-height: 1.05; margin: 0 0 16px; }
.about p { font-size: 17px; }

@media (max-width: 400px) {
  .brand { font-size: 19px; }
  .nav { font-size: 13.5px; gap: 12px; }
}
@media (min-width: 560px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 700px) {
  .cards { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 22px; }
  .card h2 { font-size: 20px; }
}
@media (min-width: 860px) {
  .r-hero { grid-template-columns: 1fr 1.05fr; gap: 40px; padding-top: 40px; }
  .r-grid { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .panel { padding: 22px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .card .thumb img { transition: none; }
}

/* ---------- Portfolio ---------- */
.site-head .wrap { flex-wrap: wrap; row-gap: 6px; }
.btn { display: inline-block; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero { padding-block: 48px 20px; display: grid; gap: 14px; max-width: 760px; }
.hello { margin: 0; font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--accent); }
.hero h1 { font-family: var(--display); font-size: clamp(36px, 7.5vw, 68px); line-height: 1; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.lead { margin: 0; color: var(--muted); font-size: 17.5px; max-width: 58ch; }
.strengths { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-weight: 700; font-size: 14px; }
.strengths li::before { content: "●"; color: var(--accent); font-size: 9px; vertical-align: 2px; margin-right: 7px; }

.page-head { padding-block: 44px 8px; display: grid; gap: 10px; max-width: 760px; }
.page-head h1 { font-family: var(--display); font-size: clamp(32px, 6vw, 54px); line-height: 1.04; letter-spacing: -.02em; margin: 0; text-wrap: balance; }

.block { margin-top: 48px; }
.block-head { display: flex; justify-content: space-between; align-items: end; gap: 10px 16px; flex-wrap: wrap; margin-bottom: 14px; }
.block-head h2 { font-family: var(--display); font-size: clamp(24px, 4vw, 32px); line-height: 1.1; margin: 0; }
.block-head a { font-weight: 800; font-size: 14px; text-decoration: none; }
.block-sub { margin: -6px 0 16px; color: var(--muted); max-width: 62ch; }
.role { margin: 4px 0 0; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }

.services { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); margin-top: 20px; }
.service { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 8px; align-content: start; }
.service h3 { font-family: var(--display); font-size: 20px; line-height: 1.15; margin: 0; }
.service p { margin: 0; color: var(--muted); }

.videos { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.video { margin: 0; display: grid; gap: 8px; }
.video figcaption { font-weight: 700; font-size: 14.5px; line-height: 1.35; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.video-play img { width: 100%; height: 100%; object-fit: cover; }
.video-play:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.play-icon { position: absolute; left: 50%; top: 50%; width: 62px; height: 44px; margin: -22px 0 0 -31px; border-radius: 12px; background: rgba(0,0,0,.72); transition: background .2s; }
.play-icon::after { content: ""; position: absolute; left: 25px; top: 13px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.video-play:hover .play-icon { background: #E1261C; }

.thumbs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.thumbs img { border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

.contact-band { margin-top: 56px; padding: 28px 22px; border-radius: calc(var(--radius) + 4px); background: var(--accent); color: var(--accent-ink); display: grid; gap: 10px; justify-items: start; }
.contact-band h2 { font-family: var(--display); font-size: clamp(26px, 5vw, 38px); line-height: 1.05; margin: 0; }
.contact-band p { margin: 0; max-width: 56ch; opacity: .92; }
.contact-band .btn { background: var(--accent-ink); color: var(--accent); }
.fine { margin: 18px 0 0; font-size: 12.5px; color: var(--muted); }
@media (max-width: 400px) { .nav { gap: 12px; } }
.service-link { font-weight: 800; font-size: 14px; text-decoration: none; margin-top: 2px; }
