/* Crafts by Jon homepage (homepage stage H3). Built from the 10 Oct storefront mockup (preview/assets/preview.css),
   same look as the live product and collection pages: Bricolage Grotesque headings, Nunito Sans text, cream paper. */
:root {
  --ink: #1a1a2e; --ink-2: #4a4a5e; --ink-3: #6b6b7d;
  --paper: #fbf7f1; --card: #ffffff; --line: #e9e2d6;
  --sun: #f5a623; --sun-soft: #fff1d6; --coral-ink: #c43c3c;
  --sea: #2364aa; --sea-soft: #e4eefa; --leaf: #1f7a5a; --leaf-soft: #e1f3ea;
  --radius: 14px; --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(26,26,46,.06), 0 6px 18px rgba(26,26,46,.06);
  --head: 'Bricolage Grotesque', 'Nunito', system-ui, sans-serif;
  --body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px; --gutter: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
[hidden] { display: none !important; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 800; }
.skip:focus { top: 8px; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(251,247,241,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 8px; height: 60px; }
.logo { font-family: var(--head); font-weight: 800; font-size: 21px; text-decoration: none; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.logo-dot { width: 26px; height: 26px; border-radius: 8px; background: var(--sun); display: grid; place-items: center; font-size: 15px; transform: rotate(-6deg); }
.icon-btn { background: none; border: 0; min-width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; cursor: pointer; position: relative; flex: none; text-decoration: none; font-weight: 800; }
.icon-btn:hover { background: rgba(26,26,46,.06); }
.icon-btn svg { width: 24px; height: 24px; }
.menu-btn { padding: 0 10px 0 6px; }
.menu-btn span { font-size: 15px; }
.count { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--coral-ink); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.hdr .spacer { flex: 1; }
.nav-desk { display: none; gap: 2px; margin-left: 18px; }
.nav-desk > div { position: relative; }
.nav-top { background: none; border: 0; padding: 10px 12px; border-radius: 10px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; }
.nav-top:hover, .nav-desk > div:focus-within .nav-top { background: rgba(26,26,46,.06); }
.dd { display: none; position: absolute; top: 100%; left: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; min-width: 260px; z-index: 50; }
.nav-desk > div:hover .dd, .nav-desk > div:focus-within .dd { display: grid; }
.dd a { padding: 9px 12px; border-radius: 8px; text-decoration: none; display: flex; justify-content: space-between; gap: 14px; }
.dd a:hover { background: var(--sun-soft); }
.dd a span { color: var(--ink-3); font-size: 13px; }
.hdr .shop-desk { display: none; }
@media (min-width: 960px) {
  .nav-desk { display: flex; }
  .menu-btn { display: none; }
  .hdr .shop-desk { display: inline-flex; }
  .hdr-in { height: 68px; }
}
.strip { background: var(--sun-soft); border-bottom: 1px solid #f2dfb5; font-size: 13.5px; text-align: center; padding: 7px var(--gutter); }
.strip b { font-weight: 800; }

/* Menu sheet */
.scrim { position: fixed; inset: 0; background: rgba(26,26,46,.45); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .2s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; z-index: 70; background: var(--paper); overflow-y: auto; -webkit-overflow-scrolling: touch; top: 0; bottom: 0; left: 0; width: min(88vw, 380px); transform: translateX(-102%); }
.sheet:not(.on) { visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
.sheet.on { transform: none; visibility: visible; transition: transform .25s ease, visibility 0s; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px var(--gutter); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); z-index: 1; }
.sheet-head h2 { font-size: 20px; }
.sheet-body { padding: 14px var(--gutter) 28px; }
.menu-group { margin-bottom: 18px; }
.menu-group h3 { font-family: var(--body); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 4px; }
.menu-link { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 8px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 17px; }
.menu-link span { font-weight: 600; color: var(--ink-3); font-size: 13px; }
.menu-link.main { font-size: 18px; }
html.menu-open, html.menu-open body { overflow: hidden; }

/* Buttons, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: #fff; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; }
.btn.alt { background: transparent; color: var(--ink); }
.link { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: var(--sun); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.chip:hover { border-color: var(--ink); }
.chip small { font-weight: 600; opacity: .7; }

/* Product cards (link to the product pages, where people buy) */
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); text-decoration: none; position: relative; color: inherit; }
.card .ph { aspect-ratio: 1; background: #f1ece3; overflow: hidden; position: relative; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .ph img { transform: scale(1.03); }
.card .bd { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .tt { font-weight: 700; font-size: 14.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .pr { font-weight: 800; font-size: 16px; margin-top: auto; padding-top: 4px; }
.card .pr small { font-weight: 600; color: var(--ink-3); font-size: 12px; }
.badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 5px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; width: fit-content; }
.badge.hand { background: var(--leaf-soft); color: var(--leaf); }
.badge.pers { background: var(--sun-soft); color: #8a5a00; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 14px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-columns: 30%; } }
@media (min-width: 1024px) { .rail { grid-auto-columns: calc((100% - 66px) / 4); margin: 0; padding: 4px 0 14px; } }

/* Sections */
.sec { padding: 30px 0; }
.sec-h { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sec-h h2 { font-size: clamp(24px, 6vw, 34px); }
.sec-h p { margin: 4px 0 0; color: var(--ink-2); }
.sec-h .link { white-space: nowrap; }
.eyebrow { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--coral-ink); margin-bottom: 6px; }

/* Hero */
.hero { padding: 22px 0 8px; }
.hero-grid { display: grid; gap: 22px; }
.hero h1 { font-size: clamp(34px, 9.5vw, 62px); font-weight: 800; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--sun) 62%); }
.hero p.lede { font-size: 17.5px; color: var(--ink-2); margin: 14px 0 20px; max-width: 36ch; }
.hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.collage { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 1.15; }
.collage a { border-radius: var(--radius); overflow: hidden; position: relative; background: #efe8dc; }
.collage a:first-child { grid-row: span 2; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .tag { position: absolute; left: 8px; bottom: 8px; background: rgba(255,255,255,.94); padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; }
@media (min-width: 900px) { .hero { padding: 44px 0 22px; } .hero-grid { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 48px; } }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.trust div { background: var(--card); border-radius: var(--radius-sm); padding: 10px; font-size: 12.5px; line-height: 1.3; box-shadow: var(--shadow); }
.trust b { display: block; font-size: 14px; }

/* Short phone screens (e.g. 360x640): keep both hero buttons above the cookie banner on a first visit. */
@media (max-width: 480px) and (max-height: 700px) {
  .strip-more { display: none; }
  .hero { padding-top: 12px; }
  .eyebrow { margin-bottom: 4px; }
  .hero h1 { font-size: 30px; }
  .hero p.lede { font-size: 15.5px; line-height: 1.4; margin: 10px 0 14px; }
  .hero .ctas { gap: 8px; }
  .hero .ctas .btn { min-height: 46px; }
}

/* Collection tiles */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; text-decoration: none; background: #e7dfd2; display: block; }
@media (min-width: 900px) { .tile { aspect-ratio: 4 / 3; } }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.tile:hover img { transform: scale(1.04); }
.tile .lbl { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 12px; background: linear-gradient(transparent, rgba(20,20,36,.82)); color: #fff; }
.tile .lbl b { font-family: var(--head); font-size: clamp(18px, 4.6vw, 24px); display: block; line-height: 1.1; }
.tile .lbl span { font-size: 13px; opacity: .92; }
.sk { background: linear-gradient(90deg, #efe8dc, #f7f2ea, #efe8dc); background-size: 200% 100%; animation: sk 1.4s infinite linear; }
@keyframes sk { to { background-position: -200% 0; } }

/* Find a gift */
.finder { background: var(--card); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.finder h3 { font-family: var(--body); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: 14px 0 8px; }
.finder h3:first-child { margin-top: 0; }

/* Handmade / printed */
.made { display: grid; gap: 12px; }
@media (min-width: 800px) { .made { grid-template-columns: 1fr 1fr; gap: 20px; } }
.made > div { border-radius: var(--radius); padding: 18px; display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: start; }
.made .h { background: var(--leaf-soft); }
.made .p { background: var(--sea-soft); }
.made img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; background: #fff; }
.made h3 { font-size: 20px; margin-bottom: 4px; }
.made p { margin: 0 0 8px; font-size: 15px; color: var(--ink-2); }

/* About, reviews, contact */
.about { display: grid; gap: 18px; background: var(--card); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); }
.about img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--sun); }
.about h2 { font-size: clamp(26px, 6vw, 36px); margin-bottom: 8px; }
.about p { margin: 0 0 10px; color: var(--ink-2); }
@media (min-width: 800px) { .about { grid-template-columns: 190px 1fr; padding: 32px; align-items: center; } .about img { width: 190px; height: 190px; } }
.quotes { display: grid; gap: 12px; }
@media (min-width: 800px) { .quotes { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
.quote { background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin: 0; }
.quote p { margin: 0 0 10px; font-size: 16px; }
.quote footer { font-size: 13px; color: var(--ink-3); }
.quote footer b { color: var(--ink); }
.hello { text-align: center; background: var(--sun-soft); border-radius: 20px; padding: 26px 18px; }
.hello h2 { font-size: clamp(26px, 6vw, 36px); margin-bottom: 6px; }
.hello p { margin: 6px 0; color: var(--ink-2); }
.hello a.mail { font-weight: 800; font-size: 19px; word-break: break-all; }
.notice { background: var(--card); border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.notice p { margin: 0 0 12px; color: var(--ink-2); }

/* Footer */
.foot { background: var(--ink); color: #d9d9e3; margin-top: 40px; padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); font-size: 14.5px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
.foot-grid > :first-child { grid-column: 1 / -1; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } .foot-grid > :first-child { grid-column: auto; } }
.foot h3 { font-family: var(--body); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #a8a8bd; margin-bottom: 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.foot ul a { display: inline-block; padding: 6px 0; }
.foot .logo { color: #fff; margin-bottom: 8px; }
.foot .tagline { color: var(--sun); font-weight: 700; margin: 0 0 8px; }
.foot .addr { font-size: 13px; color: #a8a8bd; margin: 0; }
.social { display: flex; gap: 8px; margin-top: 14px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.social a:hover { background: rgba(255,255,255,.18); }
.copy { margin-top: 22px; font-size: 12.5px; color: #8e8ea3; }

/* Cookie banner: the homepage's existing banner styles, unchanged. consent.js reserves its height
   (--cbj-consent-h) while it is showing so it never covers the page's last links. */
.cookie-banner { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 2000; background: #1a1a2e; color: #fff; padding: 16px 20px; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; box-shadow: 0 -4px 12px rgba(0,0,0,0.25); }
.cookie-banner-text { flex: 1 1 320px; max-width: 640px; line-height: 1.5; }
.cookie-banner-text a { color: #F5A623; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn { border: 2px solid #fff; border-radius: 50px; padding: 9px 20px; min-height: 44px; font-weight: 700; font-size: 0.85rem; cursor: pointer; background: transparent; color: #fff; font-family: inherit; }
.cookie-btn-accept { background: #F5A623; color: #1a1a2e; border-color: #1a1a2e; }
@media (max-width: 480px) {
  .cookie-banner { flex-direction: column; text-align: center; padding: 14px 16px; gap: 12px; }
  .cookie-banner-text { flex: 0 1 auto; }
}
html.cbj-consent-open body { padding-bottom: var(--cbj-consent-h, 0px); }
