/* base.css -- page shell. The invite is a single column of PSD stages; on a phone
   the column is the screen width, on wider screens one stage is one screen tall. */
:root {
  --page: #241312;
  --col: min(100vw, calc(100svh * 1080 / 1920));
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--page); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.is-locked { overflow: hidden; }
body { margin: 0; min-height: 100svh; background: var(--page); -webkit-font-smoothing: antialiased; }
img { display: block; }
.invite { width: var(--col); margin: 0 auto; outline: none; }
.scene { position: relative; }
:focus-visible { outline: 2px solid #d9b45d; outline-offset: 3px; }
/* intro.js focuses the whole column (tabindex -1) for screen readers when the envelope
   opens; a ring around 13 slides is noise (it showed as a gold line under the last
   slide and down both sides on desktop). Links/buttons keep their focus ring. */
.invite:focus, .invite:focus-visible { outline: none; }

/* "Designed by Shagun Studio India" -- studio colophon under the last slide, on the
   page colour (the last slide's orchid fills its bottom edge). Small and gold so it
   reads as a credit; underlined because it is a link; 44px tap target. */
.credit { width: var(--col); margin: 0 auto; padding: 18px 16px calc(22px + env(safe-area-inset-bottom, 0px)); text-align: center; }
.credit a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-family: 'Agatho', serif; font-size: 14px; letter-spacing: 0.06em; color: #bf9d48;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em;
  transition: color 160ms ease;
}
.credit a:hover, .credit a:focus-visible { color: #e2c47a; }
