/* ==========================================================================
   Food & Focus — main stylesheet
   Linked from every page as css/style.css?v=N — bump N on EVERY edit
   (see SITE-GUIDE.md → "Cache-busting").
   ========================================================================== */

:root {
  --bg: #211e1e;          /* Pixpa charcoal, kept from the original site */
  --bg-2: #2b2727;        /* cards / raised panels */
  --bg-3: #353030;        /* inputs, hover */
  --paper: #ffffff;       /* hero left panel */
  --ink: #211e1e;         /* text on white */
  --text: #efefef;        /* main text on dark */
  --muted: #b9b2ab;       /* secondary text on dark */
  --line: rgba(255, 255, 255, 0.12);
  --accent: #e0a458;      /* warm saffron — small details only */
  --error: #e74c3c;
  --max: 1180px;
  --gallery-max: 920px;   /* same width as the Pixpa gallery column */
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.25; margin: 0 0 .6em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--text); color: var(--ink); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font: 500 14px/1 var(--font);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 28px;
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--ink);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: transparent; color: var(--text); }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--ink); }
.btn--sm { padding: 11px 18px; font-size: 12px; }

/* ---------- Header (B3) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(33, 30, 30, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1400px; }
.brand { font-weight: 300; font-size: 22px; letter-spacing: .5px; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav .btn { margin-top: 18px; text-align: center; }
}

/* ---------- 1. Hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(78vh, 720px); background: var(--paper); color: var(--ink); }
.hero__text { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 64px var(--gutter); }
.hero h1 { margin: 0; font-weight: 400; }
.hero .eyebrow { display: block; font-size: 15px; letter-spacing: 1.5px; margin-bottom: 18px; }
.hero .headline { display: block; font-size: clamp(30px, 3.4vw, 45px); line-height: 1.2; }
.hero__sub { font-size: 15px; max-width: 440px; margin: 22px auto 30px; color: #4a4444; }
.hero .btn { border-color: var(--ink); background: var(--ink); color: #fff; }
.hero .btn:hover { background: transparent; color: var(--ink); }
.hero__media { position: relative; overflow: hidden; background: #ddd; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, 0.55); }
.hero__logo {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 200; color: #111; font-size: clamp(56px, 7vw, 104px); line-height: 1.05; text-align: center;
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; aspect-ratio: 3 / 2; }
  .hero__text { padding: 44px var(--gutter) 52px; }
}

/* ---------- Section shell ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: #1a1717; }
.section-title { font-size: clamp(30px, 3.6vw, 45px); text-align: center; margin-bottom: 48px; }
.kicker { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }

/* ---------- 2. Gallery (justified rows, same rows as Pixpa) ---------- */
.gallery { max-width: calc(var(--gallery-max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.g-row { display: flex; gap: 6px; margin-bottom: 6px; }
.g-item { flex: var(--ar) 1 0; aspect-ratio: var(--ar); overflow: hidden; display: block; background: var(--bg-2); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; }
.g-item:hover img { transform: scale(1.03); }
@media (max-width: 560px) { .g-row { gap: 4px; margin-bottom: 4px; } }

/* ---------- CTA band (B5) ---------- */
.cta-band { text-align: center; }
.cta-band p { font-size: clamp(20px, 2.4vw, 26px); font-weight: 300; margin-bottom: 26px; }

/* ---------- 3. What I Do ---------- */
.cards { display: grid; gap: 12px; max-width: var(--gallery-max); margin: 0 auto; }
.card { background: var(--bg-2); padding: 40px clamp(20px, 5vw, 64px); text-align: center; border: 1px solid transparent; transition: border-color .2s; }
.card:hover { border-color: var(--line); }
.card h3 { font-size: clamp(20px, 2.2vw, 25px); color: #e0e0e0; margin-bottom: 18px; }
.card p { font-size: 15px; color: var(--muted); max-width: 680px; margin: 0 auto 18px; }
.more-link { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; color: var(--accent); }
.more-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 4. Why ---------- */
.why { display: grid; gap: 0; max-width: 980px; margin: 0 auto; }
.why__item { padding: 30px 0 30px 28px; border-left: 1px solid var(--line); margin-left: 4px; position: relative; }
.why__item::before { content: ""; position: absolute; left: -4px; top: 40px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.why__item h3 { font-size: clamp(19px, 2vw, 23px); margin-bottom: 10px; }
.why__item p { font-size: 15.5px; color: var(--muted); margin: 0; }
.why__item strong { color: var(--text); font-weight: 600; }

/* ---------- 5. About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.about__intro { font-size: clamp(22px, 2.4vw, 28px); font-weight: 300; line-height: 1.45; margin-bottom: 28px; }
.about__flow { color: var(--accent); font-weight: 400; display: block; margin-top: 10px; font-size: .8em; }
.about p { color: var(--muted); }
.about .sig { color: var(--text); font-weight: 500; }
@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 440px; }
}

/* ---------- 6. More Than Food ---------- */
.more-than { text-align: center; }
.more-than .lead { font-weight: 600; font-size: 17px; }
.more-than p { color: var(--muted); max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- FAQ (C1) ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: clamp(16px, 1.8vw, 19px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 28px; font-weight: 200; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; margin: 0; font-size: 15.5px; }

/* ---------- 7. Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); }
.contact h2 { font-size: clamp(30px, 3.4vw, 42px); }
.contact__intro p { color: var(--muted); }
.direct { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.direct a { text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.direct a:hover { color: var(--accent); }
.direct svg { width: 20px; height: 20px; flex: none; color: var(--accent); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form .full { grid-column: 1 / -1; }
.field label, .form legend { display: block; font-size: 14px; margin-bottom: 7px; }
.req { color: var(--error); }
.field input, .field textarea {
  width: 100%; font: 400 15px/1.4 var(--font); color: var(--text);
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 0;
  padding: 13px 14px;
}
.field input::placeholder, .field textarea::placeholder { color: #8d8680; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 140px; resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.checks label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; line-height: 1.4; }
.checks input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.alert { grid-column: 1 / -1; padding: 14px 16px; border: 1px solid var(--error); color: #ffb4ab; font-size: 14px; }
@media (max-width: 520px) { .form, .checks { grid-template-columns: 1fr; } }

/* ---------- Footer (B4) ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 36px; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.footer-brand { font-size: 22px; font-weight: 300; color: var(--text); margin-bottom: 8px; }
.copyright { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; font-size: 12.5px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Service pages (C2) ---------- */
.page-hero { padding: clamp(64px, 9vw, 110px) 0 48px; text-align: center; }
.page-hero h1 { font-size: clamp(30px, 4vw, 48px); max-width: 900px; margin: 0 auto 18px; }
.page-hero p { color: var(--muted); max-width: 720px; margin: 0 auto; font-size: 17px; }
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--text); }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--text); font-weight: 500; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: var(--gallery-max); margin: 0 auto; padding: 0 var(--gutter); }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.related a { display: block; background: var(--bg-2); padding: 26px; text-decoration: none; border: 1px solid transparent; }
.related a:hover { border-color: var(--line); }
.related strong { display: block; font-weight: 400; font-size: 18px; margin-bottom: 6px; }
.related span { font-size: 14px; color: var(--muted); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(12, 10, 10, 0.96);
  display: none; align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer;
  width: 56px; height: 56px; display: grid; place-items: center; opacity: .8;
}
.lightbox button:hover { opacity: 1; }
.lightbox svg { width: 30px; height: 30px; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-caption { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 13px; color: #bbb; padding: 0 70px; }

/* Back-to-top */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-3); color: var(--text); border: 1px solid var(--line); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; text-decoration: none;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top svg { width: 18px; height: 18px; }
.prose ol { padding-left: 1.4em; }
.prose ol li::marker { color: var(--accent); }
