/* HONEYFIELD — butter and chocolate (STATIONERY_BRIEF.md §2.3, §3). Owner: STAT-ART-A.
   Butter stock, chocolate ink, a scalloped die-cut edge (6 mm half-circles) on the invitation, menu and place card, and
   a 0.5 pt chocolate rule that follows a scallop 5 mm inside the edge. Fraunces SemiBold names (SOFT 100, WONK 1, high
   optical size), Fraunces Italic sentences, DM Sans capitals +120 for small lines. Display factor 1.25. Centred. */
:root { --f-fr: 'Fraunces', serif; --f-sn: 'DM Sans', sans-serif; }
.face { color: var(--ink); font-family: var(--f-fr); font-weight: 400; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.rule-svg, .stripe-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rule-svg path { fill: none; stroke: var(--ink); stroke-width: 0.1764; } /* 0.5 pt */
.stripe-svg path { fill: var(--ink); }
.safe { display: flex; flex-direction: column; align-items: center; justify-content: safe center; text-align: center; }
.safe > * { margin: 0; max-width: 100%; }
.nm { font-family: var(--f-fr); font-weight: 600; font-style: normal; font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144; line-height: 1.08; letter-spacing: -0.005em; }
.it { font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 14; }
.sn { font-family: var(--f-sn); font-weight: 400; text-transform: uppercase; letter-spacing: 0.12em; font-style: normal; font-variation-settings: 'opsz' 9; }
.amp { display: block; font-style: italic; font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 72; }
.v3 { display: block; }

/* 1 invitation 148 x 210 (Dock A5; artwork x 148/127), margin 16.3 — names 28 x 1.25 = 35 pt */
.p-invitation .safe { inset: 16.3mm; }
.p-invitation .host { font-size: 8.7pt; line-height: 12.8pt; margin-bottom: 7mm; }
.p-invitation .nm { font-size: 35pt; line-height: 37.3pt; }
.p-invitation .amp { font-size: 21pt; line-height: 28pt; }
.p-invitation .request { font-size: 12.2pt; line-height: 18.1pt; margin-top: 7mm; max-width: 83.9mm; }
.p-invitation .when { font-size: 8.7pt; line-height: 15.1pt; margin-top: 5.8mm; }
.p-invitation .where { font-size: 8.7pt; line-height: 15.1pt; margin-top: 4.7mm; }
.p-invitation .follows { font-size: 12.2pt; line-height: 18.1pt; margin-top: 5.8mm; max-width: 81.6mm; }
.p-invitation .dress { font-size: 9.3pt; line-height: 12.8pt; margin-top: 4.7mm; }

/* 2 save the date 105 x 148, margin 11 */
.p-save-the-date .safe { inset: 11mm; }
.p-save-the-date .sn.top { font-size:7.5pt; margin-bottom: 7mm; }
.p-save-the-date .nm { font-size: 23.75pt; line-height: 26pt; }
.p-save-the-date .amp { font-size: 15pt; line-height: 20pt; }
.p-save-the-date .when { font-size: 10pt; line-height: 14.5pt; margin-top: 7mm; }
.p-save-the-date .fine { font-size: 7.5pt; line-height: 11pt; margin-top: 6mm; }

/* 3 reply card 148 x 105, margin 11 */
.p-rsvp .safe { inset: 11mm 50mm 11mm 16mm; }
.p-rsvp .head { font-size: 16.25pt; line-height: 20pt; }
.p-rsvp .by { font-size: 9.5pt; line-height: 14pt; margin-top: 2mm; }
.p-rsvp .sn { font-size:7.5pt; line-height: 10pt; margin-top: 5mm; }
.p-rsvp .qrcol { position: absolute; right: 11mm; top: 11mm; bottom: 11mm; width: 37mm; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.p-rsvp .qrbox { width: 24mm; height: 24mm; padding: 3mm; }
.p-rsvp .url { font-size:7.5pt; line-height: 9.5pt; white-space: nowrap; }

/* 4 order of the day 148 x 210, margin 16 */
.p-order-of-the-day .safe { inset: 16mm; }
.p-order-of-the-day .head { font-size: 25pt; line-height: 29pt; }
.p-order-of-the-day .sub { font-size:7.5pt; margin: 3mm 0 12mm; }
.p-order-of-the-day .rows { display: grid; grid-template-columns: 22mm auto; column-gap: 5mm; text-align: left; align-items: baseline; }
.p-order-of-the-day .t { font-family: var(--f-sn); font-size: 8.5pt; letter-spacing: 0.12em; text-align: right; line-height: 26pt; }
.p-order-of-the-day .e { font-size: 13pt; line-height: 26pt; }

/* 5 menu 96 x 210 scalloped, margin 12 */
.p-menu .safe { inset: 12mm; }
.p-menu .head { font-size: 18.75pt; line-height: 22pt; margin-bottom: 8mm; }
.p-menu .course { margin-bottom: 7mm; }
.p-menu .course .sn { display: block; font-size:7.5pt; margin-bottom: 1.6mm; }
.p-menu .course .dish { display: block; font-size: 10.5pt; line-height: 14.5pt; max-width: 60mm; margin: 0 auto; }
.p-menu .course .mk { font-family: var(--f-sn); font-style: normal; font-size:7.5pt; margin-left: 1.2mm; }
.p-menu .key { font-size:7.5pt; line-height: 9.5pt; }
.p-menu .foot { font-size:7.5pt; margin-top: 7mm; }

/* 6 place card 110 x 170 flat, scored at 85 (Dock folded 110 x 85; x 110/90) — front = lower panel */
.p-place-card .front { position: absolute; left: 8.6mm; right: 8.6mm; top: calc(85mm + 8.6mm); bottom: 8.6mm; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.p-place-card .nm-guest { font-family: var(--f-fr); font-weight: 600; font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 72; font-size: 22.9pt; line-height: 25.7pt; }
.p-place-card .sn { font-size: 7.9pt; line-height: 10.4pt; margin-top: 2.2mm; }

/* 7 table name 148 x 210 (Dock A5; artwork x 148/127), margin 16.3; the back is striped round a plain panel so it still reads */
.p-table-name .safe { inset: 16.3mm; }
.p-table-name .sn { font-size: 9.3pt; }
.p-table-name .tn { font-size: 58.3pt; line-height: 60.6pt; margin: 3.5mm 0 5.8mm; }
.p-table-name .fine { font-size: 8.2pt; line-height: 11.1pt; }
.p-table-name .back .safe { inset: 58.3mm 25.6mm; }

/* 8 table plan 420 x 594, margin 30 */
.p-table-plan .safe { inset: 30mm; justify-content: flex-start; }
.p-table-plan .head { font-size: 67.5pt; line-height: 72pt; padding-top: 8mm; }
.p-table-plan .date { font-size: 16pt; line-height: 22pt; margin-top: 3mm; }
.p-table-plan .grid { margin: auto 0; display: grid; grid-template-columns: repeat(5, 1fr); column-gap: 8mm; row-gap: 22pt; width: 100%; align-items: start; }
.p-table-plan .tb .sn { display: block; font-size: 13pt; line-height: 22pt; }
.p-table-plan .tb .g { display: block; font-size: 15pt; line-height: 22pt; white-space: nowrap; }
.p-table-plan .foot { font-size: 16pt; line-height: 20pt; padding-bottom: 6mm; }

/* 9 thank-you 210 x 148 flat, folded at 105 */
.p-thank-you .panel { position: absolute; top: 0; bottom: 0; width: 105mm; }
.p-thank-you .panel.l { left: 0; } .p-thank-you .panel.r { left: 105mm; }
.p-thank-you .panel .safe { inset: 11mm; }
.p-thank-you .ty { font-size: 25pt; line-height: 28pt; }
.p-thank-you .back .sn { font-size:7.5pt; line-height: 11pt; }
.p-thank-you .msg { font-size: 10pt; line-height: 15pt; max-width: 66mm; }
.p-thank-you .sign { font-size: 10pt; line-height: 15pt; margin-top: 5mm; }

/* 10 envelope: chocolate stock, white-ink address, striped liner */
.p-envelope .face > svg.die path { fill: var(--envelope); }
.p-envelope .addr { position: absolute; left: 36mm; right: 12mm; top: 96mm; color: var(--white); font-size: 11pt; line-height: 15pt; }
.p-envelope .addr span { display: block; }
.p-envelope .liner-bg { fill: var(--paper); }
.p-envelope .liner-st { fill: var(--ink); }
.p-envelope .flap .safe { inset: 12mm 20mm auto; height: 12mm; }
.p-envelope .ret { color: var(--white); font-family: var(--f-sn); font-size: 7.5pt; line-height: 10pt; letter-spacing: 0.08em; }

/* long names break between words, never at a hyphen when a balanced break exists */
.nm, .nm-guest, .tn { text-wrap: balance; hyphens: manual; }

/* STATX1 foot line (Car B, PLAN §4.1 + COLLFABLE1 13:27): the dress line sits on the foot of the safe box; the words above share the
   free space evenly, so they stay centred above it. Absent dress line: the words simply centre. */
.p-invitation .safe > :first-child { margin-top: auto; }
.p-invitation .safe > .dress { margin-top: auto; }
