/* farean.com */
:root {
  --bg: #fffaf3; --paper: #ffffff; --cream: #fbefdf; --ink: #2a201b; --muted: #6b5d55;
  --tomato: #e4572e; --tomato-2: #c4421c; --herb: #2e6b4a; --herb-2: #e7f1ea; --butter: #ffd166; --line: #efe3d3;
  --head: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 18px; --shadow: 0 14px 40px rgba(42, 32, 27, .10);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: hidden; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 20px; }
.narrow-top { padding-top: 52px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 800; color: var(--tomato); margin-bottom: .7em; }
.lead { font-size: 1.15rem; color: var(--muted); }
.meta { font-size: .85rem; color: var(--muted); display: inline-flex; gap: 14px; flex-wrap: wrap; }
.tag { display: inline-block; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--herb); text-decoration: none; margin-bottom: .4em; }
.tag:hover { text-decoration: underline; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--tomato); color: #fff; border: 0; border-radius: 999px; font: 800 .95rem var(--sans); padding: 14px 26px; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; box-shadow: 0 6px 18px rgba(228, 87, 46, .28); }
.btn:hover { background: var(--tomato-2); transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.hl { background: linear-gradient(transparent 62%, var(--butter) 62%); padding: 0 .1em; }

/* Photos */
.pic, .hero-pic { position: relative; overflow: hidden; border-radius: var(--r); }
.pic img, .hero-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pic { aspect-ratio: 3 / 2; }
.card-link:hover img, .cat-tile:hover img, a:hover > .pic img { transform: scale(1.05); }

/* Header + menu */
.topbar { background: var(--herb); color: #fff; font-size: .85rem; text-align: center; padding: 8px 0; }
.topbar strong { color: var(--butter); }
.site-head { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font: 800 1.9rem/1 var(--head); text-decoration: none; color: var(--ink); letter-spacing: -.04em; }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-light { color: #fff; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.menu > li > a { display: block; padding: 9px 14px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: .95rem; transition: background .2s, color .2s; }
.menu > li > a:hover { background: var(--cream); }
.menu a[aria-current="page"] { background: var(--ink); color: #fff; }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; background: var(--cream); border-radius: 50%; cursor: pointer; padding: 12px 11px; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; border-radius: 2px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1000px) {
  .menu-btn { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 114px); height: calc(100dvh - 114px); box-shadow: 0 20px 30px rgba(42,32,27,.12); background: var(--bg); overflow-y: auto; padding: 16px 20px 40px; transform: translateX(100%); transition: transform .3s ease; visibility: hidden; }
  .site-nav.open { transform: none; visibility: visible; }
  .menu { flex-direction: column; align-items: stretch; gap: 6px; }
  .menu > li > a { font-size: 1.25rem; padding: 14px 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
  body.nav-open { overflow: hidden; }
}

/* Hero */
.hero { background: radial-gradient(circle at 90% 10%, #ffe2c7 0, transparent 45%), radial-gradient(circle at 0 100%, var(--herb-2) 0, transparent 40%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 34px; }
.stats { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; flex-wrap: wrap; }
.stats li { font-size: .88rem; color: var(--muted); }
.stats strong { display: block; font: 800 1.7rem/1.1 var(--head); color: var(--ink); }
.hero-visual { position: relative; }
.hero-visual .hero-pic { aspect-ratio: 4 / 5; border-radius: 160px 160px var(--r) var(--r); box-shadow: var(--shadow); }
.float-card { position: absolute; left: -28px; bottom: 32px; background: var(--paper); border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow); text-decoration: none; display: grid; gap: 2px; max-width: 280px; border-left: 5px solid var(--tomato); }
.float-card strong { font: 800 1.1rem/1.2 var(--head); }
.float-card span:last-child { font-size: .9rem; color: var(--tomato-2); font-weight: 800; }

.page-hero { position: relative; color: #fff; min-height: 420px; display: flex; align-items: flex-end; }
.page-hero .hero-pic { position: absolute; inset: 0; border-radius: 0; }
.page-hero .hero-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 14, 10, .15), rgba(20, 14, 10, .78)); }
.page-hero .hero-text { position: relative; padding-top: 110px; padding-bottom: 52px; max-width: 1220px; }
.page-hero .hero-text p { max-width: 640px; font-size: 1.12rem; }
.page-hero .kicker { color: var(--butter); }
.hero-note { display: inline-block; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 6px 16px; font-size: .9rem !important; font-weight: 800; backdrop-filter: blur(4px); }

/* Section heads + grids */
.sec-head { margin-bottom: 30px; max-width: 720px; }
.sec-head p { color: var(--muted); }
.sec-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.sec-head.row h2 { margin: 0; }
.more { font-weight: 800; color: var(--tomato-2); text-decoration: none; }
.more:hover { text-decoration: underline; }
.band { background: var(--cream); }
.band-warm { background: var(--herb-2); }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: 0 2px 0 var(--line); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-link { position: relative; display: block; }
.card .pic { border-radius: 0; }
.card-price { position: absolute; top: 12px; left: 12px; background: var(--butter); color: var(--ink); font: 800 1rem/1 var(--head); padding: 8px 12px; border-radius: 999px; }
.card-price small { font: 600 .72rem var(--sans); margin-left: 2px; }
.card-body { padding: 18px 20px 22px; }
.card-body h3 { margin-bottom: .35em; }
.card-body h3 a, .tip-card h3 a { text-decoration: none; }
.card-body h3 a:hover, .tip-card h3 a:hover { color: var(--tomato-2); }
.card-body p { font-size: .94rem; color: var(--muted); margin-bottom: .8em; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-grid.three { grid-template-columns: repeat(3, 1fr); }
.cat-tile { position: relative; display: block; text-decoration: none; color: #fff; border-radius: var(--r); overflow: hidden; }
.cat-tile .pic { aspect-ratio: 4 / 5; border-radius: var(--r); }
.cat-tile .pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20, 14, 10, .78)); }
.cat-name { position: absolute; left: 20px; right: 20px; bottom: 18px; font: 800 1.45rem/1.1 var(--head); z-index: 1; }
.cat-name small { display: block; font: 600 .85rem var(--sans); opacity: .9; margin-top: 4px; }
.cat-grid.three .cat-tile .pic { aspect-ratio: 16 / 10; }

/* Meal plan table */
.plan { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.plan-table-wrap { overflow-x: auto; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); }
.plan-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.plan-table th, .plan-table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.plan-table thead th { background: var(--ink); color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.plan-table td:last-child { font-weight: 800; color: var(--herb); white-space: nowrap; }
.plan-table a { font-weight: 800; text-decoration: none; }
.plan-table a:hover { color: var(--tomato-2); text-decoration: underline; }
.plan-table tfoot th, .plan-table tfoot td { background: var(--butter); color: var(--ink); font-weight: 800; border: 0; font-size: 1.05rem; }

/* Tips */
.tip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tip-card .pic { margin-bottom: 14px; }
.tip-card p { color: var(--muted); font-size: .95rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 24px; }
.value { background: var(--paper); border-radius: var(--r); padding: 28px; border: 1px solid var(--line); }
.v-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--tomato); color: #fff; font: 800 1.3rem var(--head); margin-bottom: 14px; }
.value p { color: var(--muted); margin: 0; }

/* Recipes */
.recipes-wrap { padding-top: 48px; padding-bottom: 48px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter { border: 2px solid var(--line); background: var(--paper); border-radius: 999px; padding: 9px 18px; font: 800 .92rem var(--sans); color: var(--ink); cursor: pointer; transition: .2s; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-empty { color: var(--muted); }
.recipe-list { display: grid; gap: 40px; }
.recipe { background: var(--paper); border-radius: 24px; padding: 28px; box-shadow: 0 2px 0 var(--line), 0 18px 50px rgba(42, 32, 27, .06); scroll-margin-top: 100px; }
.recipe[hidden] { display: none; }
.recipe-head { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; margin-bottom: 30px; }
.recipe-head .pic { aspect-ratio: 4 / 3; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip { background: var(--herb-2); color: var(--herb); font-size: .75rem; font-weight: 800; padding: 4px 11px; border-radius: 999px; }
.recipe .dek { font-size: 1.08rem; color: var(--muted); }
.prices { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 18px; }
.price { background: var(--tomato); color: #fff; border-radius: 12px; padding: 8px 14px; font-size: .88rem; }
.price strong { font: 800 1.2rem var(--head); margin-right: 4px; }
.price.alt { background: var(--butter); color: var(--ink); }
.times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.times div { padding: 10px 12px; text-align: center; border-right: 1px solid var(--line); }
.times div:last-child { border-right: 0; }
.times dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 800; }
.times dd { margin: 0; font-weight: 800; }
.print-btn { padding: 10px 20px; font-size: .88rem; }
.recipe-cols { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; border-top: 2px dashed var(--line); padding-top: 28px; }
.ingredients { background: var(--bg); border-radius: 16px; padding: 22px 22px 14px; align-self: start; }
.ingredients ul { list-style: none; margin: 0; padding: 0; }
.ingredients li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dotted #dccbb7; font-size: .97rem; }
.ingredients em { font-style: normal; font-weight: 800; color: var(--herb); white-space: nowrap; }
.total-line { margin: 14px 0 6px; font-size: .95rem; }
.total-line strong { color: var(--tomato-2); font-size: 1.1rem; }
.steps ol { counter-reset: s; list-style: none; margin: 0 0 24px; padding: 0; }
.steps ol li { counter-increment: s; position: relative; padding: 0 0 18px 50px; }
.steps ol li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 800 .95rem var(--head); }
.notes { background: #fff6dc; border-left: 5px solid var(--butter); border-radius: 12px; padding: 18px 20px 10px; }
.notes h3 { font-size: 1.05rem; }
.notes ul { margin: 0; padding-left: 20px; }
.notes li { margin-bottom: 6px; }

/* Meal prep guide */
.guide { padding-bottom: 0; }
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.guide-step { background: var(--paper); border-radius: var(--r); padding: 24px; border: 1px solid var(--line); }
.guide-step span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--herb); color: #fff; font: 800 1.05rem var(--head); margin-bottom: 12px; }
.guide-step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Budget tip stories */
.cat-layout { padding-top: 56px; padding-bottom: 24px; }
.stories { display: grid; gap: 64px; }
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; scroll-margin-top: 100px; }
.story.flip > .pic { order: 2; }
.story .pic { position: sticky; top: 100px; aspect-ratio: 4 / 3; }
.story .dek { font-size: 1.1rem; color: var(--muted); font-weight: 600; }
.tips { background: var(--herb-2); border-radius: 16px; padding: 20px 22px 12px; margin-top: 18px; }
.tips ul { margin: 0; padding-left: 20px; }
.tips li { margin-bottom: 6px; }
.price-guide { padding-top: 40px; }

/* Newsletter */
.newsletter { background: var(--ink); color: #fff; }
.news-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.newsletter .kicker { color: var(--butter); }
.newsletter p { color: #e3d8cf; }
.news-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.news-form input { flex: 1 1 240px; padding: 14px 20px; border-radius: 999px; border: 0; font: inherit; }
.form-msg { color: var(--butter) !important; font-weight: 800; margin-top: 10px; min-height: 1em; }

/* About / Contact / Legal */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.split .pic { aspect-ratio: 4 / 5; }
.cover-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cover-list li { background: var(--paper); padding: 18px 22px; border-radius: 14px; }
.cover-list a { color: var(--tomato-2); text-decoration: none; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-grid > div { border-top: 4px solid var(--tomato); padding-top: 16px; }
.how-grid p { color: var(--muted); }
.cta-box { text-align: center; background: var(--butter); border-radius: 28px; margin-bottom: 72px; max-width: 1180px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.contact-list strong { display: inline-block; width: 90px; }
.contact-list a { color: var(--tomato-2); font-weight: 800; }
.contact-form { background: var(--paper); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); align-self: start; }
.contact-form .form-msg { color: var(--herb) !important; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 800; margin-bottom: 6px; font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border: 2px solid var(--line); border-radius: 12px; font: inherit; background: var(--bg); }
.field input:focus, .field select:focus, .field textarea:focus, .news-form input:focus { outline: 3px solid var(--butter); border-color: var(--ink); }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }
.legal a { color: var(--tomato-2); }
.notfound { text-align: center; max-width: 720px; }
.big404 { font: 800 clamp(6rem, 20vw, 11rem)/1 var(--head); color: var(--ink); margin: 0; letter-spacing: -.05em; }
.big404 span { color: var(--tomato); }
.pill-list { list-style: none; padding: 0; margin: 24px 0 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pill-list a { display: block; padding: 9px 18px; border-radius: 999px; background: var(--cream); text-decoration: none; font-weight: 800; }
.pill-list a:hover { background: var(--ink); color: #fff; }

/* Footer */
.site-foot { background: #1d1612; color: #d9cec5; padding-top: 60px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.site-foot h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--butter); }
.foot-grid .logo { margin-bottom: 14px; }
.foot-base { border-top: 1px solid #3a2e27; padding-top: 22px; padding-bottom: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; }
.foot-base p { margin: 0; }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--tomato); color: #fff; font-size: 1.2rem; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s; box-shadow: var(--shadow); z-index: 40; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* Responsive */
@media (max-width: 1100px) {
  .card-grid, .cat-grid, .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .plan, .recipe-head, .recipe-cols, .story, .split, .news-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 36px; padding-top: 36px; }
  .hero-visual .hero-pic { aspect-ratio: 4 / 3.4; border-radius: 120px 120px var(--r) var(--r); }
  .float-card { left: 14px; bottom: 14px; }
  .story.flip > .pic { order: 0; }
  .story .pic { position: relative; top: 0; }
  .tip-grid, .values, .how-grid, .cat-grid.three { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .news-grid .pic { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 52px 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .card-grid, .cat-grid, .guide-grid { grid-template-columns: 1fr; }
  .cat-tile .pic { aspect-ratio: 16 / 10; }
  .recipe { padding: 18px; border-radius: 20px; }
  .times { grid-template-columns: repeat(2, 1fr); }
  .times div:nth-child(2) { border-right: 0; }
  .times div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .plan-table th, .plan-table td { padding: 12px 12px; font-size: .9rem; }
  .page-hero { min-height: 360px; }
  .logo { font-size: 1.7rem; }
  .topbar { font-size: .78rem; padding: 7px 12px; }
  .contact-form { padding: 22px; }
}

/* Print: only the chosen recipe */
@media print {
  .topbar, .site-head, .site-foot, .to-top, .newsletter, .band, .page-hero, .filters, .guide, .print-btn { display: none !important; }
  body.printing .recipe:not(.print-me) { display: none !important; }
  .recipe { box-shadow: none; padding: 0; }
  .recipe-head, .recipe-cols { grid-template-columns: 1fr 1fr; }
  body { background: #fff; }
}
