/* Artmaker by Carla: the art leads, the page stays quiet. */
:root {
  --bg: #faf6f1;
  --paper: #ffffff;
  --ink: #221c18;
  --muted: #7a6f66;
  --line: #e8dfd5;
  --accent: #9b3f63;      /* berry, from the watercolour logo */
  --accent-2: #c9a46a;    /* gold leaf */
  --wa: #1f8f55;
  --radius: 14px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
p { margin: 0 0 1em; }
svg { width: 1.1em; height: 1.1em; vertical-align: -.18em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: var(--accent); font-weight: 600; margin-bottom: .8em; }
.eyebrow a { text-decoration: none; }
.lead { font-size: 1.125rem; color: #4a403a; max-width: 62ch; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 99; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 600 1.25rem var(--serif);
  background: radial-gradient(circle at 30% 30%, #e48bb0, #9b3f63 55%, #5b3d8f); }
.brand-name { font: 600 1.35rem var(--serif); }
.brand-name em { font-style: italic; font-weight: 500; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 22px; font-size: .95rem; }
.nav a { text-decoration: none; }
.nav a[aria-current] { color: var(--accent); }
.nav-cta { display: inline-flex; gap: 6px; align-items: center; background: var(--wa); color: #fff !important; padding: 8px 14px; border-radius: 999px; }
.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s; }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; display: none; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { justify-content: center; margin-top: 12px; border: 0 !important; }
  .top.open .nav { display: flex; }
}

/* buttons, chips */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none;
  font: 500 .95rem var(--sans); border: 1px solid var(--ink); cursor: pointer; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { color: #fff; }
.btn.small { padding: 8px 14px; font-size: .875rem; }
.btn.wa { background: var(--wa); border-color: var(--wa); }
.muted-on-dark { opacity: .7; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.5em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 1em 0 0; }
.chip { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); text-decoration: none; font-size: .875rem; }
.chip:hover { border-color: var(--accent); }

/* layout bands */
.band, .page-head { padding: clamp(28px, 5vw, 64px) var(--gutter) 0; max-width: 1440px; margin: 0 auto; }
.page-head { padding-bottom: 8px; }
.band-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.band-head h2 { margin: 0; }
.band-head a { text-decoration: none; font-size: .95rem; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(24px, 5vw, 64px) var(--gutter) 0; max-width: 1440px; margin: 0 auto; }
.hero-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, minmax(140px, 22vw)); gap: 10px; max-height: 620px; }
.hero-mosaic a { overflow: hidden; border-radius: var(--radius); }
.hero-mosaic .m0 { grid-row: span 2; }
img.cover { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a:hover img.cover { transform: scale(1.03); }

@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } .hero-mosaic { grid-template-rows: repeat(2, 34vw); } }

/* collections */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cats.big { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.cat { text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.cat-img { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--line); margin-bottom: 8px; }
.cat-name { font: 600 1.2rem/1.2 var(--serif); }
.cat-n { font-size: .8rem; }

/* masonry: no cropping, every piece at its own shape */
.masonry { columns: 4 260px; column-gap: 14px; }
.tile { display: block; break-inside: avoid; margin-bottom: 18px; text-decoration: none; }
.tile figure { position: relative; margin: 0 0 6px; border-radius: 10px; overflow: hidden; }
.tile img { width: 100%; transition: transform .5s ease, opacity .3s; }
.tile:hover img { transform: scale(1.02); }
.tile-title { font-size: .875rem; color: #4a403a; display: block; line-height: 1.35; }
.badge { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; }
.sold { position: absolute; left: 8px; top: 8px; background: var(--paper); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; padding: 3px 8px; border-radius: 999px; }
@media (max-width: 640px) { .masonry { columns: 2; column-gap: 10px; } .tile { margin-bottom: 12px; } }

.pager { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; }
.pager a { text-decoration: none; font-weight: 500; }

/* steps */
.steps { list-style: none; padding: 0; margin: 1.2em 0 1.6em; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--accent); color: var(--accent); font: 600 1.1rem var(--serif); }
.steps span { color: var(--muted); font-size: .95rem; }
.about-video video, .about-media video, .about-media img { border-radius: var(--radius); width: 100%; max-height: 80vh; object-fit: cover; background: #ddd; }
.about-video figcaption { font-size: .85rem; margin-top: 6px; }

/* piece page */
.piece { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: clamp(24px, 4vw, 56px); padding: clamp(20px, 4vw, 48px) var(--gutter) 0; max-width: 1440px; margin: 0 auto; align-items: start; }
.piece-media { display: grid; gap: 14px; }
.shot { margin: 0; }
.shot img, .shot video { width: 100%; border-radius: 10px; max-height: 88vh; object-fit: contain; }
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.piece-info { position: sticky; top: 90px; }
.crumbs { font-size: .85rem; margin-bottom: .6em; }
.crumbs a { text-decoration: none; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; margin: 1em 0 1.4em; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.facts dd { margin: 0; }
.desc { color: #3e3530; white-space: normal; overflow-wrap: anywhere; }
.order-box { display: grid; gap: 10px; margin: 1.4em 0; }
.order-box .btn { justify-content: center; }
.prevnext { display: flex; justify-content: space-between; gap: 16px; margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--line); font-size: .9rem; }
.prevnext a { text-decoration: none; max-width: 48%; }
@media (max-width: 900px) { .piece { grid-template-columns: 1fr; } .piece-info { position: static; } }

/* forms */
.inquiry { display: grid; gap: 12px; margin: 1em 0; }
.inquiry[hidden], [hidden] { display: none !important; }
.inquiry.card { background: var(--paper); padding: clamp(18px, 3vw, 32px); border-radius: var(--radius); border: 1px solid var(--line); }
label { display: grid; gap: 6px; font-size: .875rem; color: var(--muted); }
input, textarea, select { font: inherit; color: var(--ink); padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); width: 100%; }
input:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 40%, transparent); border-color: var(--accent); }
.hp { position: absolute; left: -9999px; }
.form-msg { min-height: 1.2em; font-size: .9rem; }

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); padding: clamp(24px, 5vw, 64px) var(--gutter) 0; max-width: 1300px; margin: 0 auto; align-items: start; }
.about-text p { font-size: 1.05rem; color: #3e3530; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(20, 16, 14, .94); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 90vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; padding: 12px 18px; }
.lb-close { top: 8px; right: 8px; } .lb-prev { left: 4px; top: 50%; transform: translateY(-50%); } .lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* footer */
.foot { margin-top: clamp(48px, 8vw, 96px); border-top: 1px solid var(--line); padding: 36px var(--gutter) 24px; }
.foot-inner { max-width: 1440px; margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-brand { font: 600 1.5rem var(--serif); margin-bottom: .2em; }
.foot-links { display: grid; gap: 8px; align-content: start; }
.foot-links a { text-decoration: none; }
.foot-small { max-width: 1440px; margin: 24px auto 0; font-size: .8rem; }
