/* One invitation-paper panel, with a single pair of album actions. */
.wedding-home { --hub-width: 760px; padding: clamp(16px,4vw,48px) clamp(12px,3vw,32px); }
.wedding-home [hidden] { display: none !important; }
.hub-nav, .hub-main { width: min(100%,var(--hub-width)); margin-inline: auto; }
.hub-nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px clamp(24px,5vw,44px) 8px; background: var(--color-bg); border-radius: 20px 20px 0 0; }
.hub-brand { display: inline-flex; align-items: center; min-height: 44px; }
.hub-brand img { width: 38px; height: auto; }
.hub-nav .lang-select { min-height: 44px; }
.wedding-home .hub-main { min-height: 0; padding: 8px clamp(24px,5vw,44px) 24px; border-radius: 0 0 20px 20px; background: var(--color-bg); }
.hub-masthead { text-align: center; padding: 8px 0 24px; }
.hub-masthead h1 { margin: 0; }
.hub-masthead h1 img { display: block; width: min(310px,90%); height: auto; margin-inline: auto; }
.hub-masthead p { margin: 10px auto 0; font-size: 13px; color: var(--color-ink-soft); }
.phase-panel { padding: 8px 0 28px; text-align: center; }
.phase-panel h2 { margin: 0 auto 16px; max-width: 22ch; font-size: clamp(30px,3.3vw,42px); line-height: 1.18; }
.phase-description { max-width: 42ch; margin: 0 auto; font-size: 16px; line-height: 1.6; }
.hub-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.hub-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 150px; padding: 12px 22px; border: 1px solid var(--color-line); border-radius: 8px; color: var(--color-ink); font-size: 14px; line-height: 1.4; text-decoration: none; }
.hub-button--primary { background: var(--color-fuchsia); border-color: var(--color-fuchsia); color: white; }
.hub-deadline { max-width: 48ch; margin: 20px auto 0; font-size: 12px; line-height: 1.6; color: var(--color-ink-soft); }
.hub-footer { padding-top: 16px; border-top: 1px solid var(--color-line); color: var(--color-ink-soft); }
.hub-footer-row { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 20px; }
.hub-more { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.hub-more a, .hub-history summary { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: var(--color-ink-soft); }
.hub-history summary { display: list-item; cursor: pointer; line-height: 44px; }
.hub-history .hub-more { padding: 0 0 12px 14px; flex-direction: column; gap: 0; }
.hub-history .hub-more a { min-height: 36px; }
.hub-footer > p { margin: 12px auto 0; max-width: 64ch; font-size: 11px; line-height: 1.6; }
.hub-skip { position: fixed; top: 8px; left: 20px; z-index: 100; background: var(--color-bg); padding: 10px 15px; transform: translateY(-160%); }
.hub-skip:focus { transform: none; }
.wedding-home :focus-visible { outline: 3px solid var(--color-fuchsia); outline-offset: 4px; }
@media(max-width: 480px) {
  .hub-nav { padding-top: 12px; }
  .hub-masthead { padding-bottom: 24px; }
  .phase-panel h2 { font-size: 31px; }
  .phase-description { font-size: 14px; }
  .hub-actions { gap: 8px; }
  .hub-button { min-width: 0; flex: 1 1 120px; padding-inline: 12px; }
  .hub-footer-row { gap: 0 12px; }
}
@media(prefers-reduced-motion: reduce) { html:has(.wedding-home) { scroll-behavior: auto; } }
