/* Praxis Pages — built from the Practice Book Design System (v9):
   Geist for words, Geist Mono for anything counted; grayscale only.
   Ink #1C1C1A · Graphite #5F5F5A · Label #8C8C87 · Dot #A6A6A1 · Hairline #D9D9D4 · Paper #FFFFFF */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #FFFFFF;
  color: #1C1C1A;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: #1C1C1A; }
a:hover { color: #5F5F5A; }
img { max-width: 100%; }
figure { margin: 0; min-width: 0; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 720px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split > * { min-width: 0; }
.col { display: flex; flex-direction: column; min-width: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.grid-wide { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

.site-header { border-bottom: 1px solid #D9D9D4; }
.nav { max-width: 1200px; margin: 0 auto; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.wordmark { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; text-decoration: none; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.nav-links a { text-decoration: none; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #5F5F5A; }
.display { font-size: clamp(38px, 6vw, 56px); line-height: 1.02; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.title { font-size: clamp(34px, 5vw, 48px); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.lede { font-size: 20px; line-height: 1.55; color: #5F5F5A; max-width: 560px; }
.muted { color: #5F5F5A; }
.small { font-size: 15px; }
.mono { font-family: 'Geist Mono', monospace; }
.mono-label { font-family: 'Geist Mono', monospace; font-size: 14px; font-weight: 500; color: #5F5F5A; }

.band { border-top: 1px solid #D9D9D4; }
.band.dark { background: #1C1C1A; color: #FFFFFF; }
.band.dark a:not(.btn) { color: #FFFFFF; }
.band.dark a:not(.btn):hover { color: #D9D9D4; }
.dots { background-color: #FFFFFF; background-image: radial-gradient(circle, #D9D9D4 0.9px, transparent 1.25px); background-size: 18.9px 18.9px; }

.card { background: #FFFFFF; border: 1px solid #1C1C1A; border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.panel { border: 1px solid #1C1C1A; border-radius: 8px; overflow: hidden; display: flex; flex-wrap: wrap; }
.panel > img, .panel > figure { flex: 1 1 520px; min-width: 0; display: block; width: 100%; height: auto; }
.gallery { margin: 0; display: flex; flex-direction: column; }
.gallery-main { aspect-ratio: 3 / 2; background: #F2F2EF; display: flex; align-items: center; justify-content: center; }
.gallery-main img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; border-top: 1px solid #D9D9D4; }
.thumb { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px; min-height: 44px; background: #FFFFFF; border: 1px solid #D9D9D4; border-radius: 6px; cursor: pointer; font: 500 12px 'Geist Mono', monospace; color: #5F5F5A; }
.thumb img { display: block; width: 88px; height: 60px; object-fit: contain; background: #F2F2EF; border-radius: 3px; }
.thumb:hover { border-color: #5F5F5A; }
.thumb[aria-pressed="true"] { border-color: #1C1C1A; color: #1C1C1A; }
.thumb:focus-visible { outline: 2px solid #1C1C1A; outline-offset: 2px; }
.panel-body { flex: 1 1 360px; min-width: 0; padding: 32px; display: flex; flex-direction: column; gap: 12px; border-left: 1px solid #D9D9D4; }
.photo { display: block; width: 100%; height: auto; border-radius: 8px; }
.placeholder { border: 1px dashed #A6A6A1; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; font-family: 'Geist Mono', monospace; font-size: 14px; color: #5F5F5A; }

.buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 8px; background: #1C1C1A; color: #FFFFFF; font-weight: 600; text-decoration: none; border: 1px solid #1C1C1A; }
.btn:hover { background: #5F5F5A; border-color: #5F5F5A; color: #FFFFFF; }
.btn-outline { background: #FFFFFF; color: #1C1C1A; }
.btn-outline:hover { background: #FFFFFF; color: #5F5F5A; border-color: #5F5F5A; }
.btn-light { background: #FFFFFF; color: #1C1C1A; border-color: #FFFFFF; }
.btn-light:hover { background: #D9D9D4; border-color: #D9D9D4; color: #1C1C1A; }
.btn-disabled, .btn-disabled:hover { background: #D9D9D4; border-color: #D9D9D4; color: #8A8A85; cursor: not-allowed; }
.buy-soon { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.soon { font-size: 13px; color: #5F5F5A; }
.buy-soon-start { align-items: flex-start; }

.price { font-family: 'Geist Mono', monospace; font-size: 22px; font-weight: 500; }
.price-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; border-top: 1px solid #D9D9D4; padding-top: 20px; }
.buy-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.section-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between; border-bottom: 1px solid #1C1C1A; padding-bottom: 12px; }

.site-footer { border-top: 1px solid #D9D9D4; }
.footer-row { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; font-size: 14px; color: #5F5F5A; }
.footer-mark { font-weight: 600; letter-spacing: -0.03em; color: #1C1C1A; }

@media (max-width: 640px) {
  .panel-body { border-left: 0; border-top: 1px solid #D9D9D4; }
}
