/* Warm optical glass. Native backdrop compositing; no canvas capture or animation loop. */
:root {
  --glass-ink: #302d23;
  --glass-edge: rgb(255 255 246 / 88%);
  --glass-tint: rgb(250 248 232 / 88%);
  --glass-shadow: 0 12px 32px rgb(61 53 31 / 12%), 0 2px 5px rgb(61 53 31 / 5%), inset 0 1px 0 #fffef9, inset 0 -1px 0 rgb(150 120 59 / 23%);
}
header, .scene-card, .deck-controls button, .mobile-book {
  background: linear-gradient(125deg, rgb(255 255 255 / 46%), transparent 38%, rgb(239 216 157 / 12%) 72%, rgb(255 255 255 / 28%)), var(--glass-tint);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
  color: var(--glass-ink);
}
header { border-radius: 24px; }
header::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 1px 0 0 rgb(255 255 255 / 64%), inset -1px 0 0 rgb(210 185 123 / 24%);
  background: linear-gradient(110deg, transparent 16%, rgb(255 255 255 / 22%) 25%, transparent 38%);
}
.scene-card {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 28px;
  margin-top: -80px;
  background: linear-gradient(135deg, rgb(255 255 250 / 65%), rgb(255 248 219 / 34%) 48%, rgb(225 201 145 / 40%)), var(--glass-tint);
  box-shadow: 0 18px 40px rgb(75 62 32 / 17%), 0 2px 8px rgb(75 62 32 / 7%), inset 0 2px 1px rgb(255 255 255 / 95%), inset 0 -2px 2px rgb(151 116 48 / 22%);
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.scene-card::before {
  content: ""; position: absolute; inset: 1px; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at var(--glass-x, 16%) var(--glass-y, 0%), rgb(255 255 255 / 75%), transparent 60%);
}
.scene-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, transparent 43%, rgb(255 255 255 / 25%) 44%, transparent 46%, transparent 76%, rgb(255 255 255 / 16%) 77%, transparent 81%);
  box-shadow: inset 1px 0 0 rgb(255 255 255 / 70%);
}
.scene-card > * { position: relative; z-index: 1; }
.scene-card span, .scene-card strong, .scene-card small { color: var(--glass-ink); }
.scene-card small { opacity: .85; }
.scene-card:hover { box-shadow: 0 22px 46px rgb(75 62 32 / 20%), inset 0 2px 1px #fffef9, inset 0 -2px 2px rgb(151 116 48 / 22%); }
.deck-controls button {
  border-radius: 50%;
  box-shadow: 0 6px 16px rgb(61 53 31 / 10%), inset 0 2px 1px #fff, inset 0 -2px 1px rgb(151 116 48 / 20%);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.deck-controls button:hover:not(:disabled) { background: rgb(255 249 222 / 80%); transform: translateY(-2px); }
.deck-controls button:active:not(:disabled) { transform: scale(.96); }
.mobile-book { border-radius: 24px 24px 0 0; }
/* A little surface depth on secondary cards keeps the glass accents coherent. */
.price > .card, .est, .faq details {
  border: 1px solid rgb(255 255 246 / 90%);
  background: linear-gradient(130deg, rgb(255 255 255 / 68%), rgb(247 240 215 / 56%));
  box-shadow: 0 10px 28px rgb(61 53 31 / 6%), inset 0 1px 0 #fffef5;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  header, .mobile-book {
    --glass-tint: rgb(250 248 232 / 62%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
    backdrop-filter: blur(20px) saturate(145%);
  }
  .scene-card {
    --glass-tint: rgb(250 246 224 / 34%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    backdrop-filter: blur(18px) saturate(135%);
  }
  .deck-controls button {
    --glass-tint: rgb(255 251 235 / 58%);
    -webkit-backdrop-filter: blur(10px) saturate(130%);
    backdrop-filter: blur(10px) saturate(130%);
  }
}
@media (max-width: 700px) {
  header { border-radius: 18px; }
  .scene-card { border-radius: 22px; margin-top: -64px; }
  header, .mobile-book { --glass-tint: rgb(250 248 232 / 74%); -webkit-backdrop-filter: blur(12px) saturate(135%); backdrop-filter: blur(12px) saturate(135%); }
  .scene-card { -webkit-backdrop-filter: blur(12px) saturate(130%); backdrop-filter: blur(12px) saturate(130%); }
  nav.open { background: rgb(250 248 232 / 92%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--glass-edge); box-shadow: var(--glass-shadow); }
}
@media (prefers-reduced-motion: reduce) {
  .scene-card, .deck-controls button { transition: none; }
  .scene-card:hover, .deck-controls button:hover:not(:disabled) { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  header, .scene-card, .deck-controls button, .mobile-book, nav.open, .price > .card, .est, .faq details { background: #faf7e8; -webkit-backdrop-filter: none; backdrop-filter: none; }
  header::after, .scene-card::before, .scene-card::after { display: none; }
}
@media (forced-colors: active) {
  header, .scene-card, .deck-controls button, .mobile-book, nav.open, .price > .card, .est, .faq details { background: Canvas; color: CanvasText; border: 1px solid CanvasText; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .scene-card span, .scene-card strong, .scene-card small { color: CanvasText; }
  header::after, .scene-card::before, .scene-card::after { display: none; }
}
