/* The Food (Kim)ist — site styles */
:root {
  --ink: #111;
  --muted: #8a8a8a;
  --line: #e6e6e6;
  --bg: #fff;
  --soft: #f7f7f5;
  --mint: #9fd8a6;
  --mint-dark: #5fae6a;
  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "EB Garamond", Georgia, serif;
  --ui: "Questrial", "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { font-size: 112.5%; }
body { font-family: var(--body); color: var(--ink); background: var(--bg); font-size: 20px; line-height: 1.65; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--head); font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.3rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
main { min-height: 0; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 18px 24px 8px; max-width: 1300px; margin: 0 auto; }
.social { display: flex; gap: 18px; }
.social a { width: 22px; height: 22px; display: inline-flex; opacity: .85; }
.social a:hover { opacity: 1; }
.logo { display: block; text-decoration: none; }
.logo img { height: 78px; width: auto; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 22px; font-family: var(--body); }
.header-actions a { text-decoration: none; }
.cart-link { display: inline-flex; align-items: center; gap: 6px; }
.cart-link svg { width: 28px; height: 24px; }
.btn-order { font-family: var(--ui); color: var(--muted); letter-spacing: .03em; }
.btn-order:hover { color: var(--ink); }
.main-nav { display: flex; justify-content: center; gap: 28px; padding: 0 0 14px; }
.main-nav a { text-decoration: none; font-size: 1.1rem; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.main-nav a:hover, .main-nav a.active { border-bottom-color: var(--ink); }
.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; height: 2px; width: 24px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .header-row { grid-template-columns: auto 1fr auto; padding: 14px 16px 10px; }
  .social { display: none; }
  .logo { justify-self: start; }
  .logo img { height: 46px; }
  .btn-order, .login-link { display: none; }
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; flex-direction: column; align-items: center; gap: 14px; padding: 8px 0 18px; }
  .main-nav.open { display: flex; }
  .main-nav .mobile-only { display: inline; }
}
.main-nav .mobile-only { display: none; }

/* ---------- Home ---------- */
.tagline { text-align: center; padding: 120px 0 110px; }
.tagline h1 { font-size: 1.3rem; margin: 0; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.tile { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; text-decoration: none; background: var(--soft); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.04); }
.tile .label { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; font-family: var(--head); font-size: 1.8rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.45)); }
.tile.dark { background: #2a2a2a; }
.tile.mint { background: linear-gradient(135deg, #e9f8f2, #c9eee0); }
@media (max-width: 700px) { .tiles { grid-template-columns: 1fr; gap: 24px; } .tagline { padding: 64px 0; } }

.newsletter { text-align: center; padding: 56px 0 56px; border-top: 1px solid var(--line); }
.newsletter h2 { font-size: 1.5rem; }
.newsletter form { display: flex; justify-content: center; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
input[type=email], input[type=search], input[type=text], input[type=password], input[type=number], select, textarea {
  font: inherit; font-size: 16px; padding: 14px 18px; border: 1px solid #cfcfcf; background: #fff; color: var(--ink); border-radius: 0;
}
.newsletter input { width: min(320px, 100%); }
.form-note { font-family: var(--ui); font-size: .9rem; color: var(--mint-dark); min-height: 1.4em; margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-family: var(--ui); letter-spacing: .04em; font-size: .95rem; padding: 14px 28px; border: 1px solid var(--ink); background: var(--ink); color: #fff; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: #fff; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--ink); }
.btn.outline { background: #fff; color: var(--ink); }
.btn.outline:hover { background: var(--ink); color: #fff; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- Page header ---------- */
.page-head { text-align: center; padding: 72px 0 40px; }
.page-head p { color: #555; max-width: 640px; margin: 0 auto; }

/* ---------- Store ---------- */
.filters { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 40px; font-family: var(--ui); font-size: .95rem; }
.filters button { background: none; border: 0; font: inherit; color: var(--muted); cursor: pointer; padding: 4px 0; border-bottom: 1px solid transparent; }
.filters button.active, .filters button:hover { color: var(--ink); border-bottom-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 32px; padding-bottom: 48px; }
.card { text-decoration: none; display: block; }
.card .thumb { aspect-ratio: 1; background: var(--soft); display: grid; place-items: center; overflow: hidden; position: relative; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .thumb svg { width: 72%; transition: transform .4s ease; }
.card:hover .thumb svg { transform: translateY(-4px) rotate(-2deg); }
.card h3 { margin: 14px 0 2px; font-size: 1.3rem; }
.card .price { color: #555; }
.badge { position: absolute; top: 12px; left: 12px; background: #fff; font-family: var(--ui); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; }
.badge.sold { background: var(--ink); color: #fff; }

/* ---------- Product ---------- */
.breadcrumb { font-family: var(--ui); font-size: .85rem; color: var(--muted); padding: 32px 0 0; }
.breadcrumb a { text-decoration: none; }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; padding: 32px 0 56px; align-items: start; }
.product .gallery-main { background: var(--soft); aspect-ratio: 1; overflow: hidden; }
.product .gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product .price { font-size: 1.4rem; margin-bottom: 18px; }
.product .desc { color: #333; }
.field { margin: 22px 0; }
.field label { display: block; font-family: var(--ui); font-size: .85rem; letter-spacing: .04em; color: #555; margin-bottom: 8px; }
.field select { min-width: 260px; }
.field input[type=number] { width: 100px; }
.details { border-top: 1px solid var(--line); margin-top: 36px; }
.details details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.details summary { cursor: pointer; font-family: var(--ui); font-size: .95rem; list-style: none; display: flex; justify-content: space-between; }
.details summary::after { content: "+"; }
.details details[open] summary::after { content: "–"; }
.details details p, .details details ul { margin: 12px 0 4px; color: #444; }
.related { padding-bottom: 40px; }
.related h2 { text-align: center; margin-bottom: 32px; }
@media (max-width: 800px) { .product { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Toast ---------- */
.toast { position: fixed; right: 24px; bottom: 24px; background: var(--ink); color: #fff; font-family: var(--ui); padding: 14px 20px; transform: translateY(150%); transition: transform .3s ease; z-index: 50; }
.toast.show { transform: none; }
.toast a { color: var(--mint); margin-left: 10px; }

/* ---------- Cart ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-family: var(--ui); font-weight: normal; font-size: .85rem; color: var(--muted); border-bottom: 1px solid var(--line); padding: 10px 0; }
.cart-table td { border-bottom: 1px solid var(--line); padding: 18px 8px 18px 0; vertical-align: middle; }
.cart-item { display: flex; gap: 16px; align-items: center; }
.cart-item .mini { width: 72px; height: 72px; background: var(--soft); display: grid; place-items: center; flex: none; }
.cart-item .mini svg { width: 75%; }
.cart-item .mini img { width: 100%; height: 100%; object-fit: cover; }
.cart-item small { color: var(--muted); display: block; }
.remove { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; text-decoration: underline; }
.cart-summary { max-width: 380px; margin: 40px 0 0 auto; }
.cart-summary .row { display: flex; justify-content: space-between; padding: 6px 0; }
.cart-summary .total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 1.2rem; }
.notice { background: var(--soft); border-left: 3px solid var(--mint); padding: 14px 18px; font-size: .95rem; margin: 18px 0; }
.empty { text-align: center; padding: 40px 0 48px; }
@media (max-width: 640px) {
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .cart-table td { border: 0; padding: 4px 0; }
  .cart-table td:first-child { grid-column: 1 / -1; }
}

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 48px 40px; padding-bottom: 32px; }
.post-card { text-decoration: none; }
.post-card .cover { aspect-ratio: 3/2; display: grid; place-items: center; overflow: hidden; }
.post-card .cover svg { width: 46%; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.meta { font-family: var(--ui); font-size: .8rem; letter-spacing: .05em; color: var(--muted); text-transform: uppercase; margin: 16px 0 6px; }
.post-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.post-card p { color: #444; margin: 0; }
.read-more { font-family: var(--ui); font-size: .9rem; display: inline-block; margin-top: 10px; border-bottom: 1px solid; }
.article { max-width: 720px; margin: 0 auto; padding: 56px 24px 48px; }
.article .cover { aspect-ratio: 16/9; display: grid; place-items: center; margin: 28px 0 36px; overflow: hidden; }
.article .cover svg { width: 36%; }
.article .cover img { width: 100%; height: 100%; object-fit: cover; }
.article p { margin: 0 0 1.2em; }
.article .back { font-family: var(--ui); font-size: .9rem; text-decoration: none; color: var(--muted); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; padding: 72px 0 100px; }
.about .portrait { aspect-ratio: 4/5; background: linear-gradient(160deg, #eef9f3, #d4f0e2); display: grid; place-items: center; }
.about .portrait svg { width: 55%; }
.about .portrait img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; } }

/* ---------- Login ---------- */
.auth { max-width: 420px; margin: 0 auto; padding: 64px 24px 56px; }
.auth form { display: grid; gap: 14px; margin-top: 24px; }
.auth input { width: 100%; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 24px 24px; font-family: var(--ui); font-size: 1rem; color: #555; }
.footer-cols { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols h4 { font-family: var(--head); font-weight: 500; font-size: 1.2rem; color: var(--ink); margin: 0 0 8px; }
.footer-cols p { margin: 0; line-height: 1.8; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.copyright { text-align: center; color: var(--muted); font-size: .8rem; margin: 24px 0 0; }
@media (max-width: 700px) { .footer-cols { grid-template-columns: 1fr; text-align: center; } }

/* ---------- Prose (blog posts and content pages) ---------- */
.prose { overflow-wrap: anywhere; }
.prose img { display: block; max-width: 100%; height: auto; margin: 28px auto; }
.prose h2 { font-size: 1.6rem; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.3rem; margin: 1.4em 0 .4em; }
.prose h4 { font-size: 1.1rem; margin: 1.2em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .2em 0; }
.prose a { color: inherit; text-decoration-color: var(--mint-dark); text-underline-offset: 3px; }
.prose blockquote { border-left: 3px solid var(--mint); margin: 1.5em 0; padding: .2em 0 .2em 1.2em; color: #444; font-style: italic; }
.prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; margin: 24px 0; height: auto; }
.prose p { margin: 0 0 1.1em; }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-top: 8px; }
.post-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 28px; }
.post-cats a { font-family: var(--ui); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; padding: 4px 10px; background: var(--soft); }
.post-cats a:hover { background: #e9f6ec; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--line); margin-top: 56px; padding-top: 24px; }
.post-nav a { text-decoration: none; font-family: var(--head); font-size: 1.1rem; line-height: 1.3; }
.post-nav a.next { text-align: right; }
.post-nav small { display: block; font-family: var(--ui); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

.prose-page { max-width: 760px; padding-top: 64px; padding-bottom: 48px; }
.prose-page.wide { max-width: var(--max); text-align: center; }
.prose-page.wide p { max-width: 680px; margin-left: auto; margin-right: auto; }
.prose-page h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); text-align: center; margin-bottom: 36px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 0 0 40px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; margin: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-family: var(--head); font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--ui); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: #333; }
.faq a, .ingredients a { text-underline-offset: 3px; }
.ingredients p { margin: 0 0 1.1em; }
.ingredients h3 { margin-top: 2em; }
.about .prose h3 { font-weight: 400; font-size: 1.1rem; line-height: 1.7; }
.about .portrait { background: var(--soft); aspect-ratio: auto; }
.about .portrait img { width: 100%; height: auto; display: block; }

/* ---------- Blog index extras ---------- */
.eyebrow { font-family: var(--ui); letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--muted); margin: 0 auto 8px !important; }
.blog-tools { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 48px; }
.blog-tools .filters { margin: 0; }
.blog-tools input[type=search] { width: min(420px, 100%); }
.post-card .cover { background: var(--soft); }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .cover img.placeholder { width: 64px; height: 64px; object-fit: contain; opacity: .5; }
.post-card h2 { font-size: 1.45rem; }
.post-card p { font-size: .98rem; }
.post-card[hidden] { display: none; }
.load-more { text-align: center; padding-bottom: 48px; }
.small { font-size: .9rem; color: #555; }
.qty-input { width: 72px; padding: 8px 10px !important; }
.cart-bottom { display: grid; grid-template-columns: 1fr 380px; gap: 48px; margin-top: 36px; align-items: start; }
.cart-bottom textarea { width: 100%; }
.cart-bottom .cart-summary { margin: 0; max-width: none; }
@media (max-width: 760px) { .cart-bottom { grid-template-columns: 1fr; } }

.prose li p { margin: 0; }

/* ---------- Macarons flyout menu ---------- */
.nav-group { position: relative; }
.nav-drop { background: none; border: 0; font: inherit; font-size: 1.1rem; color: inherit; cursor: pointer; padding: 0 0 2px; border-bottom: 1px solid transparent; display: inline-flex; align-items: center; gap: 6px; }
.nav-drop::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nav-group.open .nav-drop::after { transform: translateY(1px) rotate(225deg); }
.nav-drop:hover, .nav-drop.active { border-bottom-color: var(--ink); }
.dropdown { display: none; position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); min-width: 180px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.08); padding: 8px 0; z-index: 30; }
.nav-group.open .dropdown { display: block; }
.main-nav .dropdown a { display: block; padding: 9px 22px; border: 0; white-space: nowrap; }
.main-nav .dropdown a:hover, .main-nav .dropdown a.active { background: var(--soft); }
@media (max-width: 860px) {
  .nav-group { display: flex; flex-direction: column; align-items: center; }
  .dropdown { position: static; transform: none; border: 0; box-shadow: none; padding: 6px 0 0; min-width: 0; text-align: center; }
  .main-nav .dropdown a { padding: 7px 16px; color: #555; }
}

/* ---------- Store photo carousel ---------- */
.carousel-section { padding: 20px 0 48px; border-top: 1px solid var(--line); }
.carousel-section h2 { text-align: center; margin: 56px 0 28px; }
.carousel { position: relative; }
.car-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.car-track::-webkit-scrollbar { display: none; }
.car-track img { flex: 0 0 calc((100% - 24px) / 3); width: calc((100% - 24px) / 3); min-width: 0; height: auto; aspect-ratio: 4/5; object-fit: cover; scroll-snap-align: start; background: var(--soft); }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); box-shadow: 0 2px 10px rgba(0,0,0,.15); font-size: 28px; line-height: 1; cursor: pointer; z-index: 2; color: var(--ink); }
.car-btn.prev { left: -14px; }
.car-btn.next { right: -14px; }
.car-btn:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 860px) { .car-track img { flex-basis: calc((100% - 12px) / 2); width: calc((100% - 12px) / 2); } }
@media (max-width: 520px) { .car-track img { flex-basis: 82%; width: 82%; } .car-btn.prev { left: 4px; } .car-btn.next { right: 4px; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Recipe Development ---------- */
.services { padding-bottom: 24px; }
.svc-hero { text-align: center; max-width: 720px; margin: 0 auto; padding: 80px 0 64px; }
.svc-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.svc-hero p { color: #444; font-size: 1.15rem; }
.svc-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.svc-row.flip .svc-pics { order: 2; }
.svc-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-pics img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--soft); }
.svc-text h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.svc-sub { font-size: 1.25rem; font-style: italic; color: var(--mint-dark); margin: 0 0 24px; }
.svc-close { text-align: center; border-top: 1px solid var(--line); padding-top: 56px; }
.svc-close h2 { max-width: 720px; margin: 48px auto 24px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.svc-close .btn { margin: 4px 6px; }
.svc-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.svc-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--soft); }
@media (max-width: 800px) {
  .svc-row { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .svc-row.flip .svc-pics { order: 0; }
  .svc-strip { grid-template-columns: 1fr 1fr; }
}

/* ---------- Portfolio ---------- */
.portfolio { padding-bottom: 40px; }
.portfolio .lede { color: #555; }
.pf-grid { columns: 3 280px; column-gap: 14px; }
.pf-item { display: block; width: 100%; padding: 0; margin: 0 0 14px; border: 0; background: var(--soft); cursor: zoom-in; break-inside: avoid; }
.pf-item img { width: 100%; height: auto; display: block; transition: opacity .2s; }
.pf-item:hover img { opacity: .9; }
.lightbox { position: fixed; inset: 0; background: rgba(17,17,17,.92); z-index: 100; display: grid; place-items: center; padding: 48px 64px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 96px); object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 44px; line-height: 1; cursor: pointer; padding: 8px 14px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 12px; right: 16px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 48px 8px; } .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; } }
.portfolio .page-head .btn { margin-top: 14px; }

/* ---------- Oct 23 adjustments ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.home-tiles { padding-top: 72px; }
@media (max-width: 700px) { .home-tiles { padding-top: 32px; } }
.footer-btn { padding: 10px 22px; font-size: .9rem; }
.site-footer a.footer-btn:hover { text-decoration: none; }
.sold-out { font-family: var(--ui); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: #a33; margin-top: 2px; }
.carousel-section h2.section-title, .page-head h1 { font-size: clamp(2.2rem, 4.5vw, 3rem); }
.product-photos .thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin-top: 10px; }
.thumb-btn { padding: 0; border: 1px solid transparent; background: var(--soft); cursor: pointer; aspect-ratio: 1; overflow: hidden; }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-btn.active { border-color: var(--ink); }

/* ---------- Recipe Development pop-up form ---------- */
dialog.inquire { width: min(480px, calc(100vw - 32px)); border: 0; padding: 40px 36px 32px; box-shadow: 0 20px 60px rgba(0,0,0,.25); text-align: center; color: var(--ink); }
dialog.inquire::backdrop { background: rgba(17,17,17,.55); }
.inquire h2 { font-size: 2rem; margin-bottom: 12px; }
.inquire-topic { font-family: var(--ui); font-size: .9rem; background: var(--soft); border-left: 3px solid var(--mint); padding: 10px 14px; text-align: left; margin: 0 0 14px; }
.inquire-copy { color: #444; margin: 0 0 20px; }
.inquire-form { display: grid; gap: 12px; }
.inquire-form input[type=email] { width: 100%; }
.inquire-close-form { position: absolute; top: 6px; right: 8px; margin: 0; }
.inquire-x { background: none; border: 0; font-size: 32px; line-height: 1; cursor: pointer; color: var(--muted); padding: 4px 10px; }
.inquire-x:hover { color: var(--ink); }
.inquire .form-note { margin-top: 12px; font-size: 1rem; }
button.btn { font-family: var(--ui); }

/* ---------- Oct 26: pages matched to the original Squarespace layouts ---------- */
:root { --about-bg: #fff; }   /* About page background; was a light mint (#eef7f1) */

/* home: 2 x 2 picture tiles */
.home-tiles { grid-template-columns: 1fr 1fr; }

/* Recipe Development */
.services h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.services h4 { font-family: var(--head); font-weight: 500; font-size: 1.35rem; margin: 0 0 1.2em; }
.rd-center { text-align: center; max-width: 900px; margin: 0 auto; padding: 72px 24px; }
.rd-center p { color: #333; }
.reel { position: relative; padding: 0 0 8px; }
.reel .car-track { gap: 0; height: 75vh; max-height: 820px; }
.reel .car-track img { flex: 0 0 auto; width: auto; height: 100%; aspect-ratio: auto; object-fit: contain; background: none; scroll-snap-align: start; }
.reel-controls { display: flex; justify-content: center; gap: 12px; padding: 16px 0 0; }
.reel .car-btn { position: static; transform: none; box-shadow: none; border: 1px solid var(--line); background: #fff; }
.reel .car-btn:disabled { opacity: .35; pointer-events: none; }
.rd-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; max-width: var(--max); margin: 0 auto; padding: 64px 24px; }
.rd-split.img-first { grid-template-columns: 7fr 5fr; }
.rd-text { text-align: center; }
.rd-img img { width: 100%; height: auto; display: block; }
@media (max-width: 800px) {
  .rd-split, .rd-split.img-first { grid-template-columns: 1fr; gap: 28px; padding: 40px 24px; }
  .rd-split .rd-img { order: 2; }
  .reel .car-track { height: 55vh; }
}

/* Portfolio: full-width masonry, no gutter */
.portfolio-head { padding-bottom: 48px; text-align: center; }
.portfolio-head h1 { margin-bottom: 24px; }
.masonry { display: flex; align-items: flex-start; padding-bottom: 0; }
.m-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.m-item { display: block; padding: 0; margin: 0; border: 0; background: none; width: 100%; }
button.m-item { cursor: pointer; }
.m-item img { width: 100%; height: auto; display: block; transition: opacity .2s; }
button.m-item:hover img { opacity: .9; }
@media (max-width: 600px) {
  .masonry { flex-direction: column; }
  .m-col { display: contents; }
}

/* About: light-bold band, 2-col indent / 4-col photo / 6-col text */
.about-band { background: var(--about-bg); padding: 80px 24px; }
.about-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 32px; align-items: center; }
.about-photo { grid-column: 3 / span 4; }
.about-photo img { width: 100%; height: auto; display: block; }
.about-text { grid-column: 7 / span 6; }
.about-text p { margin: 0 0 1.1em; }
.about-text h4 { font-family: var(--head); font-weight: 500; font-size: 1.15rem; margin: 2em 0 .4em; }
.about-text h3 { font-family: var(--head); font-weight: 500; font-size: 1.5rem; line-height: 1.35; margin: 0 0 1.4em; }
.about-text .cred { margin-bottom: 1em; }
.about-text a { text-underline-offset: 3px; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo, .about-text { grid-column: auto; }
  .about-photo { max-width: 420px; margin: 0 auto; width: 100%; }
}

/* home tiles: one per row on phones (must come after the 2 x 2 rule above) */
@media (max-width: 700px) {
  .home-tiles { grid-template-columns: 1fr; gap: 20px; }
}

/* Recipe Development first carousel: one photo centered, partials on both sides */
.reel-center .car-track { height: auto; max-height: none; gap: 12px; scroll-snap-type: x mandatory; }
.reel-center .car-track img { flex: 0 0 auto; width: min(60vw, 960px); height: auto; aspect-ratio: 3 / 2; object-fit: cover; scroll-snap-align: center; }
@media (max-width: 800px) { .reel-center .car-track img { width: 80vw; } }
