/* ============================================================
   Tema «trigo» — Primera comunión (demo comunion-trigo · intro envelope).
   Concepto: «Trigo y Olivo». Lino crudo, espigas de trigo, ramas de olivo y un cáliz
   con la hostia radiante; tarjetas como estampitas con doble filete dorado.
   Paleta: lino #F3EDE2 · olivo #7A8450 (texto/botones: olivo profundo #5A6532) ·
   trigo #E3C48A / #C9A35C · madera #8B6B4A · uva #4E3B52 · tinta #3B2F2A.
   Tipos: EB Garamond (títulos y texto) · Allura (nombre y caligrafía).
   Contraste medido: tinta #3B2F2A sobre lino 11:1 · texto secundario #6B5D52 5,4:1 (4,9:1 sobre #EAE1D0) ·
   olivo profundo #5A6532 sobre lino 5,4:1 y blanco sobre olivo profundo 6,3:1 · uva #4E3B52 8,7:1.
   El dorado (#C9A35C) solo decora (filetes, espigas, íconos grandes), nunca es texto.
   Ilustraciones: SVG propios en data URI (variables --tg-*). Todo acotado bajo html[data-theme="trigo"].
   ============================================================ */
:root {
  --bg: #F3EDE2;
  --bg-alt: #EAE1D0;
  --surface: #FBF8F2;
  --ink: #3B2F2A;
  --ink-soft: #6B5D52;
  --accent: #5A6532;
  --accent-2: #C9A35C;
  --accent-ink: #FFFFFF;
  --line: rgba(59, 47, 42, .14);
  --font-display: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-script: 'Allura', 'EB Garamond', cursive;
  --font-body: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --radius: 14px;
  --shadow: 0 16px 34px -24px rgba(59, 47, 42, .5), 0 2px 6px -2px rgba(59, 47, 42, .08);
  --hero-overlay: linear-gradient(180deg, rgba(59, 47, 42, .1), rgba(59, 47, 42, .5));
  --hero-ink: #FFFFFF;
  --intro-bg: #E9DFCC;
  --intro-ink: #3B2F2A;
  --seal: #6B7543;
  /* piezas propias del tema */
  --tg-olive: #7A8450;
  --tg-olive-d: #5A6532;
  --tg-wheat: #E3C48A;
  --tg-gold: #C9A35C;
  --tg-gold-d: #A07C3B;
  --tg-wood: #8B6B4A;
  --tg-grape: #4E3B52;
  --tg-paper: #FBF8F2;
  --tg-frame: inset 0 0 0 6px var(--tg-paper), inset 0 0 0 7px rgba(201, 163, 92, .6);
  --pattern: var(--tg-linen);
  /* ilustraciones SVG propias (generadas): escudo con cáliz, manojo de trigo, rama de olivo, divisor, lino, forro y ramita */
  --tg-crest: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='200' viewBox='0 0 260 200'%3E%3Cpath d='M118 196 Q49 133 40 70' fill='none' stroke='%23A07C3B' stroke-width='1.7' stroke-linecap='round'/%3E%3Cellipse cx='59' cy='130.1' rx='3.9' ry='8' transform='rotate(-57 59 130.1)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M52.9 126.1 L41.4 115.3' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='63.7' cy='127.3' rx='3.9' ry='8' transform='rotate(-5 63.7 127.3)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M63.1 120 L59 104.7' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='54.7' cy='122' rx='3.7' ry='7.6' transform='rotate(-54.4 54.7 122)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M49 117.9 L38.5 107.2' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='59.3' cy='119.6' rx='3.7' ry='7.6' transform='rotate(-2.4 59.3 119.6)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M59 112.5 L55.8 97.9' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='50.8' cy='114' rx='3.5' ry='7.3' transform='rotate(-51.7 50.8 114)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M45.6 109.8 L36.1 99.1' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='55.3' cy='111.8' rx='3.5' ry='7.3' transform='rotate(0.3 55.3 111.8)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M55.4 105.2 L53 91' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='47.5' cy='106' rx='3.4' ry='6.9' transform='rotate(-48.8 47.5 106)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M42.7 101.8 L34.1 91.2' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='51.8' cy='104.1' rx='3.4' ry='6.9' transform='rotate(3.2 51.8 104.1)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M52.2 97.8 L50.6 84.3' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='44.6' cy='97.9' rx='3.2' ry='6.5' transform='rotate(-45.8 44.6 97.9)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M40.2 93.7 L32.7 83.3' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='48.8' cy='96.4' rx='3.2' ry='6.5' transform='rotate(6.2 48.8 96.4)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M49.4 90.4 L48.6 77.5' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='42.1' cy='89.9' rx='3' ry='6.2' transform='rotate(-42.7 42.1 89.9)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M38.3 85.7 L31.7 75.5' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='46.2' cy='88.7' rx='3' ry='6.2' transform='rotate(9.3 46.2 88.7)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M47.1 83.1 L46.9 70.9' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='40.2' cy='81.9' rx='2.8' ry='5.8' transform='rotate(-39.5 40.2 81.9)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M36.8 77.8 L31.1 67.8' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='44.1' cy='81' rx='2.8' ry='5.8' transform='rotate(12.5 44.1 81)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M45.2 75.8 L45.7 64.3' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='40.4' cy='72.5' rx='3.2' ry='7.4' transform='rotate(-9.2 40.4 72.5)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M142 196 Q211 133 220 70' fill='none' stroke='%23A07C3B' stroke-width='1.7' stroke-linecap='round'/%3E%3Cellipse cx='196.3' cy='127.3' rx='3.9' ry='8' transform='rotate(5 196.3 127.3)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M196.9 120 L201 104.7' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='201' cy='130.1' rx='3.9' ry='8' transform='rotate(57 201 130.1)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M207.1 126.1 L218.6 115.3' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='200.7' cy='119.6' rx='3.7' ry='7.6' transform='rotate(2.4 200.7 119.6)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M201 112.5 L204.2 97.9' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='205.3' cy='122' rx='3.7' ry='7.6' transform='rotate(54.4 205.3 122)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M211 117.9 L221.5 107.2' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='204.7' cy='111.8' rx='3.5' ry='7.3' transform='rotate(-0.3 204.7 111.8)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M204.6 105.2 L207 91' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='209.2' cy='114' rx='3.5' ry='7.3' transform='rotate(51.7 209.2 114)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M214.4 109.8 L223.9 99.1' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='208.2' cy='104.1' rx='3.4' ry='6.9' transform='rotate(-3.2 208.2 104.1)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M207.8 97.8 L209.4 84.3' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='212.5' cy='106' rx='3.4' ry='6.9' transform='rotate(48.8 212.5 106)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M217.3 101.8 L225.9 91.2' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='211.2' cy='96.4' rx='3.2' ry='6.5' transform='rotate(-6.2 211.2 96.4)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M210.6 90.4 L211.4 77.5' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='215.4' cy='97.9' rx='3.2' ry='6.5' transform='rotate(45.8 215.4 97.9)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M219.8 93.7 L227.3 83.3' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='213.8' cy='88.7' rx='3' ry='6.2' transform='rotate(-9.3 213.8 88.7)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M212.9 83.1 L213.1 70.9' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='217.9' cy='89.9' rx='3' ry='6.2' transform='rotate(42.7 217.9 89.9)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M221.7 85.7 L228.3 75.5' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='215.9' cy='81' rx='2.8' ry='5.8' transform='rotate(-12.5 215.9 81)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M214.8 75.8 L214.3 64.3' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='219.8' cy='81.9' rx='2.8' ry='5.8' transform='rotate(39.5 219.8 81.9)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M223.2 77.8 L228.9 67.8' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='219.6' cy='72.5' rx='3.2' ry='7.4' transform='rotate(9.2 219.6 72.5)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M122 194 Q88 174.4 66 150' fill='none' stroke='%235A6532' stroke-width='1.3' stroke-linecap='round'/%3E%3Cellipse cx='103.3' cy='190.4' rx='10.8' ry='3' transform='rotate(-186.2 103.3 190.4)' fill='%237A8450'/%3E%3Cpath d='M114 189.2 L94.7 191.3' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='100.3' cy='172.3' rx='10.5' ry='3' transform='rotate(-107.5 100.3 172.3)' fill='%239AA374'/%3E%3Cpath d='M103.4 182.3 L97.7 164.3' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='97.1' cy='182' rx='3.2' ry='4.3' transform='rotate(-107.5 97.1 182)' fill='%234E3B52'/%3E%3Ccircle cx='96' cy='180.6' r='0.9' fill='%23fff' opacity='.35'/%3E%3Cellipse cx='83.3' cy='175.2' rx='10.2' ry='3' transform='rotate(-180.6 83.3 175.2)' fill='%237A8450'/%3E%3Cpath d='M93.5 175.1 L75.2 175.3' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='82.3' cy='158' rx='9.8' ry='3' transform='rotate(-101.6 82.3 158)' fill='%237A8450'/%3E%3Cpath d='M84.2 167.7 L80.7 150.3' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='66.2' cy='159' rx='9.5' ry='3' transform='rotate(-174.3 66.2 159)' fill='%239AA374'/%3E%3Cpath d='M75.7 159.9 L58.6 158.2' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cpath d='M138 194 Q172 169.6 194 150' fill='none' stroke='%235A6532' stroke-width='1.3' stroke-linecap='round'/%3E%3Cellipse cx='148.9' cy='177.8' rx='10.8' ry='3' transform='rotate(-74.2 148.9 177.8)' fill='%237A8450'/%3E%3Cpath d='M146 188.2 L151.3 169.5' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='167.1' cy='180.5' rx='10.5' ry='3' transform='rotate(1 167.1 180.5)' fill='%239AA374'/%3E%3Cpath d='M156.6 180.3 L175.4 180.7' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='169' cy='162.9' rx='10.2' ry='3' transform='rotate(-75.9 169 162.9)' fill='%237A8450'/%3E%3Cpath d='M166.5 172.7 L171 155' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='185.6' cy='165.3' rx='9.8' ry='3' transform='rotate(-0.9 185.6 165.3)' fill='%237A8450'/%3E%3Cpath d='M175.8 165.4 L193.4 165.1' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='177.8' cy='159.5' rx='3.2' ry='4.3' transform='rotate(-0.9 177.8 159.5)' fill='%234E3B52'/%3E%3Ccircle cx='176.7' cy='158' r='0.9' fill='%23fff' opacity='.35'/%3E%3Cellipse cx='186.3' cy='149.1' rx='9.5' ry='3' transform='rotate(-78.1 186.3 149.1)' fill='%239AA374'/%3E%3Cpath d='M184.3 158.4 L187.9 141.6' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cpath d='M152.1 47 L167.8 47' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M151.3 52.7 L160.4 55.2' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M149.1 58 L162.7 65.9' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M145.6 62.6 L152.3 69.3' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M141 66.1 L148.9 79.7' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M135.7 68.3 L138.2 77.4' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M130 69 L130 84.8' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M124.3 68.3 L121.8 77.4' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M119 66.1 L111.1 79.7' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M114.4 62.6 L107.7 69.3' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M110.9 58 L97.3 65.9' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M108.7 52.7 L99.6 55.2' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M108 47 L92.2 47' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M108.7 41.3 L99.6 38.8' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M110.9 36 L97.3 28.1' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M114.4 31.4 L107.7 24.7' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M119 27.9 L111.1 14.3' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M124.3 25.7 L121.8 16.6' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M130 24.9 L130 9.2' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M135.7 25.7 L138.2 16.6' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M141 27.9 L148.9 14.3' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M145.6 31.4 L152.3 24.7' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M149.1 36 L162.7 28.1' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Cpath d='M151.3 41.3 L160.4 38.8' stroke='%23C9A35C' stroke-width='1.2' stroke-linecap='round' opacity='.85'/%3E%3Ccircle cx='130' cy='47' r='16.8' fill='%23FBF8F2' stroke='%23A07C3B' stroke-width='1.3'/%3E%3Ccircle cx='130' cy='47' r='13.1' fill='none' stroke='%23C9A35C' stroke-width='0.6'/%3E%3Cpath d='M130 38.6 V55.4 M123.7 44.4 H136.3' stroke='%23A07C3B' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M103.8 61.7 H156.3 C155.2 84.8 142.6 95.3 134.2 98.5 V112.1 C134.2 116.3 148.9 118.4 151 124.7 H109 C111.1 118.4 125.8 116.3 125.8 112.1 V98.5 C117.4 95.3 104.8 84.8 103.8 61.7 Z' fill='%23E3C48A' stroke='%23A07C3B' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cellipse cx='130' cy='104.8' rx='7.4' ry='3.2' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='0.9'/%3E%3Cpath d='M112.2 67 C113.2 77.5 119.5 84.8 124.8 88' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' opacity='.55'/%3E%3Cpath d='M103.8 61.7 H156.3' stroke='%23A07C3B' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E");
  --tg-sheaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='320' viewBox='0 0 220 320'%3E%3Cpath d='M40 318 Q79 189 70 60' fill='none' stroke='%23A07C3B' stroke-width='1.8' stroke-linecap='round'/%3E%3Cellipse cx='64.9' cy='181.2' rx='4.3' ry='8.7' transform='rotate(-19.8 64.9 181.2)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M62.1 173.7 L59.2 156.7' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='70.8' cy='181.9' rx='4.3' ry='8.7' transform='rotate(32.2 70.8 181.9)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M75.1 175.1 L81.6 159.1' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='66.3' cy='167.2' rx='4.1' ry='8.3' transform='rotate(-20.9 66.3 167.2)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M63.6 160 L60.5 143.9' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='72' cy='167.7' rx='4.1' ry='8.3' transform='rotate(31.1 72 167.7)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M76 161.1 L81.9 145.8' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='67.5' cy='153.2' rx='3.9' ry='8' transform='rotate(-22.1 67.5 153.2)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M64.8 146.4 L61.5 131.1' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='72.9' cy='153.6' rx='3.9' ry='8' transform='rotate(29.9 72.9 153.6)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M76.6 147.2 L81.9 132.4' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='68.4' cy='139.2' rx='3.7' ry='7.6' transform='rotate(-23.3 68.4 139.2)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M65.7 132.8 L62.2 118.2' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='73.6' cy='139.4' rx='3.7' ry='7.6' transform='rotate(28.7 73.6 139.4)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M76.9 133.3 L81.7 119.2' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='69' cy='125.1' rx='3.5' ry='7.2' transform='rotate(-24.5 69 125.1)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M66.3 119.1 L62.8 105.4' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='73.9' cy='125.3' rx='3.5' ry='7.2' transform='rotate(27.5 73.9 125.3)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M77 119.4 L81.3 105.9' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='69.4' cy='111.1' rx='3.3' ry='6.8' transform='rotate(-25.6 69.4 111.1)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M66.7 105.5 L63.1 92.6' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='74' cy='111.1' rx='3.3' ry='6.8' transform='rotate(26.4 74 111.1)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M76.8 105.5 L80.5 92.7' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='69.4' cy='97.1' rx='3.1' ry='6.4' transform='rotate(-26.8 69.4 97.1)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M66.8 91.8 L63.1 79.8' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='73.8' cy='97' rx='3.1' ry='6.4' transform='rotate(25.2 73.8 97)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M76.3 91.7 L79.6 79.5' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='69.2' cy='83' rx='2.9' ry='6' transform='rotate(-28 69.2 83)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M66.6 78.1 L62.9 66.9' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='73.3' cy='82.9' rx='2.9' ry='6' transform='rotate(24 73.3 82.9)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M75.5 77.8 L78.4 66.4' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='70.3' cy='65.2' rx='3.4' ry='8' transform='rotate(-3.6 70.3 65.2)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M60 320 Q116 199 128 78' fill='none' stroke='%23A07C3B' stroke-width='1.8' stroke-linecap='round'/%3E%3Cellipse cx='104.2' cy='191.3' rx='4.1' ry='8.4' transform='rotate(-10.7 104.2 191.3)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M102.7 183.7 L102.5 167.2' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='109.7' cy='192.8' rx='4.1' ry='8.4' transform='rotate(41.3 109.7 192.8)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M114.8 187 L123.3 172.9' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='107.7' cy='178.1' rx='3.9' ry='8' transform='rotate(-11.8 107.7 178.1)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M106.2 170.9 L105.7 155.2' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='113' cy='179.5' rx='3.9' ry='8' transform='rotate(40.2 113 179.5)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M117.8 173.9 L125.7 160.3' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='111' cy='165' rx='3.7' ry='7.6' transform='rotate(-12.8 111 165)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M109.5 158.2 L108.7 143.2' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='116.1' cy='166.2' rx='3.7' ry='7.6' transform='rotate(39.2 116.1 166.2)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M120.5 160.7 L127.8 147.6' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='114.1' cy='151.9' rx='3.5' ry='7.2' transform='rotate(-13.9 114.1 151.9)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M112.4 145.4 L111.5 131.1' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='118.9' cy='152.9' rx='3.5' ry='7.2' transform='rotate(38.1 118.9 152.9)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M123 147.6 L129.7 135' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='116.8' cy='138.7' rx='3.3' ry='6.9' transform='rotate(-15 116.8 138.7)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M115.2 132.6 L114 119.1' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='121.4' cy='139.6' rx='3.3' ry='6.9' transform='rotate(37 121.4 139.6)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M125.2 134.5 L131.4 122.5' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='119.3' cy='125.6' rx='3.2' ry='6.5' transform='rotate(-16.1 119.3 125.6)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M117.7 119.8 L116.3 107.1' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='123.7' cy='126.3' rx='3.2' ry='6.5' transform='rotate(35.9 123.7 126.3)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M127.2 121.5 L132.8 110' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='121.6' cy='112.4' rx='3' ry='6.1' transform='rotate(-17.3 121.6 112.4)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M119.9 107 L118.4 95.1' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='125.7' cy='113' rx='3' ry='6.1' transform='rotate(34.7 125.7 113)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M128.9 108.4 L134 97.5' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='123.6' cy='99.2' rx='2.8' ry='5.7' transform='rotate(-18.4 123.6 99.2)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M121.9 94.2 L120.3 83' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='127.5' cy='99.8' rx='2.8' ry='5.7' transform='rotate(33.6 127.5 99.8)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M130.4 95.4 L134.9 85' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='127.5' cy='82.8' rx='3.3' ry='7.7' transform='rotate(6.1 127.5 82.8)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M24 316 Q15 206 18 96' fill='none' stroke='%23A07C3B' stroke-width='1.7' stroke-linecap='round'/%3E%3Cellipse cx='15.1' cy='199.6' rx='3.9' ry='8' transform='rotate(-27.4 15.1 199.6)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M11.7 193 L7 178' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='20.6' cy='199.4' rx='3.9' ry='8' transform='rotate(24.6 20.6 199.4)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M23.6 192.7 L27.6 177.5' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='14.9' cy='185.8' rx='3.7' ry='7.6' transform='rotate(-27 14.9 185.8)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M11.8 179.6 L7.3 165.2' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='20.2' cy='185.7' rx='3.7' ry='7.6' transform='rotate(25 20.2 185.7)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M23.1 179.4 L27 164.8' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='14.9' cy='172.1' rx='3.5' ry='7.3' transform='rotate(-26.7 14.9 172.1)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M11.9 166.1 L7.8 152.4' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='19.8' cy='172' rx='3.5' ry='7.3' transform='rotate(25.3 19.8 172)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M22.7 166 L26.5 152.1' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='14.9' cy='158.3' rx='3.4' ry='6.9' transform='rotate(-26.3 14.9 158.3)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M12.1 152.6 L8.3 139.5' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='19.6' cy='158.3' rx='3.4' ry='6.9' transform='rotate(25.7 19.6 158.3)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M22.4 152.6 L26.1 139.4' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='15' cy='144.6' rx='3.2' ry='6.5' transform='rotate(-25.9 15 144.6)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M12.4 139.1 L8.9 126.7' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='19.5' cy='144.6' rx='3.2' ry='6.5' transform='rotate(26.1 19.5 144.6)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M22.2 139.2 L25.7 126.8' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='15.2' cy='130.8' rx='3' ry='6.2' transform='rotate(-25.5 15.2 130.8)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M12.8 125.7 L9.5 113.9' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='19.5' cy='130.8' rx='3' ry='6.2' transform='rotate(26.5 19.5 130.8)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M22 125.8 L25.5 114.1' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='15.5' cy='117.1' rx='2.8' ry='5.8' transform='rotate(-25.1 15.5 117.1)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M13.3 112.2 L10.3 101.1' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='19.5' cy='117.1' rx='2.8' ry='5.8' transform='rotate(26.9 19.5 117.1)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M22 112.3 L25.3 101.3' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='17.9' cy='100.4' rx='3.2' ry='7.4' transform='rotate(1.4 17.9 100.4)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M76 320 Q143 224 178 128' fill='none' stroke='%23A07C3B' stroke-width='1.6' stroke-linecap='round'/%3E%3Cellipse cx='135.7' cy='217.2' rx='3.7' ry='7.6' transform='rotate(1.7 135.7 217.2)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M135.9 210.2 L138.9 195.5' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='140.3' cy='219.6' rx='3.7' ry='7.6' transform='rotate(53.7 140.3 219.6)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M145.9 215.5 L156.3 204.6' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='141.9' cy='205.3' rx='3.5' ry='7.3' transform='rotate(0.7 141.9 205.3)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M142 198.6 L144.6 184.5' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='146.3' cy='207.5' rx='3.5' ry='7.3' transform='rotate(52.7 146.3 207.5)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M151.6 203.5 L161.3 192.9' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='147.8' cy='193.4' rx='3.4' ry='6.9' transform='rotate(-0.2 147.8 193.4)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M147.8 187 L150.1 173.5' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='152.1' cy='195.4' rx='3.4' ry='6.9' transform='rotate(51.8 152.1 195.4)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M157.1 191.5 L166.2 181.3' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='153.6' cy='181.4' rx='3.2' ry='6.6' transform='rotate(-1.2 153.6 181.4)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M153.4 175.4 L155.4 162.6' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='157.6' cy='183.3' rx='3.2' ry='6.6' transform='rotate(50.8 157.6 183.3)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M162.3 179.5 L170.8 169.7' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='159' cy='169.5' rx='3' ry='6.2' transform='rotate(-2.2 159 169.5)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M158.8 163.8 L160.5 151.6' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='162.9' cy='171.2' rx='3' ry='6.2' transform='rotate(49.8 162.9 171.2)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M167.3 167.5 L175.2 158.1' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='164.3' cy='157.6' rx='2.9' ry='5.9' transform='rotate(-3.2 164.3 157.6)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M164 152.2 L165.3 140.6' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='168' cy='159.2' rx='2.9' ry='5.9' transform='rotate(48.8 168 159.2)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M172.1 155.6 L179.3 146.5' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='169.2' cy='145.7' rx='2.7' ry='5.5' transform='rotate(-4.3 169.2 145.7)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M168.9 140.6 L170 129.7' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='172.8' cy='147.1' rx='2.7' ry='5.5' transform='rotate(47.7 172.8 147.1)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M176.5 143.7 L183.3 135' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='176.6' cy='131.8' rx='3' ry='7' transform='rotate(20.4 176.6 131.8)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M30 318 Q96 274.6 150 236' fill='none' stroke='%235A6532' stroke-width='1.4' stroke-linecap='round'/%3E%3Cellipse cx='49.5' cy='296.3' rx='12' ry='3.3' transform='rotate(-71.6 49.5 296.3)' fill='%237A8450'/%3E%3Cpath d='M45.7 307.7 L52.5 287.2' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='75.1' cy='296.6' rx='11.6' ry='3.3' transform='rotate(4.2 75.1 296.6)' fill='%239AA374'/%3E%3Cpath d='M63.5 295.8 L84.4 297.3' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='84.3' cy='273.3' rx='11.3' ry='3.3' transform='rotate(-72.1 84.3 273.3)' fill='%237A8450'/%3E%3Cpath d='M80.9 284 L87.1 264.7' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='87.9' cy='283.8' rx='3.6' ry='4.8' transform='rotate(-72.1 87.9 283.8)' fill='%234E3B52'/%3E%3Ccircle cx='86.7' cy='282.2' r='1' fill='%23fff' opacity='.35'/%3E%3Cellipse cx='108.7' cy='273.2' rx='10.9' ry='3.3' transform='rotate(3.6 108.7 273.2)' fill='%237A8450'/%3E%3Cpath d='M97.8 272.5 L117.4 273.7' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='117.3' cy='251.1' rx='10.6' ry='3.3' transform='rotate(-72.8 117.3 251.1)' fill='%239AA374'/%3E%3Cpath d='M114.2 261.2 L119.8 243' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='140.4' cy='250.6' rx='10.2' ry='3.3' transform='rotate(2.9 140.4 250.6)' fill='%237A8450'/%3E%3Cpath d='M130.2 250.1 L148.5 251' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3C/svg%3E");
  --tg-branch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='170' viewBox='0 0 300 170'%3E%3Cpath d='M296 8 Q198 63 20 150' fill='none' stroke='%235A6532' stroke-width='1.8' stroke-linecap='round'/%3E%3Cellipse cx='265.4' cy='35.4' rx='15' ry='4.1' transform='rotate(113.3 265.4 35.4)' fill='%237A8450'/%3E%3Cpath d='M271.3 21.7 L260.6 46.5' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='238.3' cy='29.3' rx='14.5' ry='4.1' transform='rotate(189.7 238.3 29.3)' fill='%239AA374'/%3E%3Cpath d='M252.7 31.8 L226.9 27.4' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='227.2' cy='55.2' rx='14.1' ry='4.1' transform='rotate(114.1 227.2 55.2)' fill='%237A8450'/%3E%3Cpath d='M232.9 42.3 L222.6 65.5' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='224.2' cy='41.7' rx='4.5' ry='6' transform='rotate(114.1 224.2 41.7)' fill='%234E3B52'/%3E%3Ccircle cx='222.7' cy='39.7' r='1.3' fill='%23fff' opacity='.35'/%3E%3Cellipse cx='198.6' cy='50.9' rx='13.7' ry='4.1' transform='rotate(190.4 198.6 50.9)' fill='%237A8450'/%3E%3Cpath d='M212 53.3 L187.8 48.9' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='184.5' cy='76.8' rx='13.2' ry='4.1' transform='rotate(114.6 184.5 76.8)' fill='%239AA374'/%3E%3Cpath d='M190 64.8 L180.1 86.4' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='154.3' cy='74.3' rx='12.8' ry='4.1' transform='rotate(190.9 154.3 74.3)' fill='%237A8450'/%3E%3Cpath d='M166.8 76.7 L144.3 72.4' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='137.3' cy='100.2' rx='12.3' ry='4.1' transform='rotate(115.1 137.3 100.2)' fill='%237A8450'/%3E%3Cpath d='M142.5 89.1 L133.1 109.1' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='133.8' cy='88.3' rx='4.5' ry='6' transform='rotate(115.1 133.8 88.3)' fill='%234E3B52'/%3E%3Ccircle cx='132.3' cy='86.3' r='1.3' fill='%23fff' opacity='.35'/%3E%3Cellipse cx='105.5' cy='99.6' rx='11.9' ry='4.1' transform='rotate(191.3 105.5 99.6)' fill='%239AA374'/%3E%3Cpath d='M117.1 101.9 L96.2 97.7' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='85.7' cy='125.5' rx='11.4' ry='4.1' transform='rotate(115.5 85.7 125.5)' fill='%237A8450'/%3E%3Cpath d='M90.6 115.2 L81.7 133.7' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='52.2' cy='126.7' rx='10.9' ry='4.1' transform='rotate(191.7 52.2 126.7)' fill='%237A8450'/%3E%3Cpath d='M62.9 128.9 L43.6 124.9' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cpath d='M230 40 Q182 26.2 150 6' fill='none' stroke='%235A6532' stroke-width='1.3' stroke-linecap='round'/%3E%3Cellipse cx='208.6' cy='40.4' rx='10.8' ry='3' transform='rotate(-200.5 208.6 40.4)' fill='%237A8450'/%3E%3Cpath d='M218.7 36.6 L200.5 43.4' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='194.6' cy='21.3' rx='10.5' ry='3' transform='rotate(-121.6 194.6 21.3)' fill='%239AA374'/%3E%3Cpath d='M200.1 30.2 L190.2 14.1' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='193.9' cy='31.5' rx='3.2' ry='4.3' transform='rotate(-121.6 193.9 31.5)' fill='%234E3B52'/%3E%3Ccircle cx='192.8' cy='30' r='0.9' fill='%23fff' opacity='.35'/%3E%3Cellipse cx='173' cy='25.7' rx='10.2' ry='3' transform='rotate(-194.3 173 25.7)' fill='%237A8450'/%3E%3Cpath d='M182.8 23.2 L165.1 27.8' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='162.9' cy='6.8' rx='9.8' ry='3' transform='rotate(-114.7 162.9 6.8)' fill='%237A8450'/%3E%3Cpath d='M167 15.7 L159.6 -0.4' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3C/svg%3E");
  --ornament: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='56' viewBox='0 0 300 56'%3E%3Cpath d='M18 28 H110 M190 28 H282' stroke='%23C9A35C' stroke-width='1' opacity='.7'/%3E%3Cpath d='M122 30 Q75 28 40 26' fill='none' stroke='%23A07C3B' stroke-width='1.2' stroke-linecap='round'/%3E%3Cellipse cx='74.7' cy='29.9' rx='2.9' ry='5.9' transform='rotate(-113.2 74.7 29.9)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M69.7 32 L58.3 34.7' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='74.9' cy='25.8' rx='2.9' ry='5.9' transform='rotate(-61.2 74.9 25.8)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M70.1 23.2 L59 19.4' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='68.9' cy='29.5' rx='2.8' ry='5.7' transform='rotate(-113.1 68.9 29.5)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M64.1 31.5 L53.2 34.1' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='69.1' cy='25.6' rx='2.8' ry='5.7' transform='rotate(-61.1 69.1 25.6)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M64.5 23.1 L53.9 19.5' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='63.2' cy='29.1' rx='2.6' ry='5.4' transform='rotate(-113.1 63.2 29.1)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M58.6 31.1 L48.2 33.5' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='63.3' cy='25.4' rx='2.6' ry='5.4' transform='rotate(-61.1 63.3 25.4)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M59 23 L48.9 19.6' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='57.6' cy='28.7' rx='2.5' ry='5.1' transform='rotate(-113 57.6 28.7)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M53.2 30.6 L43.4 32.8' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='57.8' cy='25.2' rx='2.5' ry='5.1' transform='rotate(-61 57.8 25.2)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M53.6 22.9 L44.1 19.6' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='52.1' cy='28.3' rx='2.4' ry='4.9' transform='rotate(-112.9 52.1 28.3)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M48 30.1 L38.6 32.2' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='52.3' cy='25' rx='2.4' ry='4.9' transform='rotate(-60.9 52.3 25)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M48.4 22.8 L39.3 19.7' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='46.8' cy='28' rx='2.2' ry='4.6' transform='rotate(-112.9 46.8 28)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M42.9 29.6 L34.1 31.6' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='47' cy='24.8' rx='2.2' ry='4.6' transform='rotate(-60.9 47 24.8)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M43.3 22.8 L34.7 19.8' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='41.4' cy='26.1' rx='2.3' ry='5.5' transform='rotate(-86.8 41.4 26.1)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M178 30 Q225 28 260 26' fill='none' stroke='%23A07C3B' stroke-width='1.2' stroke-linecap='round'/%3E%3Cellipse cx='225.1' cy='25.8' rx='2.9' ry='5.9' transform='rotate(61.2 225.1 25.8)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M229.9 23.2 L241 19.4' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='225.3' cy='29.9' rx='2.9' ry='5.9' transform='rotate(113.2 225.3 29.9)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M230.3 32 L241.7 34.7' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='230.9' cy='25.6' rx='2.8' ry='5.7' transform='rotate(61.1 230.9 25.6)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M235.5 23.1 L246.1 19.5' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='231.1' cy='29.5' rx='2.8' ry='5.7' transform='rotate(113.1 231.1 29.5)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M235.9 31.5 L246.8 34.1' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='236.7' cy='25.4' rx='2.6' ry='5.4' transform='rotate(61.1 236.7 25.4)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M241 23 L251.1 19.6' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='236.8' cy='29.1' rx='2.6' ry='5.4' transform='rotate(113.1 236.8 29.1)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M241.4 31.1 L251.8 33.5' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='242.2' cy='25.2' rx='2.5' ry='5.1' transform='rotate(61 242.2 25.2)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M246.4 22.9 L255.9 19.6' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='242.4' cy='28.7' rx='2.5' ry='5.1' transform='rotate(113 242.4 28.7)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M246.8 30.6 L256.6 32.8' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='247.7' cy='25' rx='2.4' ry='4.9' transform='rotate(60.9 247.7 25)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M251.6 22.8 L260.7 19.7' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='247.9' cy='28.3' rx='2.4' ry='4.9' transform='rotate(112.9 247.9 28.3)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M252 30.1 L261.4 32.2' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='253' cy='24.8' rx='2.2' ry='4.6' transform='rotate(60.9 253 24.8)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M256.7 22.8 L265.3 19.8' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='253.2' cy='28' rx='2.2' ry='4.6' transform='rotate(112.9 253.2 28)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M257.1 29.6 L265.9 31.6' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='258.6' cy='26.1' rx='2.3' ry='5.5' transform='rotate(86.8 258.6 26.1)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Ccircle cx='150' cy='28' r='10' fill='%23FBF8F2' stroke='%23A07C3B' stroke-width='1.1'/%3E%3Cpath d='M150 22 V34 M145.5 26.5 H154.5' stroke='%23A07C3B' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
  --tg-linen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath d='M0 .5 H8 M0 4.5 H8' stroke='%233B2F2A' stroke-opacity='.035'/%3E%3Cpath d='M.5 0 V8 M4.5 0 V8' stroke='%233B2F2A' stroke-opacity='.025'/%3E%3C/svg%3E");
  --tg-lining: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='72' viewBox='0 0 104 72'%3E%3Cellipse cx='14' cy='18' rx='8' ry='2.4' transform='rotate(30 14 18)' fill='%237A8450' opacity='.55'/%3E%3Cellipse cx='46' cy='10' rx='8' ry='2.4' transform='rotate(-40 46 10)' fill='%237A8450' opacity='.55'/%3E%3Cellipse cx='70' cy='36' rx='8' ry='2.4' transform='rotate(20 70 36)' fill='%237A8450' opacity='.55'/%3E%3Cellipse cx='26' cy='52' rx='8' ry='2.4' transform='rotate(-30 26 52)' fill='%237A8450' opacity='.55'/%3E%3Cellipse cx='58' cy='62' rx='8' ry='2.4' transform='rotate(50 58 62)' fill='%237A8450' opacity='.55'/%3E%3Cellipse cx='88' cy='14' rx='8' ry='2.4' transform='rotate(-20 88 14)' fill='%237A8450' opacity='.55'/%3E%3Cellipse cx='94' cy='58' rx='8' ry='2.4' transform='rotate(35 94 58)' fill='%237A8450' opacity='.55'/%3E%3Ccircle cx='40' cy='34' r='2.6' fill='%234E3B52' opacity='.5'/%3E%3Ccircle cx='84' cy='40' r='2.2' fill='%234E3B52' opacity='.45'/%3E%3C/svg%3E");
  --tg-sprig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='260' viewBox='0 0 120 260'%3E%3Cpath d='M60 256 Q74 138 60 20' fill='none' stroke='%23A07C3B' stroke-width='2' stroke-linecap='round'/%3E%3Cellipse cx='63.7' cy='130.8' rx='4.6' ry='9.5' transform='rotate(-26.3 63.7 130.8)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M59.9 122.9 L54.6 105' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='70.2' cy='130.8' rx='4.6' ry='9.5' transform='rotate(25.7 70.2 130.8)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M74 122.9 L79.1 104.8' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='63.7' cy='118' rx='4.4' ry='9.1' transform='rotate(-27 63.7 118)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M59.9 110.5 L54.7 93.4' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='69.9' cy='117.9' rx='4.4' ry='9.1' transform='rotate(25 69.9 117.9)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M73.4 110.3 L78.1 93' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='63.5' cy='105.1' rx='4.2' ry='8.6' transform='rotate(-27.8 63.5 105.1)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M59.8 98.1 L54.6 81.8' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='69.4' cy='105' rx='4.2' ry='8.6' transform='rotate(24.2 69.4 105)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M72.7 97.7 L76.9 81.2' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='63.1' cy='92.3' rx='4' ry='8.2' transform='rotate(-28.5 63.1 92.3)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M59.5 85.7 L54.4 70.3' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='68.8' cy='92.1' rx='4' ry='8.2' transform='rotate(23.5 68.8 92.1)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M71.8 85.1 L75.6 69.3' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='62.6' cy='79.5' rx='3.8' ry='7.8' transform='rotate(-29.3 62.6 79.5)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M59.1 73.2 L54 58.7' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='67.9' cy='79.2' rx='3.8' ry='7.8' transform='rotate(22.7 67.9 79.2)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M70.7 72.5 L74.1 57.5' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='61.9' cy='66.6' rx='3.6' ry='7.4' transform='rotate(-30 61.9 66.6)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M58.5 60.8 L53.6 47.1' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='66.9' cy='66.3' rx='3.6' ry='7.4' transform='rotate(22 66.9 66.3)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M69.5 60 L72.5 45.8' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='61.1' cy='53.8' rx='3.4' ry='6.9' transform='rotate(-30.7 61.1 53.8)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M57.8 48.3 L52.9 35.5' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='65.8' cy='53.4' rx='3.4' ry='6.9' transform='rotate(21.3 65.8 53.4)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M68.1 47.4 L70.8 34' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='60' cy='40.9' rx='3.2' ry='6.5' transform='rotate(-31.5 60 40.9)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M56.9 35.8 L52.2 23.9' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='64.5' cy='40.5' rx='3.2' ry='6.5' transform='rotate(20.5 64.5 40.5)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M66.6 34.9 L68.9 22.3' stroke='%23A07C3B' stroke-width='.55' opacity='.6'/%3E%3Cellipse cx='60.5' cy='24.7' rx='3.8' ry='8.8' transform='rotate(-6.5 60.5 24.7)' fill='%23C9A35C' stroke='%23A07C3B' stroke-width='.7'/%3E%3Cpath d='M60 250 Q28 204 16 150' fill='none' stroke='%235A6532' stroke-width='1.2' stroke-linecap='round'/%3E%3Cellipse cx='43' cy='235.4' rx='10.2' ry='2.8' transform='rotate(-160.2 43 235.4)' fill='%237A8450'/%3E%3Cpath d='M52.6 238.8 L35.3 232.6' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='42.8' cy='209' rx='9.9' ry='2.8' transform='rotate(-79.6 42.8 209)' fill='%239AA374'/%3E%3Cpath d='M41.1 218.8 L44.3 201.3' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='35.9' cy='215.8' rx='3.1' ry='4.1' transform='rotate(-79.6 35.9 215.8)' fill='%234E3B52'/%3E%3Ccircle cx='34.9' cy='214.4' r='0.8' fill='%23fff' opacity='.35'/%3E%3Cellipse cx='22.9' cy='193.3' rx='9.6' ry='2.8' transform='rotate(-150.8 22.9 193.3)' fill='%237A8450'/%3E%3Cpath d='M31.3 198 L16.2 189.6' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3Cellipse cx='26.4' cy='167.8' rx='9.3' ry='2.8' transform='rotate(-70.1 26.4 167.8)' fill='%237A8450'/%3E%3Cpath d='M23.3 176.5 L28.9 160.8' stroke='%235A6532' stroke-width='.5' opacity='.55'/%3E%3C/svg%3E");
}

/* ---------- lienzo general ---------- */
html[data-theme="trigo"] {
  background-color: #E6DCC8;
  background-image:
    radial-gradient(70vw 60vh at 0% 0%, rgba(227, 196, 138, .35), transparent 70%),
    radial-gradient(60vw 60vh at 100% 100%, rgba(122, 132, 80, .18), transparent 70%),
    var(--tg-linen);
}
html[data-theme="trigo"] body.inv { color: var(--ink); }
html[data-theme="trigo"] ::selection { background: var(--tg-wheat); color: var(--ink); }
html[data-theme="trigo"] :focus-visible { outline-color: var(--tg-olive-d); }
html[data-theme="trigo"] .inv-page { background: var(--bg); }

/* ============================================================
   HERO «type» — escudo con cáliz y espigas, manojos en las esquinas
   ============================================================ */
html[data-theme="trigo"] .inv-hero--type,
html[data-theme="trigo"] .inv-hero--noimg {
  background-color: var(--bg);
  background-image:
    radial-gradient(90% 55% at 50% 38%, rgba(255, 253, 247, .95), rgba(255, 253, 247, 0) 70%),
    radial-gradient(120% 60% at 50% 100%, rgba(227, 196, 138, .32), transparent 70%),
    var(--tg-linen);
}
html[data-theme="trigo"] .inv-hero__art-spark { display: none; }
/* manojo de trigo abajo a la izquierda y rama de olivo arriba a la derecha */
html[data-theme="trigo"] .inv-hero__art::before {
  content: ''; left: -6%; top: auto; bottom: -2%; width: min(46vw, 230px); aspect-ratio: 220 / 320; transform: rotate(-6deg);
  border: 0; border-radius: 0; box-shadow: none;
  background: var(--tg-sheaf) left bottom / contain no-repeat;
  opacity: 0; transition: opacity 1.6s var(--ease) .5s, transform 2.2s var(--ease) .5s;
}
html[data-theme="trigo"] .inv-hero__art::after {
  content: ''; position: absolute; right: -6%; top: 2%; width: min(62vw, 300px); aspect-ratio: 300 / 170;
  background: var(--tg-branch) right top / contain no-repeat;
  opacity: 0; transform: rotate(4deg); transition: opacity 1.6s var(--ease) .7s, transform 2.2s var(--ease) .7s;
}
html.is-revealed[data-theme="trigo"] .inv-hero__art::before { opacity: .9; transform: rotate(0); }
html.is-revealed[data-theme="trigo"] .inv-hero__art::after { opacity: .85; transform: none; }
html[data-theme="trigo"] .inv-hero--type .inv-hero__content,
html[data-theme="trigo"] .inv-hero--noimg .inv-hero__content { padding-top: 34px; }
/* escudo: cáliz con hostia radiante entre espigas */
html[data-theme="trigo"] .inv-hero--type .inv-hero__content::before,
html[data-theme="trigo"] .inv-hero--noimg .inv-hero__content::before {
  content: ''; display: block; width: min(52vw, 200px); aspect-ratio: 260 / 200; margin: 0 auto 6px;
  background: var(--tg-crest) center / contain no-repeat;
  opacity: 0; transform: translateY(10px) scale(.94);
}
html.is-revealed[data-theme="trigo"] .inv-hero__content::before { animation: tgCrest 1.5s var(--ease) .05s both; }
@keyframes tgCrest { from { opacity: 0; transform: translateY(14px) scale(.9); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
html[data-theme="trigo"] .inv-hero__eyebrow {
  font-family: var(--font-display); font-weight: 500; font-size: .86rem; letter-spacing: .32em;
  color: var(--tg-olive-d); opacity: 1;
}
html[data-theme="trigo"] .inv-hero__title {
  font-family: var(--font-script); font-weight: 400;
  font-size: clamp(4.6rem, 25vw, 6.6rem); line-height: .95; margin: .02em 0 .12em;
  color: var(--tg-grape);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}
html[data-theme="trigo"] .inv-hero__subtitle {
  font-family: var(--font-display); font-style: italic; font-size: 1.24rem; line-height: 1.45;
  color: var(--ink-soft); opacity: 1; max-width: 21rem;
}
html[data-theme="trigo"] .inv-hero__date { color: var(--ink); font-family: var(--font-display); font-weight: 500; font-size: .8rem; letter-spacing: .24em; margin-top: 1.3rem; }
html[data-theme="trigo"] .inv-hero__date-side { border-color: rgba(201, 163, 92, .75); }
html[data-theme="trigo"] .inv-hero__date-day { font-family: var(--font-display); font-weight: 400; font-size: 3.5rem; color: var(--tg-grape); }
html[data-theme="trigo"] .inv-hero__time { color: var(--tg-olive-d); opacity: 1; font-weight: 600; }
html[data-theme="trigo"] .inv-hero__place { font-family: var(--font-display); font-size: 1.02rem; color: var(--ink-soft); opacity: 1; }
html[data-theme="trigo"] .inv-hero__place .inv-icon { color: var(--tg-olive); }
html[data-theme="trigo"] .inv-hero__cue { color: var(--tg-olive-d); font-family: var(--font-display); }

/* saludo del pase: estampita */
html[data-theme="trigo"] .inv-guest {
  background: var(--tg-paper); color: var(--ink); border: 1px solid rgba(59, 47, 42, .1); border-radius: 10px;
  box-shadow: var(--tg-frame), 0 14px 30px -20px rgba(59, 47, 42, .5);
  padding: 14px 24px 15px;
}
html[data-theme="trigo"] .inv-guest__label { font-family: var(--font-display); font-weight: 600; color: var(--tg-olive-d); opacity: 1; letter-spacing: .28em; }
html[data-theme="trigo"] .inv-guest__name { font-family: var(--font-script); font-weight: 400; font-size: 2.1rem; line-height: 1.15; color: var(--tg-grape); }
html[data-theme="trigo"] .inv-guest__passes { font-style: italic; font-size: .95rem; color: var(--ink-soft); opacity: 1; }

/* ============================================================
   SECCIONES
   ============================================================ */
html[data-theme="trigo"] .inv-section { background: var(--tg-linen), var(--bg); }
html[data-theme="trigo"] .inv-section.is-alt {
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(255, 253, 247, .55), transparent 70%),
    var(--tg-linen),
    var(--bg-alt);
}
html[data-theme="trigo"] .inv-main .inv-eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .3em; color: var(--tg-olive-d);
}
html[data-theme="trigo"] .inv-head > .inv-eyebrow { display: inline-flex; align-items: center; gap: 12px; }
html[data-theme="trigo"] .inv-head > .inv-eyebrow::before,
html[data-theme="trigo"] .inv-head > .inv-eyebrow::after { content: ''; width: 22px; height: 1px; background: var(--tg-gold); }
html[data-theme="trigo"] .inv-main .inv-title {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(2.1rem, 9vw, 2.7rem); line-height: 1.1; color: var(--ink);
}
html[data-theme="trigo"] .inv-text { font-size: 1.1rem; line-height: 1.7; color: var(--ink-soft); }
html[data-theme="trigo"] .inv-head .inv-text { font-size: 1.1rem; font-style: italic; }
html[data-theme="trigo"] .inv-card {
  background: var(--tg-paper);
  border: 1px solid rgba(59, 47, 42, .1);
  box-shadow: var(--tg-frame), var(--shadow);
}

/* botones: olivo profundo con filete interior */
html[data-theme="trigo"] .inv-btn {
  font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; letter-spacing: .03em;
  border-radius: 999px;
  box-shadow: inset 0 0 0 3px var(--tg-olive-d), inset 0 0 0 4px rgba(227, 196, 138, .55), 0 10px 22px -12px rgba(90, 101, 50, .8);
}
@media (hover: hover) {
  html[data-theme="trigo"] .inv-btn:hover { box-shadow: inset 0 0 0 3px var(--tg-olive-d), inset 0 0 0 4px rgba(227, 196, 138, .8), 0 16px 28px -12px rgba(90, 101, 50, .85); }
}
html[data-theme="trigo"] .inv-btn--ghost { background: rgba(251, 248, 242, .7); box-shadow: none; }
@media (hover: hover) { html[data-theme="trigo"] .inv-btn--ghost:hover { background: rgba(122, 132, 80, .1); box-shadow: none; } }
html[data-theme="trigo"] .inv-btn--wa { box-shadow: 0 10px 22px -12px rgba(14, 122, 64, .7); }

/* quote: espigas en lugar de comillas */
html[data-theme="trigo"] .inv-quote { padding-top: 70px; }
html[data-theme="trigo"] .inv-quote__mark { display: none; }
html[data-theme="trigo"] .inv-quote::before {
  content: ''; position: absolute; left: 50%; top: 0; width: 220px; height: 42px; transform: translateX(-50%);
  background: var(--ornament) center / contain no-repeat;
}
html[data-theme="trigo"] .inv-quote__text p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.55rem, 6.6vw, 1.95rem); line-height: 1.38; color: var(--tg-grape); }
html[data-theme="trigo"] .inv-quote__author { font-family: var(--font-display); font-size: .82rem; color: var(--tg-olive-d); letter-spacing: .3em; }
html[data-theme="trigo"] .inv-quote__author::before { background: var(--tg-gold); }

/* countdown: hostias redondas */
html[data-theme="trigo"] .inv-countdown { gap: 8px; max-width: 380px; }
html[data-theme="trigo"] .inv-countdown__unit {
  aspect-ratio: 1; justify-content: center; gap: 2px; padding: 0; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #FFFEFA, #F6EEDD 62%, #EADDC2 100%);
  border: 1px solid rgba(201, 163, 92, .75);
  box-shadow: inset 0 0 0 5px rgba(255, 253, 247, .9), inset 0 0 0 6px rgba(201, 163, 92, .45), 0 14px 26px -18px rgba(59, 47, 42, .6);
}
html[data-theme="trigo"] .inv-countdown__unit::before { display: none; }
html[data-theme="trigo"] .inv-countdown__num { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 8vw, 2.3rem); color: var(--tg-grape); }
html[data-theme="trigo"] .inv-countdown__lbl { font-family: var(--font-display); font-weight: 600; font-size: .66rem; letter-spacing: .16em; color: var(--tg-olive-d); }
html[data-theme="trigo"] .inv-countdown__date { font-family: var(--font-display); font-size: .86rem; color: var(--ink-soft); letter-spacing: .24em; }
html[data-theme="trigo"] .inv-countdown__done { font-family: var(--font-script); font-style: normal; font-size: 2.6rem; color: var(--tg-grape); }

/* story: arco con doble filete y capitular caligráfica */
html[data-theme="trigo"] .inv-story__figure img { border-radius: 999px 999px 12px 12px; filter: saturate(.9) sepia(.12); }
html[data-theme="trigo"] .inv-story__figure::after { border-color: rgba(201, 163, 92, .8); }
html[data-theme="trigo"] .inv-story__figure::before {
  content: ''; position: absolute; inset: -18px; z-index: -1; border-radius: 999px 999px 28px 28px;
  border: 1px solid rgba(201, 163, 92, .4);
}
html[data-theme="trigo"] .inv-story__glow { background: radial-gradient(closest-side, rgba(227, 196, 138, .45), transparent); }
html[data-theme="trigo"] .inv-story__body .inv-text:first-child::first-letter {
  font-family: var(--font-script); font-size: 4.6em; line-height: .7; padding: .12em .12em 0 0; color: var(--tg-olive-d);
}
html[data-theme="trigo"] .inv-story__sig { font-size: 3rem; color: var(--tg-grape); }

/* people */
html[data-theme="trigo"] .inv-people__label { color: var(--tg-olive-d); }
html[data-theme="trigo"] .inv-people__names li { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
html[data-theme="trigo"] .inv-people__spark { color: var(--tg-gold); }
html[data-theme="trigo"] .inv-people.is-multi { gap: 26px; }

/* events */
html[data-theme="trigo"] .inv-event { border-radius: 14px; }
html[data-theme="trigo"] .inv-event__media { margin: 7px 7px 0; border-radius: 8px 8px 0 0; }
html[data-theme="trigo"] .inv-event__media img { filter: saturate(.88) sepia(.1); }
html[data-theme="trigo"] .inv-event__icon {
  color: var(--tg-olive-d); background: var(--tg-paper); border: 1px solid rgba(201, 163, 92, .8);
  box-shadow: inset 0 0 0 4px var(--tg-paper), inset 0 0 0 5px rgba(201, 163, 92, .45);
}
html[data-theme="trigo"] .inv-event.has-img .inv-event__icon { box-shadow: inset 0 0 0 4px var(--tg-paper), inset 0 0 0 5px rgba(201, 163, 92, .45), 0 10px 20px -12px rgba(59, 47, 42, .5); }
html[data-theme="trigo"] .inv-event__name { font-size: 1.75rem; color: var(--ink); }
html[data-theme="trigo"] .inv-event__meta { font-size: 1.02rem; }
html[data-theme="trigo"] .inv-event__meta .inv-icon { color: var(--tg-olive); }

/* timeline: tallo de trigo */
html[data-theme="trigo"] .inv-timeline::before { width: 2px; background: linear-gradient(var(--tg-gold), rgba(201, 163, 92, .15)); }
html[data-theme="trigo"] .inv-timeline__dot {
  color: var(--tg-olive-d); background: var(--tg-paper); border-color: rgba(201, 163, 92, .85);
  box-shadow: 0 0 0 6px var(--bg), inset 0 0 0 4px var(--tg-paper), inset 0 0 0 5px rgba(201, 163, 92, .4);
}
html[data-theme="trigo"] .inv-section.is-alt .inv-timeline__dot { box-shadow: 0 0 0 6px var(--bg-alt), inset 0 0 0 4px var(--tg-paper), inset 0 0 0 5px rgba(201, 163, 92, .4); }
html[data-theme="trigo"] .inv-timeline__time { font-family: var(--font-display); font-size: .84rem; color: var(--tg-olive-d); }
html[data-theme="trigo"] .inv-timeline__title { font-size: 1.5rem; }
html[data-theme="trigo"] .inv-timeline__text { font-size: 1.02rem; }

/* dresscode */
html[data-theme="trigo"] .inv-dress__icon { color: var(--tg-olive-d); border-color: rgba(201, 163, 92, .8); background: var(--tg-paper); }
html[data-theme="trigo"] .inv-dress__code { font-family: var(--font-script); font-size: clamp(2.8rem, 13vw, 3.4rem); line-height: 1.05; color: var(--tg-grape); }
html[data-theme="trigo"] .inv-dress__label { font-family: var(--font-display); font-size: .78rem; color: var(--tg-olive-d); }
html[data-theme="trigo"] .inv-chip { background: var(--tg-paper); font-size: .98rem; }
html[data-theme="trigo"] .inv-chip--avoid .inv-icon { color: var(--tg-wood); }

/* gallery: polaroids sujetas con cinta de yute */
html[data-theme="trigo"] .inv-gallery--polaroids .inv-gallery__item { background: #FFFDF8; }
html[data-theme="trigo"] .inv-gallery--polaroids .inv-gallery__item::before {
  content: ''; position: absolute; left: 50%; top: -9px; z-index: 2; width: 62px; height: 20px; transform: translateX(-50%) rotate(-4deg);
  background: repeating-linear-gradient(90deg, rgba(139, 107, 74, .18) 0 2px, transparent 2px 4px), rgba(227, 196, 138, .78);
  box-shadow: 0 2px 4px rgba(59, 47, 42, .15);
}
html[data-theme="trigo"] .inv-gallery--polaroids .inv-gallery__item:last-child:nth-child(odd) { grid-column: 1 / -1; width: 58%; justify-self: center; }
html[data-theme="trigo"] .inv-gallery__cap { color: var(--tg-grape); font-size: 1.6rem; bottom: 4px; }
html[data-theme="trigo"] .inv-gallery__dots span.is-on { background: var(--tg-olive-d); }

/* gifts, hotels y nota */
html[data-theme="trigo"] .inv-gift__icon, html[data-theme="trigo"] .inv-hotel__icon {
  border-radius: 50%; color: var(--tg-olive-d); background: rgba(227, 196, 138, .25); border: 1px solid rgba(201, 163, 92, .6);
}
html[data-theme="trigo"] .inv-gift__title, html[data-theme="trigo"] .inv-hotel__name { font-size: 1.45rem; }
html[data-theme="trigo"] .inv-gift__detail { font-size: 1rem; }
html[data-theme="trigo"] .inv-gift__copy { background: #F4ECDD; border-color: rgba(201, 163, 92, .6); }
html[data-theme="trigo"] .inv-note {
  background: var(--tg-paper); border: 1px solid rgba(201, 163, 92, .55);
  box-shadow: var(--tg-frame), var(--shadow);
  padding: 24px 22px 24px 20px;
}
html[data-theme="trigo"] .inv-note__icon { color: var(--tg-olive-d); background: rgba(122, 132, 80, .12); }
html[data-theme="trigo"] .inv-note__title { font-size: 1.55rem; }

/* faq */
html[data-theme="trigo"] .inv-faq__item { background: var(--tg-paper); border-color: rgba(201, 163, 92, .4); }
html[data-theme="trigo"] .inv-faq__q { font-size: 1.28rem; }
html[data-theme="trigo"] .inv-faq__icon { background: rgba(227, 196, 138, .3); color: var(--tg-olive-d); }
html[data-theme="trigo"] .inv-faq__a p { font-size: 1.04rem; }

/* wishes */
html[data-theme="trigo"] .inv-wish { background: var(--tg-paper); box-shadow: var(--tg-frame), var(--shadow); border-color: rgba(59, 47, 42, .08); padding: 24px 24px 18px 26px; }
html[data-theme="trigo"] .inv-wish:nth-child(3n + 2) { background: #F8F2E4; }
html[data-theme="trigo"] .inv-wish::before { font-family: var(--font-script); color: var(--tg-gold); opacity: .7; font-size: 4.2rem; top: 0; right: 18px; }
html[data-theme="trigo"] .inv-wish__msg p { font-style: italic; font-size: 1.2rem; }

/* formularios */
html[data-theme="trigo"] .inv-field__label { font-family: var(--font-display); font-size: .92rem; font-weight: 600; letter-spacing: .04em; }
html[data-theme="trigo"] .inv-input { background: #FFFDF8; border-color: rgba(59, 47, 42, .2); font-family: var(--font-display); font-size: 17px; }
html[data-theme="trigo"] .inv-input:focus { border-color: var(--tg-olive-d); box-shadow: 0 0 0 4px rgba(122, 132, 80, .18); }

/* cápsula del tiempo: sobre sellado con lacre de olivo */
html[data-theme="trigo"] .inv-capsule__wax, html[data-theme="trigo"] .inv-letter__wax { background: var(--seal); }

/* RSVP */
html[data-theme="trigo"] .inv-section.inv-rsvp {
  background:
    radial-gradient(90% 50% at 50% 0%, rgba(227, 196, 138, .35), transparent 70%),
    var(--tg-linen),
    var(--bg);
}
html[data-theme="trigo"] .inv-section.inv-rsvp.is-alt { background: radial-gradient(90% 50% at 50% 0%, rgba(227, 196, 138, .35), transparent 70%), var(--tg-linen), var(--bg-alt); }
html[data-theme="trigo"] .inv-rsvp__face-txt strong { font-family: var(--font-display); font-size: 1.12rem; }
html[data-theme="trigo"] .inv-rsvp__done-title { font-family: var(--font-script); font-size: 2.8rem; color: var(--tg-grape); }

/* divider */
html[data-theme="trigo"] .inv-divider.has-ornament { height: 52px; max-width: 300px; }

/* pie: lino tostado con el escudo */
html[data-theme="trigo"] .inv-footer {
  background: radial-gradient(80% 60% at 50% 0%, rgba(255, 253, 247, .6), transparent 70%), var(--tg-linen), #E6DCC8;
  border-top: 1px solid rgba(201, 163, 92, .45);
}
html[data-theme="trigo"] .inv-footer__orn { width: 120px; height: 92px; margin-bottom: 4px; background: var(--tg-crest) center / contain no-repeat; }
html[data-theme="trigo"] .inv-footer__orn path { display: none; }
html[data-theme="trigo"] .inv-footer__text { font-size: 2.9rem; color: var(--tg-grape); }
html[data-theme="trigo"] .inv-footer__date { font-family: var(--font-display); font-size: .84rem; color: var(--ink-soft); }
html[data-theme="trigo"] .inv-footer__credit, html[data-theme="trigo"] .inv-footer__access { font-family: var(--font-body); font-size: .9rem; }

/* barra de acciones */
html[data-theme="trigo"] .inv-actionbar { background: rgba(251, 248, 242, .9); border-color: rgba(201, 163, 92, .45); }
html[data-theme="trigo"] .inv-actionbar__btn { font-family: var(--font-display); }
html[data-theme="trigo"] .inv-actionbar__btn span { font-size: .8rem; font-weight: 600; }

/* ============================================================
   INTRO «envelope» — sobre de papel kraft atado con yute, ramita de trigo y lacre de olivo
   ============================================================ */
html[data-theme="trigo"] .inv-intro {
  --paper-base: #E3D0AE;
  --paper: #FBF8F2;
  --paper-2: #E6D4B3;
  --paper-3: #D6BF97;
  --paper-ink: #3B2F2A;
}
html[data-theme="trigo"] .inv-intro--envelope { background: var(--intro-bg); }
html[data-theme="trigo"] .inv-intro--envelope .inv-intro__bg {
  background-image:
    radial-gradient(70% 45% at 50% 46%, rgba(255, 253, 247, .85), transparent 72%),
    radial-gradient(130% 90% at 50% 50%, transparent 50%, rgba(139, 107, 74, .28) 100%),
    var(--tg-linen);
}
/* manojo de trigo (abajo a la izquierda) y olivo (arriba a la derecha) */
html[data-theme="trigo"] .inv-intro--envelope .inv-intro__bg::before {
  content: ''; position: absolute; left: -8%; bottom: -3%; width: min(50vw, 250px); aspect-ratio: 220 / 320;
  background: var(--tg-sheaf) left bottom / contain no-repeat;
  opacity: 0; transform: translateY(18px) rotate(-8deg);
  transition: opacity 1.4s var(--ease) .3s, transform 1.8s var(--ease) .3s;
}
html[data-theme="trigo"] .inv-intro--envelope::after {
  content: ''; position: absolute; z-index: -1; right: -10%; top: calc(env(safe-area-inset-top) + 62px); width: min(70vw, 340px); aspect-ratio: 300 / 170;
  background: var(--tg-branch) right top / contain no-repeat; pointer-events: none;
  opacity: 0; transform: translateY(-14px) rotate(6deg);
  transition: opacity 1.4s var(--ease) .5s, transform 1.8s var(--ease) .5s;
}
html[data-theme="trigo"] .inv-intro--envelope.is-ready .inv-intro__bg::before { opacity: .95; transform: none; }
html[data-theme="trigo"] .inv-intro--envelope.is-ready::after { opacity: .9; transform: none; }
html[data-theme="trigo"] .inv-intro--envelope.is-opening .inv-intro__bg::before,
html[data-theme="trigo"] .inv-intro--envelope.is-opening::after { opacity: 0; transition-delay: 1.2s; transition-duration: .7s; }
html[data-theme="trigo"] .inv-intro__eyebrow { font-family: var(--font-display); font-weight: 600; font-size: .78rem; letter-spacing: .36em; color: var(--tg-olive-d); }
html[data-theme="trigo"] .inv-intro__guest { background: var(--tg-paper); border-radius: 10px; box-shadow: var(--tg-frame), 0 12px 26px -16px rgba(59, 47, 42, .45); }
html[data-theme="trigo"] .inv-intro__guest .inv-guest__name { font-size: 2rem; color: var(--tg-grape); }
html[data-theme="trigo"] .inv-intro__cta {
  background: var(--tg-olive-d); color: #FBF8F2; font-family: var(--font-display); font-size: 1.04rem; font-weight: 600; letter-spacing: .05em;
  box-shadow: inset 0 0 0 3px var(--tg-olive-d), inset 0 0 0 4px rgba(227, 196, 138, .6), 0 16px 30px -14px rgba(59, 47, 42, .7);
}
html[data-theme="trigo"] .inv-intro__cta-ring { animation-name: tgCtaRing; }
@keyframes tgCtaRing { 0% { box-shadow: 0 0 0 0 rgba(90, 101, 50, .45); } 80%, 100% { box-shadow: 0 0 0 16px transparent; } }
html[data-theme="trigo"] .inv-intro__cta:focus-visible { outline-color: var(--tg-olive-d); }

html[data-theme="trigo"] .env { --w: min(88vw, 390px, 58vh); }
@media (min-width: 700px) { html[data-theme="trigo"] .env { --w: min(56vw, 520px, 60vh); } }
/* papel kraft con fibras */
html[data-theme="trigo"] .env__back { background: var(--tg-linen), linear-gradient(165deg, #D6BF97, #C8AE83); box-shadow: 0 34px 60px -30px rgba(59, 47, 42, .55); }
html[data-theme="trigo"] .env__side.is-l { background: var(--tg-linen), linear-gradient(95deg, #D9C49E, #E6D4B3 70%); }
html[data-theme="trigo"] .env__side.is-r { background: var(--tg-linen), linear-gradient(265deg, #D9C49E, #E6D4B3 70%); }
html[data-theme="trigo"] .env__pocket::before { background: var(--tg-linen), linear-gradient(180deg, #E6D4B3, #DFCBA6); }
html[data-theme="trigo"] .env__flap-out { background: var(--tg-linen), linear-gradient(180deg, #EBDCBF, #DCC59D); }
/* forro con hojas de olivo */
html[data-theme="trigo"] .env__flap-in { background: var(--tg-lining) 0 0 / 70px auto, linear-gradient(180deg, #F1E6D0, #E8D9BB); }
html[data-theme="trigo"] .env__card { background: var(--tg-linen), var(--tg-paper); }
html[data-theme="trigo"] .env__card-in { border-color: rgba(201, 163, 92, .85); box-shadow: inset 0 0 0 3px var(--tg-paper), inset 0 0 0 4px rgba(201, 163, 92, .4); }
html[data-theme="trigo"] .env__card-spark { color: var(--tg-gold); }
html[data-theme="trigo"] .env__card-eyebrow { color: var(--tg-olive-d); opacity: 1; font-weight: 600; }
html[data-theme="trigo"] .env__card-title { color: var(--tg-grape); font-size: calc(var(--w) * .13); }
html[data-theme="trigo"] .env__card-date { opacity: .8; }
html[data-theme="trigo"] .env__to { bottom: 6%; }
html[data-theme="trigo"] .env__to-label { color: var(--tg-olive-d); opacity: 1; font-weight: 600; }
html[data-theme="trigo"] .env__to-name { color: var(--tg-grape); font-size: calc(var(--w) * .1); }
/* cordel de yute que cruza el sobre (se suelta al romper el lacre) */
html[data-theme="trigo"] .env::after {
  content: ''; position: absolute; inset: -1px 0; z-index: 5; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(92, 66, 38, .35) 0 2px, transparent 2px 5px) 50% 0 / 4px 100% no-repeat,
    linear-gradient(90deg, #A9875A, #C9A87A 50%, #A9875A) 50% 0 / 4px 100% no-repeat,
    repeating-linear-gradient(90deg, rgba(92, 66, 38, .35) 0 2px, transparent 2px 5px) 0 62% / 100% 4px no-repeat,
    linear-gradient(180deg, #A9875A, #C9A87A 50%, #A9875A) 0 62% / 100% 4px no-repeat;
  filter: drop-shadow(0 1px 1px rgba(59, 47, 42, .35));
  transition: opacity .5s var(--ease), transform .7s var(--ease);
}
/* ramita de trigo y olivo prendida bajo el cordel */
html[data-theme="trigo"] .env::before {
  content: ''; position: absolute; z-index: 5; left: 25%; top: 4%; width: 25%; aspect-ratio: 120 / 260; pointer-events: none;
  background: var(--tg-sprig) center / contain no-repeat; transform: rotate(-38deg);
  filter: drop-shadow(0 3px 3px rgba(59, 47, 42, .25));
  transition: opacity .5s var(--ease), transform .8s var(--ease);
}
html[data-theme="trigo"] .env.s1::after { opacity: 0; transform: translateY(40%); }
html[data-theme="trigo"] .env.s1::before { opacity: 0; transform: translate(-30%, 60%) rotate(-70deg); }
html[data-theme="trigo"] .env__seal { width: 26%; z-index: 6; filter: drop-shadow(0 6px 7px rgba(59, 47, 42, .42)); }
html[data-theme="trigo"] .env__seal-mono { font-size: calc(var(--w) * .11); color: color-mix(in srgb, var(--seal), #000 38%); }

/* ============================================================
   ESCRITORIO Y MOVIMIENTO REDUCIDO
   ============================================================ */
@media (min-width: 700px) {
  html[data-theme="trigo"] .inv-page { box-shadow: 0 0 0 1px rgba(201, 163, 92, .35), 0 0 0 9px rgba(251, 248, 242, .5), 0 0 0 10px rgba(201, 163, 92, .3), 0 50px 120px -40px rgba(59, 47, 42, .45); }
  html[data-theme="trigo"] .inv-hero__title { font-size: 7rem; }
  html[data-theme="trigo"] .inv-hero__art::before { width: 240px; }
  html[data-theme="trigo"] .inv-hero__art::after { width: 300px; }
  html[data-theme="trigo"] .inv-intro--envelope .inv-intro__bg::before { width: 340px; left: max(-40px, calc(50% - 560px)); }
  html[data-theme="trigo"] .inv-intro--envelope::after { width: 470px; right: max(-60px, calc(50% - 600px)); }
}
/* manojos a los lados de la invitación en pantallas anchas */
@media (min-width: 1000px) {
  html[data-theme="trigo"] body.inv::before,
  html[data-theme="trigo"] body.inv::after {
    content: ''; position: fixed; bottom: -20px; z-index: 0; width: 260px; aspect-ratio: 220 / 320; pointer-events: none;
    background: var(--tg-sheaf) left bottom / contain no-repeat; opacity: .55;
  }
  html[data-theme="trigo"] body.inv::before { left: calc(50% - 280px - 270px); }
  html[data-theme="trigo"] body.inv::after { right: calc(50% - 280px - 270px); transform: scaleX(-1); }
  html[data-theme="trigo"] .inv-root { z-index: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-theme="trigo"] .inv-hero__art::before, html[data-theme="trigo"] .inv-hero__art::after { transition: none; }
  html[data-theme="trigo"] .inv-hero__content::before { opacity: 1; transform: none; animation: none !important; }
}
