/* =========================================================
   BASE - shared tokens + page frame.
   Each section owns its own css/sN-*.css file. Do not put
   section-specific rules in here.
   ========================================================= */
:root{
  --gold:#F0C448;          /* names + tagline (sampled from reference) */
  --ink:#2a2118;
  --cream:#fbf6ec;
  --font-title:Optima,Marcellus,Candara,"Palatino Linotype","Book Antiqua",Palatino,Georgia,serif;
  --font-ui:Lato,"Helvetica Neue",Arial,sans-serif;
  --stage-max:520px;       /* mobile-first: desktop shows a centred phone-width stage */
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  background:#071a30;
  color:var(--ink);
  font-family:var(--font-ui);
  overflow-x:hidden;
  -webkit-tap-highlight-color:transparent;
}
img{display:block;max-width:none;user-select:none;-webkit-user-drag:none}
button{font:inherit;border:0;background:none;cursor:pointer;color:inherit}

/* The stage = the whole invitation. Sections are stacked inside it. */
.stage{
  position:relative;
  width:100%;
  max-width:var(--stage-max);
  margin:0 auto;
  background:var(--cream);
  overflow:hidden;
  overflow:clip;           /* clip (not hidden) so position:sticky works inside (S4 side borders stay put) */
  box-shadow:0 0 80px rgba(0,0,0,.25);
}
@media (min-width:700px){
  body{background:#071a30}
}
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
