/* Godrelle Crystal Vault: "Vault Dial". The page is the vault itself: a full-screen steel door whose combination dial spins and swings open, a side rail of numbered vault keys for navigation, a seamless wall of safe-deposit boxes for the products, a deposit slip for the cart and a ruled vault ledger for the footer. Ink line art on lilac paper, brushed steel, brass plates, warm lamp glow. */
:root {
  --paper: #f6f3fa;
  --paper-2: #fdfcff;
  --ink: #1d1b22;
  --ink-2: #2b2832;
  --wall: #24212a;
  --seam: #121116;
  --muted: #5e5a68;
  --on-dark: #e9e4f1;
  --on-dark-2: #b9b2c6;
  --steel: #c3c7ce;
  --brass: #c7a467;
  --brass-d: #8c6f3b;
  --glow: #ffe7b0;
  --plum: #6a5687;
  --line: rgba(29, 27, 34, .14);
  --line-strong: rgba(29, 27, 34, .32);
  --error: #a3261b;
  --rail: 92px;
  --display: 'Marcellus', Georgia, serif;
  --text: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --brushed: repeating-conic-gradient(from 0deg at 50% 50%, #d4d7dc 0deg 2deg, #c2c6cd 2deg 4deg);
  --steelwall: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 7px), linear-gradient(#2a2730, #1c1a21);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }
.visually-hidden { 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-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--glow); color: var(--ink); padding: .7rem 1rem; font-weight: 700; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; flex: none; }
[hidden] { display: none !important; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.06; }
h2 em { font-style: normal; color: var(--plum); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.5rem; background: var(--glow); color: var(--ink); border: 1px solid var(--glow); text-decoration: none; font: 500 .82rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: background-color .2s, color .2s; }
.btn:hover { background: #fff3d1; }
.btn--line { background: transparent; color: var(--on-dark); border-color: rgba(233, 228, 241, .45); }
.btn--line:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* Navigation: a rail of numbered vault keys (left on desktop, a bottom dock on phones). No filter or transform. */
.rail { position: fixed; z-index: 80; background: var(--seam); color: var(--on-dark); display: flex; }
.rail-brand .mark { width: 60px; height: auto; filter: invert(1) brightness(1.3); }
.nav-list { display: flex; }
.rail-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; text-decoration: none; background: none; border: 0; color: var(--on-dark-2); transition: color .2s, background-color .2s; }
.rail-link:hover { color: var(--glow); background: rgba(255, 255, 255, .04); }
.r-no { font: 500 1rem/1 var(--mono); color: var(--on-dark); }
.r-label { font: 500 .62rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.cart-btn .r-no { display: inline-grid; place-items: center; min-width: 34px; height: 34px; border-radius: 50%; background: var(--glow); color: var(--ink); }
.cart-btn.pop .r-no { animation: keyturn .6s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes keyturn { 40% { transform: rotate(-35deg) scale(1.1); } }
@media (min-width: 900px) {
  .rail { left: 0; top: 0; bottom: 0; width: var(--rail); flex-direction: column; align-items: stretch; padding: 1rem 0; border-right: 1px solid rgba(255, 255, 255, .08); }
  .rail-brand { display: grid; place-items: center; padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-list { flex-direction: column; margin-top: 1rem; }
  .rail-link { min-height: 74px; width: 100%; border-left: 3px solid transparent; }
  .rail-link:hover { border-left-color: var(--glow); }
  .cart-btn { margin-top: auto; min-height: 90px; }
  body { padding-left: var(--rail); }
}
@media (max-width: 899px) {
  .rail { left: 0; right: 0; bottom: 0; height: calc(66px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid rgba(255, 255, 255, .1); }
  .rail-brand { display: none; }
  .nav-list { flex: 1; }
  .nav-list li { flex: 1; }
  .rail-link { width: 100%; height: 66px; }
  .cart-btn { width: 70px; flex: none; border-left: 1px solid rgba(255, 255, 255, .1); }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}

/* 01 · The vault intro: full screen */
.intro { position: relative; min-height: 100svh; display: grid; align-items: center; gap: 2.5rem; padding: clamp(2rem, 5vw, 4rem) clamp(16px, 5vw, 64px); background: var(--steelwall); color: var(--on-dark); overflow: clip; }
.intro::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(transparent, rgba(0, 0, 0, .35)); pointer-events: none; }
.vault { position: relative; z-index: 1; justify-self: center; width: min(84vw, 560px); aspect-ratio: 1; perspective: 1500px; }
.vault-inside { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #3a3542; box-shadow: 0 0 0 10px #4a4652, 0 0 0 12px #121116, 0 40px 80px -30px rgba(0, 0, 0, .8); }
.vault-inside img { width: 100%; height: 100%; object-fit: cover; }
.vault-inside::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 70px rgba(0, 0, 0, .55); }
.vault-door { position: absolute; inset: 3%; border-radius: 50%; transform-origin: 0% 50%; transform-style: preserve-3d; transition: transform 1.7s cubic-bezier(.55, .05, .25, 1); z-index: 2; display: none; }
.vault.js .vault-door { display: block; }
.door-face { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .5), transparent 45%), var(--brushed); box-shadow: inset 0 0 0 10px #aeb3bb, inset 0 0 0 12px #8a8f98, inset 0 -18px 40px rgba(0, 0, 0, .25), 0 24px 50px -20px rgba(0, 0, 0, .7); }
.hinge { position: absolute; left: -3%; width: 9%; height: 13%; border-radius: 6px; background: linear-gradient(90deg, #8a8f98, #d4d7dc 50%, #8a8f98); box-shadow: 0 4px 10px rgba(0, 0, 0, .35); }
.h1 { top: 20%; } .h2 { bottom: 20%; }
.bolt { position: absolute; left: 50%; top: 50%; width: 9%; height: 4%; margin: -2% 0 0 -4.5%; border-radius: 3px; background: linear-gradient(#e9ebef, #9aa0a9); transform: rotate(var(--r)) translateX(520%); transition: transform .5s cubic-bezier(.5, 0, .3, 1); box-shadow: 0 2px 4px rgba(0, 0, 0, .3); }
.wheel { position: absolute; inset: 22%; border-radius: 50%; transition: transform 1.2s cubic-bezier(.5, 0, .3, 1); }
.spoke { position: absolute; left: 50%; top: 0; bottom: 0; width: 7%; margin-left: -3.5%; border-radius: 99px; background: linear-gradient(90deg, #8a8f98, #eceef1 50%, #8a8f98); transform: rotate(var(--r)); box-shadow: 0 4px 8px rgba(0, 0, 0, .3); }
.hub { position: absolute; inset: 38%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #f3f4f6, #8a8f98); box-shadow: 0 4px 10px rgba(0, 0, 0, .35); }
.dial { position: absolute; left: 50%; top: 9%; width: 30%; transform: translateX(-50%); }
.dial-svg { width: 100%; height: auto; }
.d-rim { fill: #2c2933; } .d-face { fill: #3a3642; }
.tk { stroke: #d8d2e4; stroke-width: 1.2; } .tk.b { stroke: var(--glow); stroke-width: 2.4; }
.d-nums text { font: 500 11px var(--mono); fill: #f3eefa; text-anchor: middle; }
.d-knob { fill: #57525f; } .d-knob2 { fill: #6b6575; stroke: #2c2933; stroke-width: 2; }
.d-mark { fill: var(--glow); }
.d-spin { transform-origin: 100px 100px; }
.vault.spinning .d-spin { animation: combo 1.6s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes combo { 0% { transform: rotate(0); } 40% { transform: rotate(252deg); } 70% { transform: rotate(108deg); } 100% { transform: rotate(324deg); } }
.vault.open .bolt { transform: rotate(var(--r)) translateX(390%); }
.vault.open .wheel { transform: rotate(-120deg); }
.vault.open .vault-door { transform: rotateY(-106deg); transition-delay: .55s; }

.nameplate { position: relative; z-index: 1; max-width: 33rem; }
.np-line { font: 500 .74rem/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.nameplate h1 { margin: 1rem 0 .6rem; display: flex; flex-direction: column; text-transform: uppercase; }
.nameplate h1 span:first-child { font-size: clamp(3rem, 7.5vw, 6rem); letter-spacing: .06em; line-height: .95; background: linear-gradient(180deg, #f1dfb4, var(--brass) 55%, var(--brass-d)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nameplate h1 span:last-child { font-size: clamp(1.1rem, 2.4vw, 1.6rem); letter-spacing: .5em; color: var(--on-dark); margin-top: .5rem; }
.np-tag { font: 400 clamp(1.4rem, 2.6vw, 1.9rem)/1.3 var(--display); color: var(--glow); }
.np-copy { margin-top: 1rem; color: var(--on-dark-2); }
.np-sulit { margin-top: .8rem; color: var(--on-dark); }
.np-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
@media (min-width: 1000px) {
  .intro { grid-template-columns: 1.15fr 1fr; padding-left: clamp(24px, 4vw, 64px); }
  .vault { width: min(78vh, 44vw, 680px); justify-self: start; }
}

/* A perforated deposit-slip strip of store facts */
.slip-strip { background: var(--paper-2); border-bottom: 1px dashed var(--line-strong); position: relative; }
.slip-strip::before { content: ''; position: absolute; left: 0; right: 0; top: -6px; height: 12px; background: radial-gradient(circle at 6px 6px, var(--paper-2) 4px, transparent 4.5px) 0 0 / 14px 12px repeat-x; }
.slip-strip dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 clamp(16px, 5vw, 64px); }
.slip-strip div { padding: 1rem .8rem 1.1rem 0; border-right: 1px dashed var(--line-strong); }
.slip-strip div:last-child { border-right: 0; }
.slip-strip dt { font: 500 .66rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }
.slip-strip dd { margin-top: .25rem; font-size: .96rem; }
@media (min-width: 800px) { .slip-strip dl { grid-template-columns: repeat(4, minmax(0, 1fr)); } .slip-strip div { padding-left: 1rem; } .slip-strip div:first-child { padding-left: 0; } }

/* 02 · The wall of safe-deposit boxes */
.boxes { background: var(--steelwall); color: var(--on-dark); padding: clamp(3.5rem, 8vw, 6rem) clamp(16px, 5vw, 64px) clamp(3rem, 7vw, 5rem); }
.boxes-head { display: grid; gap: 1rem; max-width: 1200px; margin-bottom: 1rem; }
.boxes-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--paper-2); }
.boxes-head h2 em { color: var(--glow); }
.boxes-head p { color: var(--on-dark-2); max-width: 40rem; }
@media (min-width: 900px) { .boxes-head { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 3rem; } }
.row { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.row-head { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: .3rem 1.2rem; padding-bottom: .9rem; margin-bottom: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.row-head .row-no { grid-row: span 2; font: 400 clamp(2.4rem, 5vw, 3.6rem)/.9 var(--display); color: var(--brass); }
.row-head h3 { font: 400 1.5rem/1.15 var(--display); color: var(--paper-2); }
.row-head div p { color: var(--on-dark-2); font-size: .95rem; }
.row-count { display: none; }
@media (min-width: 700px) { .row-head { grid-template-columns: auto 1fr auto; } .row-count { display: block; grid-row: span 2; font: 500 .74rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); } }
.wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; margin-top: 3px; background: var(--seam); padding: 3px; }
@media (min-width: 760px) { .wall { grid-template-columns: repeat(min(var(--n), 3), minmax(0, 1fr)); } }
@media (min-width: 1180px) { .wall { grid-template-columns: repeat(min(var(--n), 4), minmax(0, 1fr)); } }
.box { display: flex; flex-direction: column; background: linear-gradient(180deg, #3b3843, #2c2933); }
.box-door { position: relative; padding: 2.6rem .9rem .9rem; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 5px), linear-gradient(#4a4652, #36323d); border-bottom: 1px solid var(--seam); }
.plate { position: absolute; left: .9rem; top: .75rem; display: flex; align-items: baseline; gap: .4rem; padding: .25rem .55rem; background: linear-gradient(180deg, #e7cf9a, var(--brass)); color: #3a2c10; font: 500 .9rem/1 var(--mono); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 1px 2px rgba(0, 0, 0, .5); }
.plate span { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; }
.keyhole { position: absolute; right: 1rem; top: .85rem; width: 14px; height: 22px; }
.keyhole::before { content: ''; position: absolute; left: 2px; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--seam); box-shadow: 0 0 0 2px #6b6575; }
.keyhole::after { content: ''; position: absolute; left: 5px; top: 8px; width: 4px; height: 12px; background: var(--seam); }
.item-photo { position: relative; overflow: hidden; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4); }
.item-photo::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% -10%, rgba(255, 231, 176, .55), transparent 55%); mix-blend-mode: soft-light; opacity: .4; transition: opacity .4s; pointer-events: none; }
.box:hover .item-photo::after, .box.in-cart .item-photo::after { opacity: 1; }
.item-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: brightness(.86) saturate(.95); transition: filter .5s; }
.box:hover .item-photo img, .box.in-cart .item-photo img { filter: none; }
.box.in-cart .plate { background: linear-gradient(180deg, #fff3d1, var(--glow)); }
.item-body { display: flex; flex-direction: column; flex: 1; padding: .95rem .95rem 1.05rem; }
.item-body h4 { font: 400 1.12rem/1.25 var(--display); color: var(--paper-2); }
.item-desc { margin-top: .3rem; font-size: .9rem; line-height: 1.45; color: var(--on-dark-2); }
.buy { margin-top: auto; padding-top: .9rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.item-price, .price { font: 500 1.1rem/1 var(--mono); }
.box .item-price { color: var(--glow); }
.cur { font-family: var(--text); font-weight: 700; margin-right: .04em; }
.add-btn { min-height: 44px; padding: .5rem 1rem; background: transparent; color: var(--paper-2); border: 1px solid rgba(233, 228, 241, .5); font: 500 .78rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; transition: background-color .2s, color .2s; }
.add-btn:hover { background: var(--glow); color: var(--ink); border-color: var(--glow); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--glow); color: var(--paper-2); }
.stepper button, .qty button { display: grid; place-items: center; width: 42px; height: 42px; background: none; border: 0; }
.stepper button:hover { background: rgba(255, 231, 176, .14); }
.qty button:hover { background: rgba(29, 27, 34, .08); }
.stepper button:disabled, .qty button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 2ch; text-align: center; font: 500 1rem/1 var(--mono); }
.stock { margin-top: .5rem; font: 500 .72rem/1.3 var(--mono); letter-spacing: .06em; color: var(--on-dark-2); }
@media (max-width: 559px) {
  .box-door { padding: 2.4rem .55rem .55rem; }
  .plate { left: .55rem; }
  .keyhole { right: .7rem; }
  .item-body { padding: .8rem .65rem .9rem; }
  .item-body h4 { font-size: 1rem; }
  .item-desc { font-size: .84rem; }
  .buy { flex-direction: column; align-items: stretch; }
  .add-btn { width: 100%; }
  .stepper { justify-content: space-between; }
}

/* 03 · Story on a brass plaque beside a tall photo, flush to the edge */
.story { display: grid; background: var(--paper); }
.story-photo img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.plaque { position: relative; margin: clamp(1.5rem, 4vw, 3rem) clamp(16px, 5vw, 64px); padding: clamp(1.8rem, 4vw, 3rem); background: linear-gradient(160deg, #ead3a1, var(--brass) 55%, #b48f52); color: #2f2410; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), inset 0 0 0 7px rgba(140, 111, 59, .35), 0 20px 40px -24px rgba(0, 0, 0, .5); align-self: center; }
.plaque::before, .plaque::after { content: ''; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #f6e6bf, #7a5f2e); top: 14px; }
.plaque::before { left: 14px; } .plaque::after { right: 14px; }
.plaque-label { font: 500 .72rem/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.plaque h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: .6rem 0 1.1rem; color: #24190a; }
.plaque > p + p { margin-top: .8rem; }
.values { margin-top: 1.4rem; border-top: 1px solid rgba(47, 36, 16, .3); }
.values div { display: grid; grid-template-columns: minmax(0, 11rem) 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid rgba(47, 36, 16, .2); }
.values dt { font: 400 1.08rem/1.3 var(--display); }
.goal { margin-top: 1.3rem; font: 400 1.15rem/1.45 var(--display); }
.goal span { display: block; font: 500 .7rem/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; margin-bottom: .3rem; }
@media (max-width: 559px) { .values div { grid-template-columns: 1fr; gap: .1rem; } }
@media (min-width: 960px) { .story { grid-template-columns: 5fr 7fr; } .story-photo img { aspect-ratio: auto; min-height: 100%; } }

/* 04 · Notes left in the vault: overlapping paper slips with a received stamp */
.notes { padding: clamp(4rem, 8vw, 6rem) clamp(16px, 5vw, 64px); display: grid; gap: 2rem; }
.notes h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.note-stack { display: grid; gap: 1.4rem; }
.note { position: relative; padding: 1.6rem 1.5rem 1.4rem; background: var(--paper-2) repeating-linear-gradient(transparent 0 30px, rgba(106, 86, 135, .14) 30px 31px); border: 1px solid var(--line); box-shadow: 0 14px 28px -20px rgba(29, 27, 34, .5); }
.n1 { transform: rotate(-1.2deg); } .n2 { transform: rotate(.9deg); } .n3 { transform: rotate(-.5deg); }
.note blockquote p { font: 400 1.22rem/1.5 var(--display); }
.note figcaption { margin-top: 1rem; font: 500 .78rem/1.3 var(--mono); letter-spacing: .06em; color: var(--muted); }
.stamp { position: absolute; right: 14px; top: -14px; padding: .25rem .6rem; border: 2px solid var(--plum); color: var(--plum); font: 500 .7rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; background: var(--paper-2); transform: rotate(6deg); }
.notes-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 960px) {
  .notes { grid-template-columns: 1.1fr 1fr; align-items: start; column-gap: 4rem; }
  .notes h2 { grid-column: 1 / -1; }
  .note-stack { grid-template-columns: 1fr 1fr; }
  .n1 { grid-column: 1 / -1; width: 82%; }
  .n3 { margin-top: 2.2rem; }
  .notes-photo { position: sticky; top: 2rem; }
}

/* 05 · Vault rules (FAQ) as a ruled numbered list */
.rules { padding: clamp(3.5rem, 7vw, 5rem) clamp(16px, 5vw, 64px); background: var(--paper-2); border-top: 1px solid var(--line); display: grid; gap: 2rem; }
.rules h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.rule-list { counter-reset: rule; border-top: 1px solid var(--line-strong); }
.rule-list li { counter-increment: rule; border-bottom: 1px solid var(--line); }
.rule-list summary { display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; gap: .5rem; min-height: 60px; padding: 1rem 0; cursor: pointer; list-style: none; }
.rule-list summary::-webkit-details-marker { display: none; }
.rule-list summary::before { content: counter(rule, decimal-leading-zero); font: 500 .9rem/1 var(--mono); color: var(--plum); }
.rule-list summary::after { content: '+'; font: 500 1.2rem/1 var(--mono); color: var(--plum); transition: transform .25s; }
.rule-list details[open] summary::after { transform: rotate(45deg); }
.rq { font: 400 1.2rem/1.3 var(--display); }
.rule-list details p { padding: 0 2rem 1.2rem 3.5rem; color: var(--muted); }
.rules-photo { display: none; }
@media (min-width: 960px) { .rules { grid-template-columns: 1fr 1.6fr 1fr; align-items: start; } .rules-photo { display: block; } .rules-photo img { aspect-ratio: 2 / 3; object-fit: cover; } }

/* The vault ledger footer */
.ledger { background: var(--paper); padding: clamp(3rem, 6vw, 4.5rem) clamp(16px, 5vw, 64px) 2.2rem; border-top: 3px double var(--line-strong); }
.ledger-inner { max-width: 1100px; }
.ledger-head { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 1rem; margin-bottom: 1.6rem; }
.ledger-head .mark { grid-row: span 2; width: 70px; height: auto; }
.ledger-title { font: 400 1.8rem/1.1 var(--display); }
.ledger-sub { font: 500 .72rem/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--plum); }
.ledger-table { width: 100%; border-collapse: collapse; background: var(--paper-2) repeating-linear-gradient(transparent 0 37px, rgba(106, 86, 135, .08) 37px 38px); border: 1px solid var(--line-strong); }
.ledger-table th { width: 8.5rem; padding: .85rem 1rem; text-align: left; vertical-align: top; font: 500 .72rem/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--plum); border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.ledger-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.ledger-table a { text-underline-offset: 3px; font-weight: 500; }
.ledger-end { margin-top: 1.2rem; font: 500 .74rem/1.5 var(--mono); color: var(--muted); }
@media (max-width: 559px) { .ledger-table th { width: 5.6rem; padding: .8rem .6rem; font-size: .64rem; } .ledger-table td { padding: .8rem .7rem; font-size: .95rem; } }

/* Cart: the deposit slip */
.cart-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(18, 17, 22, .6); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-sidebar { position: fixed; top: 0; right: 0; bottom: 0; z-index: 160; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--paper-2) repeating-linear-gradient(transparent 0 33px, rgba(106, 86, 135, .1) 33px 34px); border-left: 1px dashed var(--line-strong); transform: translateX(100%); visibility: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility .35s; }
.cart-sidebar.open { transform: none; visibility: visible; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.3rem 1rem; border-bottom: 2px solid var(--ink); background: var(--paper-2); }
.cart-head h2 { font-size: 1.8rem; letter-spacing: .04em; text-transform: uppercase; }
.cart-close { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 1px solid var(--line-strong); }
.cart-items { flex: 1; overflow-y: auto; padding: .4rem 1.3rem; }
.cart-item { display: grid; grid-template-columns: 64px 1fr; gap: .9rem; padding: .9rem 0; border-bottom: 1px dashed var(--line-strong); }
.cart-item img { width: 64px; height: 64px; object-fit: cover; }
.cart-item h3 { font: 400 1.02rem/1.25 var(--display); }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; margin-top: .45rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); background: var(--paper-2); }
.qty button { width: 40px; height: 40px; }
.qty output { min-width: 2ch; text-align: center; font: 500 .95rem/1 var(--mono); }
.cart-item-sub { font: 500 1rem/1 var(--mono); }
.cart-remove { margin-top: .3rem; padding: .3rem 0; background: none; border: 0; font: 500 .74rem/1 var(--mono); color: var(--muted); text-decoration: underline; }
.cart-empty { padding: 3rem 0; text-align: center; }
.cart-empty p { font: 400 1.4rem/1.3 var(--display); margin-bottom: 1.2rem; }
.cart-empty .btn, .cart-foot .btn { background: var(--ink); color: var(--paper-2); border-color: var(--ink); }
.cart-foot { padding: 1rem 1.3rem 1.4rem; border-top: 2px solid var(--ink); background: var(--paper-2); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; font: 500 .78rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.cart-total .price { font-size: 1.4rem; letter-spacing: 0; }
.cart-foot .btn { width: 100%; }
.cart-foot p { margin-top: .8rem; font-size: .84rem; color: var(--muted); text-align: center; }

/* Sub-pages: a slim plain bar */
.slimbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem clamp(16px, 5vw, 64px); background: var(--seam); color: var(--on-dark); }
.slim-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font: 400 1.1rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.slim-brand .mark { width: 44px; height: auto; filter: invert(1) brightness(1.3); }
.slim-back { display: inline-flex; align-items: center; min-height: 44px; font: 500 .78rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--glow); }
@media (max-width: 480px) { .slim-brand span { display: none; } }
body:has(.slimbar) { padding-left: 0; padding-bottom: 0; }
.wrap { width: min(1180px, 100% - 2 * clamp(16px, 5vw, 64px)); margin-inline: auto; }

/* Order page */
.order-page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
.order-intro { max-width: 40rem; margin-bottom: 2.2rem; }
.order-intro h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); margin-bottom: .9rem; text-transform: uppercase; letter-spacing: .04em; }
.order-intro .lede { color: var(--muted); }
.order { display: grid; gap: 2rem; align-items: start; }
.order-form { background: var(--paper-2); border: 1px solid var(--line-strong); padding: 2rem clamp(1.1rem, 4vw, 2.2rem); }
.order-form h2, .summary h2 { font-size: 1.8rem; margin-bottom: 1.3rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 700; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .95rem; font: 400 1rem/1.4 var(--text); color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 0; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--plum); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field-hint { margin-top: .35rem; font-size: .84rem; color: var(--muted); }
.field-error { margin-top: .35rem; font-size: .88rem; font-weight: 700; color: var(--error); }
.field-error:empty { display: none; }
.order-submit { width: 100%; margin-top: .6rem; background: var(--ink); color: var(--paper-2); border-color: var(--ink); }
.summary { background: var(--steelwall); color: var(--on-dark); padding: 2rem clamp(1.1rem, 4vw, 2rem); }
.summary h2 { color: var(--paper-2); }
.summary table { width: 100%; border-collapse: collapse; }
.summary td { padding: .8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .14); vertical-align: top; }
.summary td small { display: block; margin-top: .2rem; color: var(--on-dark-2); font-size: .84rem; }
.summary td:last-child { text-align: right; font: 500 1rem/1.3 var(--mono); white-space: nowrap; padding-left: 1rem; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.2rem; }
.summary-total .price { font-size: 1.5rem; color: var(--glow); }
.summary-note { margin-top: 1.2rem; }
.summary-note a { color: var(--glow); text-underline-offset: 4px; }
.sent { max-width: 44rem; background: var(--paper-2); border: 1px solid var(--line-strong); padding: 2.4rem clamp(1.1rem, 4vw, 2.4rem); }
.sent h2 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); margin-bottom: 1rem; }
.sent .btn { background: var(--ink); color: var(--paper-2); border-color: var(--ink); }
.sent .btn--line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.sent-copy { margin-top: 2rem; }
.sent-copy pre { margin-top: 1rem; padding: 1rem; background: var(--paper); border: 1px solid var(--line); white-space: pre-wrap; overflow-wrap: anywhere; font-size: .86rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
@media (min-width: 900px) { .order { grid-template-columns: 1.4fr 1fr; gap: 3rem; } .summary { position: sticky; top: 24px; } }

/* Legal pages */
.legal-head { background: var(--steelwall); color: var(--on-dark); padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.4rem, 5vw, 3.5rem); }
.legal-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); text-transform: uppercase; letter-spacing: .04em; color: var(--brass); }
.legal-body { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.6rem; margin: 2.2rem 0 .7rem; }
.legal p + p { margin-top: .9rem; }
.legal ul, .legal ol { padding-left: 1.3rem; list-style: disc; margin-top: .6rem; }
.legal ol { list-style: decimal; }
.legal li + li { margin-top: .45rem; }
.legal a { color: var(--plum); text-underline-offset: 3px; overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
