/* Indigo navigation and midnight canvas, inspired by the supplied reference. */
:root {
  --bg:#1b1844; --card-bg:#25224f; --text:#fff; --text-sub:#d5d3e8; --text-light:#c4c1da;
  --primary:#b4adff; --primary-soft:#37316b; --primary-grad:linear-gradient(135deg,#6961dc,#8980ef);
  --line:#ffffff1a; --radius:16px; --shadow:0 3px 14px #304d3f08; --shadow-hover:0 8px 24px #304d3f14;
  --content-width:min(1480px,calc(100% - 240px)); --content-left:calc((100% - var(--content-width))/2 + 20px); --nav-height:137px;
}
body { background:var(--bg); color:var(--text); font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei','Segoe UI',sans-serif; }
button,input { font:inherit; } button { cursor:pointer; }
::selection { background:#51499a; }
button:focus-visible,a:focus-visible,input:focus-visible,.card:focus-visible { outline:3px solid #b4adff; outline-offset:3px; }
main#top,.header-inner,.header .cats,.footer { width:var(--content-width); max-width:1480px; margin-left:var(--content-left); margin-right:0; }
main#top { min-width:0; scroll-margin-top:var(--nav-height); }
.header { z-index:130; background:#2c2b78; border-bottom:1px solid var(--line); }
.header-inner { display:grid; grid-template-columns:auto minmax(0,1fr) 330px; grid-template-areas:"logo benefits search"; align-items:center; padding:14px 0; min-height:80px; gap:18px; }
.header .logo { grid-area:logo; min-width:0; }
.header .search-entry { grid-area:search; width:100%; }
.logo { gap:10px; } .logo-text { font-size:21px!important; color:var(--text); font-weight:600; }
.logo-img { display:block; width:auto; height:60px; max-width:180px; object-fit:contain; border-radius:0; flex-shrink:0; } .logo-img[hidden] { display:none; } .logo-icon { box-shadow:none; border-radius:12px; }
.header-benefits { grid-area:benefits; display:flex; justify-content:center; flex-wrap:wrap; gap:6px 0; margin:0; min-width:0; color:#fff; font-size:12px; line-height:1.6; }
.header-benefits span { position:relative; white-space:nowrap; padding:0 8px; }
.header-benefits span + span { border-left:1px solid transparent; }
.header-benefits span + span::before { content:""; position:absolute; left:-2px; top:50%; width:3px; height:3px; border-radius:50%; background:#fff; transform:translateY(-50%); }
.search-entry { display:flex; align-items:center; gap:8px; margin-left:auto; width:330px; min-width:180px; height:42px; padding:4px 5px 4px 13px; border:1px solid var(--line); border-radius:14px; background:#f5f3ff; color:#302658; }
.search-entry>span { font-size:23px; } .search-entry input { min-width:0; width:100%; border:0; outline:none; background:transparent; color:#302658; -webkit-text-fill-color:#302658; caret-color:#302658; font-size:16px; box-shadow:none; }
.search-entry input::placeholder { color:#716888; -webkit-text-fill-color:#716888; opacity:1; } .search-entry:focus-within { border-color:#a59cf4; box-shadow:0 0 0 3px #a59cf420; }
.search-entry button { border:0; padding:4px; background:transparent; color:#302658; }
.search-entry .search-submit { padding:6px 13px; border-radius:10px; background:var(--primary); color:#fff; white-space:nowrap; font-size:12px; }
.qr-icons { margin-left:0; gap:10px; } .qr-circle-tip { display:none; }
.header .cat-sticky { position:static; min-height:48px; background:transparent; border:0; border-radius:0; overflow:hidden; }
.header .cats { display:flex; justify-content:flex-start; padding:3px 0 11px; gap:6px; overflow-x:auto; }
.cat-chip { padding:6px 16px; border-radius:12px; background:transparent; color:var(--text-sub); box-shadow:none; font-size:13px; }
.cat-chip.active { background:var(--primary-soft); color:#fff; box-shadow:none; font-weight:600; }
.cat-chip:hover:not(.active) { background:#292550; color:var(--primary); }
.side-tools { position:fixed; top:calc(var(--nav-height) + 20px); left:18px; width:73px; padding:8px 6px; border:1px solid var(--line); border-radius:20px; background:var(--card-bg); z-index:125; }
.side-tools button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; width:100%; min-height:70px; margin-bottom:4px; border:0; border-radius:14px; background:transparent; color:var(--text-sub); font-size:11px; transition:background .18s; }
.side-tools button>span { font-size:24px; line-height:1.2; }
.side-tools button.selected,.side-tools button:hover { background:var(--primary-soft); color:var(--primary); }
.side-motto { position:absolute; top:calc(100% + 20px); left:0; width:100%; text-align:center; font-size:11px; line-height:2; color:var(--text-sub); }
.side-motto span { display:block; color:#b4adff; font-size:22px; }
.welcome { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:24px 0 16px; }
.eyebrow { display:block; font-size:9px; font-weight:500; letter-spacing:1.6px; color:var(--text-sub); line-height:1.5; }
.welcome h1 { margin-top:4px; font-size:25px; font-weight:600; letter-spacing:.3px; line-height:1.5; }
.welcome h1 span { margin-left:12px; color:#b4adff; font-size:20px; }
.welcome p { font-size:12px; color:var(--text-sub); }
.hero-layout { display:grid; grid-template-columns:minmax(0,1fr) 220px; gap:20px; align-items:stretch; }
.banner-section { position:relative; align-self:center; margin:0; border-radius:18px; background:#292550; touch-action:pan-y pinch-zoom; }
.banner-link { display:block; width:100%; padding:0; border:0; border-radius:inherit; background:transparent; overflow:hidden; }
.banner-link img { display:block; width:100%; max-width:none; height:auto; aspect-ratio:3/1; object-fit:contain; }
.banner-controls { position:absolute; right:12px; bottom:10px; padding:7px 9px; border-radius:20px; background:#233d4059; pointer-events:none; }
#bannerDots { display:flex; gap:6px; } #bannerDots span { width:5px; height:5px; background:#ffffff80; border-radius:50%; } #bannerDots span.active { background:var(--card-bg); }
.banner-arrow { position:absolute; top:50%; transform:translateY(-50%); display:grid; place-items:center; width:32px; height:40px; border:1px solid #ffffff70; border-radius:12px; background:#ffffffdf; color:var(--primary); font-size:26px; line-height:1; }
.banner-prev { left:10px; } .banner-next { right:10px; } .banner-arrow:hover { background:var(--card-bg); }
.daily-inspiration { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; padding:22px; border:1px solid var(--line); border-radius:18px; background:#f4f8f5; }
.daily-label { color:var(--primary); font-size:11px; letter-spacing:.5px; } .daily-label>span { margin-right:5px; }
.daily-inspiration h2 { margin:8px 0; color:var(--text); font-size:20px; font-weight:500; }
.daily-inspiration p { font-size:12px; line-height:1.8; color:var(--text-sub); }
.section-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:24px 0 12px; }
.section-heading h2 { margin:3px 0 0; font-size:19px; font-weight:600; line-height:1.5; letter-spacing:.2px; }
.section-note { color:var(--text-sub); font-size:12px; }
.tag-panel { padding:14px; background:var(--card-bg); border:1px solid var(--line); border-radius:18px; }
.tag-cloud { display:grid; grid-template-columns:repeat(var(--tag-columns,6),minmax(0,1fr)); gap:8px; }
.cloud-tag { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:4px; min-width:0; min-height:68px; padding:12px 14px; border:1px solid transparent; border-radius:12px; text-align:left; line-height:1.4; transition:transform .18s,border-color .18s; }
.cloud-tag span { max-width:100%; overflow-wrap:anywhere; font-size:14px; font-weight:500; }
.cloud-tag small { font-size:11px; opacity:1; }
.cloud-tag.tone-0 { background:#f0edf7; color:#665779; } .cloud-tag.tone-1 { background:#eaf3f8; color:#4b6a7c; }
.cloud-tag.tone-2 { background:#edf5ee; color:#526d58; } .cloud-tag.tone-3 { background:#fbf0f2; color:#865d6a; }
.tag-empty { grid-column:1/-1; text-align:center; padding:20px; font-size:13px; color:var(--text-sub); }
.tag-bottom { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:12px; padding-top:10px; border-top:1px solid var(--line); color:var(--text-sub); font-size:11px; }
#tagShuffle,.refresh-button,.search-result-heading button { border:1px solid var(--line); border-radius:11px; padding:7px 12px; min-height:36px; background:#302b60; color:var(--primary); font-size:12px; white-space:nowrap; }
#tagShuffle:disabled { opacity:.45; cursor:default; }
#tagShuffle:hover:not(:disabled),.refresh-button:hover,.search-result-heading button:hover { background:#403975; }
.collection-heading { margin:24px 0 0; scroll-margin-top:calc(var(--nav-height) + 12px); }
.result-info { width:auto; max-width:none; margin:2px 0 12px; padding:0; text-align:left; color:var(--text-sub); font-size:12px; }
.wall-wrap { max-width:none; margin:0; padding:0 0 32px; } .grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px; }
.card { position:relative; border-radius:16px; background:#292550; box-shadow:none; } .card-img-wrap { background:#292550; }
.card::after { content:''; position:absolute; inset:0; border:1px solid #34433e12; border-radius:inherit; pointer-events:none; z-index:3; }
.card-tags,.card-actions { opacity:1; } .card-actions { transform:none; gap:6px; }
.card-tag { background:#30473edb; color:#fff; border:1px solid #ffffff38; border-radius:8px; text-shadow:none; }
/* Explicit icon colors stay legible against the light circular buttons. */
.card-actions { z-index:2; pointer-events:none; background:none; }
.card .card-tags { background:none; }
.card-actions .icon-btn { width:28px; height:28px; flex:0 0 28px; padding:0; background:#fff; color:#302658; border:1px solid #30265824; pointer-events:auto; }
.card-actions .icon-btn svg { display:block; width:16px; height:16px; flex-shrink:0; pointer-events:none; }
.card-actions .icon-btn:hover { background:#e9e3ff; color:#38266d; }
.card-actions .icon-btn:focus-visible { outline:2px solid #fff; outline-offset:2px; box-shadow:0 0 0 4px #49358a; }
.card-actions .favorite-btn.is-favorite { background:#fff0f3; color:#b22958; }
.card-actions .favorite-btn.is-favorite svg { fill:currentColor; }
.card .card-tags { bottom:40px; }
.card:hover .card-tags { opacity:1; }
.search-result-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:12px 0; color:var(--text-sub); font-size:13px; }
.inline-results { padding-bottom:30px; } .search-empty,.empty p { color:var(--text-sub); } .search-grid { gap:14px; }
.footer { width:100%; max-width:none; margin:0; padding:26px 24px; background:var(--bg); border-top:1px solid var(--line); color:#fff; font-size:12px; }
.footer .qr-icons { justify-content:center; margin:0 0 16px; gap:16px; }
.footer .qr-icon { width:32px; height:32px; }
.footer .qr-icon.has-icon img { width:100%!important; height:100%!important; object-fit:contain; }
.footer-row a { color:#fff; }
.footer-row a:hover { color:#fff; text-decoration:underline; }
.cat-chip,.side-tools button,.side-tools button.selected,.side-tools button:hover,.welcome p,.result-info,.search-result-heading,#tagShuffle,.refresh-button,.search-result-heading button { color:#fff; }
.cloud-tag span { color:#fff; }
.back-top { background:var(--card-bg); color:var(--primary); border:1px solid var(--line); border-radius:14px; }
.viewer-toolbar { position:absolute; bottom:20px; left:50%; transform:translateX(-50%); z-index:15; display:flex; gap:10px; }
.viewer-toolbar button { padding:10px 20px; border:1px solid #ffffff40; border-radius:14px; background:#30473eee; color:#fff; white-space:nowrap; }
.viewer-toolbar button[aria-pressed='true'] { background:#98627b; } .toast { z-index:2000; }
@media (hover:hover) { .cloud-tag:hover { transform:translateY(-2px); border-color:#88a39370; } .card:hover { box-shadow:var(--shadow-hover); } }
@media (min-width:2100px) { .grid { grid-template-columns:repeat(8,minmax(0,1fr)); } }
@media (max-width:1250px) { .welcome p { display:none; } .grid { grid-template-columns:repeat(4,minmax(0,1fr)); } .hero-layout { grid-template-columns:minmax(0,1fr) 190px; gap:16px; } .daily-inspiration { padding:16px; } }
@media (max-width:1000px) { :root { --content-width:calc(100% - 160px); --content-left:124px; } .hero-layout { grid-template-columns:1fr; } .daily-inspiration { flex-direction:row; align-items:center; justify-content:flex-start; gap:14px; padding:12px 16px; } .daily-inspiration h2 { font-size:15px; margin:0; } .daily-inspiration p { margin-left:auto; font-size:11px; } .logo-text { font-size:18px!important; } .search-entry { width:260px; } }
@media (min-width:701px) and (max-width:1100px) { .header-inner { grid-template-columns:auto minmax(180px,330px); grid-template-areas:"logo search" "benefits benefits"; justify-content:space-between; gap:8px 18px; } .header-benefits { justify-content:flex-start; font-size:11px; } .header-benefits span:first-child { padding-left:0; } }
@media (max-width:700px) {
  :root { --content-width:calc(100% - 32px); --content-left:16px; --nav-height:153px; }
  .header-inner { grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); grid-template-areas:"logo search" "benefits benefits"; gap:12px 16px; padding:12px 0 16px; min-height:0; }
  .header-benefits { display:flex; flex-wrap:nowrap; justify-content:space-between; gap:4px; font-size:11px; line-height:1.5; }
  .header-benefits span,.header-benefits span + span { padding:0 0 0 8px; border:0; white-space:nowrap; }
  .header-benefits span::before,.header-benefits span + span::before { content:""; position:absolute; left:0; top:50%; width:3px; height:3px; border-radius:50%; background:#fff; transform:translateY(-50%); }
  .header-benefits span:nth-child(1) { order:1; }.header-benefits span:nth-child(2) { order:4; }.header-benefits span:nth-child(3) { order:3; }.header-benefits span:nth-child(4) { order:2; }
  .logo { gap:6px; } .logo-text { font-size:15px!important; } .logo-img { height:44px; max-width:100%; }
  .qr-icons { margin-left:auto; gap:6px; } .qr-icon { width:25px; height:25px; }
  .search-entry { min-width:0; width:100%; margin:0; height:36px; padding:4px 4px 4px 9px; gap:5px; border-radius:10px; }
  .search-entry>span { font-size:18px; }.search-entry input { font-size:11px; text-overflow:ellipsis; }
  .search-entry .search-submit { padding:5px 8px; border-radius:8px; font-size:11px; }
  .header .cat-sticky { min-height:42px; } .header .cats { gap:4px; padding:3px 0 8px; } .cat-chip { padding:5px 12px; font-size:12px; border-radius:10px; }
  .welcome { padding:16px 0 12px; } .eyebrow { font-size:8px; letter-spacing:1.1px; } .welcome h1 { font-size:19px; margin-top:3px; letter-spacing:0; } .welcome h1 span { font-size:16px; margin-left:9px; }
  .hero-layout { gap:10px; } .banner-section { border-radius:14px; } .banner-controls { right:8px; bottom:7px; padding:6px 8px; }
  .banner-arrow { display:none; } .banner-section:focus-within .banner-arrow { display:grid; width:28px; height:34px; }
  .daily-inspiration { padding:9px 12px; gap:10px; border-radius:12px; } .daily-label { font-size:10px; } .daily-inspiration h2 { font-size:12px; } .daily-inspiration p { display:none; }
  .section-heading { margin:18px 0 10px; gap:8px; } .section-heading h2 { font-size:16px; margin-top:2px; letter-spacing:0; } .section-note { display:none; }
  .tag-panel { padding:10px; border-radius:14px; } .tag-cloud { gap:7px; }
  .cloud-tag { min-height:61px; padding:9px 10px; gap:3px; border-radius:10px; } .cloud-tag span { font-size:12px; } .cloud-tag small { font-size:10px; }
  .tag-bottom { margin-top:10px; padding-top:8px; font-size:10px; } #tagShuffle,.refresh-button { min-height:34px; padding:6px 10px; font-size:11px; border-radius:10px; }
  .collection-heading { margin:18px 0 0; } .result-info { margin:2px 0 10px; font-size:11px; }
  .grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } .card { border-radius:12px; } .search-grid { gap:10px; }
  .side-tools { top:auto; bottom:0; left:0; width:100%; display:flex; padding:5px 10px calc(5px + env(safe-area-inset-bottom)); border:0; border-top:1px solid var(--line); border-radius:18px 18px 0 0; background:#2c2b78; backdrop-filter:blur(16px); z-index:140; }
  .side-tools button { min-height:49px; margin:0; gap:1px; font-size:10px; border-radius:12px; } .side-tools button>span { font-size:22px; } .side-motto { display:none; }
  .footer { padding:22px 16px 95px; } .back-top { bottom:85px; } .viewer-toolbar button { padding:9px 17px; }
}
@media (max-width:370px) { .header-inner { column-gap:10px; }.header-benefits { font-size:10px; gap:2px; } .cloud-tag { padding:8px; } .cloud-tag span { font-size:11px; } .welcome h1 { font-size:18px; } .qr-icons { gap:4px; } .qr-icon { width:22px; height:22px; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation:none!important; transition:none!important; } .cloud-tag:hover { transform:none; } }
/* Both variants share a panel anchor; transparent PNG margins never position copy. */
.breakout{position:relative;max-width:none;margin:0 auto;padding:4px 0 16px;isolation:isolate}
/* The glow reaches zero opacity before all four bounds, so it cannot form a rectangular seam. */
.breakout::before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse 50% 48% at 50% 50%,rgba(81,73,197,.24) 0%,rgba(81,73,197,.12) 45%,rgba(81,73,197,0) 94%);pointer-events:none}
.breakout-topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:4px;padding:0 4px}
.breakout-topbar .eyebrow{color:var(--text-sub);letter-spacing:2px}
.breakout-navigation{display:flex;align-items:center;gap:14px}
.breakout-navigation>button{display:grid;place-items:center;width:64px;height:44px;padding:0;border:0;background:transparent;color:#c5bff0}
.breakout-navigation>button svg{display:block;width:64px;height:30px;border:1px solid #c5bff055;border-radius:30px;padding:5px 12px;transition:background .2s,border-color .2s}
.breakout-navigation>button:hover svg{background:#ffffff14;border-color:#ded9ff}
.breakout-stage{position:relative;width:100%;overflow:hidden;isolation:isolate;touch-action:pan-y pinch-zoom}
.breakout-card{position:absolute;top:0;left:0;width:var(--card-width);height:var(--card-height);border:0;padding:0;background:transparent;transform:translate3d(var(--card-x),var(--card-y),0);transform-origin:0 0;opacity:var(--card-opacity);overflow:visible;z-index:1;text-align:center;color:white}
.breakout-stage.is-moving .breakout-card{will-change:transform,opacity}
.breakout-card.is-leaving{z-index:2}.breakout-card.is-active{z-index:3}
.breakout-art{position:absolute;inset:0;pointer-events:none;transition:opacity .22s ease}
.breakout-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none}
.breakout-normal{opacity:1;clip-path:inset(0 round var(--normal-radius))}.breakout-active{opacity:0;clip-path:inset(-30% 0 0 round 0 0 var(--active-radius) var(--active-radius))}
.breakout-active img{top:var(--art-top);bottom:auto;height:var(--art-height)}
.breakout-card.is-active.has-active .breakout-normal{opacity:0}.breakout-card.is-active.has-active .breakout-active{opacity:1}
.breakout-card.is-distant{pointer-events:none}
.breakout-card:focus-visible{outline:none}.breakout-card:focus-visible .breakout-card-copy strong{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px}
/* Tint each panel in its own color family; clip the art and shade together once. */
.breakout-card-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(to bottom,rgba(var(--shade-rgb),0) 38%,rgba(var(--shade-rgb),.28) 56%,rgba(var(--shade-rgb),.76) 74%,rgba(var(--shade-rgb),.94) 90%,rgb(var(--shade-rgb)) 100%)}
.breakout-card-copy{position:absolute;left:0;right:0;bottom:0;min-height:26%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:10px;padding:30px 6px 18px;pointer-events:none}
.breakout-card-copy strong{font-size:clamp(11px,1.2vw,19px);font-weight:700;text-shadow:0 1px 3px #10172c66;line-height:1.4;text-wrap:balance;min-height:2.8em;display:flex;align-items:flex-end;justify-content:center}
.breakout-card.is-active .breakout-card-copy{bottom:0;padding-bottom:18px}
.breakout-card-cta{display:flex;visibility:hidden;align-items:center;justify-content:center;gap:12px;width:76%;padding-top:10px;border-top:1px solid #ffffff33;font-size:12px;font-weight:400}
.breakout-card.is-active .breakout-card-cta{visibility:visible}
.breakout-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:6px 4px 0}
.breakout-caption{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#breakoutTitle{font-size:13px;font-weight:500;color:var(--text)}
.breakout-hint{font-size:11px;color:var(--text-sub)}
.breakout-playback{display:flex;align-items:center;gap:12px;flex-shrink:0;color:var(--text-sub);font-size:11px;font-variant-numeric:tabular-nums}
#bannerPause{min-width:44px;min-height:44px;border:0;background:transparent;color:var(--text-sub);font-size:11px;padding:0 6px}
#bannerPause:hover{color:white}
.breakout-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:700px){.breakout{padding-bottom:6px}.breakout-topbar .eyebrow{font-size:10px}.breakout-navigation{gap:8px}.breakout-navigation>button,.breakout-navigation>button svg{width:54px}.breakout-footer{gap:8px}.breakout-caption{gap:3px}#breakoutTitle{font-size:11px}.breakout-hint{display:none}.breakout-card-copy strong{font-size:13px}.breakout-card-copy,.breakout-card.is-active .breakout-card-copy{padding-bottom:14px}.breakout-card-cta{font-size:11px;gap:8px}.breakout-playback{gap:5px}}
/* Keep the category strip and auxiliary surfaces in the same dark palette. */
.header .cat-sticky{background:var(--bg)}
.search-entry .search-submit{background:#7065d9;color:#fff}
.cat-chip.active{position:relative;background:transparent;color:#fff;border-radius:0}
.cat-chip.active::after{content:'';position:absolute;bottom:0;left:12px;right:12px;height:3px;border-radius:3px;background:#8e80ff}
.cloud-tag.tone-0{background:#35305c;color:#e0d7ff}
.cloud-tag.tone-1{background:#273952;color:#d0e8ff}
.cloud-tag.tone-2{background:#293c46;color:#d0e9df}
.cloud-tag.tone-3{background:#43304e;color:#f0d7e7}
.side-tools{background:var(--card-bg)}
.card-tag{background:#211d4ddd}
.viewer-toolbar button{background:#302b60ee}
@media(max-width:700px){.side-tools{background:#25224ff5}}

/* Full-bleed scenery reserves its own space above the carousel. */
:root{--scenery-height:max(540px,56.28vw)}
.site-scenery{position:absolute;top:0;left:0;width:100%;height:var(--scenery-height);overflow:hidden;pointer-events:none;background:var(--bg)}
.site-scenery img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}
.site-scenery::after{content:'';position:absolute;inset:0;background:linear-gradient(to bottom,transparent 62%,rgba(27,24,68,.08) 70%,rgba(27,24,68,.32) 79%,rgba(27,24,68,.7) 89%,rgba(27,24,68,.94) 96%,var(--bg) 100%)}
.hero-space{height:max(0px,calc(var(--scenery-height) - var(--nav-height)));position:relative;pointer-events:none}
.header{background:transparent;border-bottom-color:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;transition:background .2s}
.header .cat-sticky{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
.header.is-scrolled{background:rgba(27,24,68,.97);border-bottom-color:var(--line)}
.header .cats,.header-benefits{text-shadow:0 1px 4px #10132c80}
.welcome{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
main#top{position:relative;padding-top:clamp(24px,3vw,56px)}
@media(max-width:700px){
  :root{--scenery-height:500px}
  .site-scenery img{object-position:51% top}
  .site-scenery::after{background:linear-gradient(to bottom,transparent 62%,rgba(27,24,68,.12) 72%,rgba(27,24,68,.45) 83%,rgba(27,24,68,.85) 94%,var(--bg) 100%)}
  main#top{padding-top:24px}
}
@media(prefers-reduced-motion:reduce){.header{transition:none}}

/* Mobile art direction: shared transparent header over a dedicated portrait scene. */
@media(max-width:700px){
  :root{--scenery-height:133.333333vw}
  .header{background:transparent;border-bottom-color:transparent}
  .header-inner{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-template-areas:"logo search" "benefits benefits";gap:12px 14px;padding:12px 0 14px}
  .header .logo{justify-self:start;max-width:100%}
  .header .logo-img{max-width:100%;height:44px;object-position:left center}
  .header .search-entry{height:38px;min-width:0}
  .header .search-entry input{min-width:0;font-size:16px}
  .header-benefits{flex-wrap:nowrap;justify-content:space-between;gap:4px;font-size:11px}
  .header .cats{flex-wrap:nowrap;overflow-x:auto;gap:4px;padding:3px 0 10px;scrollbar-width:none}
  .header .cat-chip{flex:0 0 auto;padding:6px 12px;white-space:nowrap}
  .header .cat-sticky{background:transparent;overflow:hidden}
  .site-scenery{top:0;height:var(--scenery-height);background:transparent}
  .site-scenery picture{display:block;width:100%;height:100%}
  .site-scenery img{width:100%;height:100%;object-fit:cover;object-position:center top;aspect-ratio:auto}
  .site-scenery::after{background:linear-gradient(to bottom,transparent 60%,rgba(27,24,68,.12) 70%,rgba(27,24,68,.48) 82%,rgba(27,24,68,.86) 94%,var(--bg) 100%)}
  .hero-space{height:max(0px,calc(var(--scenery-height) - var(--nav-height) - 84px))}
  main#top{padding-top:0}
  .welcome{position:relative;width:auto;height:auto;padding:10px 0 24px;overflow:visible;clip-path:none;white-space:normal;min-height:84px;display:flex;align-items:center;text-shadow:0 2px 8px #10132c80}
  .welcome .eyebrow{font-size:9px;letter-spacing:1.5px}
  .welcome h1{font-size:21px;margin-top:6px;line-height:1.5}
  .welcome h1 span{font-size:17px;margin-left:8px}
}
@media(max-width:370px){
  .header-inner{column-gap:8px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
  .header-benefits{font-size:10px;gap:2px}
  .header .search-entry input{font-size:16px}
  .welcome h1{font-size:19px}
}

/* Match the entire original-image preview to the site's purple canvas. */
.viewer { background:var(--bg); }

/* Keep the existing mobile columns and spacing while improving readability. */
@media(max-width:700px){
  /* Do not let fixed controls float above the software keyboard while searching. */
  body.search-editing .side-tools,
  body.search-editing .back-top{visibility:hidden;pointer-events:none}
  .header .cat-chip{font-size:14px}
  .search-entry .search-submit{font-size:12px}
  .section-heading h2{font-size:18px}
  .cloud-tag span{font-size:14px}
  .cloud-tag small,.tag-bottom{font-size:12px}
  #tagShuffle,.refresh-button,.result-info{font-size:13px}
  .side-tools button{font-size:12px}
  .card-tag{font-size:12px}
  #breakoutTitle,.breakout-card-cta{font-size:13px}
  .breakout-playback,#bannerPause{font-size:12px}
}

.header .logo-img{height:var(--logo-height,60px);max-width:min(360px,100%)}
@media(max-width:700px){.header .logo-img{height:var(--logo-mobile-height,44px);max-width:100%}}
.breakout-card-copy[hidden],#breakout[hidden]{display:none!important}

/* Footer contacts and statement */
.footer { padding:48px 24px 56px; text-align:left; color:rgba(255,255,255,.68); }
.footer-inner { max-width:1480px; margin:auto; }
.footer-main { display:grid; grid-template-columns:110px minmax(0,1fr); gap:28px; align-items:start; }
.footer .qr-icons { display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:12px; margin:0; }
.footer .qr-circle-tip { display:block; margin:0 0 5px; color:inherit; font-size:13px; font-weight:600; line-height:1.8; }
.footer .qr-circle-tip[hidden] { display:none; }
.footer .qr-circle-tip::after { content:none; }
.footer-statement h2 { margin:0 0 5px; font-size:13px; font-weight:600; line-height:1.8; }
.footer-statement p { margin:0; max-width:1000px; line-height:2; white-space:pre-line; overflow-wrap:anywhere; }
.footer .qr-icon,.footer .qr-icon.has-icon { position:relative; display:flex; justify-content:flex-start; gap:7px; width:auto; height:auto; min-height:22px; padding:0; border-radius:3px; background:transparent; color:inherit; overflow:visible; box-shadow:none; transform:none; transition:color .18s ease; }
.footer .qr-icon:hover,.footer .qr-icon:focus-visible { color:#fff; box-shadow:none; transform:none; }
.footer .qr-icon > svg,.footer .qr-icon.has-icon > img { width:22px!important; height:22px!important; object-fit:contain; flex-shrink:0; opacity:.65; filter:grayscale(1); transition:opacity .18s ease; }
.footer .qr-icon:hover > svg,.footer .qr-icon:hover > img,.footer .qr-icon:focus-visible > svg,.footer .qr-icon:focus-visible > img { opacity:1; }
.footer .qr-label { white-space:nowrap; }
.footer .qr-preview { display:none; position:absolute; left:0; bottom:100%; z-index:150; width:174px; padding:12px; border-radius:10px; background:#fff; color:#383449; box-shadow:0 8px 32px #0005; text-align:center; line-height:1.6; }
.footer .qr-icon .qr-preview img { display:block; width:150px!important; height:150px!important; max-width:none; object-fit:contain; margin-bottom:7px; }
.footer .qr-icon:focus-visible .qr-preview { display:block; }
@media (hover:hover) and (pointer:fine) { .footer .qr-icon:hover .qr-preview { display:block; } }
.footer-row { justify-content:flex-start; gap:8px 20px; margin-top:38px; line-height:1.8; }
.footer-row a { color:inherit; }
.footer-row a:hover { color:#fff; }
@media (max-width:700px) {
  .footer { padding:30px 20px 100px; }
  .footer-main { grid-template-columns:minmax(0,1fr); gap:24px; }
  .footer .qr-icons { flex-direction:row; flex-wrap:wrap; gap:0 20px; }
  .footer .qr-circle-tip { flex-basis:100%; margin-bottom:14px; }
  .footer .qr-icon { min-height:44px; }
  .footer-row { margin-top:24px; gap:8px 16px; }
  .footer-row a { white-space:normal; overflow-wrap:anywhere; }
}
.card-new {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  pointer-events: none;
  padding: 3px 9px;
  border: 1.5px solid white;
  border-radius: 8px 8px 8px 2px;
  background: linear-gradient(120deg, #bf204a, #af3310);
  color: white;
  font: italic 900 12px/1.25 system-ui, sans-serif;
  letter-spacing: .07em;
  box-shadow: 0 2px 6px #24091b55;
}
