/* Glaze Marketing on the home page: the tile's stage (js/gm-home.js, on the tile stage engine) and the footer maker's mark. */

/* ---------- the stage: a phone with this page on it, and a gold line that turns it into its blueprint ---------- */
.tgm { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: center; }
.tgm-phone { position: relative; width: 150px; aspect-ratio: 156 / 300; filter: drop-shadow(0 22px 16px rgba(45, 25, 40, .38)); transform: translateY(64%) rotate(-11deg); opacity: 0; will-change: transform; }
.tgm.is-up .tgm-phone { transform: rotate(-3deg); opacity: 1; transition: transform .85s cubic-bezier(.2, 1.3, .4, 1), opacity .25s ease; }
.tgm-screen { --p: 0%; position: absolute; z-index: 1; left: 5.77%; top: 3%; width: 88.46%; height: 94%; border-radius: 22.6px; background: #fdf8f0; overflow: hidden; outline: none; touch-action: pan-y; cursor: ew-resize; }
.tgm-screen:focus-visible { box-shadow: 0 0 0 3px #d4a843; }
.tgm-screen img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top; pointer-events: none; -webkit-user-drag: none; }
.tgm-ink { position: absolute; inset: 0; background: #24131F; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.tgm-div { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: #d4a843; box-shadow: 0 0 10px rgba(233, 203, 126, .9); opacity: 0; transition: opacity .3s ease; }
.tgm.is-up .tgm-div { opacity: 1; transition-delay: .7s; }
/* max-width: none: the home page caps every element at 100% of its parent on phones, which squeezed this 22px knob into the 2px line */
.tgm-div b { position: absolute; left: 50%; top: 58%; width: 22px; height: 22px; max-width: none; margin: -11px 0 0 -11px; border-radius: 50%; background: #fdf8f0; box-shadow: 0 0 0 2px #d4a843, 0 4px 8px rgba(45, 25, 40, .4); }
.tgm-div b::before, .tgm-div b::after { content: ''; position: absolute; top: 50%; width: 5px; height: 5px; border: solid #4A1942; border-width: 0 0 1.6px 1.6px; }
.tgm-div b::before { left: 4.5px; transform: translateY(-50%) rotate(45deg); }
.tgm-div b::after { right: 4.5px; transform: translateY(-50%) rotate(-135deg); }
.tgm-h { margin: 0 0 4px; min-height: 80px; font-size: 0; line-height: 0; }
.tgm-side .tsg-sub { margin-top: 2px; }
.tgm-pings { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.tgm-pings li { display: flex; align-items: center; gap: 9px; font: 600 12.5px/1.3 var(--t-sans); color: var(--t-plum); opacity: 0; transform: translateX(14px); }
.tgm-pings i { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff8ea; color: var(--t-gold-d); box-shadow: 0 0 0 1px var(--t-gold-l); }
.tgm-pings svg { width: 14px; height: 14px; }
.tgm.is-up .tgm-pings li { opacity: 1; transform: none; transition: opacity .4s ease, transform .55s var(--t-spring); transition-delay: calc(.75s + var(--i) * .18s); }
@media (min-width: 720px) {
  .tgm { grid-template-columns: 170px minmax(0, 340px); gap: 28px; justify-content: center; }
  .tgm-phone { width: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  .tgm-phone, .tgm.is-up .tgm-phone { transform: rotate(-3deg); opacity: 1; transition: none; }
  .tgm-pings li, .tgm.is-up .tgm-pings li { opacity: 1; transform: none; transition: none; }
  .tgm-div, .tgm.is-up .tgm-div { opacity: 1; transition: none; }
}

/* ---------- the maker's mark in the page sign-off ---------- */
.gm-mark { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; margin: 6px auto 0; padding: 6px 16px 6px 18px; border-radius: 999px; text-decoration: none; color: #4A1942;
  background: #fffdf8; box-shadow: 0 0 0 1px rgba(212, 168, 67, .6), 0 10px 18px -14px rgba(74, 25, 66, .55); -webkit-tap-highlight-color: transparent; transition: transform .35s cubic-bezier(.3, 1.45, .45, 1), box-shadow .25s ease; }
.gm-mark-k { font: 700 10.5px/1 'DM Sans', system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #9a7420; white-space: nowrap; }
.gm-mark .gml { margin-top: -6px; }
.gm-mark > i { width: 7px; height: 7px; margin-left: 2px; border: solid #9a7420; border-width: 1.8px 1.8px 0 0; transform: rotate(45deg); transition: transform .3s ease; }
@media (hover: hover) { .gm-mark:hover { transform: translateY(-2px); box-shadow: 0 0 0 1.5px #d4a843, 0 14px 22px -14px rgba(74, 25, 66, .6); } .gm-mark:hover > i { transform: translateX(3px) rotate(45deg); } }
.gm-mark:active { transform: scale(.97); }
.gm-mark:focus-visible { outline: 2px solid #4A1942; outline-offset: 3px; }

/* the tile: a touch wider than its neighbours so the whole name reads */
#tb9Bar .gm-tile-li .tb9-card { min-width: 142px; }
