/* Atelier Klei: a dark gallery. Warm umber walls, objects lit on plinths, one clay accent. */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300; font-display: swap; src: url("fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/jost-latin-500-normal.woff2") format("woff2"); }

:root {
  --bg: #1b1613;
  --bg-deep: #120e0c;
  --wall: #211a16;
  --line: #3d3229;
  --line-soft: #2c241e;
  --ink: #efe6d8;
  --ink-2: #c9bba8;
  --ink-3: #a8998a;
  --clay: #d98b62;
  --clay-deep: #c97a50;
  --clay-light: #e8a983;
  --ok: #a9c19a;
  --light: 255 228 196;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", "Segoe UI", sans-serif;

  --gutter: clamp(16px, 5vw, 72px);
  --max: 1360px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.55;
  font-variant-numeric: lining-nums;
}

main { flex: 1 0 auto; }

img, svg { max-width: 100%; height: auto; }
img { display: block; }

h1, h2, h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 0.45em;
  overflow-wrap: break-word;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 1.6rem + 5vw, 6.2rem); font-style: italic; }
h2 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.9rem); }
h3 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); font-style: italic; }
h1 em, h2 em { font-style: italic; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 500; }

a { color: var(--ink); text-decoration-color: var(--clay); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--clay-light); }

:focus-visible { outline: 2px solid var(--clay-light); outline-offset: 4px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 8px; top: -80px; z-index: 50;
  background: var(--ink); color: var(--bg); padding: 12px 16px;
  font-family: var(--sans); font-size: 0.9rem;
}
.skip:focus { top: 8px; }

/* Labels: the small tracked sans used for meta, like the card beside a museum piece. */
.eyebrow, .label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.5;
  margin: 0 0 1.4rem;
}

.lead { font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.55rem); line-height: 1.5; color: var(--ink-2); max-width: 34em; }

.text-link {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-underline-offset: 0.5em;
  display: inline-block;
  padding-block: 12px;
}

/* ---------- buttons ---------- */

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  background: var(--clay); color: var(--bg-deep);
  border: 1px solid var(--clay);
  font-family: var(--sans); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.button:hover { background: var(--clay-light); border-color: var(--clay-light); color: var(--bg-deep); }
.button:disabled { background: transparent; border-color: var(--line); color: var(--ink-3); cursor: not-allowed; }
.button--ghost { background: transparent; color: var(--ink); border-color: var(--ink-3); }
.button--ghost:hover { background: transparent; color: var(--clay-light); border-color: var(--clay-light); }
.button--wide { width: 100%; }

/* ---------- top bar and header ---------- */

.demo-bar { background: var(--bg-deep); border-bottom: 1px solid var(--line-soft); }
.demo-bar p {
  margin: 0; padding: 9px var(--gutter); text-align: center;
  font-family: var(--sans); font-size: 0.82rem; line-height: 1.45; color: var(--ink-2); letter-spacing: 0.02em;
}
.demo-bar a { color: var(--ink); }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line-soft); background: var(--bg); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }

.brand { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; padding-block: 8px; margin-right: auto; }
.brand__name { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.9rem; letter-spacing: 0; }
.brand__place { font-family: var(--sans); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.brand:hover .brand__name { color: var(--clay-light); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 26px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--sans); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none; position: relative;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0.2em; bottom: 8px; height: 1px; background: var(--clay); }

.cart-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding-left: 26px;
  border-left: 1px solid var(--line);
  font-family: var(--sans); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.cart-link svg { width: 20px; height: 20px; display: none; }
.cart-link:hover { color: var(--clay-light); }
.cart-link[aria-current="page"] .cart-link__label { text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: 0.5em; }
.cart-count {
  font-family: var(--sans); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.04em;
  color: var(--clay-light); min-width: 1.4em; text-align: center; padding-bottom: 1px;
  border-bottom: 1px solid currentColor;
}
.cart-count[data-empty] { color: var(--ink-3); }
.cart-count.is-bumped { animation: bump 0.5s ease-out; }
@keyframes bump { 0% { transform: translateY(0); } 35% { transform: translateY(-5px); color: var(--ink); } 100% { transform: translateY(0); } }

.menu-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 0 0 4px;
  background: none; border: 0; color: var(--ink); cursor: pointer;
  font-family: var(--sans); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
}
.menu-toggle__icon { position: relative; width: 22px; height: 9px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; transition: transform 0.2s; }
.menu-open .menu-toggle__icon { height: 1px; border-bottom: 0; transform: rotate(45deg); }
.menu-open .menu-toggle__icon::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; border-top: 1px solid currentColor; transform: rotate(-90deg); }

@media (max-width: 1040px) {
  .site-header__inner { gap: 18px; }
  .menu-toggle { display: inline-flex; order: 3; }
  .cart-link { order: 2; padding-left: 18px; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg-deep); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 28px;
  }
  .menu-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; max-width: var(--max); margin-inline: auto; }
  .site-nav li + li { border-top: 1px solid var(--line-soft); }
  .site-nav a {
    min-height: 60px; width: 100%;
    font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 2rem; letter-spacing: 0; text-transform: none; color: var(--ink);
  }
  .site-nav a[aria-current="page"] { color: var(--clay-light); }
  .site-nav a[aria-current="page"]::after { display: none; }
}
@media (max-width: 520px) {
  .cart-link__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cart-link svg { display: block; }
  .cart-link { gap: 6px; padding-left: 14px; }
  .brand__name { font-size: 1.6rem; }
}

/* ---------- photos: each object is photographed on its own plinth under one light ---------- */
/* The photo fills its frame; its near-black backdrop fades out at the edges into the page. */

.niche, .card__media, .product__media, .hero__plinth, .line__img { --fade: 12%; }
.niche img, .card__media img, .product__media img, .hero__plinth img, .line__img img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 60%;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent),
    linear-gradient(to bottom, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent),
    linear-gradient(to bottom, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
  mask-composite: intersect;
}

.niche {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg);
}
.niche img { transition: transform 0.5s ease, opacity 0.25s ease; }

/* ---------- cards: object in a niche, a museum label underneath ---------- */

.card { list-style: none; position: relative; }
.card[hidden] { display: none; }
.card__link { display: block; color: inherit; text-decoration: none; }
.card__media {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--bg);
}
.card__media img {
  transform-origin: 50% 60%;
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.card__link:hover .card__media img { transform: scale(1.035); }
.card__link:focus-visible { outline: none; }
.card__link:focus-visible .card__media { outline: 2px solid var(--clay-light); outline-offset: 4px; }

.card__tag {
  position: absolute; z-index: 2; top: 14px; left: 16px;
  font-family: var(--sans); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--clay-light);
}
/* Sold work in a gallery gets a red dot. */
.card__tag--out { color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.card__tag--out::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #c8462e; }

.card__body { display: grid; gap: 2px; padding: 16px 2px 0; border-top: 0; }
.card__kind { font-family: var(--sans); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.card__name { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2.1rem); line-height: 1.1; color: var(--ink); }
.card__link:hover .card__name { color: var(--clay-light); }
.card__meta {
  display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; margin-top: 6px; padding-top: 8px;
  border-top: 1px solid var(--line);
  font-family: var(--sans); font-size: 0.74rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
}
.card__price { margin-left: auto; color: var(--ink); font-weight: 500; letter-spacing: 0.1em; font-variant-numeric: tabular-nums; }

/* Horizontal strip (home and "past er goed bij") */
.strip-scroller {
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  padding-bottom: 20px;
}
.strip-scroller:focus-visible { outline-offset: -2px; }
.strip {
  list-style: none; margin: 0; display: flex; align-items: flex-end; gap: clamp(20px, 3vw, 48px);
  padding: 0 var(--gutter);
  width: max-content;
}
@media (min-width: 1360px) {
  .strip { padding-left: calc((100vw - var(--max)) / 2 + var(--gutter)); }
}
.strip > .card { flex: 0 0 clamp(250px, 27vw, 380px); scroll-snap-align: start; }
.strip > .card:nth-child(even) .card__media { aspect-ratio: 1 / 1; }
.strip > .card:nth-child(3n+1) { flex-basis: clamp(270px, 31vw, 440px); }

/* Salon hang on the shop page: a large piece and two smaller ones, alternating sides. */
.salon { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); row-gap: clamp(48px, 6vw, 96px); align-items: start; }
.salon > .card:nth-child(6n+1) { grid-column: 1 / 6; }
.salon > .card:nth-child(6n+2) { grid-column: 7 / 10; margin-top: 18%; }
.salon > .card:nth-child(6n+3) { grid-column: 10 / 13; margin-top: 46%; }
.salon > .card:nth-child(6n+4) { grid-column: 1 / 4; margin-top: 30%; }
.salon > .card:nth-child(6n+5) { grid-column: 4 / 7; margin-top: 8%; }
.salon > .card:nth-child(6n+6) { grid-column: 8 / 13; }
.salon > .card:nth-child(6n+1) .card__media,
.salon > .card:nth-child(6n+6) .card__media { aspect-ratio: 5 / 6; }
@media (max-width: 760px) {
  .salon { grid-template-columns: 1fr 1fr; column-gap: 16px; row-gap: 40px; }
  .salon > .card:nth-child(n) { grid-column: auto; margin-top: 0; }
  .salon > .card:nth-child(3n+1) { grid-column: 1 / -1; }
  .salon > .card:nth-child(3n+1) .card__media { aspect-ratio: 1 / 1; }
  .salon > .card:nth-child(3n+2) { margin-top: 32px; }
  .salon .card__name { font-size: 1.45rem; }
  .salon .card__meta { letter-spacing: 0.1em; }
  .salon > .card:not(:nth-child(3n+1)) .card__price { margin-left: 0; width: 100%; }
}

/* ---------- sections ---------- */

.section { padding-block: clamp(80px, 11vw, 168px); }
.section-end { padding-bottom: clamp(80px, 10vw, 150px); }

.section__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head h2 { margin: 0; }
.section__head .eyebrow { grid-column: 1 / -1; margin: 0; }
@media (max-width: 640px) {
  .section__head { grid-template-columns: 1fr; }
}

/* ---------- home: hero ---------- */

.hero { position: relative; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  min-height: calc(100svh - 120px); min-height: max(640px, calc(100svh - 120px));
}
.hero__text { grid-column: 1 / 7; grid-row: 1; align-self: center; position: relative; z-index: 2; padding-block: 64px 48px; }
.hero__text h1 { font-style: normal; font-size: clamp(3.1rem, 1.6rem + 4.2vw, 6rem); line-height: 0.98; margin-bottom: 0.4em; }
.hero__text h1 em { display: block; color: var(--ink); }
.hero__text .lead { max-width: 27em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 36px; }

.hero__stage {
  grid-column: 7 / 13; grid-row: 1; margin: 0; position: relative;
  display: grid; align-items: end; justify-items: end;
}
.hero__plinth {
  position: relative; width: min(90%, 520px); container-type: inline-size; margin: 0;
  aspect-ratio: 560 / 690;
}
.hero__plinth img { position: absolute; top: 0; left: 0; height: auto; aspect-ratio: 1; }

.exhibit-label {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 23.2cqi;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 2px; padding: 1cqi 0 0;   font-family: var(--sans); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); line-height: 1.55;
}
.exhibit-label__name { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.6rem; letter-spacing: 0; text-transform: none; color: var(--ink); line-height: 1.1; margin-bottom: 4px; }
.exhibit-label a { color: var(--ink); text-decoration: none; }
.exhibit-label a:hover { color: var(--clay-light); }
.exhibit-label .exhibit-label__price { color: var(--ink); font-weight: 500; }

.hero__facts {
  list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid var(--line-soft);
}
.hero__facts li {
  flex: 1 1 0; min-width: 0; padding: 18px 20px 18px 0;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3);
}
.hero__facts li + li { padding-left: 20px; border-left: 1px solid var(--line-soft); }

@media (max-width: 900px) {
  .hero__grid { display: flex; flex-direction: column; min-height: 0; padding-top: 36px; }
  .hero__text { display: contents; }
  .hero__text .eyebrow { order: 1; }
  .hero__text h1 { order: 2; margin-bottom: 0.2em; }
  .hero__stage { order: 3; min-height: 0; margin-bottom: 32px; }
  .hero__text .lead { order: 4; }
  .hero__actions { order: 5; margin: 8px 0 40px; }
  .hero__stage { justify-items: center; margin-bottom: 150px; }
  .hero__plinth { width: min(92%, 420px); aspect-ratio: 1; }
  .exhibit-label { top: 100%; bottom: auto; left: 0; right: 0; height: auto; padding: 18px 0 0; align-items: center; text-align: center; }
  .hero__facts { flex-direction: column; }
  .hero__facts li, .hero__facts li + li { padding: 14px 0; border-left: 0; }
  .hero__facts li + li { border-top: 1px solid var(--line-soft); }
}

/* ---------- home: three notes ---------- */

.notes { border-block: 1px solid var(--line-soft); background: var(--bg-deep); }
.notes ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.notes li { padding: clamp(28px, 3.4vw, 48px) clamp(20px, 3vw, 44px); display: grid; gap: 10px; align-content: start; }
.notes li:first-child { padding-left: 0; }
.notes li + li { border-left: 1px solid var(--line-soft); }
.notes strong { font-family: var(--sans); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--clay-light); }
.notes span { font-size: 1.15rem; line-height: 1.5; }
@media (max-width: 820px) {
  .notes ul { grid-template-columns: 1fr; }
  .notes li, .notes li:first-child { padding: 26px 0; }
  .notes li + li { border-left: 0; border-top: 1px solid var(--line-soft); }
}

/* ---------- home: making, three numbered panels ---------- */

.process { padding-block: clamp(80px, 11vw, 168px) clamp(24px, 4vw, 56px); border-top: 1px solid var(--line-soft); }
.process__intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-bottom: clamp(40px, 6vw, 88px); }
.process__intro > * { grid-column: 1 / 8; }
.process__intro .lead { grid-column: 1 / 7; }
.process__steps { list-style: none; margin: 0; padding: 0; }
.process__step {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start;
  padding-block: clamp(36px, 5vw, 72px);
  border-top: 1px solid var(--line);
}
.process__step:last-child { border-bottom: 1px solid var(--line); }
.process__no {
  grid-column: 1 / 5;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(6rem, 3rem + 11vw, 14rem); line-height: 0.72; letter-spacing: -0.04em;
  color: var(--clay);
}
.process__step h3 { grid-column: 5 / 8; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); margin: 0.1em 0 0; }
.process__step p { grid-column: 8 / 13; margin: 0.4em 0 0; font-size: 1.3rem; }
.process__step:nth-child(2) .process__no { grid-column: 2 / 6; }
.process__step:nth-child(2) h3 { grid-column: 6 / 9; }
.process__step:nth-child(2) p { grid-column: 9 / 13; }
.process__step:nth-child(3) .process__no { grid-column: 3 / 7; }
.process__step:nth-child(3) h3 { grid-column: 7 / 10; }
.process__step:nth-child(3) p { grid-column: 10 / 13; }
@media (max-width: 1100px) {
  .process__step:nth-child(n) .process__no { grid-column: 1 / 5; }
  .process__step:nth-child(n) h3 { grid-column: 5 / 13; }
  .process__step:nth-child(n) p { grid-column: 5 / 13; }
}
@media (max-width: 640px) {
  .process__intro > *, .process__intro .lead { grid-column: 1 / -1; }
  .process__step { grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; }
  .process__step:nth-child(n) .process__no { grid-column: 1; grid-row: 1 / 3; font-size: 6.5rem; }
  .process__step:nth-child(n) h3 { grid-column: 2; }
  .process__step:nth-child(n) p { grid-column: 1 / -1; margin-top: 20px; }
}

/* ---------- home: the atelier ---------- */

.story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.story__figure { grid-column: 1 / 7; margin: 0; }
.story > .story__figure { position: sticky; top: 32px; }
.story__figure svg { display: block; width: 100%; }
.story__figure figcaption {
  margin-top: 14px; font-family: var(--sans); font-size: 0.74rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); line-height: 1.6; max-width: 40em;
}
.story__text { grid-column: 8 / 13; padding-top: clamp(0px, 4vw, 56px); }
.story blockquote { margin: 40px 0; padding: 0; }
.story blockquote p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.7rem); line-height: 1.15; color: var(--ink); margin: 0 0 14px; text-indent: -0.4em; }
.story blockquote footer { font-family: var(--sans); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.visit-card { margin: 0 0 24px; display: grid; grid-template-columns: max-content minmax(0, 1fr); border-top: 1px solid var(--line); }
.visit-card dt, .visit-card dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.visit-card dt { padding-right: 24px; font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); padding-top: 19px; }
.visit-card dd { color: var(--ink); }
.story__more { margin: 0; }
@media (max-width: 900px) {
  .story__figure, .story__text { grid-column: 1 / -1; }
  .story > .story__figure { position: static; }
  .story__text { padding-top: 48px; }
}
@media (max-width: 420px) {
  .visit-card { grid-template-columns: 1fr; }
  .visit-card dt { border-bottom: 0; padding-bottom: 0; }
  .visit-card dd { padding-top: 4px; }
}

/* ---------- page heads, crumbs, filters ---------- */

.page-head { padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(36px, 5vw, 72px); }
.page-head--tight { padding-top: 28px; padding-bottom: 0; }
.page-head h1 { margin-bottom: 0.3em; }

.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.crumbs li { font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); display: inline-flex; align-items: center; }
.crumbs li[hidden] { display: none; }
.crumbs li + li::before { content: "/"; margin: 0 14px; color: var(--line); }
.crumbs a { color: var(--ink-2); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.crumbs a:hover { color: var(--clay-light); }

.shop-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.shop-head > div { grid-column: 1 / 9; }
.shop-head .lead { margin-bottom: 0; }
@media (max-width: 900px) { .shop-head > div { grid-column: 1 / -1; } }

.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 8px; margin-bottom: clamp(40px, 6vw, 88px); border-block: 1px solid var(--line); }
.filters__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 30px; }
.chip {
  display: inline-flex; align-items: baseline; gap: 6px; min-height: 48px; padding: 14px 0 0;
  background: none; border: 0; cursor: pointer; color: var(--ink-2);
  font-family: var(--sans); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  position: relative;
}
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { color: var(--ink); }
.chip[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0.2em; bottom: 9px; height: 1px; background: var(--clay); }
.chip__count { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--clay-light); }
.filters__count { margin: 0; font-family: var(--serif); font-style: italic; color: var(--ink-3); font-size: 1.15rem; }
@media (max-width: 640px) {
  .filters__list { gap: 0 20px; }
  .chip { letter-spacing: 0.14em; }
}

/* ---------- product: an exhibit with the label beside it ---------- */

.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 104px); align-items: start; padding-top: 24px; padding-bottom: clamp(72px, 9vw, 140px); }
.product__media {
  margin: 0; position: sticky; top: 24px;
  container-type: inline-size; aspect-ratio: 6 / 7; overflow: hidden;
  background: var(--bg);
}
.product__media img { position: absolute; inset: 0; transition: opacity 0.25s ease; }
.product__media.is-swapping img { opacity: 0.15; }
.product__media figcaption {
  position: absolute; z-index: 2; left: 12cqi; right: 12cqi; bottom: 3cqi;
  display: grid; place-items: center; padding: 0; text-align: center;
  font-family: var(--sans); font-size: 0.7rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.55; color: var(--ink-3);
}

.loading-tile { aspect-ratio: 6 / 7; background: radial-gradient(ellipse 30% 70% at 50% -8%, rgb(var(--light) / 0.1), transparent 72%), var(--wall); }

.product__info { padding-top: clamp(0px, 3vw, 40px); }
.product__kind { font-family: var(--sans); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--clay-light); margin: 0 0 18px; }
.product h1 { font-size: clamp(3rem, 1.8rem + 4vw, 5.4rem); margin-bottom: 0.25em; }
.product__price {
  display: flex; align-items: baseline; gap: 12px; margin: 0 0 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line);
  font-family: var(--sans); font-size: 1.15rem; font-weight: 500; letter-spacing: 0.12em; color: var(--ink); font-variant-numeric: tabular-nums;
}
.product__price small { font-size: 0.7rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.product__desc { font-size: 1.4rem; line-height: 1.45; color: var(--ink); }

.glazes { border: 0; margin: 32px 0 0; padding: 0; min-width: 0; }
.glazes legend, .glazes .glazes__title { padding: 0; margin: 0 0 16px; font-family: var(--sans); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.glazes legend span, .glazes .glazes__title span { color: var(--ink); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.swatch label {
  display: grid; justify-items: center; gap: 8px; cursor: pointer; min-width: 64px; padding: 4px 0;
  font-family: var(--sans); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
}
.swatch__dot {
  width: 48px; height: 48px; border-radius: 50%;
  box-shadow: inset 0 -6px 10px rgb(0 0 0 / 0.35), inset 0 4px 8px rgb(255 255 255 / 0.18);
  outline: 1px solid var(--line); outline-offset: 4px;
  transition: outline-color 0.2s, outline-offset 0.2s;
}
.swatch label:hover .swatch__dot { outline-color: var(--ink-3); }
.swatch input:checked + label { color: var(--ink); }
.swatch input:checked + label .swatch__dot { outline: 1px solid var(--ink); outline-offset: 5px; }
.swatch input:focus-visible + label .swatch__dot { outline: 2px solid var(--clay-light); outline-offset: 5px; }
.glaze-text { margin: 16px 0 0; font-style: italic; color: var(--ink-2); font-size: 1.2rem; min-height: 1.5em; }

.buy { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.buy .button { flex: 1 1 200px; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--ink-3); }
.qty button {
  width: 48px; min-height: 50px; background: none; border: 0; color: var(--ink); cursor: pointer;
  font-family: var(--sans); font-size: 1.2rem;
}
.qty button:hover:not(:disabled) { color: var(--clay-light); }
.qty button:disabled { color: #6f6255; cursor: not-allowed; }
.qty input, .qty output {
  width: 48px; text-align: center; background: none; border: 0; color: var(--ink);
  font-family: var(--sans); font-size: 1.05rem; font-weight: 500; -moz-appearance: textfield; appearance: textfield;
  display: grid; place-items: center;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--small button { width: 44px; min-height: 44px; }
.qty--small output { width: 36px; }

.stock-note { margin: 16px 0 0; font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.04em; color: var(--clay-light); }
.stock-note--calm { color: var(--ok); }

.notice {
  margin: 18px 0 0; padding: 14px 18px; border-left: 2px solid var(--clay); background: var(--wall);
  font-family: var(--sans); font-size: 0.92rem; line-height: 1.55; color: var(--ink);
}
.notice[hidden] { display: none; }
.notice strong { font-weight: 500; }
.notice a { color: var(--clay-light); }
.notice--info { border-left-color: var(--ink-3); }

.specs { margin: 40px 0 0; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); padding-top: 4px; }
.specs dd { margin: 0; color: var(--ink); }

.product__story { margin-top: 40px; }
.product__story h2 { font-size: 2rem; font-style: italic; margin-bottom: 0.4em; }

.ship-note { display: flex; gap: 14px; align-items: flex-start; margin: 32px 0 0; font-family: var(--sans); font-size: 0.86rem; line-height: 1.6; color: var(--ink-2); }
.ship-note svg { flex: 0 0 26px; width: 26px; color: var(--clay); }

.related { padding-bottom: clamp(80px, 10vw, 150px); border-top: 1px solid var(--line-soft); padding-top: clamp(56px, 7vw, 104px); }
.related[hidden] { display: none; }

@media (max-width: 900px) {
  .product { grid-template-columns: minmax(0, 1fr); padding-top: 12px; }
  .product__media { position: relative; top: 0; }
}

/* ---------- cart ---------- */

.cart { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(32px, 5vw, 80px); align-items: start; padding-bottom: clamp(80px, 10vw, 140px); }
.cart__lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.line {
  display: grid; grid-template-columns: 120px minmax(0, 1fr) auto auto; gap: 8px 28px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.line__img {
  display: block; width: 120px; aspect-ratio: 1; position: relative; overflow: hidden;
  background: var(--bg);
}
.line__info { min-width: 0; }
.line__name { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.9rem; line-height: 1.1; color: var(--ink); text-decoration: none; }
.line__name:hover { color: var(--clay-light); }
.line__glaze { margin: 6px 0 0; font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.line__unit { margin: 2px 0 0; font-family: var(--sans); font-size: 0.82rem; color: var(--ink-3); }
.line__controls { display: flex; align-items: center; gap: 14px; }
.remove {
  min-height: 44px; padding: 0 2px; background: none; border: 0; cursor: pointer; color: var(--ink-2);
  font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 0.5em;
}
.remove:hover { color: var(--clay-light); text-decoration-color: var(--clay); }
.line__total { margin: 0; min-width: 6.5em; text-align: right; font-family: var(--sans); font-size: 1rem; font-weight: 500; letter-spacing: 0.08em; color: var(--ink); font-variant-numeric: tabular-nums; }

.summary { border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); background: var(--bg-deep); position: sticky; top: 24px; }
.summary h2 { font-style: italic; font-size: 2.2rem; margin-bottom: 0.6em; }
.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field > span { font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.select {
  appearance: none; -webkit-appearance: none; width: 100%; min-height: 48px; padding: 0 44px 0 14px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23c9bba8' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 16px center;
  border: 1px solid var(--ink-3); border-radius: 0; color: var(--ink);
  font-family: var(--serif); font-size: 1.2rem; font-weight: 500;
}
.summary__rows { margin: 0; border-top: 1px solid var(--line); }
.summary__rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary__rows dt { color: var(--ink-2); }
.summary__rows dd { margin: 0; font-family: var(--sans); font-size: 0.98rem; font-weight: 500; letter-spacing: 0.06em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary__total dt { font-style: italic; font-size: 1.6rem; color: var(--ink); }
.summary__total dd { font-size: 1.2rem; align-self: center; }
.summary__vat, .summary__free { margin: 12px 0 0; font-family: var(--sans); font-size: 0.82rem; color: var(--ink-3); }
.summary__free { color: var(--ok); }
.summary .button { margin-top: 24px; }
.pay-icons { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 18px; font-family: var(--sans); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.pay-icons span + span::before { content: "/"; margin: 0 10px; color: var(--line); }

.cart-empty { display: grid; justify-items: start; gap: 4px; max-width: 34em; padding-bottom: clamp(80px, 10vw, 140px); }
.cart-empty svg { width: 220px; margin-bottom: 20px; }
.cart-empty h2 { font-style: italic; }
.cart-empty .button { margin-top: 18px; }

@media (max-width: 960px) {
  .cart { grid-template-columns: minmax(0, 1fr); }
  .summary { position: relative; top: 0; }
}
@media (max-width: 640px) {
  .line { grid-template-columns: 88px minmax(0, 1fr); gap: 14px 18px; align-items: start; }
  .line__img { width: 88px; grid-row: 1 / 3; }
  .line__name { font-size: 1.6rem; }
  .line__controls { grid-column: 2; justify-content: space-between; flex-wrap: wrap; }
  .line__total { grid-column: 2; text-align: left; min-width: 0; }
}

/* ---------- about ---------- */

.about-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.about-intro > div { grid-column: 1 / 7; }
.about-intro .story__figure { grid-column: 7 / 13; }
@media (max-width: 900px) {
  .about-intro > div, .about-intro .story__figure { grid-column: 1 / -1; }
  .about-intro .story__figure { margin-top: 40px; }
}

.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.facts li { display: grid; align-content: start; gap: 10px; padding: clamp(28px, 4vw, 52px) clamp(14px, 2vw, 28px); }
.facts li:first-child { padding-left: 0; }
.facts li + li { border-left: 1px solid var(--line); }
.facts strong { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(3rem, 2rem + 3vw, 5.4rem); line-height: 0.9; color: var(--ink); white-space: nowrap; }
.facts span { font-family: var(--sans); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); line-height: 1.6; }
@media (max-width: 820px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 380px) {
  .facts strong { font-size: 2.6rem; }
}

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 64px; }
.split > :first-child { grid-column: 1 / 6; }
.split > :last-child { grid-column: 7 / 12; margin-top: clamp(0px, 9vw, 140px); }
.prose h2 { margin-bottom: 0.6em; }
.prose p { max-width: 34em; }
@media (max-width: 820px) {
  .split > :first-child, .split > :last-child { grid-column: 1 / -1; margin-top: 0; }
}

.visit-band { background: var(--bg-deep); border-block: 1px solid var(--line-soft); }
.visit-band .split > :last-child { grid-column: 7 / 13; margin-top: 0; }
@media (max-width: 820px) {
  .visit-band .split > :last-child { grid-column: 1 / -1; }
}
.address { font-style: normal; color: var(--ink); font-size: 1.4rem; line-height: 1.4; margin: 28px 0 32px; }
.hours { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.hours th, .hours td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hours th { width: 40%; padding-right: 20px; padding-top: 18px; font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.hours td { color: var(--ink); }
.hours tr.is-today th { color: var(--clay-light); }
.hours tr.is-today th::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); margin-right: 10px; vertical-align: 2px; }
@media (max-width: 520px) {
  .hours th, .hours td { display: block; width: auto; }
  .hours th { border-bottom: 0; padding-bottom: 2px; }
  .hours td { padding-top: 2px; }
}
.map { margin: 0; }
.map svg { display: block; width: 100%; }
.map figcaption { margin-top: 14px; font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.6; color: var(--ink-3); }

/* ---------- 404 ---------- */

.lost {
  display: grid; justify-items: center; text-align: center;
  padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(80px, 10vw, 140px);
  background: radial-gradient(ellipse 30% 46% at 50% 0, rgb(var(--light) / 0.12), transparent 72%);
}
.lost svg { width: min(380px, 90%); margin-bottom: 40px; }
.lost .lead { margin-inline: auto; }
.lost__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 18px; margin-top: 24px; }

/* ---------- footer ---------- */

.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line-soft); padding-top: clamp(56px, 7vw, 96px); font-size: 1.1rem; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); }
.site-footer .brand { margin-bottom: 16px; }
.site-footer h2 { font-family: var(--sans); font-size: 0.72rem; font-weight: 500; font-style: normal; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); margin: 10px 0 18px; }
.site-footer address { font-style: normal; color: var(--ink); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink); text-decoration: none; font-style: italic; }
.site-footer li a:hover { color: var(--clay-light); }
.site-footer__info li { padding: 4px 0; }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px 28px; border-top: 1px solid var(--line-soft);
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--ink-3);
}
.site-footer__base p { margin: 0; }
.site-footer__base a { color: var(--ink); }
@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* The name under the plinth is a link: give a thumb room to hit it. */
.exhibit-label__name { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 0; }
