@font-face {
  font-family: Manrope;
  src: url("../assets/fonts/manrope/Manrope-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --ink: #11110f;
  --paper: #f2efe7;
  --paper-2: #e9e4da;
  --orange: #e9834d;
  --green: #344c40;
  --line: rgba(17,17,15,.2);
  --pad: clamp(20px, 4.5vw, 76px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 16px/1.5 Manrope, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.site-header {
  position: sticky; z-index: 2; top: 0; display: grid;
  grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 14px var(--pad); min-height: 68px; border-bottom: 1px solid var(--line);
  background: rgba(242,239,231,.94); backdrop-filter: blur(12px);
}
.brand { justify-self: start; font-size: 25px; font-weight: 600; letter-spacing: -.055em; white-space: nowrap; }
.brand small { font-size: 10px; letter-spacing: .08em; vertical-align: middle; margin-left: 6px; }
nav, .header-actions, .lang { display: flex; align-items: center; }
nav { gap: clamp(14px, 2.3vw, 36px); font-size: 11px; letter-spacing: .1em; }
nav a[aria-current], nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.header-actions { justify-content: flex-end; gap: 22px; }
.lang { gap: 7px; font-size: 11px; }
.lang button { border: 0; background: transparent; padding: 8px 0; opacity: .6; }
.lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.basket-open { white-space: nowrap; padding: 8px 12px; border: 1px solid var(--line); background: transparent; font-size: 12px; }
#basket-count { margin-left: 5px; font-variant-numeric: tabular-nums; }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; min-height: min(575px, 70vw); border-bottom: 1px solid var(--line); }
.hero-copy { align-self: center; padding: clamp(42px, 5.6vw, 98px) var(--pad); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 11px; letter-spacing: .12em; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 23px 0 25px; font-size: clamp(72px, 9vw, 150px); line-height: .88; letter-spacing: -.085em; font-weight: 600; }
.intro { font-size: clamp(17px, 1.65vw, 24px); max-width: 330px; letter-spacing: -.025em; margin-bottom: 27px; }
.action { display: inline-flex; justify-content: space-between; align-items: center; gap: 22px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--ink); background: transparent; font-size: 13px; font-weight: 700; }
.action:hover { background: var(--paper-2); }
.primary { color: var(--paper); background: var(--green); border-color: var(--green); }
.primary:hover { background: var(--ink); border-color: var(--ink); }
.hero-art { position: relative; overflow: hidden; display: grid; place-items: center; background: var(--green); margin: 0; padding: 40px 25px 54px; }
.artwork {
  width: min(72%, 350px); aspect-ratio: 1;
  display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(8, 1fr);
  gap: clamp(2px, .44vw, 6px); padding: clamp(6px, 1vw, 14px);
  background: #c1b49e; box-shadow: 12px 19px 28px rgba(14,29,19,.33);
  transform: rotate(-9deg);
}
.tile { display: block; border-radius: 8% 13% 7% 11%; background: var(--tile); box-shadow: inset 0 -2px 2px #15110e33,inset 1px 1px 2px #fff5; transform: rotate(var(--turn)); }
.hero-art figcaption { position: absolute; text-align: right; right: 22px; bottom: 16px; color: var(--paper); font-size: 11px; letter-spacing: .05em; }
.collection { scroll-margin-top: 84px; padding: 49px var(--pad) 76px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 23px; }
.section-heading h2, dialog h2 { margin: 0; font-size: clamp(33px, 4.5vw, 65px); line-height: 1; letter-spacing: -.07em; font-weight: 600; }
.section-heading p { margin: 0; font-size: 13px; color: #504b44; }
.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); border: solid var(--line); border-width: 1px 0 0 1px; }
.product-card { position: relative; min-width: 0; border: solid var(--line); border-width: 0 1px 1px 0; }
.product-media { aspect-ratio: 1.15; display: grid; place-items: center; background: var(--paper-2); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-media .placeholder { display: grid; place-items: center; width: 43%; aspect-ratio: 1; color: #514a40; font-size: 12px; letter-spacing: .08em; border: 1px solid #af9d87; outline: 1px solid #d4c4ae; outline-offset: 5px; }
.product-card:nth-child(5n+2) .product-media { background: #e2dfd2; }
.product-card:nth-child(5n+3) .product-media { background: #ebe1d5; }
.product-card:nth-child(5n+4) .product-media { background: #e5e3d9; }
.product-card:nth-child(5n+5) .product-media { background: #eae0d2; }
.product-body { display: grid; gap: 7px; padding: 14px; }
.product-body > p { font-size: 12px; color: #514a40; margin: 0; }
.product-body h3 { font-size: 17px; letter-spacing: -.035em; line-height: 1.25; margin: 0; overflow-wrap: anywhere; }
.product-body h3 button { padding: 0; border: 0; background: transparent; text-align: left; }
.product-body h3 button::after { content: ""; position: absolute; inset: 0; }
.product-body h3 button:focus-visible::after { outline: 2px solid var(--green); outline-offset: -4px; }
.product-body h3 button:hover { text-decoration: underline; text-underline-offset: 3px; }
footer { background: var(--ink); color: var(--paper); padding: 26px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
footer a:focus-visible { outline-color: var(--orange); }
dialog { width: min(480px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 22px; color: var(--ink); background: var(--paper); border: 1px solid var(--ink); }
dialog::backdrop { background: #11110f96; }
.dialog-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 16px; }
.close { width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); font-size: 24px; }
dialog h2 { font-size: 36px; }
#product-image { margin-bottom: 18px; }
#product-image .product-media { aspect-ratio: 1.55; }
#product-image img { object-fit: contain; }
#product-title { margin-bottom: 12px; }
#product-price { font-weight: 750; }
#basket-items { list-style: none; padding: 0; margin: 0; }
.basket-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding: 12px 0; }
.basket-row strong, .basket-row small { display: block; }
.basket-row small { font-size: 12px; }
.quantity { display: flex; align-items: center; gap: 8px; }
.quantity button { min-width: 38px; min-height: 40px; background: transparent; border: 1px solid var(--line); }
.total { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 14px 0; }
.order-note { font-size: 13px; }
#order-link { width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 880px) {
  .site-header { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 44px; padding-bottom: 36px; }
  h1 { font-size: clamp(66px, 17vw, 100px); }
  .hero-art { min-height: 235px; padding: 23px 20px 34px; }
  .artwork { width: min(46%, 235px); }
  .collection { padding-top: 37px; padding-bottom: 48px; }
  .section-heading { align-items: start; flex-direction: column; gap: 9px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .header-actions { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.mini-mosaic { display:grid; grid-template-columns:repeat(8,1fr); gap:3px; padding:8px; width:60%; aspect-ratio:1; background:#bfb39c; transform:rotate(-6deg); box-shadow:7px 10px 18px #11110f26; }
.product-card .mini-mosaic { transition:transform .25s; }
.product-card:hover .mini-mosaic { transform:rotate(0deg) scale(1.04); }
.product-body { padding:20px; }
.product-body > p { font-size:14px; }
.product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.artist-section { display:grid; grid-template-columns:1fr 2fr; gap:32px; padding:64px var(--pad); background:var(--green); color:var(--paper); scroll-margin-top:90px; }
.artist-section h2 { font-size:clamp(48px,7vw,88px); letter-spacing:-.06em; line-height:1; margin-bottom:20px; }
.artist-section p:not(.eyebrow) { max-width:600px; font-size:18px; }
.artist-section .action { border-color:var(--paper); }
.artist-section .action:hover { background:var(--ink); }
.artist-section :focus-visible { outline-color:var(--orange); }
#product-dialog { width:min(760px,calc(100% - 28px)); padding:clamp(20px,4vw,36px); overscroll-behavior:contain; }
#product-image .product-media { aspect-ratio:1.6; }
#product-image .mini-mosaic { width:42%; }
.visual-note { font-size:14px; color:#514a40; }
.gallery-controls { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.gallery-controls button { min-height:44px; padding:8px 12px; background:transparent; border:1px solid var(--line); }
.gallery-controls button[aria-pressed="true"] { background:var(--green); color:white; }
.product-actions { display:flex; gap:12px; flex-wrap:wrap; margin:20px 0 14px; }
.product-artist a { text-decoration:underline; text-underline-offset:4px; }
.related-section { border-top:1px solid var(--line); margin-top:28px; padding-top:24px; }
.related-products { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-bottom:24px; }
.related-card { min-width:0; padding:0; background:transparent; border:1px solid var(--line); text-align:left; }
.related-card > span { display:block; padding:12px; font-size:14px; }
.related-card .product-media { aspect-ratio:1; }
.related-card:hover { border-color:var(--green); }
.order-note { font-size:14px; }
body:has(dialog[open]) { overflow:hidden; }
@media(max-width:600px) {
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .artist-section { grid-template-columns:1fr; gap:20px; padding:44px var(--pad); }
  .product-actions { flex-direction:column; }
  .product-body { padding:14px; }
  .related-products { gap:6px; }
  .related-card > span { padding:8px; }
}
@media(prefers-reduced-motion:reduce) { .product-card .mini-mosaic { transition:none; } }
.hero h1 { font-size:clamp(64px,7.7vw,126px); }
.hero .intro { max-width:490px; }
.hero-links { display:flex; gap:12px; flex-wrap:wrap; }
.preparation-notice { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:start; gap:24px; padding:26px var(--pad); background:var(--green); color:var(--paper); border-bottom:1px solid var(--line); }
.preparation-notice .eyebrow { font-size:14px; padding-top:5px; }
.preparation-signal { position:relative; display:inline-block; flex:none; width:16px; height:16px; border:2px solid #d8ffac; border-radius:50%; background:#baff65; box-shadow:0 0 8px #baff65,0 0 18px #baff6599; animation:preparation-pulse 1.8s ease-in-out infinite; }
.preparation-signal::after { content:""; position:absolute; inset:-5px; border:2px solid #baff65; border-radius:50%; animation:preparation-ring 1.8s ease-out infinite; }
@keyframes preparation-pulse {
  0%, 45%, 100% { background:#baff65; box-shadow:0 0 8px #baff65,0 0 18px #baff6599; }
  60%, 85% { background:#48623b; box-shadow:0 0 0 transparent; }
}
@keyframes preparation-ring {
  0% { transform:scale(.7); opacity:.8; }
  70%, 100% { transform:scale(1.8); opacity:0; }
}
.preparation-notice h2 { font-size:clamp(22px,2.5vw,32px); line-height:1.2; letter-spacing:-.035em; margin-bottom:10px; }
.preparation-notice p:last-child { margin:0; max-width:920px; font-size:16px; line-height:1.6; }
@media(max-width:600px) { .preparation-notice { grid-template-columns:1fr; gap:10px; padding-top:22px; padding-bottom:22px; } }
.hero-art { background:#deded2; min-height:470px; }
.hero-art figcaption { color:var(--ink); max-width:calc(100% - 44px); font-size:14px; }
.studio-collage { width:min(100%,520px); height:350px; position:relative; }
.paper-study { position:absolute; width:49%; height:66%; left:6%; top:0; transform:rotate(-11deg); background:radial-gradient(ellipse at 35% 38%,#dc8e7188,transparent 48%),radial-gradient(ellipse at 65% 64%,#7c998c99,transparent 47%),#faf8f0; box-shadow:5px 8px 20px #1112; border:12px solid #faf8f0; }
.canvas-study { position:absolute; width:48%; height:73%; right:3%; top:15%; transform:rotate(9deg); background:linear-gradient(135deg,transparent 35%,#d4794c 35% 52%,transparent 52%),linear-gradient(35deg,#344c40 35%,#a5ada0 35% 58%,#e7d7b8 58%); border:8px solid #9f886b; box-shadow:6px 10px 20px #1113; }
.studio-collage .artwork { position:absolute; left:24%; bottom:0; width:36%; transform:rotate(-5deg); }
.artists-section { padding:76px var(--pad); border-bottom:1px solid var(--line); scroll-margin-top:90px; }
.artists-section .eyebrow { margin-bottom:18px; }
.artists-section .section-heading p { max-width:320px; font-size:16px; }
.artist-profiles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.artist-profile { min-width:0; border:1px solid var(--line); scroll-margin-top:90px; }
.artist-visual { height:190px; overflow:hidden; position:relative; display:grid; place-items:center; }
.artist-visual::after { content:""; width:46%; height:70%; box-shadow:5px 7px 15px #1112; transform:rotate(-7deg); }
.artist-visual.watercolor { background:#e3e4dc; }
.artist-visual.watercolor::after { background:radial-gradient(ellipse at 40% 35%,#cf8a7299,transparent 45%),radial-gradient(ellipse at 65% 70%,#829c8caa,transparent 50%),#faf8f0; border:10px solid #faf8f0; }
.artist-visual.canvas { background:#d9d2c6; }
.artist-visual.canvas::after { transform:rotate(6deg); background:linear-gradient(50deg,transparent 35%,#dd885c 35% 60%,transparent 60%),linear-gradient(125deg,#344c40 40%,#92a293 40% 70%,#f0dfbc 70%); border:6px solid #9f886b; }
.product-card .artist-visual::after { transition:transform .25s; }
.product-card:hover .artist-visual::after { transform:rotate(0deg) scale(1.04); }
.product-card:focus-within .artist-visual::after { transform:rotate(0deg) scale(1.04); }
.product-card:focus-within .mini-mosaic { transform:rotate(0deg) scale(1.04); }
.artist-visual.mosaic { background:#344c40; }
.artist-visual.mosaic::after { display:none; }
.artist-visual .mini-mosaic { width:125px; }
.artist-profile-copy { display:flex; flex-direction:column; align-items:flex-start; padding:26px; }
.artist-profile h3 { font-size:40px; letter-spacing:-.055em; margin-bottom:16px; }
.artist-identity { display:flex; align-items:center; gap:14px; margin-bottom:18px; width:100%; }
.artist-identity h3 { margin:0; overflow-wrap:anywhere; }
.artist-avatar { display:block; width:72px; height:72px; flex:none; border-radius:50%; object-fit:cover; border:1px solid var(--line); }
.artist-instagram { display:inline-flex; align-items:center; min-height:44px; margin-top:12px; font-size:14px; text-decoration:underline; text-underline-offset:4px; overflow-wrap:anywhere; }
.artist-profile .eyebrow { font-size:14px; letter-spacing:.03em; min-height:42px; margin-bottom:12px; }
.artist-bio { min-height:144px; }
.artist-commission { font-size:14px; text-decoration:underline; text-underline-offset:4px; margin-top:18px; }
.artist-filters { display:flex; flex-wrap:wrap; gap:10px; margin:24px 0; }
.artist-filters button { min-height:44px; padding:10px 18px; background:transparent; border:1px solid var(--line); }
.artist-filters button[aria-pressed="true"] { background:var(--green); color:var(--paper); }
.collection-empty { border:1px solid var(--line); padding:32px; max-width:680px; margin-bottom:24px; }
.collection-empty p { margin:0; }
#collection-commission { margin-top:24px; }
.commission-links { display:flex; flex-wrap:wrap; gap:12px; margin:24px 0; }
.commission-note { font-size:14px!important; }
.product-media > .artist-visual { width:100%; height:100%; }
.image-error { padding:20px; max-width:100%; text-align:center; font-size:14px; }
dialog { overflow:auto; }
.hero { grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); }
.action, nav, .lang, .basket-open { font-size:14px; }
.lang button, .basket-open { min-height:44px; }
nav { flex-wrap:wrap; }
@media(max-width:880px) {
  .site-header { gap:12px; }
  .site-header nav { display:flex; grid-column:1 / -1; grid-row:2; justify-content:center; gap:12px 20px; }
  .site-header nav a { padding:6px 0; }
  .hero { grid-template-columns:minmax(0,1fr); }
  .collection, .artists-section, .artist-section, .artist-profile { scroll-margin-top:145px; }
}
@media(max-width:380px) {
  .site-header { padding:10px 14px; }
  .brand { font-size:20px; }
  .brand small { font-size:8px; margin-left:3px; }
  .header-actions { gap:8px; }
  .basket-open { padding:6px 8px; }
}
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
  .preparation-signal { animation:preparation-pulse 3.6s ease-in-out infinite!important; }
}
@media(max-width:1000px) { .artist-profiles { gap:14px; } .artist-profile-copy { padding:20px; } .artist-bio { min-height:220px; } }
@media(max-width:700px) {
  .artist-profiles { grid-template-columns:1fr; gap:24px; }
  .artist-bio { min-height:0; }
  .artists-section { padding-top:48px; padding-bottom:48px; }
  .hero h1 { font-size:clamp(58px,12vw,84px); }
  .hero-art { min-height:350px; }
  .studio-collage { height:260px; max-width:400px; }
}
