/* Marmo 3D — madebymarmo.com
   Palette from the Marmo 3D coin logo and shop banner.
   Fonts: Marcellus and Alegreya Sans, SIL Open Font License (see /assets/fonts). */
@font-face { font-family: "Marcellus"; src: url("/assets/fonts/marcellus-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("/assets/fonts/alegreya-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("/assets/fonts/alegreya-sans-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("/assets/fonts/alegreya-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  --black: #000000;
  --marble: #ece5d8;
  --vein: #9b948a;
  --bronze: #b5793f;
  --bronze-hi: #dda569;
  --bronze-deep: #4a2f17;
  --display: "Marcellus", "Trajan Pro", Georgia, serif;
  --text: "Alegreya Sans", "Gill Sans", "Segoe UI", sans-serif;
  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--marble);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--bronze-hi); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--marble); }
:focus-visible { outline: 2px solid var(--bronze-hi); outline-offset: 3px; }
.visually-hidden {
  position: absolute; 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: -999px; top: 0; background: var(--marble); color: #000; padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.05rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.44rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; max-width: var(--measure); }

.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Header */
.site-header { border-bottom: 1px solid rgba(181, 121, 63, .28); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: .85rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--marble); text-decoration: none; font-family: var(--display); font-size: 1.4rem; letter-spacing: .04em; }
.brand img { width: 44px; height: 44px; }
.brand:hover { color: var(--bronze-hi); }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.6rem; margin: 0; padding: 0; }
.site-nav a { color: var(--marble); text-decoration: none; font-size: 1.05rem; padding-block: .3rem; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--bronze-hi); border-bottom-color: var(--bronze); }

@media (max-width: 480px) {
  .site-nav ul { gap: .2rem 1.05rem; }
  .site-nav a { font-size: 1rem; }
}

/* Hero: the shop banner itself */
.hero { position: relative; background: #000; }
.hero img { width: 100%; aspect-ratio: 2149 / 732; object-fit: cover; object-position: 52% 50%; }
@media (prefers-reduced-motion: no-preference) {
  .hero img { animation: unveil 1.4s ease-out both; }
  @keyframes unveil { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: none; } }
}
@media (max-width: 720px) {
  .hero img { aspect-ratio: 1.3 / 1; }
}

.intro { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem); }
.intro p.lede { font-family: var(--display); font-size: clamp(1.45rem, 3vw, 1.95rem); line-height: 1.35; color: var(--marble); max-width: 30ch; }
.intro p { color: var(--vein); }

section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section-head { margin-bottom: clamp(1.5rem, 4vw, 2.75rem); }
.section-head p { color: var(--vein); }

/* Exhibits */
.exhibit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.exhibit + .exhibit { margin-top: clamp(3rem, 8vw, 6rem); }
.exhibit:nth-of-type(even) .exhibit-photo { order: 2; }
.exhibit-photo { display: block; border: 1px solid rgba(181, 121, 63, .3); background: #0d0d0d; }
.exhibit-photo img { width: 100%; }
.exhibit-body p { color: var(--vein); }
@media (max-width: 820px) {
  .exhibit { grid-template-columns: 1fr; }
  .exhibit:nth-of-type(even) .exhibit-photo { order: 0; }
}

/* The bronze museum plaque */
.plaque {
  position: relative;
  margin: 0 0 1.4rem;
  padding: 1.1rem 1.7rem 1.15rem;
  max-width: 26rem;
  background: linear-gradient(155deg, #2e1d0e 0%, #6a4421 42%, #8a5a2c 55%, #3a2513 100%);
  border: 1px solid var(--bronze-hi);
  box-shadow: inset 0 0 0 4px rgba(0, 0, 0, .35), inset 0 0 0 5px rgba(221, 165, 105, .45), 0 10px 30px rgba(0, 0, 0, .6);
  color: #f6eee0;
}
.plaque::before, .plaque::after {
  content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f3d3a6, #7a4d23 70%);
}
.plaque::before { left: 9px; }
.plaque::after { right: 9px; }
.plaque h3, .plaque h1 { font-size: 1.55rem; margin: 0 0 .3rem; color: #fbf4e7; text-shadow: 0 1px 0 rgba(0, 0, 0, .55); }
.plaque h1 { font-size: clamp(1.7rem, 3.5vw, 2.1rem); }
.plaque dl { margin: 0; display: grid; gap: .1rem; font-size: 1rem; line-height: 1.45; }
.plaque dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.plaque dd { margin: 0; color: #eadcc6; }
.plaque .price { margin-top: .55rem; font-family: var(--display); font-size: 1.35rem; color: #fff7ea; }
.plaque .price small { font-family: var(--text); font-size: .95rem; color: #eadcc6; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; margin: 0 0 1rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .7rem 1.6rem;
  background: var(--bronze); color: #000; text-decoration: none;
  font-family: var(--text); font-size: 1.1rem; font-weight: 700; letter-spacing: .01em;
  border: 1px solid var(--bronze-hi); border-radius: 2px;
}
.button:hover { background: var(--bronze-hi); color: #000; }
.link-quiet { color: var(--marble); }
.note { font-size: .98rem; color: var(--vein); }
.note a { color: var(--bronze-hi); }

/* Studio list */
.studio-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 3rem; }
.studio-list li { padding-block: 1.1rem 1.2rem; border-top: 1px solid rgba(181, 121, 63, .3); }
.studio-list h3 { font-size: 1.35rem; margin-bottom: .2rem; }
.studio-list p { margin: 0; color: var(--vein); font-size: 1.02rem; }

/* Process: a real sequence */
.process { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 2rem 2.5rem; }
.process li { counter-increment: step; }
.process li::before { content: counter(step); display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--bronze); margin-bottom: .6rem; }
.process h3 { font-size: 1.3rem; }
.process p { color: var(--vein); font-size: 1.02rem; }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.about img { width: min(320px, 100%); justify-self: center; }
.about p { color: var(--vein); }
.about p:first-of-type { color: var(--marble); }
@media (max-width: 720px) { .about { grid-template-columns: 1fr; } .about img { width: 200px; } }

/* Product page */
.crumbs { padding-block: 1.5rem 0; font-size: 1rem; color: var(--vein); }
.crumbs a { color: var(--vein); }
.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); padding-block: 1.5rem clamp(3rem, 7vw, 5rem); align-items: start; }
.gallery-main { border: 1px solid rgba(181, 121, 63, .3); background: #0d0d0d; }
.gallery-main img { width: 100%; }
.thumbs { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .6rem; }
.thumbs button { display: block; width: 100%; padding: 0; border: 1px solid rgba(181, 121, 63, .3); background: #0d0d0d; cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--bronze-hi); box-shadow: 0 0 0 1px var(--bronze-hi); }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-info p { color: var(--vein); }
.product-info h2 { font-size: 1.5rem; margin-top: 2rem; }
.specs { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.2rem; font-size: 1.02rem; }
.specs dt { color: var(--marble); }
.specs dd { margin: 0; color: var(--vein); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }

/* Policy page */
.prose { padding-block: 2rem clamp(3rem, 7vw, 5rem); }
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.prose p, .prose li { color: var(--vein); max-width: var(--measure); }
.prose ul { padding-left: 1.2rem; }

/* Footer */
.site-footer { border-top: 1px solid rgba(181, 121, 63, .28); padding-block: 2.5rem 3rem; font-size: 1rem; color: var(--vein); }
.site-footer .wrap { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem 2rem; align-items: start; }
.site-footer img { width: 64px; height: 64px; }
.site-footer p { margin: 0 0 .4rem; max-width: none; }
.site-footer a { color: var(--marble); }
