/* Proud Thai Massage — business-card print framework (shared by all drafts).
   Card = 90 × 55 mm trim + 3 mm bleed = 96 × 61 mm. Safe area = 4 mm inside trim
   (7 mm from the bleed edge) → usable 82 × 47 mm. All card content is placed in mm
   on the 96 × 61 bleed canvas (x 0–96, y 0–61; trim x 3–93, y 3–58; safe x 7–89, y 7–54).
   Proof mode (default): front + back side by side, crop marks, bleed zone dimmed.
   ?guides=1 → also show trim (dashed) + safe area (dotted).
   ?print=1  → one card side per 96 × 61 mm page, no marks (for the print PDF). */

:root {
  --cream: #FDFBF7; --cream2: #FAF6EE; --sand: #F3EDE2; --band: #EAE2D5; --band-b: #D9CEBE;
  --ink: #241F1A; --muted: #6E6459; --muted2: #7D7366;
  --gold: #B8934A; --dgold: #8C6D2D; --dot: #C9B48A; --hair: #D8CDBB;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
html, body { background: #E6E0D6; }
body { font-family: 'Montserrat', sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; }

/* ---------- proof sheet ---------- */
.sheet { zoom: 2.5; width: 248mm; height: 102mm; padding: 7mm 9mm 0; }
.sheet > header { display: flex; justify-content: space-between; align-items: baseline; height: 6mm;
  font-family: 'Cinzel', serif; font-size: 7.5pt; letter-spacing: .18em; color: var(--dgold); text-transform: uppercase; }
.sheet > header small { font-family: 'Montserrat', sans-serif; font-size: 5.5pt; letter-spacing: .06em; color: var(--muted); text-transform: none; }
.sides { display: flex; gap: 14mm; }
.side figcaption { height: 5mm; font-size: 5.5pt; letter-spacing: .24em; color: var(--muted); text-transform: uppercase; padding-left: 6mm; }
.mount { position: relative; width: 108mm; height: 73mm; padding: 6mm; }
.mount .card { box-shadow: 0 .6mm 2.4mm rgba(53,34,19,.18); }
.marks i { position: absolute; background: #1a1a1a; }
.marks .v { width: .15mm; height: 5mm; }
.marks .h { height: .15mm; width: 5mm; }
.sheet > footer { margin-top: 3mm; font-size: 5pt; color: var(--muted); letter-spacing: .04em; }

/* ---------- the card canvas ---------- */
.card { position: relative; width: 96mm; height: 61mm; overflow: hidden; background: var(--cream); }
.card .x { position: absolute; }           /* every block is absolutely placed in mm */
.bleedshade { position: absolute; inset: 0; pointer-events: none; z-index: 99;
  box-shadow: inset 0 0 0 3mm rgba(230,224,214,.62); }
.guide { position: absolute; z-index: 100; pointer-events: none; display: none; }
.guide.trim { inset: 3mm; outline: .12mm dashed rgba(200,0,110,.75); }
.guide.safe { inset: 7mm; outline: .12mm dotted rgba(0,140,200,.9); }
body.guides .guide { display: block; }

/* ---------- print mode ---------- */
@page { size: 96mm 61mm; margin: 0; }
body.print { background: none; }
body.print .sheet { zoom: 1; width: auto; height: auto; padding: 0; }
body.print .sheet > header, body.print .sheet > footer, body.print figcaption,
body.print .marks, body.print .bleedshade, body.print .guide { display: none !important; }
body.print .sides { display: block; }
body.print .mount { width: 96mm; height: 61mm; padding: 0; }
body.print .mount .card { box-shadow: none; }
body.print .side { break-after: page; }
body.print .side:last-child { break-after: auto; }

/* ---------- brand pieces (code-built logo, same as the menus) ---------- */
.lotus { display: block; height: auto; }
.wm { font-family: 'Cinzel Decorative', Georgia, serif; font-weight: 400; letter-spacing: .05em; padding-left: .05em; line-height: 1; }
.sub { font-family: 'Cinzel', serif; font-weight: 500; letter-spacing: .42em; padding-left: .42em; color: var(--gold); text-transform: uppercase; line-height: 1; white-space: nowrap; }
.est { display: flex; align-items: center; justify-content: center; gap: 1.6mm; font-family: 'Cinzel', serif; font-weight: 600;
  letter-spacing: .32em; color: var(--dgold); line-height: 1; white-space: nowrap; }
.est .ln { display: inline-block; height: .2mm; background: var(--gold); opacity: .7; }
.est .dm { color: var(--gold); font-size: .62em; letter-spacing: 0; }
.est b { font-weight: 600; padding-left: .32em; }
.th { font-family: 'Noto Sans Thai', sans-serif; color: var(--dgold); font-weight: 500; }
.ed { font-family: 'Cormorant Garamond', serif; }
.cz { font-family: 'Cinzel', serif; }
.divider { display: flex; align-items: center; gap: 1.8mm; color: var(--gold); }
.divider .ln { flex: 1; height: .2mm; background: var(--gold); opacity: .55; }
.divider .dm { font-size: 4pt; line-height: 1; }
.qr { display: block; width: 100%; height: auto; }
.num { font-feature-settings: 'tnum' on, 'lnum' on; }
