/* v199: the classic all-in-one Invitation pages on a computer (js/occasi-desk-invite.js). Nothing here applies under
 * 1024 x 600, so phones and tablets look exactly as before. Light paper, the design's own lettering and ink (set by the
 * script from the page's headings), a hairline in its accent. */
.odi-panel { display: none; }
@media (min-width: 1024px) and (min-height: 600px) {
  :root { --odi-tm: 28px; --odi-bm: 28px; --odi-pw: clamp(300px, 27vw, 420px); --odi-gap: clamp(28px, 3.5vw, 56px); --odi-shift: calc((var(--odi-pw) + var(--odi-gap)) / 2); }
  html.osv-on { --odi-tm: 80px; }
  /* rail: the page's column moves left, the panel stands at the right for the whole page */
  html.odi-rail main { margin-right: calc(var(--odi-pw) + var(--odi-gap) * 2); }
  html.odi-rail .signature-footer { margin-right: calc(var(--odi-pw) + var(--odi-gap) * 2); }
  .odi-panel { --odi-paper: #fffdf8; --odi-rule: rgba(150, 125, 80, .32); --odi-soft: #5f574b;
    display: flex; flex-direction: column; position: fixed; z-index: 40; top: var(--odi-tm); right: var(--odi-gap); width: var(--odi-pw); height: calc(100vh - var(--odi-tm) - var(--odi-bm));
    padding: clamp(24px, 4vh, 44px) clamp(22px, 2.4vw, 36px) 14px; background: var(--odi-paper); color: var(--odi-ink, #2f2a23); border-radius: 3px;
    box-shadow: 0 24px 60px -32px rgba(40, 32, 16, .5), inset 0 0 0 1px var(--odi-rule), inset 0 0 0 5px var(--odi-paper), inset 0 0 0 6px var(--odi-rule);
    font: 400 15px / 1.45 var(--odi-text, Georgia, serif); text-align: center; box-sizing: border-box; }
  /* hero: only the first screen splits (the portrait scene left, the words beside it) */
  html.odi-hero .signature-hero-window > #hero, html.odi-hero .signature-hero-window > #scene, html.odi-hero .signature-hero-window > .signature-scroll-cue { translate: calc(var(--odi-shift) * -1) 0; }
  html.odi-hero .odi-panel { position: absolute; top: var(--odi-tm); right: auto; left: calc(50% + 300px - var(--odi-shift) + var(--odi-gap)); height: calc(100% - var(--odi-tm) - var(--odi-bm)); }
  .odi-in { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; display: flex; flex-direction: column; }
  .odi-scene { margin: auto 0; animation: odi-in .4s ease both; }
  @keyframes odi-in { from { opacity: 0; transform: translateY(5px); } }
  .odi-kicker { margin: 0; font: 600 10.5px / 1.4 var(--odi-text, Georgia, serif); letter-spacing: .26em; text-transform: uppercase; color: var(--odi-soft); }
  .odi-names { display: grid; justify-items: center; margin: 12px 0 2px; font: italic 400 clamp(38px, 3.4vw, 54px) / 1.04 var(--odi-display, Georgia, serif); color: var(--odi-ink, #2f2a23); overflow-wrap: anywhere; text-wrap: balance; }
  .odi-amp { font-size: .55em; margin: .08em 0; opacity: .8; }
  .is-small .odi-names { flex-direction: row; display: block; font-size: clamp(26px, 2.2vw, 34px); }
  .is-small .odi-names .odi-amp { display: inline; font-size: .8em; margin: 0 .2em; }
  .odi-rule { display: block; width: 56px; height: 1px; margin: 14px auto; background: var(--odi-rule); }
  .odi-date { margin: 0; font: 600 11.5px / 1.5 var(--odi-text, Georgia, serif); letter-spacing: .18em; text-transform: uppercase; color: var(--odi-ink, #2f2a23); }
  .odi-place, .odi-sub, .odi-line { margin: 6px 0 0; font-style: italic; color: var(--odi-soft); text-wrap: balance; }
  .odi-sec { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--odi-rule); }
  .odi-h { margin: 0; font: italic 400 clamp(26px, 2.2vw, 34px) / 1.12 var(--odi-display, Georgia, serif); color: var(--odi-ink, #2f2a23); text-wrap: balance; }
  .odi-days { margin-top: 12px; text-align: left; }
  .odi-dayh { margin: 10px 0 2px; padding-bottom: 4px; border-bottom: 1px solid var(--odi-rule); font: 600 10.5px / 1.3 var(--odi-text, Georgia, serif); letter-spacing: .16em; text-transform: uppercase; color: var(--odi-soft); }
  .odi-ev { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; margin: 0; padding: 6px 0; border-bottom: 1px solid color-mix(in srgb, var(--odi-rule) 55%, transparent); }
  .odi-ev span { font-style: italic; color: var(--odi-soft); }
  .odi-ev b, .odi-list b, .odi-people b { font-weight: 400; font-family: var(--odi-display, Georgia, serif); font-size: 17px; color: var(--odi-ink, #2f2a23); overflow-wrap: anywhere; }
  .odi-list, .odi-people { list-style: none; margin: 12px 0 0; padding: 0; text-align: left; }
  .odi-list li { display: grid; gap: 2px; padding: 7px 0; border-bottom: 1px solid color-mix(in srgb, var(--odi-rule) 55%, transparent); }
  .odi-list span { font: 600 10px / 1.4 var(--odi-text, Georgia, serif); letter-spacing: .16em; text-transform: uppercase; color: var(--odi-soft); }
  .odi-people { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .odi-people li { display: grid; padding-top: 6px; border-top: 1px solid var(--odi-rule); }
  .odi-people small { font-size: 12.5px; color: var(--odi-soft); }
  .odi-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--odi-ink, #2f2a23); font-style: italic; text-decoration: underline; text-decoration-color: var(--odi-rule); text-underline-offset: 4px; }
  .odi-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 200px; margin: 22px auto 0; padding: 0 26px; border-radius: 2px; background: var(--odi-ink, #2f2a23); color: #fffdf8;
    font: 600 11.5px / 1 var(--odi-text, Georgia, serif); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
  .odi-btn:hover { filter: brightness(1.15); }
  .odi-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 2px; margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--odi-rule); max-height: 40%; overflow-y: auto; scrollbar-width: thin; }
  .odi-nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; color: var(--odi-soft); font-size: 12.5px; text-decoration: none; }
  .odi-nav i { width: 5px; height: 5px; transform: rotate(45deg); box-shadow: 0 0 0 1px currentColor; opacity: .7; }
  .odi-nav [aria-current] { color: var(--odi-ink, #2f2a23); }
  .odi-nav [aria-current] i { background: currentColor; opacity: 1; }
  .odi-nav a:hover span { text-decoration: underline; text-underline-offset: 4px; }
  .odi-panel a:focus-visible { outline: 2px solid var(--odi-ink, #2f2a23); outline-offset: 2px; }
}
@media (min-width: 1024px) and (min-height: 600px) and (prefers-reduced-motion: reduce) { .odi-scene { animation: none; } }
