/* Tokaan Studio extras: styles for sections the approved style.css does not have. */
.photo .hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.fabrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .6rem; margin: 1rem 0; }
.fabrics img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--gold); display: block; }
.whatsapp { display: flex; flex-direction: column; align-items: center; gap: .1rem; margin: .4rem 0; }
.btn.whatsapp-btn { background: #128c4a; border-color: #0d6b38; color: #fff; }
.gift { border: 1px solid var(--gold); border-radius: 10px; padding: .8rem; margin: .8rem 0; background: #fffdf8cc; }
.gift h3, .gift p { margin: .2rem 0; }
.gift-number { font-size: 1.35rem; letter-spacing: .08em; font-weight: 600; }
.puzzle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: min(100%, 300px); margin: 1rem auto; }
.puzzle .piece { position: relative; overflow: hidden; padding: 0; border: 0; aspect-ratio: 1; min-width: 44px; cursor: pointer; background: #00000010; }
.puzzle .piece img { position: absolute; left: 0; top: 0; width: 300%; height: 300%; max-width: none; object-fit: cover; }
.puzzle .piece.picked { outline: 3px solid var(--gold); outline-offset: -3px; }
/* This design's opening layers */
.envelope-back { background-image: url('assets/back.webp'); }
.envelope-flap { background-image: url('assets/flap.webp'); }
.envelope-pocket { background-image: url('assets/pocket.webp'); }
:root { --wine: #1f3f8f; --gold: #f0b429; --ivory: #f7f9ff; }
body { background: #e9eefb; color: #1b2140; font-family: 'Nunito', 'Helvetica Neue', Arial, sans-serif; }
h1, h2, .names, .card-names { font-family: 'Baloo 2', 'Trebuchet MS', sans-serif; font-weight: 700; font-style: normal; }
#opening { background: #070b1f; --seam-x: 50%; --seam-y: 47.7%; }
.envelope-flap { transform-origin: 0% 50%; }
.envelope-pocket { transform-origin: 100% 50%; z-index: 5; filter: none; }
.stage.is-opening .envelope-flap { transform: translateX(-103%); transition: transform 1.3s cubic-bezier(.7,0,.25,1) .15s; }
.stage.is-opening .envelope-pocket { transform: translateX(103%); transition: transform 1.3s cubic-bezier(.7,0,.25,1) .15s; }
.inner-light { background: radial-gradient(ellipse 45% 30% at 50% 45%, #ffffff 0%, #d9f0ffee 20%, #8fc8ffb3 42%, #5a7dff40 70%, transparent 100%); }
.physical-card { top: 25%; transform: translateY(18%) scale(.82); opacity: 0; transition: none; }
.stage.is-emerging .physical-card, .stage.is-emerged .physical-card {
  transform: translateY(0) scale(1); opacity: 1;
  transition: transform 1.8s cubic-bezier(.24,.54,.25,1), opacity 1.2s ease;
}
.card-inside { color: #1b2140; text-shadow: none; }
.card-names { font-style: normal; }
.tap { background: #070b1fd9; color: #ffd76a; }
.btn { border-radius: 999px; border-color: #f0b429; font-weight: 600; }
.share { background: #1f3f8f; }
@media (prefers-reduced-motion: reduce) {
  .stage.is-opening .envelope-flap, .stage.is-opening .envelope-pocket, .stage.is-emerging .physical-card { transition: none !important; }
  .stage.is-opening::after { animation: none; }
}

/* Order style choices (Tokaan Studio) */
#dressCode { white-space: pre-line; }
.hero-art:has(#portrait[hidden]) { display: none; }
