/* =====================================================================
   Inolvidia · tema «oro» — Bodas de Oro  (demo: aniversario-oro, Buenos Aires)
   Dueño: temas elegantes. Contrato §5: variables en :root + decoración
   acotada SIEMPRE bajo html[data-theme="oro"].
   Concepto: 50 años en clave art déco tapatía — marfil, champaña, oro,
   negro y borgoña. Soles déco, marcos escalonados, dorado en lámina y una
   foto de 1977 que se revela en sepia dentro de un álbum de hojas negras.
   Ritmo: secciones claras (marfil/champaña) y bandas negras (cita,
   programa, pie). En las bandas negras se redefinen las variables de color
   para que todo el contenido conserve contraste AA.
   Nota técnica: además de las clases públicas, viste algunos hijos BEM del
   motor (p. ej. .inv-timeline__dot, .inv-gallery__item, .pol__*). Si el motor
   los renombra, el tema cae con gracia al estilo base.
   Contraste: el oro #B8912F es decorativo (2,9:1 sobre marfil); para texto
   sobre claro se usa #7D5E17 y sobre negro #D9B862 (9:1).
   ===================================================================== */

:root {
  --bg: #FBF8F1;
  --bg-alt: #F3E5C0;
  --surface: #FFFDF8;
  --ink: #1A1A1A;
  --ink-soft: #5B5244;
  --accent: #6E2233;
  --accent-2: #B8912F;
  --accent-ink: #FFFFFF;
  --line: rgba(26, 26, 26, .12);
  --font-display: 'Gilda Display', 'Didot', 'Bodoni 72', Georgia, serif;
  --font-script: 'Petit Formal Script', 'Gilda Display', cursive;
  --font-body: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
  --radius: 2px;
  --shadow: 0 1px 2px rgba(26, 20, 10, .06), 0 26px 46px -32px rgba(26, 20, 10, .5);
  --hero-overlay: linear-gradient(180deg, rgba(20, 16, 10, .3) 0%, rgba(20, 16, 10, 0) 22%, rgba(20, 16, 10, .05) 38%, rgba(20, 16, 10, .72) 62%, rgba(20, 16, 10, .92) 100%);
  --hero-ink: #FBF8F1;
  --intro-bg: #171512;
  --intro-ink: #F3E5C0;
  --seal: #6E2233;
  --pattern: var(--or-pattern);
  --ornament: var(--or-ornament);

  /* — propias del tema — */
  --or-negro: #1A1A1A;
  --or-champana: #F3E5C0;
  --or-oro-texto: #7D5E17;     /* oro legible sobre claro */
  --or-oro-claro: #D9B862;     /* oro legible sobre negro */
  --or-foil: linear-gradient(115deg, #8C6B1F 0%, #E9CF86 28%, #B8912F 48%, #F4E2A6 64%, #A07A26 86%, #D9B862 100%);
  /* lámina de oro para texto sobre fondos claros: todas las paradas ≥ 3:1 sobre champaña */
  --or-foil-dark: linear-gradient(115deg, #6B4F12 0%, #9A7424 30%, #7D5E17 50%, #A07A26 68%, #6B4F12 100%);
}

/* @recursos:inicio — SVG hechos a mano: se generan con qa/temas-elegantes/svg/gen_oro.py y rootblock.py (no editar a mano) */
html[data-theme="oro"] {
  --or-fan: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 44'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%238C6B1F'/%3E%3Cstop offset='.35' stop-color='%23E9CF86'/%3E%3Cstop offset='.55' stop-color='%23B8912F'/%3E%3Cstop offset='.8' stop-color='%23F1DDA0'/%3E%3Cstop offset='1' stop-color='%239A7424'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' stroke='url(%23g)' stroke-width='1'%3E%3Cpath d='M20 40A40 40 0 0 1 100 40'/%3E%3Cpath d='M32 40A28 28 0 0 1 88 40'/%3E%3C/g%3E%3Cpath d='M48.0 40.0L34.0 40.0M48.4 36.9L34.9 33.3M49.6 34.0L37.5 27.0M51.5 31.5L41.6 21.6M54.0 29.6L47.0 17.5M56.9 28.4L53.3 14.9M60.0 28.0L60.0 14.0M63.1 28.4L66.7 14.9M66.0 29.6L73.0 17.5M68.5 31.5L78.4 21.6M70.4 34.0L82.5 27.0M71.6 36.9L85.1 33.3M72.0 40.0L86.0 40.0' stroke='url(%23g)' stroke-width='0.9' stroke-linecap='round' fill='none'/%3E%3Cpath d='M48 40A12 12 0 0 1 72 40Z' fill='url(%23g)'/%3E%3Cpath d='M2 40H118' stroke='%23B8912F' stroke-width='1'/%3E%3Cpath d='M0 40l3-2.5 3 2.5-3 2.5zM114 40l3-2.5 3 2.5-3 2.5z' fill='url(%23g)'/%3E%3C/svg%3E");
  --or-ornament: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 56'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%238C6B1F'/%3E%3Cstop offset='.35' stop-color='%23E9CF86'/%3E%3Cstop offset='.55' stop-color='%23B8912F'/%3E%3Cstop offset='.8' stop-color='%23F1DDA0'/%3E%3Cstop offset='1' stop-color='%239A7424'/%3E%3C/linearGradient%3E%3ClinearGradient id='u' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='280' y2='0'%3E%3Cstop offset='0' stop-color='%239A7424'/%3E%3Cstop offset='.3' stop-color='%23E3C77A'/%3E%3Cstop offset='.5' stop-color='%23B8912F'/%3E%3Cstop offset='.7' stop-color='%23E3C77A'/%3E%3Cstop offset='1' stop-color='%239A7424'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg stroke='url(%23u)' stroke-width='1' fill='none'%3E%3Cpath d='M20 28H112M168 28H260'/%3E%3Cpath d='M60 22H112M168 22H220'/%3E%3Cpath d='M60 34H112M168 34H220'/%3E%3C/g%3E%3Cg stroke='url(%23g)' stroke-width='1' fill='none'%3E%3Cpath d='M140 8L160 28 140 48 120 28Z'/%3E%3Cpath d='M140 16L152 28 140 40 128 28Z'/%3E%3C/g%3E%3Cpath d='M140 22L146 28 140 34 134 28Z' fill='url(%23g)'/%3E%3Ccircle cx='16' cy='28' r='2' fill='url(%23g)'/%3E%3Ccircle cx='264' cy='28' r='2' fill='url(%23g)'/%3E%3C/svg%3E");
  --or-corner: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%238C6B1F'/%3E%3Cstop offset='.35' stop-color='%23E9CF86'/%3E%3Cstop offset='.55' stop-color='%23B8912F'/%3E%3Cstop offset='.8' stop-color='%23F1DDA0'/%3E%3Cstop offset='1' stop-color='%239A7424'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' stroke='url(%23g)' stroke-width='1.2'%3E%3Cpath d='M2 58V2H58'/%3E%3Cpath d='M8 58V14H14V8H58'/%3E%3Cpath d='M14 58V20H20V14H58'/%3E%3C/g%3E%3Cpath d='M2 2l6 0 0 6-6 0z' fill='url(%23g)'/%3E%3C/svg%3E");
  --or-sunburst: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 310'%3E%3Cg fill='none' stroke='%23E3C77A' stroke-opacity='.5' stroke-width='1'%3E%3Cpath d='M260.0 300.0L100.0 300.0M260.2 296.5L41.0 277.3M260.6 293.1L103.0 265.3M261.4 289.6L48.9 232.7M262.4 286.3L112.1 231.6M263.7 283.1L64.4 190.1M265.4 280.0L126.8 200.0M267.2 277.1L87.0 150.9M269.4 274.3L146.8 171.4M271.7 271.7L116.2 116.2M274.3 269.4L171.4 146.8M277.1 267.2L150.9 87.0M280.0 265.4L200.0 126.8M283.1 263.7L190.1 64.4M286.3 262.4L231.6 112.1M289.6 261.4L232.7 48.9M293.1 260.6L265.3 103.0M296.5 260.2L277.3 41.0M300.0 260.0L300.0 100.0M303.5 260.2L322.7 41.0M306.9 260.6L334.7 103.0M310.4 261.4L367.3 48.9M313.7 262.4L368.4 112.1M316.9 263.7L409.9 64.4M320.0 265.4L400.0 126.8M322.9 267.2L449.1 87.0M325.7 269.4L428.6 146.8M328.3 271.7L483.8 116.2M330.6 274.3L453.2 171.4M332.8 277.1L513.0 150.9M334.6 280.0L473.2 200.0M336.3 283.1L535.6 190.1M337.6 286.3L487.9 231.6M338.6 289.6L551.1 232.7M339.4 293.1L497.0 265.3M339.8 296.5L559.0 277.3M340.0 300.0L500.0 300.0'/%3E%3Cpath d='M40 300A260 260 0 0 1 560 300'/%3E%3Cpath d='M100 300A200 200 0 0 1 500 300'/%3E%3Cpath d='M260 300A40 40 0 0 1 340 300'/%3E%3C/g%3E%3C/svg%3E");
  --or-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='28' viewBox='0 0 56 28'%3E%3Cg fill='none' stroke='%23B8912F' stroke-opacity='.16' stroke-width='.8'%3E%3Cpath d='M0 28A28 28 0 0 1 56 28'/%3E%3Cpath d='M8 28A20 20 0 0 1 48 28'/%3E%3Cpath d='M16 28A12 12 0 0 1 40 28'/%3E%3Cpath d='M-28 14A28 28 0 0 1 28 14'/%3E%3Cpath d='M28 14A28 28 0 0 1 84 14'/%3E%3C/g%3E%3C/svg%3E");
  --or-frame: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23B8912F' stroke-width='.35' vector-effect='non-scaling-stroke'%3E%3Crect x='2' y='2' width='96' height='96'/%3E%3Crect x='3.4' y='3.4' width='93.2' height='93.2'/%3E%3C/g%3E%3C/svg%3E");
  --or-cornerTR: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%238C6B1F'/%3E%3Cstop offset='.35' stop-color='%23E9CF86'/%3E%3Cstop offset='.55' stop-color='%23B8912F'/%3E%3Cstop offset='.8' stop-color='%23F1DDA0'/%3E%3Cstop offset='1' stop-color='%239A7424'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='translate(60 0) scale(-1 1)'%3E%3Cg fill='none' stroke='url(%23g)' stroke-width='1.2'%3E%3Cpath d='M2 58V2H58'/%3E%3Cpath d='M8 58V14H14V8H58'/%3E%3Cpath d='M14 58V20H20V14H58'/%3E%3C/g%3E%3Cpath d='M2 2l6 0 0 6-6 0z' fill='url(%23g)'/%3E%3C/g%3E%3C/svg%3E");
  --or-cornerBL: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%238C6B1F'/%3E%3Cstop offset='.35' stop-color='%23E9CF86'/%3E%3Cstop offset='.55' stop-color='%23B8912F'/%3E%3Cstop offset='.8' stop-color='%23F1DDA0'/%3E%3Cstop offset='1' stop-color='%239A7424'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='translate(0 60) scale(1 -1)'%3E%3Cg fill='none' stroke='url(%23g)' stroke-width='1.2'%3E%3Cpath d='M2 58V2H58'/%3E%3Cpath d='M8 58V14H14V8H58'/%3E%3Cpath d='M14 58V20H20V14H58'/%3E%3C/g%3E%3Cpath d='M2 2l6 0 0 6-6 0z' fill='url(%23g)'/%3E%3C/g%3E%3C/svg%3E");
  --or-cornerBR: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%238C6B1F'/%3E%3Cstop offset='.35' stop-color='%23E9CF86'/%3E%3Cstop offset='.55' stop-color='%23B8912F'/%3E%3Cstop offset='.8' stop-color='%23F1DDA0'/%3E%3Cstop offset='1' stop-color='%239A7424'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='translate(60 60) scale(-1 -1)'%3E%3Cg fill='none' stroke='url(%23g)' stroke-width='1.2'%3E%3Cpath d='M2 58V2H58'/%3E%3Cpath d='M8 58V14H14V8H58'/%3E%3Cpath d='M14 58V20H20V14H58'/%3E%3C/g%3E%3Cpath d='M2 2l6 0 0 6-6 0z' fill='url(%23g)'/%3E%3C/g%3E%3C/svg%3E");
  --or-sunfull: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%23E3C77A' stroke-width='1'%3E%3Cpath d='M370.0 300.0L530.0 300.0M369.7 306.1L588.9 325.3M368.9 312.2L526.5 339.9M367.6 318.1L580.1 375.1M365.8 323.9L516.1 378.7M363.4 329.6L562.8 422.6M360.6 335.0L499.2 415.0M357.3 340.2L537.6 466.3M353.6 345.0L476.2 447.8M349.5 349.5L505.1 505.1M345.0 353.6L447.8 476.2M340.2 357.3L466.3 537.6M335.0 360.6L415.0 499.2M329.6 363.4L422.6 562.8M323.9 365.8L378.7 516.1M318.1 367.6L375.1 580.1M312.2 368.9L339.9 526.5M306.1 369.7L325.3 588.9M300.0 370.0L300.0 530.0M293.9 369.7L274.7 588.9M287.8 368.9L260.1 526.5M281.9 367.6L224.9 580.1M276.1 365.8L221.3 516.1M270.4 363.4L177.4 562.8M265.0 360.6L185.0 499.2M259.8 357.3L133.7 537.6M255.0 353.6L152.2 476.2M250.5 349.5L94.9 505.1M246.4 345.0L123.8 447.8M242.7 340.2L62.4 466.3M239.4 335.0L100.8 415.0M236.6 329.6L37.2 422.6M234.2 323.9L83.9 378.7M232.4 318.1L19.9 375.1M231.1 312.2L73.5 339.9M230.3 306.1L11.1 325.3M230.0 300.0L70.0 300.0M230.3 293.9L11.1 274.7M231.1 287.8L73.5 260.1M232.4 281.9L19.9 224.9M234.2 276.1L83.9 221.3M236.6 270.4L37.2 177.4M239.4 265.0L100.8 185.0M242.7 259.8L62.4 133.7M246.4 255.0L123.8 152.2M250.5 250.5L94.9 94.9M255.0 246.4L152.2 123.8M259.8 242.7L133.7 62.4M265.0 239.4L185.0 100.8M270.4 236.6L177.4 37.2M276.1 234.2L221.3 83.9M281.9 232.4L224.9 19.9M287.8 231.1L260.1 73.5M293.9 230.3L274.7 11.1M300.0 230.0L300.0 70.0M306.1 230.3L325.3 11.1M312.2 231.1L339.9 73.5M318.1 232.4L375.1 19.9M323.9 234.2L378.7 83.9M329.6 236.6L422.6 37.2M335.0 239.4L415.0 100.8M340.2 242.7L466.3 62.4M345.0 246.4L447.8 123.8M349.5 250.5L505.1 94.9M353.6 255.0L476.2 152.2M357.3 259.8L537.6 133.7M360.6 265.0L499.2 185.0M363.4 270.4L562.8 177.4M365.8 276.1L516.1 221.3M367.6 281.9L580.1 224.9M368.9 287.8L526.5 260.1M369.7 293.9L588.9 274.7' stroke-opacity='.4'/%3E%3Ccircle cx='300' cy='300' r='290' stroke-opacity='.3'/%3E%3Ccircle cx='300' cy='300' r='230' stroke-opacity='.4'/%3E%3Ccircle cx='300' cy='300' r='70' stroke-opacity='.5'/%3E%3Ccircle cx='300' cy='300' r='62' stroke-opacity='.3'/%3E%3C/g%3E%3C/svg%3E");
  --or-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .85 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* @recursos:fin */

/* =====================================================================
   PÁGINA · marfil y champaña con escamas déco; bandas negras
   ===================================================================== */
html[data-theme="oro"] {
  background-color: #EFE6D2;
  background-image:
    radial-gradient(70vw 60vh at 50% 0%, rgba(184, 145, 47, .16), transparent 70%),
    var(--or-pattern);
}
html[data-theme="oro"] ::selection { background: rgba(184, 145, 47, .35); }
html[data-theme="oro"] .inv-section.is-alt { background-image: var(--or-pattern); }

/* bandas negras: se redefinen los colores para que todo el contenido herede contraste AA */
html[data-theme="oro"] .inv-section--quote,
html[data-theme="oro"] .inv-section--timeline,
html[data-theme="oro"] .inv-footer {
  --bg: #1A1A1A;
  --bg-alt: #1A1A1A;
  --surface: #232120;
  --ink: #FBF8F1;
  --ink-soft: #CFC5B1;
  --accent: #D9B862;
  --accent-ink: #1A1A1A;
  --line: rgba(243, 229, 192, .16);
  background-color: #1A1A1A;
  background-image:
    radial-gradient(90% 60% at 50% 0%, rgba(184, 145, 47, .16), transparent 70%),
    linear-gradient(rgba(26, 26, 26, .9), rgba(26, 26, 26, .9)),
    var(--or-pattern);
  color: var(--ink);
}
/* filete dorado doble arriba y abajo de cada banda negra */
html[data-theme="oro"] .inv-section--quote::before, html[data-theme="oro"] .inv-section--quote::after,
html[data-theme="oro"] .inv-section--timeline::before, html[data-theme="oro"] .inv-section--timeline::after {
  content: ''; position: absolute; left: 0; right: 0; height: 5px; pointer-events: none;
  border-block: 1px solid rgba(217, 184, 98, .6);
}
html[data-theme="oro"] .inv-section--quote::before, html[data-theme="oro"] .inv-section--timeline::before { top: 10px; }
html[data-theme="oro"] .inv-section--quote::after, html[data-theme="oro"] .inv-section--timeline::after { bottom: 10px; }

/* ---------- tipografía ---------- */
html[data-theme="oro"] .inv-head::before {
  content: ''; display: block; width: 120px; height: 44px; margin: 0 auto 18px;
  background: var(--or-fan) center / contain no-repeat;
}
html[data-theme="oro"] .inv-eyebrow { font-weight: 500; font-size: .66rem; letter-spacing: .38em; color: var(--accent); }
html[data-theme="oro"] .inv-title { font-weight: 400; font-size: clamp(2.35rem, 10.4vw, 3.05rem); line-height: 1.05; letter-spacing: .005em; color: var(--ink); }
html[data-theme="oro"] .inv-text { font-weight: 400; line-height: 1.78; }

/* ---------- tarjetas con cuatro esquinas déco escalonadas ---------- */
html[data-theme="oro"] .inv-card,
html[data-theme="oro"] .inv-dress,
html[data-theme="oro"] .inv-note {
  border-color: rgba(184, 145, 47, .45);
  background-image: var(--or-corner), var(--or-cornerTR), var(--or-cornerBL), var(--or-cornerBR);
  background-repeat: no-repeat;
  background-size: 24px 24px;
  background-position: 7px 7px, calc(100% - 7px) 7px, 7px calc(100% - 7px), calc(100% - 7px) calc(100% - 7px);
}

/* ---------- botones ---------- */
html[data-theme="oro"] .inv-btn {
  border-radius: 1px; min-height: 50px; padding: .95em 1.7em;
  font-weight: 500; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
}
html[data-theme="oro"] .inv-btn--ghost { border-width: 1px; }
html[data-theme="oro"] .inv-btn.is-draft { text-transform: none; letter-spacing: .02em; }

/* =====================================================================
   HERO · retrato de hoy con marco déco dorado
   ===================================================================== */
html[data-theme="oro"] .inv-hero--photo { background: #1A1A1A; min-height: 124vh; min-height: 124svh; }
html[data-theme="oro"] .inv-hero--photo .inv-hero__title,
html[data-theme="oro"] .inv-hero--photo .inv-hero__subtitle { color: var(--hero-ink); }
html[data-theme="oro"] .inv-hero--photo .inv-hero__title { text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
html[data-theme="oro"] .inv-hero--photo .inv-hero__img { object-position: 50% 22%; }
html[data-theme="oro"] .inv-hero--photo .inv-hero__img { filter: saturate(.86) contrast(1.04) sepia(.12); }
/* marco doble dorado con esquinas escalonadas */
html[data-theme="oro"] .inv-hero::after {
  content: ''; position: absolute; inset: 14px; z-index: 1; pointer-events: none;
  border: 1px solid rgba(227, 199, 122, .7);
  box-shadow: inset 0 0 0 4px rgba(26, 26, 26, 0), inset 0 0 0 5px rgba(227, 199, 122, .4);
  opacity: 0; transition: opacity 1.4s var(--ease) .6s;
}
html[data-theme="oro"].is-revealed .inv-hero::after { opacity: 1; }
html[data-theme="oro"] .inv-hero__media::before,
html[data-theme="oro"] .inv-hero__media::after {
  content: ''; position: absolute; z-index: 2; width: 58px; height: 58px; pointer-events: none;
  background: var(--or-corner) center / contain no-repeat;
}
html[data-theme="oro"] .inv-hero__media::before { top: 8px; left: 8px; }
html[data-theme="oro"] .inv-hero__media::after { top: 8px; right: 8px; background-image: var(--or-cornerTR); }
/* sol déco detrás de los nombres */
html[data-theme="oro"] .inv-hero__content::before {
  content: ''; position: absolute; left: 50%; bottom: calc(100% - 30px); z-index: -1; width: 560px; aspect-ratio: 600 / 310;
  transform: translateX(-50%); pointer-events: none;
  background: var(--or-sunburst) center bottom / contain no-repeat;
  opacity: 0; transition: opacity 2s var(--ease) 1s;
}
html[data-theme="oro"].is-revealed .inv-hero__content::before { opacity: .55; }
html[data-theme="oro"] .inv-hero--photo .inv-hero__content::before { display: none; }
html[data-theme="oro"] .inv-hero__content { z-index: 2; }
html[data-theme="oro"] .inv-hero__eyebrow {
  display: inline-block; width: auto; padding: .55em 1.2em .5em; margin-bottom: .9rem;
  font-size: .64rem; letter-spacing: .44em; color: #1A1A1A; opacity: 1;
  background: var(--or-foil);
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .6);
}
html[data-theme="oro"] .inv-hero__title { font-size: clamp(2.9rem, 12.8vw, 4.1rem); line-height: 1.12; margin: .05em 0 .12em; }
html[data-theme="oro"] .inv-amp {
  font-family: var(--font-display); font-style: normal; font-size: .52em; line-height: 1.1; margin: .1em 0 .05em;
  background: var(--or-foil); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #D9B862;
}
/* sobre la foto, el «&» de foil se despega del vestido claro con una sombra que sigue la letra */
html[data-theme="oro"] .inv-hero--photo .inv-amp { text-shadow: none; filter: drop-shadow(0 1px 1px rgba(20, 16, 10, .75)) drop-shadow(0 0 10px rgba(20, 16, 10, .55)); }
html[data-theme="oro"] .inv-hero__subtitle { font-family: var(--font-display); font-style: normal; font-size: 1.14rem; line-height: 1.45; max-width: 19rem; text-wrap: balance; }
html[data-theme="oro"] .inv-hero__date { font-weight: 500; letter-spacing: .3em; }
html[data-theme="oro"] .inv-hero__date-side { border-color: rgba(227, 199, 122, .65); }
html[data-theme="oro"] .inv-hero__date-day {
  font-size: 3.7rem;
  background: var(--or-foil); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #D9B862;
}
html[data-theme="oro"] .inv-hero__time { text-transform: none; letter-spacing: .16em; font-size: .78rem; }
html[data-theme="oro"] .inv-hero__place .inv-icon { color: #D9B862; }

/* pase del invitado: tarjeta negra con filete dorado */
html[data-theme="oro"] .inv-guest {
  border-radius: 1px; padding: 14px 26px 15px;
  background: #1A1A1A; color: #FBF8F1;
  border: 1px solid rgba(217, 184, 98, .75);
  box-shadow: inset 0 0 0 4px #1A1A1A, inset 0 0 0 5px rgba(217, 184, 98, .35), 0 18px 36px -20px rgba(0, 0, 0, .6);
}
html[data-theme="oro"] .inv-hero--photo .inv-guest { background: rgba(20, 18, 14, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
html[data-theme="oro"] .inv-guest__label { color: #D9B862; opacity: 1; letter-spacing: .36em; font-weight: 500; }
html[data-theme="oro"] .inv-guest__name { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; }
html[data-theme="oro"] .inv-guest__passes { color: #CFC5B1; opacity: 1; }

/* =====================================================================
   SECCIONES
   ===================================================================== */

/* insignia: medallón negro con filete de oro */
html[data-theme="oro"] .inv-event__icon,
html[data-theme="oro"] .inv-event.has-img .inv-event__icon,
html[data-theme="oro"] .inv-gift__icon,
html[data-theme="oro"] .inv-hotel__icon,
html[data-theme="oro"] .inv-note__icon,
html[data-theme="oro"] .inv-dress__icon,
html[data-theme="oro"] .inv-album__icon {
  color: #D9B862; background: #1A1A1A; border-radius: 50%;
  border: 1px solid rgba(217, 184, 98, .9);
  box-shadow: inset 0 0 0 3px #1A1A1A, inset 0 0 0 4px rgba(217, 184, 98, .45), 0 12px 22px -12px rgba(0, 0, 0, .55);
}

/* quote — banda negra, texto en marfil, comillas en lámina de oro */
html[data-theme="oro"] .inv-section--quote { padding-block: clamp(90px, 22vw, 130px); }
html[data-theme="oro"] .inv-quote__mark {
  font-family: var(--font-display); font-size: 7rem; opacity: 1; top: -.42em;
  background: var(--or-foil); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #D9B862;
}
html[data-theme="oro"] .inv-quote__text p { font-style: normal; font-size: clamp(1.5rem, 6.6vw, 1.9rem); line-height: 1.42; color: var(--ink); }
html[data-theme="oro"] .inv-quote__author { font-family: var(--font-script); font-size: 1.35rem; letter-spacing: 0; text-transform: none; color: #D9B862; font-weight: 400; }
html[data-theme="oro"] .inv-quote__author::before { width: 70px; background: var(--or-foil); }

/* story — «50 años» en lámina de oro, a gran escala */
html[data-theme="oro"] .inv-section--story .inv-title {
  font-size: clamp(5.4rem, 30vw, 8rem); line-height: .9; margin: .05em 0 .1em; letter-spacing: -.01em;
  background: var(--or-foil-dark); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--or-oro-texto);
  filter: drop-shadow(0 2px 0 rgba(125, 94, 23, .18));
}
html[data-theme="oro"] .inv-story__figure { width: min(72%, 290px); margin-bottom: 2.6rem; }
html[data-theme="oro"] .inv-story__figure img { border-radius: 150px 150px 2px 2px; filter: sepia(.18) saturate(.9); }
html[data-theme="oro"] .inv-story__figure::after { inset: -9px; border-radius: 160px 160px 3px 3px; border-color: rgba(184, 145, 47, .75); }
html[data-theme="oro"] .inv-story__glow { background: radial-gradient(closest-side, rgba(184, 145, 47, .28), transparent); }
html[data-theme="oro"] .inv-story__body .inv-text { text-align: left; hyphens: auto; -webkit-hyphens: auto; }
html[data-theme="oro"] .inv-story__body .inv-text:first-child::first-letter { font-family: var(--font-display); font-size: 3.6em; color: var(--accent); }
html[data-theme="oro"] .inv-story__sig { font-size: 1.9rem; color: var(--accent); }

/* people — hijos en lista, nietos en una sola línea con separadores */
html[data-theme="oro"] .inv-people { gap: 34px; }
html[data-theme="oro"] .inv-people__spark { display: none; }
html[data-theme="oro"] .inv-people__group { padding: 0; }
html[data-theme="oro"] .inv-people__group + .inv-people__group { padding-top: 34px; background: var(--or-ornament) top center / 180px 36px no-repeat; }
html[data-theme="oro"] .inv-people__names li { font-size: 1.45rem; line-height: 1.45; }
html[data-theme="oro"] .inv-people__group:last-child .inv-people__names {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .1em 1.05em; max-width: 21rem; margin: 0 auto;
}
html[data-theme="oro"] .inv-people__group:last-child .inv-people__names li { font-size: 1.32rem; }

/* events */
html[data-theme="oro"] .inv-events { gap: 30px; }
html[data-theme="oro"] .inv-event { padding-bottom: 30px; }
html[data-theme="oro"] .inv-event__media { margin: 12px 12px 0; aspect-ratio: 16 / 10; }
html[data-theme="oro"] .inv-event__media img { filter: saturate(.85) sepia(.1); }
html[data-theme="oro"] .inv-event__name { font-size: 1.7rem; line-height: 1.15; }
html[data-theme="oro"] .inv-event__meta li:first-child span { font-family: var(--font-display); font-size: 1.28rem; color: var(--ink); }
html[data-theme="oro"] .inv-event__actions, html[data-theme="oro"] .inv-event__icon { position: relative; z-index: 2; }

/* timeline — banda negra, medallones dorados */
html[data-theme="oro"] .inv-timeline::before { left: 27.5px; width: 1px; background: linear-gradient(180deg, transparent, #D9B862 6%, #D9B862 94%, transparent); }
html[data-theme="oro"] .inv-section .inv-timeline__dot,
html[data-theme="oro"] .inv-section.is-alt .inv-timeline__dot {
  color: #1A1A1A; background: var(--or-foil); border: 0;
  box-shadow: 0 0 0 6px #1A1A1A, 0 0 0 7px rgba(217, 184, 98, .5);
}
html[data-theme="oro"] .inv-timeline__time { color: #D9B862; font-weight: 500; letter-spacing: .24em; }
html[data-theme="oro"] .inv-timeline__title { font-size: 1.5rem; }
html[data-theme="oro"] .inv-timeline__text { color: var(--ink-soft); }

/* gallery — álbum: foto de 1977 en sepia, bordes de papel fotográfico */
html[data-theme="oro"] .inv-gallery--grid { grid-auto-rows: 46vw; gap: 12px; }
@media (min-width: 560px) { html[data-theme="oro"] .inv-gallery--grid { grid-auto-rows: 230px; } }
html[data-theme="oro"] .inv-gallery--grid .inv-gallery__item {
  border-radius: 1px; padding: 7px; background: #FFFDF8;
  box-shadow: 0 1px 2px rgba(26, 20, 10, .1), 0 22px 36px -24px rgba(26, 20, 10, .6);
}
html[data-theme="oro"] .inv-gallery--grid .inv-gallery__item:first-child img { filter: sepia(.75) contrast(1.05) brightness(1.02); }
html[data-theme="oro"] .inv-gallery--grid .inv-gallery__item:nth-child(2) img { filter: sepia(.45); }
html[data-theme="oro"] .inv-gallery__item img { background: linear-gradient(135deg, #E9DDBF, #D8C697); }

/* note — tarjeta con doble filete */
html[data-theme="oro"] .inv-note {
  grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 40px 26px 34px; border-radius: 1px;
  background: var(--surface); border-color: rgba(184, 145, 47, .6); box-shadow: inset 0 0 0 5px var(--surface), inset 0 0 0 6px rgba(184, 145, 47, .35), var(--shadow);
}
html[data-theme="oro"] .inv-note__title { font-size: 1.62rem; }

/* wishes y formularios */
html[data-theme="oro"] .inv-wish { border-radius: 1px; border-color: rgba(184, 145, 47, .35); }
html[data-theme="oro"] .inv-wish::before { color: var(--accent-2); }
html[data-theme="oro"] .inv-wish__msg p { font-size: 1.14rem; }
html[data-theme="oro"] .inv-input { border-radius: 1px; border-width: 1px; background: #FFFEFB; }
html[data-theme="oro"] .inv-field__label { font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: .66rem; }
html[data-theme="oro"] .inv-field__label small { text-transform: none; letter-spacing: 0; }
html[data-theme="oro"] .inv-field, html[data-theme="oro"] .inv-card .inv-btn, html[data-theme="oro"] .inv-rsvp__choice { position: relative; z-index: 2; }

/* rsvp */
html[data-theme="oro"] .inv-rsvp__face { border-radius: 1px; border-width: 1px; }
html[data-theme="oro"] .inv-rsvp__face-txt strong { font-family: var(--font-display); font-weight: 400; font-size: 1.32rem; }
html[data-theme="oro"] .inv-rsvp__face-ico .inv-sparkle path { fill: var(--accent-2); }
html[data-theme="oro"] .inv-stepper { border-radius: 1px; border-width: 1px; }
html[data-theme="oro"] .inv-rsvp__seats i { border-radius: 1px; border-color: var(--accent-2); }

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

/* pie — banda negra con sol déco */
html[data-theme="oro"] .inv-footer { padding-top: 100px; }
html[data-theme="oro"] .inv-footer::before {
  content: ''; position: absolute; left: 50%; top: 26px; width: 300px; aspect-ratio: 600 / 310; transform: translateX(-50%);
  background: var(--or-sunburst) center bottom / contain no-repeat; opacity: .5; pointer-events: none;
}
html[data-theme="oro"] .inv-footer__orn { color: #D9B862; }
html[data-theme="oro"] .inv-footer__text { font-size: 2.3rem; color: #FBF8F1; }
html[data-theme="oro"] .inv-footer__date { color: #D9B862; letter-spacing: .36em; }
html[data-theme="oro"] .inv-footer__credit { color: #CFC5B1; }
html[data-theme="oro"] .inv-footer__credit:hover { color: #FBF8F1; border-color: rgba(243, 229, 192, .25); }
html[data-theme="oro"] .inv-footer__brand { color: #FBF8F1; }
/* sparkle() pinta el <path> con currentColor */
html[data-theme="oro"] .inv-wishes__spark { color: var(--accent-2); }

/* barra de acciones: negra con oro */
html[data-theme="oro"] .inv-actionbar {
  border-radius: 4px; background: rgba(26, 26, 26, .9); border-color: rgba(217, 184, 98, .45);
}
html[data-theme="oro"] .inv-actionbar__btn { color: #F3E5C0; border-radius: 2px; font-weight: 500; letter-spacing: .04em; }
@media (hover: hover) { html[data-theme="oro"] .inv-actionbar__btn:hover { background: rgba(243, 229, 192, .08); } }
html[data-theme="oro"] .inv-actionbar__btn.is-primary { background: var(--or-foil); color: #1A1A1A; box-shadow: 0 8px 18px -8px rgba(184, 145, 47, .8); }
html[data-theme="oro"] .inv-actionbar__btn:focus-visible { outline-color: #D9B862; }
html[data-theme="oro"] .inv-music { background: rgba(26, 26, 26, .85); color: #F3E5C0; border-color: rgba(217, 184, 98, .45); }

/* =====================================================================
   INTRO · página negra de álbum, foto de 1977 con borde festoneado,
   esquineros dorados y sol déco; se revela en sepia
   ===================================================================== */
html[data-theme="oro"] .inv-intro--polaroid { background-color: #151311; }
html[data-theme="oro"] .inv-intro--polaroid .inv-intro__bg {
  background-image:
    radial-gradient(90% 60% at 50% 44%, rgba(184, 145, 47, .2), transparent 70%),
    radial-gradient(130% 90% at 50% 45%, transparent 50%, rgba(0, 0, 0, .55) 100%),
    var(--or-noise);
}
/* sol déco que gira despacio detrás de la foto */
html[data-theme="oro"] .inv-intro--polaroid .inv-intro__bg::before {
  content: ''; position: absolute; left: 50%; top: 47%; width: min(150vw, 820px); aspect-ratio: 1; pointer-events: none;
  transform: translate(-50%, -50%);
  background: var(--or-sunfull) center / contain no-repeat;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent);
  mask-image: radial-gradient(closest-side, #000 55%, transparent);
  animation: orSpin 90s linear infinite;
}
@keyframes orSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
/* marco doble dorado de la página del álbum */
html[data-theme="oro"] .inv-intro--polaroid::before {
  content: ''; position: absolute; inset: 12px; z-index: 0; pointer-events: none;
  border: 1px solid rgba(217, 184, 98, .55);
  box-shadow: inset 0 0 0 5px transparent, inset 0 0 0 6px rgba(217, 184, 98, .28);
}
html[data-theme="oro"] .inv-intro--polaroid::after {
  content: ''; position: absolute; inset: 20px; z-index: 0; pointer-events: none;
  background-image: var(--or-corner), var(--or-cornerTR), var(--or-cornerBL), var(--or-cornerBR);
  background-repeat: no-repeat; background-size: 40px 40px;
  background-position: 0 0, 100% 0, 0 100%, 100% 100%;
}
html[data-theme="oro"] .inv-intro__eyebrow { color: #E9D7A6; font-weight: 500; letter-spacing: .42em; margin-top: 8px; }

/* la foto: montada derecha, sombra desde el contenedor (el borde festoneado usa máscara) */
html[data-theme="oro"] .pol { --w: min(70vw, 300px, 44vh); filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .6)); }
@media (min-width: 700px) { html[data-theme="oro"] .pol { --w: min(46vw, 330px, 48vh); } }
html[data-theme="oro"] .pol__card {
  transform: none; box-shadow: none;
  padding: calc(var(--w) * .065) calc(var(--w) * .065) 0;
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 60%, rgba(150, 110, 50, .18) 100%),
    linear-gradient(170deg, #F6EEDA, #EADDBF);
  -webkit-mask:
    radial-gradient(circle 4px at 50% 0, #0000 96%, #000) 0 0 / 10px 100% repeat-x,
    radial-gradient(circle 4px at 50% 100%, #0000 96%, #000) 0 0 / 10px 100% repeat-x,
    radial-gradient(circle 4px at 0 50%, #0000 96%, #000) 0 0 / 100% 10px repeat-y,
    radial-gradient(circle 4px at 100% 50%, #0000 96%, #000) 0 0 / 100% 10px repeat-y;
  -webkit-mask-composite: source-in, source-in, source-in;
  mask:
    radial-gradient(circle 4px at 50% 0, #0000 96%, #000) 0 0 / 10px 100% repeat-x,
    radial-gradient(circle 4px at 50% 100%, #0000 96%, #000) 0 0 / 10px 100% repeat-x,
    radial-gradient(circle 4px at 0 50%, #0000 96%, #000) 0 0 / 100% 10px repeat-y,
    radial-gradient(circle 4px at 100% 50%, #0000 96%, #000) 0 0 / 100% 10px repeat-y;
  mask-composite: intersect;
}
html[data-theme="oro"] .inv-intro.is-ready .pol__card { animation: none; }
html[data-theme="oro"] .pol__tape { display: none; }
/* esquineros dorados de álbum */
html[data-theme="oro"] .pol::before,
html[data-theme="oro"] .pol::after {
  content: ''; position: absolute; left: -7px; right: -7px; height: 44px; z-index: 2; pointer-events: none;
  background-repeat: no-repeat; background-size: 44px 44px;
  transition: opacity .45s var(--ease);
}
html[data-theme="oro"] .pol::before {
  top: -7px;
  background-image:
    linear-gradient(135deg, #E9CF86 0%, #B8912F 38%, #8C6B1F 50%, transparent 50.5%),
    linear-gradient(225deg, #F1DDA0 0%, #B8912F 38%, #8C6B1F 50%, transparent 50.5%);
  background-position: 0 0, 100% 0;
}
html[data-theme="oro"] .pol::after {
  bottom: -7px;
  background-image:
    linear-gradient(45deg, #D9B862 0%, #A07A26 38%, #7D5E17 50%, transparent 50.5%),
    linear-gradient(315deg, #E3C77A 0%, #A07A26 38%, #7D5E17 50%, transparent 50.5%);
  background-position: 0 100%, 100% 100%;
}
html[data-theme="oro"] .pol.s2::before, html[data-theme="oro"] .pol.s2::after { opacity: 0; }

/* revelado: de la oscuridad a un sepia cálido (foto de 1977) */
html[data-theme="oro"] .pol__photo { background: #231A10; }
html[data-theme="oro"] .pol__dev { background: radial-gradient(75% 75% at 50% 50%, rgba(92, 64, 30, .6), rgba(24, 16, 8, .97)); }
html[data-theme="oro"] .pol.s1 .pol__photo img { filter: sepia(.85) contrast(1.06) brightness(1.03) saturate(.95); transform: scale(1); }
html[data-theme="oro"] .pol.s1 .pol__card { animation: orDevelop 2.2s var(--ease-io); }
@keyframes orDevelop { 0%, 100% { transform: none; } 40% { transform: scale(1.025); } }
html[data-theme="oro"] .pol.s2 .pol__card { transform: scale(1.12); }
html[data-theme="oro"] .pol__gloss { background: linear-gradient(118deg, transparent 30%, rgba(255, 244, 214, .28) 45%, transparent 60%) 0 0 / 260% 100% no-repeat; }
html[data-theme="oro"] .inv-intro.is-ready .pol__gloss { animation: orSheen 5s var(--ease-io) 1.6s infinite; }
@keyframes orSheen { 0%, 60% { background-position: 130% 0; } 100% { background-position: -60% 0; } }
html[data-theme="oro"] .pol__caption {
  font-family: var(--font-script); font-size: calc(var(--w) * .082); color: #5A4632;
  padding: calc(var(--w) * .045) 6px calc(var(--w) * .075);
}
html[data-theme="oro"] .pol__date { display: none; }

/* botón en lámina de oro y saludo */
html[data-theme="oro"] .inv-intro__cta {
  background: var(--or-foil); color: #1A1A1A; border-radius: 2px;
  font-weight: 500; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .35);
}
html[data-theme="oro"] .inv-intro__cta-ring { animation-name: orCtaRing; }
@keyframes orCtaRing { 0% { box-shadow: 0 0 0 0 rgba(217, 184, 98, .55); } 80%, 100% { box-shadow: 0 0 0 15px rgba(217, 184, 98, 0); } }
html[data-theme="oro"] .inv-intro__cta:focus-visible { outline-color: #D9B862; }
html[data-theme="oro"] .inv-intro__guest {
  background: rgba(26, 26, 26, .85); color: #F3E5C0; border-radius: 2px;
  border-color: rgba(217, 184, 98, .6);
}
html[data-theme="oro"] .inv-intro__guest .inv-guest__label { color: #D9B862; }
html[data-theme="oro"] .inv-intro__guest .inv-guest__name { font-size: 1.45rem; }

/* =====================================================================
   EFECTOS · polvo de oro al abrir (capa .inv-fx)
   ===================================================================== */
html[data-theme="oro"] .inv-fx::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background-image:
    radial-gradient(circle, rgba(233, 207, 134, .95) 0 1.4px, rgba(233, 207, 134, 0) 3px),
    radial-gradient(circle, rgba(184, 145, 47, .85) 0 1.1px, rgba(184, 145, 47, 0) 2.6px),
    radial-gradient(circle, rgba(255, 244, 214, .9) 0 1px, rgba(255, 244, 214, 0) 2.4px);
  background-size: 113px 157px, 79px 191px, 149px 127px;
  background-position: 30px -40px, 70px -120px, 10px -60px;
}
html[data-theme="oro"].is-revealed .inv-fx::before { animation: orDust 16s linear .4s 1 both; }
@keyframes orDust {
  0% { opacity: 0; background-position: 30px -40px, 70px -120px, 10px -60px; }
  8%, 80% { opacity: .75; }
  100% { opacity: 0; background-position: 30px 600px, 70px 640px, 10px 560px; }
}

/* =====================================================================
   ESCRITORIO
   ===================================================================== */
@media (min-width: 900px) {
  html[data-theme="oro"] body.inv::before {
    content: ''; position: fixed; z-index: -1; left: 50%; bottom: -8vh; width: 1300px; aspect-ratio: 600 / 310; pointer-events: none;
    transform: translateX(-50%); background: var(--or-sunburst) center bottom / contain no-repeat; opacity: .5;
    filter: brightness(.7) sepia(1) saturate(2);
  }
  html[data-theme="oro"] .inv-page { box-shadow: 0 0 0 1px rgba(184, 145, 47, .35), 0 50px 120px -40px rgba(26, 20, 10, .5); }
}

/* =====================================================================
   MOVIMIENTO REDUCIDO
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html[data-theme="oro"] .inv-fx::before { display: none; }
  html[data-theme="oro"] .inv-intro--polaroid .inv-intro__bg::before,
  html[data-theme="oro"] .inv-intro.is-ready .pol__gloss { animation: none; }
}
