* { box-sizing: border-box; }
body { margin: 0; background: #242220; color: #f7f0e5; font-family: Arial, sans-serif; }
.page { max-width: 400px; margin: 0 auto; padding: 24px 16px; }
.card { height: 740px; display: flex; flex-direction: column; padding: 24px; background: #171717; }
.brand { font: 15px Georgia, serif; letter-spacing: .35em; }
.photo { display: block; flex-shrink: 0; width: 100%; height: 385px; margin-top: 26px; object-fit: cover; object-position: 43% 15%; border-radius: 32px 32px 0 0; }
h1 { position: relative; margin: -24px 0 0; text-align: center; font: italic 80px/.96 Georgia, serif; letter-spacing: -4px; }
.tagline { margin: 14px 0 28px; text-align: center; font: italic 20px Georgia, serif; }
.links { display: grid; gap: 14px; margin-top: auto; }
.link { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 54px; width: 100%; border: 1px solid currentColor; border-radius: 10px; color: inherit; background: transparent; font: 25px Georgia, serif; text-decoration: none; }
.link span { font: 22px Arial, sans-serif; }
.primary { background: #f7f0e5; color: #211e1b; border-color: #f7f0e5; }
.link:focus-visible { outline: 2px solid #f7f0e5; outline-offset: 4px; }
@media (max-width: 370px) {
  h1 { font-size: 68px; }
  .card { padding: 20px; }
}

/* Desktop composition approved as variant 3. Mobile keeps the original card. */
.stage { position: relative; isolation: isolate; }
.desktop-decoration { display: none; pointer-events: none; }
@media (min-width: 1001px) {
  body { background: #191715; }
  .stage { display: grid; place-items: center; height: 100svh; min-height: 820px; overflow: hidden; background: radial-gradient(ellipse at 50% 43%, #39302a 0%, #221e1b 48%, #141311 100%); }
  .page { position: relative; z-index: 5; width: 368px; max-width: none; padding: 0; margin: 0; box-shadow: 0 28px 90px #0007; }
  .card { width: 100%; outline: 1px solid #f7f0e50c; }
  .desktop-decoration { display: block; position: absolute; inset: 0; }
  .ambience { position: absolute; inset: -60px; display: flex; filter: blur(40px) brightness(.32) saturate(.85); transform: scale(1.08); }
  .ambient-left, .ambient-right { width: 50%; height: 100%; background-size: cover; background-position: 50% 55%; }
  .ambient-left { background-image: url('gallery/photo-4.jpg'); }
  .ambient-right { background-image: url('gallery/photo-5.jpg'); }
  .veil { position: absolute; inset: 0; background: radial-gradient(ellipse at center, #17151210 0%, #17151240 60%, #100d0bc7 100%); }
  .frame { position: absolute; margin: 0; overflow: hidden; border: 1px solid #eee2d32b; border-radius: 5px; box-shadow: 0 24px 64px #0008; background: #2d2823; }
  .frame-photo { width: 100%; height: 100%; background-size: cover; }
  .h1 { left: 6%; top: 16%; width: 19%; height: 53%; transform: rotate(-5deg); }
  .h1 .frame-photo { background-image: url('gallery/photo-2.jpg'); background-position: 50% 47%; }
  .h2 { left: 22%; top: 56%; width: 12.5%; height: 29%; transform: rotate(5deg); }
  .h2 .frame-photo { background-image: url('gallery/photo-3.jpg'); background-position: 50% 58%; transform: scale(1.2); transform-origin: 50% 65%; }
  .h3 { right: 6%; top: 29%; width: 19%; height: 53%; transform: rotate(5deg); }
  .h3 .frame-photo { background-image: url('gallery/photo-1.jpg'); background-position: 50% 73%; transform: scale(1.65); transform-origin: 50% 85%; }
  .h4 { right: 21.5%; top: 10%; width: 12.5%; height: 29%; transform: rotate(-5deg); }
  .h4 .frame-photo { background-image: url('gallery/photo-6.jpg'); background-position: 50% 42%; }
}
