/* Made by Madot - site styles (2026-11-13) */
:root {
  /* earthy palette taken from the Instagram photos: moss, linen, copper tins, berry accent */
  --berry: #9a4a68;        /* dusty berry: headings, links */
  --berry-dark: #7a3a53;
  --moss: #5d6b43;         /* buttons */
  --moss-dark: #46512f;
  --plum: #4a3b33;         /* warm bark brown: body text */
  --cream: #f1e7d8;        /* linen */
  --paper: #fbf7f1;
  --copper: #b98b6a;       /* tin colour */
  --leaf: #6f7f4e;
  --line: #e2d4c1;
  --muted: #7b6a5d;
  --radius: 14px;
  --hand: "The Girl Next Door", "Segoe Print", cursive;
  --body: "Lora", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--plum);
  font: 18px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--berry); }
a:hover { color: var(--berry-dark); }
h1, h2, h3 { font-family: var(--hand); font-weight: 400; color: var(--berry); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 64px; height: 64px; }
.brand span { font-family: var(--hand); font-size: 1.7rem; color: var(--berry); }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { font-family: var(--hand); font-size: 1.3rem; text-decoration: none; color: var(--plum); padding: 6px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--cream); color: var(--berry); }
.nav .cart-link { background: var(--moss); color: #fff; }
.nav .cart-link:hover { background: var(--moss-dark); color: #fff; }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--hand); font-size: 1.35rem; line-height: 1;
  background: var(--moss); color: #fff; text-decoration: none; border: 0; cursor: pointer;
  padding: 14px 26px; border-radius: 999px; transition: background .15s, transform .15s;
}
.btn:hover { background: var(--moss-dark); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--moss); box-shadow: inset 0 0 0 2px var(--moss); }
.btn.ghost:hover { background: var(--moss); color: #fff; }

/* Hero */
.hero { background: var(--cream); padding: 56px 0 64px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.hero p.lead { font-size: 1.2rem; max-width: 34em; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-art { justify-self: center; width: min(420px, 100%); }
/* logo and drawing have white/cream backgrounds: blend them into the page colour */
.hero-art, .brand img, .split .art img { mix-blend-mode: multiply; }

.eyebrow { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--moss); margin-bottom: .6em; }
.soon { display: inline-block; font-family: var(--hand); font-size: 1.3rem; color: var(--berry); background: var(--paper); border: 1px dashed var(--copper); border-radius: 999px; padding: 4px 16px; margin-top: 8px; }
.small-left { font-size: .9rem; opacity: .85; }

/* Poem */
.poem-wrap { padding-top: 0; }
.poem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 900px; }
.poem-photo { aspect-ratio: 4 / 5; background: var(--cream); border-radius: var(--radius); display: grid; place-items: center; color: var(--muted); font-size: .95rem; text-align: center; overflow: hidden; }
.poem-photo img { width: 100%; height: 100%; object-fit: cover; }
.poem-photo svg { display: block; width: 64px; height: 64px; color: var(--leaf); opacity: .7; margin: 0 auto 6px; }
.poem { margin: 0; font-family: var(--hand); font-size: 1.7rem; line-height: 1.45; color: var(--plum); }

/* Wavy divider */
.wave { display: block; width: 100%; height: 36px; color: var(--cream); }
.wave.flip { transform: scaleY(-1); }

section { padding: 64px 0; }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title p { color: var(--muted); max-width: 36em; margin-inline: auto; }

/* Story points */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.point { text-align: center; padding: 8px 12px; }
.point svg { width: 56px; height: 56px; color: var(--leaf); margin: 0 auto 10px; }
.point h3 { font-size: 1.5rem; }
.point p { color: var(--muted); font-size: 1rem; }

/* Products */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 330px)); justify-content: center; gap: 28px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product .photo { aspect-ratio: 1; background: var(--cream); display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .95rem; }
.product .photo img { width: 100%; height: 100%; object-fit: cover; }
.product .photo svg { display: block; width: 64px; height: 64px; color: var(--leaf); opacity: .7; margin: 0 auto 6px; }
.product .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product h3 { margin: 0; }
.product .price { font-weight: 600; color: var(--plum); }
.product .desc { font-size: 1rem; color: var(--muted); flex: 1; }
.product .tag { align-self: flex-start; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--leaf); }

/* About teaser / split */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.split .art { background: var(--cream); border-radius: 50%; padding: 18px; max-width: 380px; justify-self: center; }
.split .art img { border-radius: 50%; }

/* Quote */
.note { background: var(--cream); border-radius: var(--radius); padding: 28px 32px; font-style: italic; }

/* Shop info */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.how div { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px 20px; font-size: 1rem; }
.how strong { display: block; font-family: var(--hand); font-weight: 400; font-size: 1.4rem; color: var(--moss); }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: start; }
.form label { display: block; font-size: .95rem; margin: 14px 0 4px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--plum);
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--berry); outline-offset: 1px; border-color: transparent; }
.form .btn { margin-top: 20px; }
.hp { position: absolute; left: -9999px; }
.aside-card { background: var(--cream); border-radius: var(--radius); padding: 24px 26px; }
.aside-card p { margin-bottom: .6em; }

/* Social icons */
.social { display: flex; gap: 12px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--moss); color: #fff; }
.social a:hover { background: var(--moss-dark); }
.social svg { width: 22px; height: 22px; }

/* Footer */
.site-footer { background: var(--moss-dark); color: #fff; padding: 40px 0 28px; margin-top: 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer a { color: #fff; }
.site-footer .social a { background: rgba(255,255,255,.18); }
.site-footer .social a:hover { background: rgba(255,255,255,.32); }
.site-footer .small { font-size: .9rem; opacity: .85; width: 100%; text-align: center; margin-top: 12px; }
.site-footer .foot-brand { font-family: var(--hand); font-size: 1.8rem; }

/* Cart (overrides _form/cart.js defaults) */
body .mc-add { background: var(--moss); font-family: var(--hand); font-size: 1.25rem; border-radius: 999px; padding: 11px 18px; margin-top: 6px; }
body .mc-add:hover, body .mc-btn:hover { background: var(--moss-dark); }
body .mc-btn { background: var(--moss); border-radius: 999px; font-family: var(--hand); font-size: 1.25rem; padding: 12px 22px; }
body .mc-fab { display: none; } /* the header has a Cart button instead */
body .mc-panel { font-family: var(--body); color: var(--plum); background: var(--paper); }
body .mc-panel h2 { font-family: var(--hand); color: var(--berry); font-weight: 400; font-size: 2rem; }
body .mc-toast { background: var(--plum); font-family: var(--body); }
body .mc-note { background: var(--cream); color: var(--plum); }

/* Small screens */
@media (max-width: 820px) {
  .hero .wrap, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 36px 0 44px; text-align: center; }
  .hero .actions { justify-content: center; }
  .hero-art { order: -1; width: min(260px, 70%); }
  .points, .how, .poem-grid { grid-template-columns: 1fr; }
  .poem { text-align: center; }
  .split .art { max-width: 260px; }
  section { padding: 44px 0; }
  .brand span { display: none; }
  .brand img { width: 52px; height: 52px; }
  .nav a { font-size: 1.15rem; padding: 6px 9px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Categories ("What I make") */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cats { grid-template-columns: 1fr; } }
.cat { position: relative; display: block; text-decoration: none; color: var(--plum); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; transition: transform .15s, box-shadow .15s; }
.cat:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(74, 59, 51, .08); color: var(--plum); }
.cat-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--cream); color: var(--moss); margin-bottom: 10px; }
.cat-icon svg { width: 36px; height: 36px; }
.cat h3 { font-size: 1.5rem; margin-bottom: .2em; }
.cat p { font-size: .95rem; color: var(--muted); margin: 0; }
.cat-soon { position: absolute; top: 16px; right: 16px; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--berry); border: 1px dashed var(--copper); border-radius: 999px; padding: 2px 10px; }

/* Shop filter */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.chip { font: inherit; font-size: .95rem; color: var(--plum); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; cursor: pointer; }
.chip:hover { border-color: var(--moss); }
.chip[aria-pressed="true"] { background: var(--moss); border-color: var(--moss); color: #fff; }
.product[hidden] { display: none; }
.coming { text-align: center; color: var(--muted); font-style: italic; margin-top: 28px; }

/* Drawing in a stitched, slightly uneven ring (About page) */
.split .art.ring {
  background: var(--paper); padding: 10px;
  border: 2px dashed rgba(93, 107, 67, .55);                      /* stitched moss line */
  border-radius: 50% 47% 52% 48% / 48% 52% 47% 51%;               /* slightly hand-drawn circle */
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px rgba(185, 139, 106, .45); /* faint copper outer ring */
}

/* Home hero: darker kraft background with the cut-out logo in its original light cream,
   edged with a faint moss outline */
.hero.kraft { background: #e3d2bb; }
.wave.kraft { color: #e3d2bb; }
.hero.kraft .soon { background: var(--paper); }
.hero-art.cutout {
  mix-blend-mode: normal;
  filter: drop-shadow(1px 0 0 rgba(93, 107, 67, .5)) drop-shadow(-1px 0 0 rgba(93, 107, 67, .5))
          drop-shadow(0 1px 0 rgba(93, 107, 67, .5)) drop-shadow(0 -1px 0 rgba(93, 107, 67, .5));
}

/* Product photos with thumbnails */
.product .photo:has(.main) { display: block; position: relative; }
.product .photo .main { width: 100%; height: 100%; object-fit: cover; }
.product .thumbs { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; gap: 6px; overflow-x: auto; }
.product .thumbs button { flex: 0 0 auto; width: 44px; height: 44px; padding: 0; border: 2px solid #fff; border-radius: 8px; overflow: hidden; cursor: pointer; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.product .thumbs button[aria-pressed="true"] { border-color: var(--moss); }
.product .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.price.soon-price { font-weight: 400; font-style: italic; color: var(--muted); }

/* Sold products */
.product .photo { position: relative; }
.sold-badge { position: absolute; top: 12px; left: 12px; font-family: var(--hand); font-size: 1.2rem; color: #fff; background: var(--berry); border-radius: 999px; padding: 4px 14px; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.product.sold .photo .main { filter: saturate(.75) brightness(.97); }
.check-box { background: #fff8e1; border: 1px solid #e6c65c; border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; font-size: .95rem; }
.check-box ul { margin: 6px 0 0 18px; padding: 0; }
