/* Product captures retain their original colours in every surrounding theme. */
[hidden] { display: none !important; }
.tone-button, .tone-button:hover, .tone-button:active { border: 0; background: transparent; box-shadow: none; width: 64px; height: 84px; padding: 0; touch-action: none; -webkit-tap-highlight-color: transparent; }
.tone-button:focus-visible { outline: 2px solid var(--sage); outline-offset: 1px; border-radius: 28px; }
.tone-button .theme-lamp { width: 60px; height: 82px; overflow: visible; fill: none; stroke-width: 1.4; }
.lamp-wire { stroke: #8e8879; stroke-width: 1.8; }
.lamp-glass { fill: url(#lamp-glass); stroke: #a69c82; }
.lamp-shine { stroke: #fff; stroke-width: 2.6; stroke-linecap: round; opacity: .9; }
.lamp-filament { stroke: #a3946b; stroke-linecap: round; stroke-linejoin: round; }
.lamp-cord { fill: none; stroke-linecap: round; }
.lamp-cord-shadow { stroke: #a3987e; stroke-width: 2; }
.lamp-cord-thread { stroke: #f1e8d2; stroke-width: 1.1; stroke-dasharray: 1.2 2.5; }
.lamp-glow { opacity: 0; transition: opacity .3s; }
[data-tone='dark'] .lamp-glass { fill: #eebe4c40; stroke: #eebe4c; }
[data-tone='dark'] .lamp-filament { stroke: #f2d48a; }
[data-tone='dark'] .lamp-glow { opacity: 1; }
.shot-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; cursor: zoom-in; }
.shot-open img { width: 100%; height: auto; }
.shot-hint { position: absolute; bottom: 18px; right: 18px; padding: 8px 13px; border-radius: 24px; background: #ffffffeb; color: #1f1e1c; font-size: 12px; box-shadow: 0 2px 12px #0001; }
.route-showcase { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.5fr); gap: 36px 48px; align-items: center; }
.route-showcase .section-heading { display: block; margin: 0; }
.route-showcase .section-heading h2 { font-size: clamp(30px, 3vw, 42px); }
.route-showcase .section-heading > p { margin-top: 24px; }
.route-showcase .under-planner { grid-column: 1 / -1; margin: 0; }
.product-window { margin: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 14px 40px #0000000d; }
.product-window .shot-open { aspect-ratio: 2399 / 1620; overflow: hidden; }
.product-window .shot-open img { height: 100%; object-fit: cover; object-position: top; }
.product-window figcaption { display: flex; align-items: center; gap: 24px; padding: 16px 24px; background: var(--surface); font-size: 12px; color: var(--sub); }
.window-dots { color: var(--sage); font-size: 11px; letter-spacing: 3px; }
.feature { display: flex; flex-direction: column; }
.feature-copy { flex: 1; }
.mobile-showcase { padding: 38px 12px; min-width: 0; align-self: center; }
.screen-tabs { display: flex; justify-content: center; gap: 4px; margin-bottom: 24px; }
.screen-tabs button { padding: 10px 13px; border: 1px solid transparent; background: transparent; border-radius: 24px; font-size: 13px; min-height: 44px; transition: color .2s, background .2s; }
.screen-tabs [aria-selected='true'] { color: var(--sage-deep); background: var(--paper); border-color: var(--line); }
.phone-stage { position: relative; isolation: isolate; padding: 8px 0 20px; }
.phone-gallery { position: relative; z-index: 2; width: min(62%, 246px); margin: 0 auto; border: 5px solid #343730; border-radius: 34px; box-shadow: 0 20px 32px #15211725, 0 0 0 1px #ffffff45; background: #f8f7f1; overflow: hidden; touch-action: pan-y; }
.phone-gallery img { width: 100%; aspect-ratio: 750 / 1624; display: block; }
.phone-gallery [role='tabpanel'] { animation: screen-in 240ms ease-out; }
.screen-peek { position: absolute; z-index: 1; top: 13%; width: min(43%, 175px); padding: 0; border: 4px solid #596053; border-radius: 26px; overflow: hidden; box-shadow: 0 16px 28px #15211715; background: #f8f7f1; cursor: pointer; transition: transform .3s, opacity .3s; opacity: .65; }
.screen-peek img { width: 100%; display: block; }
.peek-before { left: 5%; transform: rotate(-10deg); }
.peek-after { right: 5%; transform: rotate(10deg); }
.screen-peek:hover, .screen-peek:focus-visible { opacity: 1; transform: rotate(0) translateY(-5px); }
.screen-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 4px; }
.screen-controls .icon-button { background: transparent; border-color: var(--line); width: 44px; height: 44px; flex: none; }
.screen-caption { min-width: 150px; font-size: 11px; text-align: center; margin: 0; color: var(--sub); }
.screen-caption b { display: block; margin-bottom: 4px; letter-spacing: .12em; font-size: 10px; color: var(--sage-deep); }
@keyframes screen-in { from { opacity: .45; transform: translateX(var(--screen-direction, 10px)); } to { opacity: 1; transform: none; } }
.device-qr { grid-column: 1 / -1; border-top: 1px solid var(--line); margin: 0 50px; padding: 26px 0; display: flex; gap: 24px; align-items: center; }
.device-qr .qr-link { flex: 0 0 104px; border-radius: 16px; overflow: hidden; background: white; }
.device-qr p { font-size: 13px; color: var(--sub); max-width: 390px; margin-top: 5px; }
.pinwheel { width: 132px; height: 132px; right: 5px; top: 5px; }
.pinwheel .pinwheel-rotor { transition: none; transform-origin: 50% 50%; }
.pinwheel-hub { position: absolute; left: 55.667488%; top: 38.771893%; width: 6.8%; height: 6.8%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 33% 27%, #fff1cf 0%, #d9bc79 34%, #9b783e 76%, #785e38 100%); border: 1px solid #77603e; box-shadow: 0 1px 1px #30231445, inset 0 0 0 .5px #fff5d48c; }
.atlas-plan:hover .pinwheel-rose { transform: none; }
.viewing-shot { overflow: hidden; }
.shot-dialog { width: min(1400px, calc(100% - 40px)); max-width: none; height: min(920px, calc(100dvh - 60px)); max-height: none; padding: 0; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); color: var(--ink); overflow: hidden; }
.shot-dialog[open] { display: flex; flex-direction: column; }
.shot-dialog::backdrop { background: #111712aa; backdrop-filter: blur(6px); }
.shot-dialog-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 20px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.shot-dialog-bar p { font-size: 14px; line-height: 1.35; }
.shot-close { flex-shrink: 0; font-size: 28px; }
.shot-dialog-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; display: grid; place-items: start center; }
.shot-dialog-body img { max-width: 100%; height: auto; }
@media (max-width: 800px) {
  .route-showcase { grid-template-columns: 1fr; gap: 28px; }
  .product-window { width: min(100%, 680px); justify-self: center; }
  .mobile-showcase { padding: 25px 12px; }
  .device-qr { margin: 0 26px; }
  .product-window figcaption { gap: 12px; padding: 12px 16px; }
}
@media (max-width: 600px) {
  .nav-inner { gap: 8px; }
  .nav-actions { gap: 4px; margin-left: auto; }
  .hero-collage .mini-ticket { right: 8px; }
  .tone-button, .tone-button:hover, .tone-button:active { width: 52px; height: 74px; }
  .tone-button .theme-lamp { width: 52px; height: 74px; }
  .product-window { border-radius: 18px; }
  .product-window .window-dots { display: none; }
  .product-window figcaption { font-size: 10px; padding: 12px; }
  .shot-hint { bottom: 12px; right: 12px; font-size: 11px; }
  .mobile-showcase { padding: 8px 12px 26px; }
  .phone-gallery { max-width: 230px; border-radius: 29px; }
  .screen-tabs { gap: 0; margin-bottom: 18px; }
  .screen-tabs button { padding-inline: 12px; font-size: 12px; }
  .device-qr { gap: 15px; margin: 0 22px; padding: 22px 0; }
  .device-qr .qr-link { flex-basis: 78px; }
  .device-qr b { font-size: 14px; line-height: 1.3; display: block; }
  .device-qr p { font-size: 12px; line-height: 1.5; }
  .pinwheel { width: 115px; height: 115px; }
  .shot-dialog { width: calc(100% - 24px); height: calc(100dvh - 64px); border-radius: 20px; }
  .shot-dialog-bar { padding: 12px; gap: 12px; }
  .shot-dialog-body { display: block; }
  .shot-dialog-body img { width: auto; min-width: 100%; max-width: 950px; max-height: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lamp-pull, .lamp-glow, .screen-tabs button, .screen-peek { transition: none; }
  .phone-gallery [role='tabpanel'] { animation: none; }
}
