/* Homepage section #google: the counterpart to #social. A small drawn map and profile card (no map service,
   no Google logos); the pins drop once the card comes into view (/google/home.js). The full story lives on /google/. */
.gh-card { position: relative; width: min(100%, 460px); margin-inline: auto; border-radius: 14px; overflow: hidden; background: var(--ez-ground);
  box-shadow: 0 0 0 1px var(--ez-line-strong), 0 30px 60px -34px rgba(0,0,0,.5), 0 8px 18px -12px rgba(0,0,0,.3); }
.gh-map { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.gh-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gh-map .g0 { fill: var(--ez-ground-sunk); }
.gh-map .gs { fill: color-mix(in srgb, var(--ez-ink) 13%, var(--ez-ground-sunk)); }
.gh-map .gp { fill: color-mix(in srgb, var(--ez-accent) 22%, var(--ez-ground-sunk)); }
.gh-map .gb rect { fill: color-mix(in srgb, var(--ez-ink) 6%, var(--ez-ground-sunk)); }
.gh-map .gr path { fill: none; stroke: var(--ez-ground-lit); stroke-width: 9; stroke-linecap: round; }
[data-theme="anthracite"] .gh-map .gr path { stroke: color-mix(in srgb, var(--ez-ink) 16%, var(--ez-ground-sunk)); }
.gpin { position: absolute; width: 22px; aspect-ratio: 24 / 32; translate: -50% -100%; color: var(--ez-ink-3);
  background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath fill-rule='evenodd' d='M12 .8C5.8.8.8 5.7.8 11.8c0 8.2 11.2 19.4 11.2 19.4s11.2-11.2 11.2-19.4C23.2 5.7 18.2.8 12 .8Zm0 6.6a4.2 4.2 0 1 0 0 8.4 4.2 4.2 0 0 0 0-8.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath fill-rule='evenodd' d='M12 .8C5.8.8.8 5.7.8 11.8c0 8.2 11.2 19.4 11.2 19.4s11.2-11.2 11.2-19.4C23.2 5.7 18.2.8 12 .8Zm0 6.6a4.2 4.2 0 1 0 0 8.4 4.2 4.2 0 0 0 0-8.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 900ms var(--ez-ease-out), opacity 500ms var(--ez-ease-out); }
.gpin.a { left: 18%; top: 38%; } .gpin.b { left: 46%; top: 30%; transition-delay: 100ms; } .gpin.c { left: 80%; top: 26%; transition-delay: 200ms; }
.gpin.me { left: 50%; top: 70%; width: 30px; transition-delay: 340ms; filter: drop-shadow(0 4px 4px rgba(0,0,0,.25));
  background: radial-gradient(circle at 50% 36%, var(--ez-accent) 0 18%, transparent 19%), var(--ez-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M12 .8C5.8.8.8 5.7.8 11.8c0 8.2 11.2 19.4 11.2 19.4s11.2-11.2 11.2-19.4C23.2 5.7 18.2.8 12 .8Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M12 .8C5.8.8.8 5.7.8 11.8c0 8.2 11.2 19.4 11.2 19.4s11.2-11.2 11.2-19.4C23.2 5.7 18.2.8 12 .8Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.gq { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; font-size: .88rem; font-weight: 500;
  background: var(--ez-ground); border-radius: 6px; box-shadow: 0 0 0 1px var(--ez-line-strong), 0 6px 14px -10px rgba(0,0,0,.45); }
.gq svg { width: 16px; height: 16px; flex: none; color: var(--ez-ink-2); }
.gh-ficha { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 14px; border-top: 1px solid var(--ez-line); }
.gh-ficha img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--ez-r-photo); display: block; }
.gh-ficha p { margin: 0; }
.gn { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.gn > span { font-family: var(--mincho); font-weight: 700; font-size: 1.15rem; line-height: 1.15; }
.gn em { font-style: normal; font-size: .74rem; padding: 1px 7px; border: 1px solid var(--ez-line-strong); border-radius: var(--ez-r-action); color: var(--ez-ink-2); white-space: nowrap; }
.gst { display: flex; gap: 3px; margin-top: 6px !important; }
.gst i { width: 15px; height: 15px; background: var(--ez-ink); clip-path: polygon(50% 6%, 61% 37%, 94% 38%, 68% 58%, 77% 90%, 50% 71%, 23% 90%, 32% 58%, 6% 38%, 39% 37%);
  transition: opacity 400ms var(--ez-ease-out), transform 600ms var(--ez-ease-out); }
.gst i:nth-child(2) { transition-delay: 500ms; } .gst i:nth-child(3) { transition-delay: 580ms; } .gst i:nth-child(4) { transition-delay: 660ms; } .gst i:nth-child(5) { transition-delay: 740ms; }
.gst i:nth-child(1) { transition-delay: 420ms; }
.gbt { display: flex; gap: 6px; margin-top: 10px !important; flex-wrap: wrap; }
.gbt span { padding: 5px 10px; font-size: .8rem; font-weight: 700; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--ez-line-strong); white-space: nowrap; }
.gbt span:first-child { background: var(--ez-ink); color: var(--ez-on-ink); box-shadow: none; }
.gh-parts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.gh-parts li { display: grid; align-content: start; gap: 2px; padding-top: 10px; border-top: 1px solid var(--ez-line); }
.gh-parts b { font-family: var(--mincho); font-weight: 700; font-size: 1.05rem; }
.gh-parts span { font-size: .9rem; color: var(--ez-ink-2); }
@media (min-width: 1100px) { .gh-parts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* before the card is in view (only with JS): pins hang above the map, the stars wait */
html.js .gh-card:not(.in) .gpin { opacity: 0; transform: translateY(-70px); }
html.js .gh-card:not(.in) .gst i { opacity: 0; transform: scale(.4); }
@media (prefers-reduced-motion: reduce) { .gpin, .gst i { transition: none !important; } }
