/* 2026-12-01: the site around the store: header, footer, home page, gallery, text pages, account. Loaded after pm-shop.css. */
main { max-width: none; margin: 0; padding: 0; }
main.wrap { max-width: 1060px; margin: 0 auto; padding: 34px 22px 70px; min-height: 55vh; }
.skip { position: absolute; left: -999px; top: 0; background: var(--brass); color: #1d130b; padding: 8px 14px; z-index: 9; }
.skip:focus { left: 8px; top: 8px; }
.bar { padding: 12px 28px; }
.bar nav { align-items: center; gap: 24px; }
.bar nav a { color: var(--ivory); text-decoration: none; }
.bar nav a:hover { color: var(--brass); text-decoration: underline; text-underline-offset: 4px; }
.bar nav .go { color: #1d130b; padding: 8px 18px; }
.bar nav .go:hover { color: #1d130b; text-decoration: none; background: #e0c178; }
.menu { display: none; background: none; border: 1px solid var(--line); border-radius: 4px; padding: 5px 14px; cursor: pointer; }

/* the hero: the lamp over the table */
.hero { background: radial-gradient(ellipse 62% 78% at 50% 46%, #4f6159 0, var(--wood) 55%, #090e0c 100%); padding: 26px 28px 30px; display: grid; justify-items: center; gap: 8px; }
.hero-say { text-align: center; }
.hero h1 { font-size: clamp(32px, 4.5vw, 58px); line-height: 1.08; margin: 0 auto 6px; text-wrap: balance; }
.hero-say p { font-size: 20px; max-width: 72ch; margin: 0 auto; color: #e3e8df; text-wrap: balance; }
.hero-mat { width: min(1160px, 100%); height: min(44vh, 540px); min-height: 220px; }
.hero-mat svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hero-mat .shadow { filter: drop-shadow(0 1.3px 1.6px rgba(0, 0, 0, .65)); }
.hero-tools { display: flex; flex-wrap: wrap; align-items: end; justify-content: center; gap: 10px 26px; max-width: 1160px; }
.hero-tools fieldset { border: 0; margin: 0; padding: 0; }
.hero-tools legend { padding: 0 0 4px; }
.seg { display: flex; }
.seg label { cursor: pointer; }
.seg input, .swatches input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; padding: 9px 16px; background: rgba(13, 26, 20, .78); border: 1px solid #51685a; border-left-width: 0; }
.seg label:first-of-type span { border-left-width: 1px; border-radius: 4px 0 0 4px; }
.seg label:last-of-type span { border-radius: 0 4px 4px 0; }
.seg :checked + span { background: var(--brass); color: #1d130b; border-color: var(--brass); }
.num { display: flex; flex-direction: column; gap: 4px; }
.hero-note { margin: 0; max-width: none; text-align: center; color: #b9c4bb; font-size: 16px; }
.num input, .num select { height: 46px; }
.num input { width: 110px; }
.num.grp input { width: 250px; }
.num select { width: 100%; }
.swatches { display: flex; flex-wrap: wrap; }
.swatches label { cursor: pointer; padding: 3px; }
.swatches span { display: block; width: 36px; height: 36px; border-radius: 50%; border: 3px solid; }
.swatches em { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.swatches :checked + span { box-shadow: 0 0 0 3px var(--ivory); }
.seg :focus-visible + span, .swatches :focus-visible + span { outline: 2px solid var(--ivory); outline-offset: 4px; }
.hero-buy { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 24px; }
.hero-buy p { margin: 0; }
.hero-buy .err { flex-basis: 100%; text-align: center; max-width: none; color: #ffc0b0; }
.hero-buy b { font: 34px/1.1 Marcellus, Georgia, serif; color: var(--brass); margin-right: 6px; }
.hero-buy .go { font-size: 20px; padding: 12px 34px; }
.go:hover { background: #e0c178; }

.band { padding: 70px max(28px, calc((100vw - 1060px) / 2)); }
.band.dark { background: var(--rail); }
.band h2 { font-size: 34px; color: var(--ivory); margin-bottom: 22px; text-wrap: balance; }
.band-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.steps svg { width: 200px; max-width: 100%; display: block; margin-bottom: 12px; fill: none; }
.steps .t { fill: #17694a; stroke: var(--brass); stroke-width: 2; }
.steps .d { stroke: var(--ivory); stroke-width: 1.5; }
.steps .p { fill: #8a2032; stroke: var(--ivory); stroke-width: 1.5; stroke-dasharray: 5 4; }
.steps .h { fill: var(--ivory); }
.steps h3 { font: 24px/1.25 Marcellus, Georgia, serif; margin: 0 0 6px; color: var(--brass); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 30px 26px; }
.cards a { text-decoration: none; color: var(--ivory); display: block; }
.cards .pic { height: 200px; padding: 18px; margin-bottom: 8px; }
.cards .pic svg { height: 100%; max-height: none; }
.cards b { font: 21px/1.3 Marcellus, Georgia, serif; }
.cards a:hover b { color: var(--brass); text-decoration: underline; text-underline-offset: 4px; }
.cards small { display: block; font-size: 17px; color: var(--dim); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.plain { margin: 0; padding: 0 0 0 20px; }
.plain li { margin-bottom: 12px; }
.prices { width: 100%; border-collapse: collapse; }
.prices th { text-align: left; font-weight: 500; color: var(--dim); }
.prices th, .prices td { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); }
.prices th:last-child, .prices td:last-child { text-align: right; padding-right: 0; }
.close { text-align: center; }
.close p { margin: 0 auto 20px; }

.text { max-width: 70ch; }
.text h2 { margin: 34px 0 8px; font-size: 25px; }
.text ul { padding-left: 22px; margin: 0 0 12px; }
.text li { margin-bottom: 6px; }
.measure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 10px 0 30px; }
.measure svg { width: 100%; max-width: 260px; display: block; fill: none; }
.measure .t { fill: #17694a; stroke: var(--brass); stroke-width: 2; }
.measure .d { stroke: var(--ivory); stroke-width: 1.5; }
.measure text { fill: var(--ivory); font: 13px 'Alegreya Sans', sans-serif; text-anchor: middle; }
.narrow { max-width: 560px; }
.ok { color: #8fd6a4; }
.hp { position: absolute; left: -5000px; }
.list { list-style: none; margin: 0 0 40px; padding: 0; }
.list li { border-bottom: 1px solid var(--line); padding: 12px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; }

.foot { background: var(--rail); border-top: 6px solid #1f3028; padding: 44px max(28px, calc((100vw - 1060px) / 2)) 54px; display: grid; grid-template-columns: 1.6fr 1fr 1fr .8fr; gap: 34px; font-size: 17px; }
.foot p { color: var(--dim); }
.foot .foot-name { font: 22px/1.2 Marcellus, Georgia, serif; color: var(--brass); }
.foot nav { display: flex; flex-direction: column; gap: 7px; }
.foot a { color: var(--ivory); text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1020px) {
	.menu { display: block; }
	.bar nav { display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 12px; padding: 12px 0 8px; }
	.bar nav.open { display: flex; }
}
@media (max-width: 860px) {
	main.wrap { padding: 24px 16px 50px; }
	.bar { padding: 10px 16px; }
	.hero { padding: 26px 16px; }
	.hero-mat { height: 34vh; min-height: 190px; }
	.hero-tools { gap: 14px 16px; }
	.band { padding: 46px 16px; }
	.band h2 { font-size: 28px; }
	.steps, .two, .measure { grid-template-columns: minmax(0, 1fr); gap: 34px; }
	.foot { grid-template-columns: 1fr 1fr; padding: 34px 16px 44px; }
	.foot > div { grid-column: 1 / -1; }
}
