/* hereby template: garden — "Garden Line" (綠野線畫)
   Forest green and cream bands, one-colour brush-pen drawings, wavy hand-drawn frames, names in script.
   Art (green line on transparent; turned cream on green bands with a filter): garden-car, garden-couple, garden-chapel,
   garden-table, garden-bow. The wavy frame is an inline SVG. */
.inv[data-layout="garden"] { --gd-green: #3D6B47; --gd-green-2: #335C3C; --gd-cream: #FBF8EE; --gd-hair: rgba(61, 107, 71, 0.35);
  --gd-wavy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' preserveAspectRatio='none'%3E%3Cpath d='M8.0 8.0 L11.1 10.6 L14.1 11.0 L17.2 9.0 L20.3 6.1 L23.3 4.8 L26.4 6.1 L29.5 9.0 L32.5 11.0 L35.6 10.6 L38.7 8.0 L41.7 5.4 L44.8 5.0 L47.9 7.0 L50.9 9.9 L54.0 11.2 L57.1 9.9 L60.1 7.0 L63.2 5.0 L66.3 5.4 L69.3 8.0 L72.4 10.6 L75.5 11.0 L78.5 9.0 L81.6 6.1 L84.7 4.8 L87.7 6.1 L90.8 9.0 L93.9 11.0 L96.9 10.6 L100.0 8.0 L103.1 5.4 L106.1 5.0 L109.2 7.0 L112.3 9.9 L115.3 11.2 L118.4 9.9 L121.5 7.0 L124.5 5.0 L127.6 5.4 L130.7 8.0 L133.7 10.6 L136.8 11.0 L139.9 9.0 L142.9 6.1 L146.0 4.8 L149.1 6.1 L152.1 9.0 L155.2 11.0 L158.3 10.6 L161.3 8.0 L164.4 5.4 L167.5 5.0 L170.5 7.0 L173.6 9.9 L176.7 11.2 L179.7 9.9 L182.8 7.0 L185.9 5.0 L188.9 5.4 L192.0 8.0 L189.4 11.1 L189.0 14.1 L191.0 17.2 L193.9 20.3 L195.2 23.3 L193.9 26.4 L191.0 29.5 L189.0 32.5 L189.4 35.6 L192.0 38.7 L194.6 41.7 L195.0 44.8 L193.0 47.9 L190.1 50.9 L188.8 54.0 L190.1 57.1 L193.0 60.1 L195.0 63.2 L194.6 66.3 L192.0 69.3 L189.4 72.4 L189.0 75.5 L191.0 78.5 L193.9 81.6 L195.2 84.7 L193.9 87.7 L191.0 90.8 L189.0 93.9 L189.4 96.9 L192.0 100.0 L194.6 103.1 L195.0 106.1 L193.0 109.2 L190.1 112.3 L188.8 115.3 L190.1 118.4 L193.0 121.5 L195.0 124.5 L194.6 127.6 L192.0 130.7 L189.4 133.7 L189.0 136.8 L191.0 139.9 L193.9 142.9 L195.2 146.0 L193.9 149.1 L191.0 152.1 L189.0 155.2 L189.4 158.3 L192.0 161.3 L194.6 164.4 L195.0 167.5 L193.0 170.5 L190.1 173.6 L188.8 176.7 L190.1 179.7 L193.0 182.8 L195.0 185.9 L194.6 188.9 L192.0 192.0 L188.9 189.4 L185.9 189.0 L182.8 191.0 L179.7 193.9 L176.7 195.2 L173.6 193.9 L170.5 191.0 L167.5 189.0 L164.4 189.4 L161.3 192.0 L158.3 194.6 L155.2 195.0 L152.1 193.0 L149.1 190.1 L146.0 188.8 L142.9 190.1 L139.9 193.0 L136.8 195.0 L133.7 194.6 L130.7 192.0 L127.6 189.4 L124.5 189.0 L121.5 191.0 L118.4 193.9 L115.3 195.2 L112.3 193.9 L109.2 191.0 L106.1 189.0 L103.1 189.4 L100.0 192.0 L96.9 194.6 L93.9 195.0 L90.8 193.0 L87.7 190.1 L84.7 188.8 L81.6 190.1 L78.5 193.0 L75.5 195.0 L72.4 194.6 L69.3 192.0 L66.3 189.4 L63.2 189.0 L60.1 191.0 L57.1 193.9 L54.0 195.2 L50.9 193.9 L47.9 191.0 L44.8 189.0 L41.7 189.4 L38.7 192.0 L35.6 194.6 L32.5 195.0 L29.5 193.0 L26.4 190.1 L23.3 188.8 L20.3 190.1 L17.2 193.0 L14.1 195.0 L11.1 194.6 L8.0 192.0 L10.6 188.9 L11.0 185.9 L9.0 182.8 L6.1 179.7 L4.8 176.7 L6.1 173.6 L9.0 170.5 L11.0 167.5 L10.6 164.4 L8.0 161.3 L5.4 158.3 L5.0 155.2 L7.0 152.1 L9.9 149.1 L11.2 146.0 L9.9 142.9 L7.0 139.9 L5.0 136.8 L5.4 133.7 L8.0 130.7 L10.6 127.6 L11.0 124.5 L9.0 121.5 L6.1 118.4 L4.8 115.3 L6.1 112.3 L9.0 109.2 L11.0 106.1 L10.6 103.1 L8.0 100.0 L5.4 96.9 L5.0 93.9 L7.0 90.8 L9.9 87.7 L11.2 84.7 L9.9 81.6 L7.0 78.5 L5.0 75.5 L5.4 72.4 L8.0 69.3 L10.6 66.3 L11.0 63.2 L9.0 60.1 L6.1 57.1 L4.8 54.0 L6.1 50.9 L9.0 47.9 L11.0 44.8 L10.6 41.7 L8.0 38.7 L5.4 35.6 L5.0 32.5 L7.0 29.5 L9.9 26.4 L11.2 23.3 L9.9 20.3 L7.0 17.2 L5.0 14.1 L5.4 11.1Z' fill='none' stroke='%233F6B45' stroke-width='2' vector-effect='non-scaling-stroke' stroke-linejoin='round'/%3E%3C/svg%3E");
  --inv-ink: var(--gd-green); --inv-btn: var(--gd-green); --inv-btn-fg: var(--gd-cream); color: var(--gd-green); font-variant-numeric: lining-nums; }
.inv[data-layout="garden"] .inv-cover, .inv[data-layout="garden"] .inv-body { background: var(--gd-cream); }

/* ---------- Cover: "you're invited", the wedding car, names in script, the date, a green pill */
.inv[data-layout="garden"] .inv-cover { padding: 64px 8% 9%; justify-content: flex-start; gap: 3cqw; }
.inv[data-layout="garden"] .inv-covertop { order: 1; }
.inv[data-layout="garden"] .inv-kicker { display: block; font-size: clamp(11px, 3.3cqw, 15px); letter-spacing: 0.24em; margin-right: -0.24em; }
.inv[lang="zh-Hant"][data-layout="garden"] .inv-kicker { font-size: clamp(13px, 3.9cqw, 17px); }
.inv[data-layout="garden"] .inv-covertop .i-date { display: none; }
.inv[data-layout="garden"] .inv-ill { order: 2; flex: 1 1 0; min-height: 0; max-width: 340px; padding: 0; border-radius: 0; background: url("garden-car.webp") center / contain no-repeat; }
.inv[data-layout="garden"] .inv-ill img { display: none; }
.inv[data-layout="garden"] .inv-names { order: 3; font-size: clamp(42px, 13cqw, 70px); line-height: 1; display: flex; flex-direction: column; align-items: center; padding: 0; }
.inv[data-layout="garden"] .inv-names em { color: var(--gd-green); font-size: 0.5em; line-height: 1.3; }
.inv[lang="zh-Hant"][data-layout="garden"] .inv-names { font-size: clamp(30px, 9.6cqw, 50px); letter-spacing: 0.2em; text-indent: 0.2em; line-height: 1.3; }
.inv[lang="zh-Hant"][data-layout="garden"] .inv-names em { letter-spacing: 0; text-indent: 0; }
.inv[data-layout="garden"] .inv-big { display: block; order: 4; font-size: clamp(14px, 4.2cqw, 19px); letter-spacing: 0.24em; }
.inv[data-layout="garden"] .inv-venue { display: block; order: 5; font-size: clamp(11px, 3.1cqw, 14px); letter-spacing: 0.2em; opacity: 0.85; }
.inv[lang="zh-Hant"][data-layout="garden"] .inv-venue { font-size: clamp(13px, 3.7cqw, 16px); }
.inv[data-layout="garden"] .inv-open { order: 6; margin-top: 2cqw; border-radius: 999px; background: var(--gd-green); color: var(--gd-cream); box-shadow: 0 0 0 0 rgba(61, 107, 71, 0.45); animation-name: gd-pulse; }
@keyframes gd-pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 107, 71, 0.45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(61, 107, 71, 0); } }
.inv[data-layout="garden"] .inv-skip { color: var(--gd-green); }
/* a loose line along the top and bottom edges of the cover */
.inv[data-layout="garden"] .inv-cover .inv-frame { display: block; position: absolute; inset: 12px; background: var(--gd-wavy) center / 100% 100% no-repeat; pointer-events: none; opacity: 0.8; }

/* ---------- Body: full-width bands, cream and green in turn */
.inv[data-layout="garden"] .inv-col { padding: 14px 0 0; gap: 0; }
.inv[data-layout="garden"] .inv-top { padding: 0 16px 14px; }
.inv[data-layout="garden"] .inv-back { color: var(--gd-green); }
.inv[data-layout="garden"] .inv-lang { border-color: var(--gd-green); }
.inv[data-layout="garden"] .inv-lang button { color: var(--gd-green); }
.inv[data-layout="garden"] .inv-lang button[aria-pressed="true"] { background: var(--gd-green); color: var(--gd-cream); }
.inv[data-layout="garden"] .inv-sec { padding: 48px 26px; }
.inv[data-layout="garden"] [data-sec="names"], .inv[data-layout="garden"] [data-sec="order"], .inv[data-layout="garden"] [data-sec="rsvp"] { background: var(--gd-green); color: var(--gd-cream); }
.inv[data-layout="garden"] .inv-sec h2 { padding: 0; font-weight: 500; font-size: 22px; letter-spacing: 0.24em; text-transform: uppercase; background: none; color: inherit; }
.inv[lang="zh-Hant"][data-layout="garden"] .inv-sec h2 { font-size: 24px; letter-spacing: 0.3em; text-indent: 0.3em; }
.inv[data-layout="garden"] .inv-btn { border-radius: 999px; min-height: 48px; }
.inv[data-layout="garden"] .inv-btn.line, .inv[data-layout="garden"] .inv-btn[aria-pressed="false"] { color: inherit; border-color: currentColor; background: transparent; }
.inv[data-layout="garden"] .inv-btn.line { font-size: 17px; }
/* on green, buttons turn cream */
.inv[data-layout="garden"] [data-sec="names"] .inv-btn:not(.line), .inv[data-layout="garden"] [data-sec="rsvp"] .inv-btn:not(.line):not([aria-pressed="false"]) { background: var(--gd-cream); color: var(--gd-green); }
/* the drawings: green on cream, cream on green */
.inv[data-layout="garden"] .inv-orn { display: block; width: 100%; aspect-ratio: 16 / 9; background: center / contain no-repeat; }
.inv[data-layout="garden"] [data-sec="names"] .inv-orn, .inv[data-layout="garden"] [data-sec="rsvp"] .inv-orn, .inv[data-layout="garden"] [data-sec="order"] .inv-orn { filter: brightness(0) invert(1); opacity: 0.95; }

/* 1. names, on green: the dancing couple, "the wedding of", names in script */
.inv[data-layout="garden"] [data-sec="names"] { gap: 14px; }
.inv[data-layout="garden"] [data-sec="names"] .inv-orn { aspect-ratio: 1; max-width: 220px; background-image: url("garden-couple.webp"); }
.inv[data-layout="garden"] .inv-photo { display: none !important; }
.inv[data-layout="garden"] .inv-hello { font-size: clamp(46px, 14cqw, 68px); display: flex; flex-direction: column; align-items: center; line-height: 1; }
.inv[data-layout="garden"] .inv-hello em { font-size: 0.5em; color: inherit; line-height: 1.3; }
.inv[lang="zh-Hant"][data-layout="garden"] .inv-hello { font-size: 34px; letter-spacing: 0.2em; text-indent: 0.2em; line-height: 1.3; }
.inv[lang="zh-Hant"][data-layout="garden"] .inv-hello em { font-size: 0.5em; letter-spacing: 0; text-indent: 0; line-height: 1.8; }
.inv[data-layout="garden"] .inv-lead { font-size: 20px; }
.inv[lang="zh-Hant"][data-layout="garden"] .inv-lead { font-size: 18px; max-width: 16em; }
.inv[data-layout="garden"] .inv-when { color: inherit; font-size: 15px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.inv[lang="zh-Hant"][data-layout="garden"] .inv-when { font-size: 17px; font-weight: 500; letter-spacing: 0.12em; }
.inv[data-layout="garden"] [data-sec="names"] > .i-label { font-size: 12px; opacity: 0.85; }
.inv[data-layout="garden"] .inv-count { max-width: 330px; margin: 6px auto 0; padding: 10px 6px; gap: 0; border: 1.5px solid var(--gd-cream); border-radius: 10px 14px 9px 13px; }
.inv[data-layout="garden"] .inv-count div { border: none; background: none; aspect-ratio: auto; }
.inv[data-layout="garden"] .inv-count div + div { border-left: 1px solid rgba(251, 248, 238, 0.45); }
.inv[data-layout="garden"] .inv-count b { font-size: 30px; }
.inv[data-layout="garden"] .inv-count span { font-size: 10px; }
.inv[lang="zh-Hant"][data-layout="garden"] .inv-count span { font-size: 13px; font-weight: 400; }

/* 2. date, on cream: the calendar inside a wavy hand-drawn frame */
.inv[data-layout="garden"] [data-sec="date"] { gap: 18px; }
.inv[data-layout="garden"] [data-sec="date"] .inv-orn { display: none; }
.inv[data-layout="garden"] .inv-cal { padding: 28px 24px 22px; background: var(--gd-wavy) center / 100% 100% no-repeat; }
.inv[data-layout="garden"] .inv-cal-m { font-style: normal; font-size: 18px; letter-spacing: 0.08em; }
.inv[lang="zh-Hant"][data-layout="garden"] .inv-cal-m { font-size: 19px; letter-spacing: 0.14em; }
.inv[data-layout="garden"] .inv-cal-g b { opacity: 0.75; font-weight: 500; }
.inv[data-layout="garden"] .inv-cal-g .on { color: var(--gd-green); font-weight: 700; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 4.5c8.8 0 15.5 6.4 15.5 15 0 8.9-6.9 15.6-15.6 15.6C11.2 35.1 4.6 28.5 4.6 20 4.6 11.4 10.6 5.3 18.3 4.2c3.6-.5 7 .3 9.6 2' fill='none' stroke='%233F6B45' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* 3. order of the day, on green: the bistro table, then times on fine rules */
.inv[data-layout="garden"] [data-sec="order"] .inv-orn { max-width: 210px; aspect-ratio: 1.2; background-image: url("garden-table.webp"); }
.inv[data-layout="garden"] .inv-order li { border-top-color: rgba(251, 248, 238, 0.35); }
.inv[data-layout="garden"] .inv-order li:last-child { border-bottom-color: rgba(251, 248, 238, 0.35); }
.inv[data-layout="garden"] .inv-order time { color: var(--gd-cream); font-size: 17px; }
.inv[data-layout="garden"] .inv-order span { color: rgba(251, 248, 238, 0.8); }

/* 4. good to know, on cream: the chapel, notes in a wavy frame */
.inv[data-layout="garden"] [data-sec="details"] .inv-orn { max-width: 150px; aspect-ratio: 0.9; background-image: url("garden-chapel.webp"); }
.inv[data-layout="garden"] .inv-cards { padding: 26px 22px; background: var(--gd-wavy) center / 100% 100% no-repeat; }
.inv[data-layout="garden"] .inv-card { border-color: var(--gd-hair); }
.inv[data-layout="garden"] .inv-card:first-child { border-top: none; }
.inv[data-layout="garden"] .inv-card:last-child { border-bottom: none; }
.inv[data-layout="garden"] .inv-card h3 { color: var(--gd-green); }
.inv[data-layout="garden"] .inv-card p { color: var(--chocolate); }

/* 5. reply, on green: a ribbon bow over the heading */
.inv[data-layout="garden"] [data-sec="rsvp"] .inv-orn { max-width: 200px; aspect-ratio: 1.6; background-image: url("garden-bow.webp"); }
.inv[data-layout="garden"] [data-sec="rsvp"] .inv-lead { color: inherit; }
.inv[data-layout="garden"] .inv-form { padding: 22px 18px; background: var(--gd-cream); color: var(--chocolate); border-radius: 12px 16px 11px 15px; }
.inv[data-layout="garden"] .inv-field label, .inv[data-layout="garden"] .inv-checks legend { color: var(--taupe); }
.inv[data-layout="garden"] .inv-field input, .inv[data-layout="garden"] .inv-field select { border-bottom-color: var(--gd-hair); }
.inv[data-layout="garden"] .inv-field textarea { border-color: var(--gd-hair); background: #FFFFFF; }
.inv[data-layout="garden"] .inv-checks label { border-color: var(--gd-hair); }
.inv[data-layout="garden"] .inv-checks label:has(input:checked) { background: #E3ECDF; }
.inv[data-layout="garden"] .inv-checks input { accent-color: var(--gd-green); }
.inv[data-layout="garden"] [data-sec="rsvp"] .inv-form .inv-btn { background: var(--gd-green); color: var(--gd-cream); }
.inv[data-layout="garden"] [data-sec="rsvp"] .inv-form .inv-btn[aria-pressed="false"] { background: transparent; color: var(--gd-green); border: 1px solid var(--gd-green); }
.inv[data-layout="garden"] .inv-thanks { background: none; border: none; padding: 0; color: inherit; }
.inv[data-layout="garden"] .inv-thanks .inv-back { color: var(--gd-cream); }

/* foot, back on cream */
.inv[data-layout="garden"] .inv-share { width: auto; margin: 32px 26px 0; color: var(--gd-green); }
.inv[data-layout="garden"] .inv-made { padding: 20px 20px 0; color: var(--gd-green); }
.inv[data-layout="garden"] .inv-made a { color: var(--gd-green); }
.inv[data-layout="garden"] .inv-col::after { content: ""; display: block; height: 40px; }
