/* hereby template: ink — "Ink Sketch". Black pen on warm paper, one forest-green accent.
   Art: ink-cover-top, ink-cover-foot, ink-rings, ink-chapel, ink-table, ink-cake (.webp, transparent).
   Small doodles, frames, rings and underlines are inline SVG, roughened with a turbulence filter. */
/*GEN*/
.inv[data-layout="ink"] {
  --ink-oval: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 330 410'%3E%3Cfilter id='w' x='-10%' y='-10%' width='120%' height='120%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012' numOctaves='2' seed='8'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cg filter='url(%23w)' fill='none' stroke='%231B1A17' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke-width='6.5' d='M217.9 20.8C221.5 23.2 232.7 29.5 239.4 35.0C246.1 40.6 252.3 47.2 258.0 54.1C263.8 61.1 268.9 68.8 273.7 76.6C278.5 84.3 282.8 92.5 287.0 100.8C291.1 109.1 294.9 117.5 298.5 126.1C302.1 134.8 305.5 143.7 308.5 152.9C311.4 162.1 314.2 171.7 316.1 181.5C318.0 191.3 319.4 201.6 319.8 211.8C320.2 222.1 319.8 232.7 318.4 242.8C317.0 252.9 314.5 263.0 311.4 272.5C308.2 281.9 304.1 291.0 299.6 299.5C295.1 308.0 289.8 315.8 284.4 323.2C279.0 330.6 273.2 337.4 267.1 343.7C261.1 350.1 254.8 356.1 248.3 361.4C241.8 366.8 235.0 371.9 228.0 376.1C221.0 380.3 213.6 384.0 206.1 386.8C198.7 389.5 190.9 391.5 183.2 392.5C175.5 393.6 167.5 393.7 159.8 393.1C152.1 392.4 144.3 390.9 136.8 388.9C129.2 386.9 121.8 384.1 114.4 381.0C107.1 377.8 99.9 374.2 92.8 370.0C85.7 365.8 78.7 361.1 72.1 355.7C65.4 350.2 58.8 344.2 53.0 337.3C47.1 330.4 41.5 322.7 37.0 314.4C32.4 306.1 28.4 296.8 25.4 287.4C22.4 278.0 20.4 267.9 19.1 258.0C17.8 248.1 17.5 237.8 17.5 227.9C17.6 218.0 18.5 208.2 19.5 198.6C20.5 188.9 22.0 179.5 23.6 170.2C25.3 160.8 27.2 151.6 29.5 142.5C31.8 133.4 34.3 124.2 37.4 115.4C40.6 106.6 44.2 97.8 48.4 89.7C52.7 81.5 57.6 73.6 63.1 66.6C68.5 59.5 74.7 53.1 81.1 47.5C87.6 42.0 94.6 37.2 101.7 33.2C108.9 29.2 116.4 26.0 123.9 23.4C131.4 20.8 139.1 18.9 146.8 17.7C154.6 16.4 162.4 15.8 170.2 15.9C178.0 16.1 185.9 17.0 193.6 18.8C201.2 20.6 208.9 23.4 216.1 27.0C223.3 30.7 230.4 35.4 236.8 40.8C243.3 46.2 251.8 56.3 254.8 59.4'/%3E%3Cpath stroke-width='2' d='M48.4 291.6C47.0 287.5 42.4 275.3 39.8 266.8C37.3 258.4 34.9 249.9 33.1 241.1C31.2 232.3 29.7 223.3 28.9 214.2C28.1 205.1 27.8 195.7 28.2 186.5C28.7 177.3 29.8 168.0 31.6 159.0C33.4 150.0 35.9 141.2 38.9 132.8C41.9 124.3 45.5 116.2 49.4 108.4C53.3 100.6 57.7 93.2 62.4 86.1C67.1 79.1 72.2 72.3 77.7 66.2C83.1 60.1 89.0 54.3 95.2 49.4C101.4 44.5 108.0 40.2 114.9 36.9C121.7 33.7 128.9 31.4 136.1 30.0C143.3 28.7 150.7 28.5 157.8 29.0C165.0 29.5 172.1 31.1 179.0 33.1C185.9 35.0 192.7 37.7 199.2 40.6C205.8 43.5 212.2 46.8 218.5 50.3C224.9 53.9 231.1 57.6 237.3 61.8C243.4 66.1 249.6 70.6 255.3 75.9C261.1 81.2 266.9 87.0 272.0 93.5C277.0 100.1 281.8 107.5 285.7 115.3C289.7 123.1 293.0 131.8 295.5 140.6C298.0 149.3 299.6 158.7 300.7 167.9C301.8 177.1 302.1 186.5 301.9 195.8C301.8 205.0 301.0 214.2 299.9 223.2C298.8 232.3 297.3 241.2 295.3 249.9C293.4 258.6 291.0 267.3 288.1 275.5C285.2 283.8 281.9 291.9 278.0 299.4C274.1 307.0 269.7 314.2 264.8 320.7C260.0 327.2 254.6 333.1 249.0 338.4C243.4 343.7 237.3 348.3 231.2 352.5C225.1 356.7 218.7 360.2 212.3 363.5C205.8 366.7 199.3 369.5 192.6 371.9C185.9 374.2 179.0 376.4 172.0 377.7C165.1 379.1 157.9 380.2 150.7 380.1C143.5 380.0 136.1 379.3 129.1 377.4C122.0 375.5 114.9 372.6 108.4 368.6C101.8 364.7 95.5 359.5 89.9 353.8C84.2 348.1 79.1 341.3 74.4 334.4C69.8 327.5 65.8 319.9 62.0 312.3C58.3 304.7 55.0 296.9 51.9 289.0C48.9 281.1 45.0 269.0 43.6 265.0'/%3E%3C/g%3E%3C/svg%3E");
  --ink-ring: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cfilter id='w' x='-10%' y='-10%' width='120%' height='120%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.03' numOctaves='2' seed='5'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cg filter='url(%23w)' fill='none' stroke='%231B1A17' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.2 19.0C8.8 18.3 10.2 16.2 11.5 15.0C12.8 13.8 14.3 12.7 15.9 11.8C17.4 10.9 19.1 10.2 20.9 9.6C22.6 9.0 24.4 8.5 26.3 8.3C28.1 8.0 30.0 7.9 31.9 8.1C33.7 8.3 35.6 8.7 37.3 9.3C39.0 9.9 40.6 10.8 42.1 11.7C43.5 12.6 44.8 13.7 46.1 14.8C47.3 15.9 48.5 17.1 49.6 18.3C50.7 19.5 51.8 20.8 52.6 22.2C53.4 23.6 54.2 25.2 54.5 26.8C54.9 28.3 55.0 30.0 54.8 31.6C54.6 33.2 54.1 34.8 53.4 36.3C52.7 37.8 51.7 39.2 50.7 40.5C49.7 41.8 48.6 43.0 47.4 44.1C46.1 45.2 44.8 46.3 43.3 47.1C41.9 48.0 40.3 48.7 38.6 49.2C37.0 49.7 35.2 50.0 33.5 50.2C31.8 50.4 30.0 50.3 28.3 50.2C26.5 50.1 24.8 49.9 23.1 49.6C21.4 49.2 19.7 48.8 18.1 48.1C16.5 47.4 14.9 46.6 13.5 45.5C12.2 44.5 11.1 43.2 10.2 41.8C9.3 40.5 8.8 38.9 8.4 37.4C7.9 36.0 7.8 34.4 7.7 32.9C7.6 31.5 7.6 30.0 7.7 28.5C7.8 27.1 8.0 25.6 8.4 24.2C8.8 22.7 9.3 21.3 10.1 20.0C10.9 18.6 11.9 17.4 13.1 16.3C14.2 15.2 15.6 14.2 17.1 13.4C18.5 12.6 20.1 11.9 21.6 11.4C23.2 10.8 25.8 10.3 26.6 10.1'/%3E%3C/g%3E%3C/svg%3E");
  --ink-scribble: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cfilter id='w' x='-10%' y='-10%' width='120%' height='120%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.05' numOctaves='2' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cg filter='url(%23w)' fill='none' stroke='%231B1A17' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8C30 3 52 11 78 6S128 4 150 8s34-3 46-2M30 11c30-3 80-2 124 0'/%3E%3C/g%3E%3C/svg%3E");
  --ink-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 8' preserveAspectRatio='none'%3E%3Cfilter id='w' x='-10%' y='-10%' width='120%' height='120%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='2' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cg filter='url(%23w)' fill='none' stroke='%231B1A17' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4C60 2 120 6 180 3.500S270 5 297 3.500'/%3E%3C/g%3E%3C/svg%3E");
  --ink-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 30' preserveAspectRatio='none'%3E%3Cfilter id='w' x='-10%' y='-10%' width='120%' height='120%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.08' numOctaves='2' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='1.5' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cg filter='url(%23w)' fill='none' stroke='%231B1A17' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 2C5 10 3 20 4.500 28'/%3E%3C/g%3E%3C/svg%3E");
  --ink-candle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 180'%3E%3Cfilter id='w' x='-10%' y='-10%' width='120%' height='120%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.03' numOctaves='2' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='3' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cg filter='url(%23w)' fill='none' stroke='%231B1A17' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30 6c-7 9-6 17 0 19 6-2 7-10 0-19zM30 25v8'/%3E%3Cpath d='M25 34c3-1.500 7-1.500 10 0l1 84H24z'/%3E%3Cpath d='M14 118h32c0 9-7 12-16 12s-16-3-16-12z'/%3E%3Cpath d='M30 130v30M17 164c8-4 18-4 26 0M12 172h36'/%3E%3Cpath d='M30 142c-14-12-22 2-10 6 5 2 9-2 10-6zM30 142c14-12 22 2 10 6-5 2-9-2-10-6zM27 148l-6 14M33 148l6 14'/%3E%3C/g%3E%3C/svg%3E");
  --ink-i1: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cfilter id='w' x='-10%' y='-10%' width='120%' height='120%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.045' numOctaves='2' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.2' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cg filter='url(%23w)' fill='none' stroke='%231B1A17' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 27h31c0 14-6 22-15.500 22S14 41 14 27z'/%3E%3Cpath d='M45 31c9-2 10 9-3 12'/%3E%3Cpath d='M8 54c11 4 33 4 43 0'/%3E%3Cpath d='M24 20c-3-4 3-6 0-11M34 20c-3-4 3-6 0-11'/%3E%3C/g%3E%3C/svg%3E");
  --ink-i2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cfilter id='w' x='-10%' y='-10%' width='120%' height='120%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.045' numOctaves='2' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.2' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cg filter='url(%23w)' fill='none' stroke='%231B1A17' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 7c-2 10-2 20 0 31M42 7c2 10 2 20 0 31M22 9c7-3 13-3 20 0M22.500 20h19M23 30h18'/%3E%3Cpath d='M17 38h30l2 7H15z'/%3E%3Cpath d='M19 45l-3 14M45 45l3 14M24 45v9M40 45v9'/%3E%3C/g%3E%3C/svg%3E");
  --ink-i3: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cfilter id='w' x='-10%' y='-10%' width='120%' height='120%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.045' numOctaves='2' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.2' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cg filter='url(%23w)' fill='none' stroke='%231B1A17' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='41' r='14'/%3E%3Ccircle cx='42' cy='41' r='14'/%3E%3Cpath d='M24 27l-6-6 3-5h6l3 5z'/%3E%3Cpath d='M44 10v7M53 14l-4 5M35 14l4 5'/%3E%3C/g%3E%3C/svg%3E");
  --ink-i4: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cfilter id='w' x='-10%' y='-10%' width='120%' height='120%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.045' numOctaves='2' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.2' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cg filter='url(%23w)' fill='none' stroke='%231B1A17' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(20 22) rotate(14)'%3E%3Cpath d='M-12 0h24c0 9-6 13-12 13S-12 9-12 0z'/%3E%3Cpath d='M0 13v19M-8 33c5-2 11-2 16 0'/%3E%3C/g%3E%3Cg transform='translate(44 22) rotate(-14)'%3E%3Cpath d='M-12 0h24c0 9-6 13-12 13S-12 9-12 0z'/%3E%3Cpath d='M0 13v19M-8 33c5-2 11-2 16 0'/%3E%3C/g%3E%3Cpath d='M32 4v8M24 7l3 6M40 7l-3 6'/%3E%3C/g%3E%3C/svg%3E");
  --ink-i5: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cfilter id='w' x='-10%' y='-10%' width='120%' height='120%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.045' numOctaves='2' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.2' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cg filter='url(%23w)' fill='none' stroke='%231B1A17' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 5c-6 7-5 13 0 14 5-1 6-7 0-14zM32 19v5'/%3E%3Cpath d='M27 24h10v22H27z'/%3E%3Cpath d='M19 46h26c0 7-6 9-13 9s-13-2-13-9z'/%3E%3Cpath d='M32 55v4M22 60h20'/%3E%3Cpath d='M12 14l4 3M52 14l-4 3M10 26h5M54 26h-5'/%3E%3C/g%3E%3C/svg%3E");
  --ink-c1: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cfilter id='w' x='-10%' y='-10%' width='120%' height='120%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.045' numOctaves='2' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.2' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cg filter='url(%23w)' fill='none' stroke='%231B1A17' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 32L13 21c-4 7-4 15 0 22l19-11 19 11c4-7 4-15 0-22z'/%3E%3Cpath d='M27 26h10v12H27z' fill='%23F7F4EC'/%3E%3Cpath d='M17 28c3 3 3 6 0 9M47 28c-3 3-3 6 0 9'/%3E%3C/g%3E%3C/svg%3E");
  --ink-c2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cfilter id='w' x='-10%' y='-10%' width='120%' height='120%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.045' numOctaves='2' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.2' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cg filter='url(%23w)' fill='none' stroke='%231B1A17' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 18h45c4 0 6 4 6 10v17H6V20c0-1 0-2 1-2z'/%3E%3Cpath d='M11 24h10v9H11zM25 24h10v9H25zM39 24h10v9H39z'/%3E%3Ccircle cx='18' cy='46' r='6' fill='%23F7F4EC'/%3E%3Ccircle cx='45' cy='46' r='6' fill='%23F7F4EC'/%3E%3Cpath d='M2 56h60'/%3E%3C/g%3E%3C/svg%3E");
  --ink-c3: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cfilter id='w' x='-10%' y='-10%' width='120%' height='120%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.045' numOctaves='2' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.2' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cg filter='url(%23w)' fill='none' stroke='%231B1A17' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 30h40v26H12z'/%3E%3Cpath d='M9 21h46v9H9z'/%3E%3Cpath d='M32 21v35'/%3E%3Cpath d='M32 21C20 6 11 17 32 21zM32 21c12-15 21-4 0 0z'/%3E%3C/g%3E%3C/svg%3E");
}
/*END*/
.inv[data-layout="ink"] { --ink: #1B1A17; --ink-soft: #55524A; --ink-paper: #F7F4EC; --ink-green: #24382B;
  --ink-hand: "Caveat Brush", "Caveat", var(--serif);
  --ink-r1: 255px 18px 225px 18px / 18px 225px 18px 255px; --ink-r2: 18px 225px 18px 255px / 255px 18px 225px 18px;
  --ivory: var(--ink-paper); --chocolate: var(--ink); --taupe: var(--ink-soft); --rose-deep: var(--ink); --champagne: var(--ink); --line: var(--ink);
  font-variant-numeric: lining-nums; --inv-ink: var(--ink); --inv-btn: var(--ink-green); --inv-btn-fg: var(--ink-paper); background: var(--ink-paper); }

/* ---- Cover: chandelier above, a wobbly oval with the names and date, the table spread below */
.inv[data-layout="ink"] .inv-cover { --u: min(1cqw, 4.8px, 0.5vh); background: var(--ink-paper); justify-content: center; gap: 0; padding: calc(40 * var(--u)) 0 calc(36 * var(--u)); overflow: hidden; }
.inv[data-layout="ink"] .inv-ill, .inv[data-layout="ink"] .inv-cover .i-date { display: none; }
.inv[data-layout="ink"] .inv-deco.d1, .inv[data-layout="ink"] .inv-deco.d2 { display: block; position: absolute; left: 50%; width: calc(100 * var(--u)); transform: translateX(-50%); pointer-events: none; }
.inv[data-layout="ink"] .inv-deco.d1 { top: 0; height: calc(46.7 * var(--u)); background: url("ink-cover-top.webp") center top / contain no-repeat; }
.inv[data-layout="ink"] .inv-deco.d2 { bottom: 0; height: calc(40 * var(--u)); background: url("ink-cover-foot.webp") center bottom / contain no-repeat; }
.inv[data-layout="ink"] .inv-covertop { gap: calc(1 * var(--u)); }
.inv[data-layout="ink"] .inv-kicker { display: block; font-family: var(--ink-hand); font-size: calc(4.6 * var(--u)); font-weight: 600; letter-spacing: 0.22em; padding-left: 0.22em; line-height: 1.2; }
.inv[data-layout="ink"] .inv-to { font-size: calc(5 * var(--u)); line-height: 1.2; }
.inv[data-layout="ink"] .inv-names { font-family: var(--ink-hand); font-weight: 600; font-size: calc(11.2 * var(--u)); line-height: 1.04; letter-spacing: 0.04em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; padding: 0; margin-top: calc(21 * var(--u)); max-width: calc(54 * var(--u)); text-wrap: nowrap; }
.inv[data-layout="ink"] .inv-names::before { content: ""; position: absolute; left: 50%; top: calc(-18 * var(--u)); width: calc(66 * var(--u)); height: calc(82 * var(--u)); transform: translateX(-50%); background: var(--ink-oval) center / 100% 100% no-repeat; pointer-events: none; }
.inv[data-layout="ink"] .inv-names em { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 0.52em; line-height: 1.25; color: var(--ink); text-transform: none; letter-spacing: 0; }
.inv[data-layout="ink"] .inv-big { display: block; width: calc(100 * var(--u)); font-family: var(--ink-hand); font-size: calc(6.4 * var(--u)); line-height: 1; letter-spacing: 0.08em; margin: calc(4.5 * var(--u)) 0 calc(21 * var(--u)); padding-top: calc(4.5 * var(--u)); background: var(--ink-line) center top / calc(22 * var(--u)) calc(2 * var(--u)) no-repeat; }
.inv[data-layout="ink"] .inv-big::before, .inv[data-layout="ink"] .inv-big::after { content: ""; position: absolute; bottom: calc(-12 * var(--u)); width: calc(11 * var(--u)); height: calc(33 * var(--u)); background: var(--ink-candle) center / contain no-repeat; }
.inv[data-layout="ink"] .inv-big::before { left: calc(3.5 * var(--u)); }
.inv[data-layout="ink"] .inv-big::after { right: calc(3.5 * var(--u)); transform: scaleX(-1); }
.inv[data-layout="ink"] .inv-venue { display: block; font-size: calc(3.3 * var(--u)); letter-spacing: 0.2em; padding-left: 0.2em; line-height: 1.3; }
.inv[data-layout="ink"] .inv-open { order: 0; margin-top: calc(4 * var(--u)); min-height: calc(12.5 * var(--u)); padding: 0 calc(9 * var(--u)); border-radius: var(--ink-r1); background: var(--ink-green); color: var(--ink-paper); font-family: var(--ink-hand); font-size: calc(5 * var(--u)); font-weight: 600; letter-spacing: 0.16em; padding-left: calc(9.6 * var(--u)); box-shadow: 0 0 0 0 rgba(36, 56, 43, 0.4); animation-name: ink-pulse; }
@keyframes ink-pulse { 0% { box-shadow: 0 0 0 0 rgba(36, 56, 43, 0.4); } 70%, 100% { box-shadow: 0 0 0 16px rgba(36, 56, 43, 0); } }
.inv[data-layout="ink"] .inv-skip { z-index: 2; top: 12px; right: 12px; min-height: 40px; background: var(--ink-paper); border: 1.6px solid var(--ink); border-radius: var(--ink-r2); font-family: var(--ink-hand); font-style: normal; font-size: 17px; }
.inv[data-layout="ink"][lang="zh-Hant"] .inv-kicker { font-family: var(--serif); font-size: calc(4 * var(--u)); letter-spacing: 0.4em; padding-left: 0.4em; font-weight: 500; }
.inv[data-layout="ink"][lang="zh-Hant"] .inv-to { font-size: calc(4.6 * var(--u)); }
.inv[data-layout="ink"][lang="zh-Hant"] .inv-names { font-family: var(--serif); font-weight: 600; font-size: calc(11 * var(--u)); letter-spacing: 0.16em; padding-left: 0.16em; line-height: 1.12; }
.inv[data-layout="ink"][lang="zh-Hant"] .inv-names em { font-size: 0.42em; font-style: normal; line-height: 1.7; }
.inv[data-layout="ink"][lang="zh-Hant"] .inv-venue { font-size: calc(3.6 * var(--u)); letter-spacing: 0.3em; }
.inv[data-layout="ink"][lang="zh-Hant"] .inv-open, .inv[data-layout="ink"][lang="zh-Hant"] .inv-skip { font-family: var(--serif); font-weight: 500; }
.inv[data-layout="ink"][lang="zh-Hant"] .inv-open { letter-spacing: 0.3em; }

/* ---- Body */
.inv[data-layout="ink"] .inv-body { background: var(--ink-paper); color: var(--ink); }
.inv[data-layout="ink"] .inv-col { gap: 64px; padding: 16px 24px 48px; }
.inv[data-layout="ink"] .inv-back { font-family: var(--ink-hand); font-style: normal; font-size: 19px; color: var(--ink); text-decoration: none; background: var(--ink-line) left 4px bottom 6px / calc(100% - 8px) 5px no-repeat; }
.inv[data-layout="ink"] .inv-lang { border: 1.8px solid var(--ink); border-radius: var(--ink-r2); padding: 3px 4px; }
.inv[data-layout="ink"] .inv-lang button { border-radius: var(--ink-r1); color: var(--ink); min-height: 38px; }
.inv[data-layout="ink"] .inv-lang button[aria-pressed="true"] { background: var(--ink); color: var(--ink-paper); }
.inv[data-layout="ink"] .inv-sec { gap: 18px; }
.inv[data-layout="ink"] .inv-orn { display: block; width: 100%; background: center / contain no-repeat; flex-shrink: 0; }
.inv[data-layout="ink"] .inv-sec h2 { font-family: var(--ink-hand); font-weight: 600; font-size: 42px; line-height: 1.02; letter-spacing: 0.05em; text-transform: uppercase; text-wrap: balance; padding: 0 0 20px; background: var(--ink-scribble) center bottom / 132px 12px no-repeat; }
.inv[data-layout="ink"][lang="zh-Hant"] .inv-sec h2 { font-family: var(--serif); font-weight: 600; font-size: 30px; letter-spacing: 0.2em; padding-left: 0.2em; line-height: 1.3; }
.inv[data-layout="ink"] .inv-btn { border-radius: var(--ink-r1); font-family: var(--ink-hand); font-size: 19px; font-weight: 600; letter-spacing: 0.12em; border: 2px solid var(--ink-green); }
.inv[data-layout="ink"] .inv-btn.line, .inv[data-layout="ink"] .inv-btn[aria-pressed="false"] { border: 2px solid var(--ink); border-radius: var(--ink-r2); color: var(--ink); background: transparent; font-style: normal; }
.inv[data-layout="ink"] .inv-btn.line { font-size: 19px; letter-spacing: 0.02em; padding: 0 8px; }
.inv[data-layout="ink"] .inv-form .inv-row .inv-btn { font-size: 18px; letter-spacing: 0.08em; padding: 0 8px; }
.inv[data-layout="ink"][lang="zh-Hant"] .inv-btn { font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: 0.2em; }

/* names: the invitation itself, with the rings between the sentence and the date */
.inv[data-layout="ink"] [data-sec="names"] { padding-top: 8px; }
.inv[data-layout="ink"] [data-sec="names"] .inv-hello, .inv[data-layout="ink"] [data-sec="names"] .inv-lead { order: -1; }
.inv[data-layout="ink"] .inv-hello { font-family: var(--ink-hand); font-weight: 600; font-size: clamp(44px, 14cqw, 62px); line-height: 0.98; letter-spacing: 0.04em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; }
.inv[data-layout="ink"] .inv-hello em { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 0.48em; line-height: 1.3; text-transform: none; letter-spacing: 0; }
.inv[data-layout="ink"][lang="zh-Hant"] .inv-hello { font-family: var(--serif); font-size: 44px; letter-spacing: 0.16em; padding-left: 0.16em; line-height: 1.15; }
.inv[data-layout="ink"][lang="zh-Hant"] .inv-hello em { font-style: normal; font-size: 0.42em; line-height: 1.8; }
.inv[data-layout="ink"] .inv-lead { font-style: normal; font-size: 20px; line-height: 1.45; }
.inv[data-layout="ink"][lang="zh-Hant"] .inv-lead { font-size: 18px; }
.inv[data-layout="ink"] [data-sec="names"] .inv-orn { aspect-ratio: 3 / 2; max-width: 250px; background-image: url("ink-rings.webp"); margin: 2px 0; }
.inv[data-layout="ink"] .inv-when { font-family: var(--ink-hand); font-size: 31px; letter-spacing: 0.03em; padding-bottom: 14px; background: var(--ink-scribble) center bottom / 170px 12px no-repeat; }
.inv[data-layout="ink"][lang="zh-Hant"] .inv-when { font-family: var(--serif); font-weight: 600; font-size: 21px; }
.inv[data-layout="ink"] .inv-count { gap: 10px; margin-top: 8px; }
.inv[data-layout="ink"] .inv-count div { border: 2px solid var(--ink); border-radius: var(--ink-r1); background: none; aspect-ratio: 1 / 1.06; gap: 2px; }
.inv[data-layout="ink"] .inv-count div:nth-child(even) { border-radius: var(--ink-r2); transform: rotate(1.4deg); }
.inv[data-layout="ink"] .inv-count div:nth-child(odd) { transform: rotate(-1.2deg); }
.inv[data-layout="ink"] .inv-count b { font-family: var(--ink-hand); font-size: 36px; line-height: 1; }
.inv[data-layout="ink"] .inv-count span { font-size: 11px; letter-spacing: 0.16em; }
.inv[data-layout="ink"][lang="zh-Hant"] .inv-count span { font-size: 14px; letter-spacing: 0; font-weight: 500; }

/* date: a little chapel, then the whole month with the day ringed in pen */
.inv[data-layout="ink"] [data-sec="date"] .inv-orn { aspect-ratio: 1; max-width: 190px; background-image: url("ink-chapel.webp"); }
.inv[data-layout="ink"] .inv-cal { gap: 6px; max-width: 330px; }
.inv[data-layout="ink"] .inv-cal-m { font-family: var(--ink-hand); font-style: normal; font-size: 28px; letter-spacing: 0.1em; text-transform: uppercase; padding-bottom: 12px; background: var(--ink-line) center bottom / 100% 6px no-repeat; }
.inv[data-layout="ink"][lang="zh-Hant"] .inv-cal-m { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.inv[data-layout="ink"] .inv-cal-g b { font-size: 13px; font-weight: 700; opacity: 1; }
.inv[data-layout="ink"] .inv-cal-g span { font-size: 18px; font-weight: 500; }
.inv[data-layout="ink"] .inv-cal-g .on { position: relative; background: none; color: var(--ink); font-weight: 700; }
.inv[data-layout="ink"] .inv-cal-g .on::before { content: ""; position: absolute; inset: -14%; background: var(--ink-ring) center / contain no-repeat; }
.inv[data-layout="ink"] [data-sec="date"] .inv-btn { margin-top: 6px; }

/* order of the day: the table, then one small doodle per event */
.inv[data-layout="ink"] [data-sec="order"] .inv-orn { aspect-ratio: 15 / 8; background-image: url("ink-table.webp"); }
.inv[data-layout="ink"] .inv-order { text-align: center; }
.inv[data-layout="ink"] .inv-order li { position: relative; flex-direction: column; align-items: center; gap: 2px; border: none; padding: 0 0 46px; }
.inv[data-layout="ink"] .inv-order li:last-child { border: none; padding-bottom: 0; }
.inv[data-layout="ink"] .inv-order li::before { content: ""; width: 62px; height: 62px; background: var(--ink-i1) center / contain no-repeat; }
.inv[data-layout="ink"] .inv-order li:nth-child(5n+2)::before { background-image: var(--ink-i2); }
.inv[data-layout="ink"] .inv-order li:nth-child(5n+3)::before { background-image: var(--ink-i3); }
.inv[data-layout="ink"] .inv-order li:nth-child(5n+4)::before { background-image: var(--ink-i4); }
.inv[data-layout="ink"] .inv-order li:nth-child(5n+5)::before { background-image: var(--ink-i5); }
.inv[data-layout="ink"] .inv-order li::after { content: ""; position: absolute; left: 50%; bottom: 10px; width: 6px; height: 26px; margin-left: -3px; background: var(--ink-tick) center / 100% 100% no-repeat; }
.inv[data-layout="ink"] .inv-order li:last-child::after { display: none; }
.inv[data-layout="ink"] .inv-order time { width: auto; font-family: var(--ink-hand); font-size: 27px; font-weight: 400; letter-spacing: 0.06em; line-height: 1.1; }
.inv[data-layout="ink"] .inv-order strong { font-style: normal; font-weight: 600; font-size: 21px; }
.inv[data-layout="ink"] .inv-order span { font-style: italic; font-size: 17px; max-width: 28ch; margin: 0 auto; }
.inv[data-layout="ink"][lang="zh-Hant"] .inv-order span { font-style: normal; font-size: 16px; line-height: 1.6; }

/* good to know: three pen-ruled notes */
.inv[data-layout="ink"] .inv-cards { gap: 16px; }
.inv[data-layout="ink"] .inv-card, .inv[data-layout="ink"] .inv-card:last-child { border: 2px solid var(--ink); border-radius: var(--ink-r1); padding: 18px 20px 20px; gap: 6px; transform: rotate(-0.6deg); }
.inv[data-layout="ink"] .inv-card:nth-child(even) { border-radius: var(--ink-r2); transform: rotate(0.7deg); }
.inv[data-layout="ink"] .inv-card h3 { font-family: var(--ink-hand); font-size: 25px; font-weight: 600; letter-spacing: 0.1em; line-height: 1.1; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.inv[data-layout="ink"][lang="zh-Hant"] .inv-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: 0.3em; padding-left: 0.3em; }
.inv[data-layout="ink"] .inv-card h3::before { content: ""; width: 60px; height: 60px; background: var(--ink-c1) center / contain no-repeat; }
.inv[data-layout="ink"] .inv-card:nth-child(2) h3::before { background-image: var(--ink-c2); }
.inv[data-layout="ink"] .inv-card:nth-child(3) h3::before { background-image: var(--ink-c3); }
.inv[data-layout="ink"] .inv-card p { font-style: normal; }
.inv[data-layout="ink"] .inv-sw { gap: 10px; }
.inv[data-layout="ink"] .inv-sw i { width: 32px; height: 32px; border: 2px solid var(--ink); border-radius: 48% 52% 50% 50% / 52% 48% 52% 48%; }

/* rsvp: cake first */
.inv[data-layout="ink"] [data-sec="rsvp"] .inv-orn { aspect-ratio: 8 / 9; max-width: 170px; background-image: url("ink-cake.webp"); }
.inv[data-layout="ink"] .inv-form { gap: 18px; margin-top: 4px; }
.inv[data-layout="ink"] .inv-field label, .inv[data-layout="ink"] .inv-checks legend { color: var(--ink); font-family: var(--ink-hand); font-size: 20px; letter-spacing: 0.04em; }
.inv[data-layout="ink"][lang="zh-Hant"] .inv-field label, .inv[data-layout="ink"][lang="zh-Hant"] .inv-checks legend { font-family: var(--serif); font-size: 17px; font-weight: 500; }
.inv[data-layout="ink"] .inv-field input, .inv[data-layout="ink"] .inv-field select { border-bottom: 2px solid var(--ink); color: var(--ink); font-size: 19px; }
.inv[data-layout="ink"] .inv-field textarea { border: 2px solid var(--ink); border-radius: var(--ink-r2); background: none; color: var(--ink); }
.inv[data-layout="ink"] .inv-field input:focus-visible, .inv[data-layout="ink"] .inv-field select:focus-visible, .inv[data-layout="ink"] .inv-field textarea:focus-visible { outline: 2px solid var(--ink-green); outline-offset: 3px; }
.inv[data-layout="ink"] .inv-checks label { border: 1.8px solid var(--ink); border-radius: var(--ink-r1); font-family: var(--serif); font-size: 17px; letter-spacing: 0; color: var(--ink); }
.inv[data-layout="ink"] .inv-checks label:nth-of-type(even) { border-radius: var(--ink-r2); }
.inv[data-layout="ink"] .inv-checks label:has(input:checked) { background: var(--ink-green); border-color: var(--ink-green); color: var(--ink-paper); }
.inv[data-layout="ink"] .inv-checks input { accent-color: var(--ink-green); }
.inv[data-layout="ink"] .inv-err { font-style: italic; }
.inv[data-layout="ink"] .inv-thanks { background: none; border: 2px solid var(--ink); border-radius: var(--ink-r1); padding: 34px 24px 26px; }
.inv[data-layout="ink"] .inv-thanks h2 { padding-bottom: 20px; }
.inv[data-layout="ink"] .inv-made { color: var(--ink-soft); }
.inv[data-layout="ink"] .inv-made a { color: var(--ink); }
