/* =====================================================================================================
   THE GLASS HOME PAGE (home_page/home_glass.html). Ported from the round 4 mockup Jake approved on 2026-12-03
   (mockups/home_human/design/h3.css; plan: mockups/home_human/PLAN.md). Sits on glass_app.css; the glass nav
   partial links glass_marketing.css itself, AFTER this file, so any rule here that meets a glass_marketing rule
   of the same weight carries one more class (see .gm-close.h3-close).
   A white page with one faint cool light at the top. Glass cards, the jewel button and the keys stay.
   Photographs of people at work are one consistent set; they carry a trade label only: never a name, never a
   quote, never beside a customer's words. Real customers are small round faces beside their own words, in a serif.
   States differ by shape, ring or weight, never colour alone. No black fills, no green, no cream.
   ===================================================================================================== */
:root {
    --h3-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
    --h3-r: 22px;
    --h3-card-shadow: 0 1px 2px rgba(16, 24, 64, .05), 0 14px 34px rgba(16, 24, 64, .09), inset 0 1.5px 0 #fff;
    --h3-photo-shadow: 0 2px 4px rgba(16, 24, 64, .08), 0 18px 40px rgba(16, 24, 64, .16);
}
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
/* the white page: glass_app's blue desk is replaced by white with one faint cool light, top right */
/* Jake 2026-12-03: the faint pen-blue dot grid of the glass desk, on the white page */
body.gx-page.h3 { background: #fff radial-gradient(circle, rgba(43, 68, 176, .10) 1px, transparent 1.2px) 0 0 / 20px 20px; }
body.gx-page.h3::before {
    position: absolute; inset: 0 0 auto 0; height: 760px;
    background:
        radial-gradient(640px 400px at 92% 0%, rgba(127, 221, 247, .16), rgba(127, 221, 247, 0) 70%),
        radial-gradient(560px 380px at 0% 10%, rgba(43, 68, 176, .045), rgba(43, 68, 176, 0) 70%);
}
.h3 p { font-size: 17px; line-height: 1.55; }
.h3 img { display: block; max-width: 100%; height: auto; }
.h3 .gm-section { padding: 40px 0; }
.h3 h2.gm-h2 { font-size: 29px; }
.h3-center { text-align: center; }

/* ---- glass card on white: a clear edge and a soft navy lift ---- */
.h3-card { position: relative; border-radius: var(--h3-r); background: linear-gradient(180deg, #fff, #F9FAFF); border: 1px solid rgba(43, 68, 176, .11); box-shadow: var(--h3-card-shadow); }

/* ---- photographs ---- */
.h3-ph { position: relative; margin: 0; border-radius: var(--h3-r); overflow: hidden; background: #E4E9F7; box-shadow: var(--h3-photo-shadow); }
.h3-ph img { width: 100%; height: 100%; object-fit: cover; }
.h3-ph.r32 { aspect-ratio: 3 / 2; }
/* the trade label: says a kind of work, nothing about the person */
.h3-trade { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 13.5px; line-height: 1.2; font-weight: 700; letter-spacing: -.005em; color: var(--gl-ink); background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(10px) saturate(160%); backdrop-filter: blur(10px) saturate(160%); box-shadow: 0 3px 10px rgba(16, 24, 64, .22), inset 0 0 0 1px rgba(255, 255, 255, .9); }

/* ---- a customer speaking: a small round face, a name, and their words in serif ---- */
.h3-by { display: flex; align-items: center; gap: 12px; }
.h3-by b { display: block; font-size: 16px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; color: var(--gl-ink); }
.h3-by small { display: block; margin-top: 1px; font-size: 14px; line-height: 1.35; color: var(--gl-ink-2); }
.h3-av { width: 60px; height: 60px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px rgba(43, 68, 176, .30), 0 6px 14px rgba(16, 24, 64, .18); }
.h3-av.lg { width: 68px; height: 68px; }
.h3-quote { margin: 14px 0 0 !important; font-family: var(--h3-serif); font-size: 20px !important; line-height: 1.42 !important; letter-spacing: -.003em; color: var(--gl-ink); text-wrap: pretty; }
.h3-quote.big { font-size: 26px !important; line-height: 1.26 !important; }
.h3-quote b { font-weight: 700; }
.h3-typ { margin-top: 12px !important; font-size: 14px !important; line-height: 1.45 !important; color: var(--gl-ink-2); }
.h3-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: var(--gl-pen) !important; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.h3-link .gx-ic { width: 18px; height: 18px; stroke-width: 2.4; }

/* ---- the greeting form: Jake says hello, then the one field ---- */
.h3-form { position: relative; z-index: 2; padding: 14px; border-radius: 24px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); border: 1px solid rgba(43, 68, 176, .12); box-shadow: 0 2px 4px rgba(16, 24, 64, .06), 0 18px 40px rgba(16, 24, 64, .18), inset 0 1.5px 0 #fff; }
.h3-hello { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.h3-hello img { width: 54px; height: 54px; flex: none; border-radius: 50%; box-shadow: 0 4px 10px rgba(16, 24, 64, .18); }
.h3-hello b { display: block; font-size: 16.5px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
.h3-hello span { display: block; font-size: 15.5px; line-height: 1.3; color: var(--gl-ink-2); }
.h3-form .gx-field { min-height: 54px; font-size: 17px; border-radius: 16px; }
.h3-form .gx-btn { width: 100%; margin-top: 10px; min-height: 56px; font-size: 17.5px; }
.h3-fine { margin-top: 10px !important; font-size: 14px !important; line-height: 1.35 !important; font-weight: 600; color: var(--gl-ink); text-align: center; }
.h3-form.solo { max-width: 480px; margin: 22px auto 0; }

/* ================= 1. HELLO ================= */
.h3-hero { padding: 10px 0 22px; }
.h3-hero h1 { font-size: 35px; line-height: 1.06; font-weight: 800; letter-spacing: -.035em; color: var(--gl-ink); text-wrap: balance; }
.h3-hero h1 em { font-style: normal; color: var(--gl-pen); }
.h3-hero .sub { margin-top: 10px; font-size: 17.5px; line-height: 1.45; color: var(--gl-ink-2); }
.h3-hero-ph { margin-top: 16px; aspect-ratio: 4 / 3; }
.h3-hero .h3-form { margin: -40px 0 0; }

/* ================= 2. MARK ================= */
.h3-mark { padding: 20px 18px 18px; }
.h3-vwrap { margin-top: 18px; }
.h3-video { aspect-ratio: 4 / 5; cursor: pointer; border-radius: 18px; box-shadow: 0 8px 22px rgba(16, 24, 64, .16); }
.h3-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0E163E; }
.h3-play { position: absolute; z-index: 2; left: 12px; bottom: 12px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; background-image: var(--gl-jewel-bg); background-color: var(--gl-pen); box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 8px 18px rgba(16, 24, 64, .4), inset 0 1px 0 rgba(255, 255, 255, .5); }
.h3-play svg { width: 20px; height: 20px; margin-left: 3px; fill: currentColor; }
.h3-video.playing .h3-play { display: none; }
.h4-vtag { position: absolute; z-index: 2; left: 78px; bottom: 22px; padding: 7px 12px; border-radius: 999px; font-size: 14px; line-height: 1.2; font-weight: 800; color: var(--gl-ink); background: rgba(255, 255, 255, .92); box-shadow: 0 3px 10px rgba(16, 24, 64, .25); }
.h3-video.playing .h4-vtag { display: none; }

/* ================= 3. THE WALL ================= */
.h3-wall { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.h3-wall .h3-ph { aspect-ratio: 4 / 5; border-radius: 18px; }
.h3-wall .h3-ph.wide { grid-column: 1 / -1; aspect-ratio: 3 / 2; }   /* Jake: wide and tall photos mixed, like the about page */

/* ================= 4. TOWNS: the map ================= */
.h3-towns-grid { display: grid; gap: 18px; }
.h4-map { margin: 16px 0 0; padding: 8px; }
.h4-map svg { display: block; width: 100%; height: auto; border-radius: 16px; font-family: inherit; }
.h4-pin circle { fill: #fff; stroke: var(--gl-pen); stroke-width: 2.5; filter: drop-shadow(0 3px 5px rgba(16, 24, 64, .22)); }
.h4-pin use, .h4-you use { fill: none; stroke: var(--gl-pen); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.h4-you use { stroke: #fff; stroke-width: 2.2; }
.h4-pin text, .h4-you text { font-size: 13.5px; font-weight: 800; letter-spacing: -.01em; fill: var(--gl-ink); text-anchor: middle; paint-order: stroke; stroke: #F2F5FD; stroke-width: 4px; stroke-linejoin: round; }
.h4-you text { stroke: none; fill: var(--gl-pen); }
.h4-you > circle:nth-child(2) { filter: drop-shadow(0 4px 8px rgba(16, 24, 64, .35)); }
.h4-pulse { opacity: 0; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
    .h4-map.go .h4-pulse { animation: h4pulse 3.6s ease-out infinite; }   /* only while the map is on screen */
    .h4-map.go .h4-in path { animation: h4flow 1.5s linear infinite; }
    .h4-caret { animation: h4blink 1.1s steps(1) infinite; }
}
@keyframes h4pulse { 0% { transform: scale(.22); opacity: .7; } 100% { transform: scale(1); opacity: 0; } }
@keyframes h4flow { to { stroke-dashoffset: -18; } }
@keyframes h4blink { 50% { opacity: 0; } }
.h3-addon { margin-top: 12px !important; font-size: 15px !important; line-height: 1.4 !important; font-weight: 600; color: var(--gl-ink-2); text-align: center; }
.h4-towns-ph { aspect-ratio: 5 / 4; }

/* ================= THE DEAL: worries answered with an icon and a few words ================= */
.h4-deal { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 0 !important; padding: 0; list-style: none; }
.h4-deal li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 16px 8px 14px; }
.h4-deal .ic { display: grid; place-items: center; width: 58px; height: 58px; flex: none; border-radius: 50%; color: var(--gl-pen); background: var(--gl-tint); box-shadow: inset 0 0 0 2px var(--gl-pen); }
.h4-deal .ic .gx-ic { width: 28px; height: 28px; stroke-width: 2; }
.h4-deal .ic.face { background: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--gl-pen); overflow: hidden; }
.h4-deal .ic.face img { width: 100%; height: 100%; object-fit: cover; }
.h4-deal b { display: block; margin-top: 10px; font-size: 17px; line-height: 1.2; font-weight: 800; letter-spacing: -.015em; color: var(--gl-ink); }
.h4-deal small { display: block; margin-top: 3px; font-size: 14px; line-height: 1.3; color: var(--gl-ink-2); }
.h4-deal li.wide { grid-column: 1 / -1; }

/* the three small promises under the first button */
.h4-assure { display: flex; justify-content: space-between; gap: 6px; margin: 10px 0 0 !important; padding: 0; list-style: none; }
.h4-assure li { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; line-height: 1.3; font-weight: 700; color: var(--gl-ink); white-space: nowrap; }
.h4-assure .gx-ic { width: 15px; height: 15px; stroke-width: 3; color: var(--gl-pen); }
/* phones narrower than the mockup's 375: the one row is about 311 px and would spill out of the card */
@media (max-width: 374px) { .h4-assure { flex-wrap: wrap; justify-content: center; gap: 4px 14px; } }

/* ================= 5. NOT TECHNICAL ================= */
.h3-said-grid { display: grid; gap: 14px; margin-top: 22px; }
.h3-said { padding: 18px; text-align: left; display: flex; flex-direction: column; }   /* the Watch buttons line up at the bottom */

/* ================= 6. HOW: three cards, all the same size ================= */
.h3-how-grid { display: grid; gap: 16px; margin-top: 20px; }
.h4-steps { margin: 0 !important; padding: 0; display: grid; gap: 10px; grid-auto-rows: 1fr; list-style: none; }
.h4-steps li { display: grid; grid-template-columns: 104px 34px 1fr; gap: 12px; align-items: center; min-height: 100px; padding: 12px 14px 12px 12px; }
.h4-steps .art { display: block; border-radius: 14px; background: var(--gl-tint); }
.h4-steps .art svg { display: block; width: 100%; height: auto; font-family: inherit; }
.h4-steps .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 17px; font-weight: 800; color: var(--gl-pen); background: #fff; box-shadow: inset 0 0 0 2px var(--gl-pen); }
.h4-steps b { font-size: 17.5px; line-height: 1.22; font-weight: 800; letter-spacing: -.015em; color: var(--gl-ink); }

/* ================= 7. JAKE'S NOTE ================= */
.h4-jake { overflow: hidden; }
.h4-jake-ph { aspect-ratio: 4 / 5; border-radius: 0; box-shadow: none; }   /* Jake's 4:5 video (captions are burned in, so never cropped) */
.h4-letter { padding: 16px 18px 20px; }
.h4-sign b { display: block; font-size: 20px; line-height: 1.2; font-weight: 800; letter-spacing: -.015em; color: var(--gl-ink); }
.h4-sign small { display: block; margin-top: 2px; font-size: 14.5px; color: var(--gl-ink-2); }
.h4-letter .gm-h2 { margin-top: 14px; }
.h4-letter p.body { margin-top: 10px; color: var(--gl-ink); }
.h3-price { margin-top: 18px; padding: 16px; border-radius: 18px; background: var(--gl-tint); box-shadow: inset 0 0 0 2px var(--gl-pen); }
.h3-price h3 { font-size: 20px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; color: var(--gl-ink); }
.h4-get { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 8px; margin: 14px 0 0 !important; padding: 0; list-style: none; }
.h4-get li { display: grid; grid-template-columns: 32px 1fr; gap: 8px; align-items: center; font-size: 14.5px; line-height: 1.2; font-weight: 700; color: var(--gl-ink); }
.h4-get .gx-ic { width: 32px; height: 32px; padding: 7px; border-radius: 50%; color: var(--gl-pen); background: #fff; box-shadow: inset 0 0 0 1.5px rgba(43, 68, 176, .45); stroke-width: 2.2; }
.h4-letter .h3-link { margin-top: 10px; font-size: 16px; }

/* ================= 8. QUESTIONS ================= */
.h3-ask { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px; }
.h3-ask img { width: 56px; height: 56px; flex: none; border-radius: 50%; box-shadow: 0 4px 10px rgba(16, 24, 64, .18); }
.h3-ask b { display: block; font-size: 16.5px; line-height: 1.3; font-weight: 800; color: var(--gl-ink); }
.h3-ask a { display: inline-block; margin-top: 2px; font-size: 15.5px; font-weight: 700; color: var(--gl-pen); text-decoration: underline; text-underline-offset: 3px; }

/* ================= 9. THE DOOR AGAIN =================
   .gm-close.h3-close: glass_marketing.css loads after this file and sets .gm-close's padding at the same weight. */
.gm-close.h3-close { padding: 14px 14px 28px; }
.h3-close .h3-ph { aspect-ratio: 5 / 4; border-radius: 18px; box-shadow: 0 10px 26px rgba(10, 16, 56, .4); }
.h3-close .txt { padding: 22px 6px 0; }
.h3-close form { display: grid; gap: 10px; max-width: 460px; margin: 16px auto 0; }
.h3-close .gx-field { min-height: 54px; font-size: 17px; border-radius: 16px; background: #fff; text-align: left; }
.h3-close .gm-close-btn { margin-top: 0; width: 100%; border: 0; cursor: pointer; }
.h3-close .fine { margin-top: 14px !important; font-size: 14.5px !important; font-weight: 600; color: #fff !important; }

/* ================= wider screens ================= */
@media (min-width: 700px) {
    .h3-wall { grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1040px; margin-left: auto; margin-right: auto; }
    .h3-wall .h3-ph.wide { grid-column: span 2; aspect-ratio: auto; }
    .h3-wall .h3-ph.wide img { position: absolute; inset: 0; }
    .h3-said-grid { grid-template-columns: repeat(3, 1fr); }
    .h4-deal { grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 980px; margin-left: auto !important; margin-right: auto !important; }
    .h4-deal li.wide { grid-column: span 2; }
    .h4-deal li { padding: 22px 12px 20px; }
    .h3-trade { left: 12px; bottom: 12px; font-size: 14.5px; padding: 7px 13px; }
}
@media (min-width: 1024px) {
    .h3 .gm-section { padding: 60px 0; }
    .h3 h2.gm-h2 { font-size: 40px; }
    .h3-hero { padding: 26px 0 40px; }
    .h3-hero .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); grid-template-areas: "txt ph" "form ph"; column-gap: 52px; row-gap: 26px; }
    .h3-hero .txt { grid-area: txt; align-self: end; }
    .h3-hero h1 { font-size: 50px; text-wrap: wrap; } .h3-hero h1 em { display: block; white-space: nowrap; }
    .h3-hero .sub { margin-top: 16px; font-size: 21px; max-width: 460px; }
    .h3-hero-ph { grid-area: ph; margin-top: 0; aspect-ratio: 5 / 4; border-radius: 28px; }
    .h3-hero .h3-form { grid-area: form; align-self: start; margin: 0; max-width: 470px; padding: 18px; }
    .h3-mark { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: center; max-width: 1000px; margin: 0 auto; padding: 34px 34px 34px 40px; }
    .h3-quote.big { font-size: 36px !important; line-height: 1.2 !important; }
    .h3-vwrap { margin-top: 0; }
    .h3-towns-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 52px; align-items: center; }
    .h4-towns-ph { aspect-ratio: 3 / 2; }
    .h4-map { margin-top: 24px; padding: 10px; }
    .h3-addon { font-size: 16px !important; }
    .h3-how-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: stretch; margin-top: 36px; }
    .h3-how-grid .h3-ph { aspect-ratio: auto; min-height: 380px; }
    .h3-how-grid .h3-ph img { position: absolute; inset: 0; }
    .h4-steps { gap: 14px; }
    .h4-steps li { grid-template-columns: 128px 40px 1fr; gap: 18px; padding: 16px 22px 16px 16px; }
    .h4-steps .n { width: 40px; height: 40px; font-size: 19px; }
    .h4-steps b { font-size: 21px; }
    .h3-form.solo { margin-top: 36px; }
    .h3-said { padding: 24px; }
    .h4-jake { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.05fr); align-items: center; max-width: 1040px; margin: 0 auto; }
    .h4-jake-ph { aspect-ratio: 4 / 5; align-self: stretch; }
    .h4-jake-ph video { object-fit: contain; background: #fff; }
    .h4-letter { padding: 34px 40px; }
    .h4-get li { font-size: 15.5px; }
    .h4-vtag { font-size: 15px; }
    .h4-assure { justify-content: center; gap: 18px; } .h4-assure li { font-size: 14px; }
    .gm-close.h3-close { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 22px 48px 22px 22px; }
    .h3-close .h3-ph { border-radius: 22px; aspect-ratio: 3 / 2; }
    .h3-close .txt { padding: 0; }
}

/* testimonial disclosure (Jake 2026-12-03: a star and a footnote) */
.h4-star { margin-left: 1px; font-size: .75em; font-weight: 700; color: var(--gl-pen); }
.h4-footnote { margin: 18px auto 0; max-width: 640px; text-align: center; font-size: 13.5px !important; line-height: 1.45 !important; color: #5B6275; }

/* Mark plays by himself, muted (Jake 2026-12-03): the card is the video's own 4:5 so nothing moves when it starts */
.h3-video > img { width: 100%; height: 100%; object-fit: cover; }
.h3-video video { z-index: 1; }
.h4-snd { position: absolute; z-index: 3; right: 10px; bottom: 10px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(16, 24, 64, .62); cursor: pointer; }
.h4-snd svg { width: 22px; height: 22px; }
.h4-vsound { display: none; position: absolute; z-index: 3; right: 62px; bottom: 17px; padding: 7px 12px; border-radius: 999px; font-size: 14px; line-height: 1.2; font-weight: 800; color: var(--gl-ink); background: rgba(255, 255, 255, .92); box-shadow: 0 3px 10px rgba(16, 24, 64, .25); pointer-events: none; }
.h3-video.playing.muted .h4-vsound { display: block; }
.h3-video.playing.paused .h3-play { display: grid; z-index: 3; }

/* ---- the three steps move (Jake 2026-12-03): the name types itself, the site builds, the voice listens.
   Only while the section is on screen (.go from home_glass.js); still for reduced motion. ---- */
.h4-steps .art svg * { transform-box: fill-box; transform-origin: center; }
.h4-caret { animation: h4Blink 1s steps(1) infinite; }
@keyframes h4Blink { 50% { opacity: 0; } }
.h4-ring { stroke-dasharray: 100; stroke-dashoffset: 100; opacity: .9; }
@media (prefers-reduced-motion: no-preference) {
  .h4-steps.go .h4-b1 { animation: h4Pop 4.8s ease-out infinite; }
  .h4-steps.go .h4-b2 { animation: h4Grow 4.8s ease-out infinite; animation-delay: .12s; }
  .h4-steps.go .h4-b3 { animation: h4Grow 4.8s ease-out infinite; animation-delay: .24s; }
  .h4-steps.go .h4-b4 { animation: h4Grow 4.8s ease-out infinite; animation-delay: .36s; }
  .h4-steps.go .h4-b2, .h4-steps.go .h4-b3, .h4-steps.go .h4-b4 { transform-origin: left center; }
  .h4-steps.go .h4-ring { animation: h4Ring 4.8s linear infinite; }
  .h4-steps.go .h4-badge { animation: h4Ping 4.8s ease-out infinite; }
  .h4-steps.go .h4-eq { animation: h4Eq 1s ease-in-out infinite; }
  .h4-steps.go .e1 { animation-duration: .9s; }
  .h4-steps.go .e2 { animation-duration: 1.1s; animation-delay: -.3s; }
  .h4-steps.go .e3 { animation-duration: .8s; animation-delay: -.5s; }
  .h4-steps.go .e4 { animation-duration: 1.2s; animation-delay: -.2s; }
  .h4-steps.go .e5 { animation-duration: .95s; animation-delay: -.65s; }
  .h4-steps.go .e6 { animation-duration: 1.05s; animation-delay: -.4s; }
}
@keyframes h4Pop { 0%, 8% { opacity: 0; transform: scale(.6); } 18%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes h4Grow { 0%, 22% { opacity: 0; transform: scaleX(0); } 34%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes h4Ring { 0% { stroke-dashoffset: 100; } 70%, 88% { stroke-dashoffset: 0; } 96%, 100% { stroke-dashoffset: 100; } }
@keyframes h4Ping { 0%, 70% { transform: none; } 76% { transform: scale(1.14); } 82%, 100% { transform: none; } }
@keyframes h4Eq { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1.25); } }
.h4-foot-bottom { margin: 8px auto 26px; padding: 0 20px; }

/* ---- testimonial videos (Jake 2026-12-03): a Watch button on each card, a pop-up player ---- */
.h4-watch { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; margin-top: auto; padding: 8px 16px 8px 8px; border: 0; border-radius: 999px; font: inherit; font-size: 15.5px; font-weight: 800; color: var(--gl-pen); background: #fff; box-shadow: inset 0 0 0 1.5px rgba(43, 68, 176, .35), 0 3px 10px rgba(16, 24, 64, .08); cursor: pointer; }
.h4-watch:hover { box-shadow: inset 0 0 0 2px var(--gl-pen), 0 4px 14px rgba(16, 24, 64, .12); }
.h4-watch .ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; background-image: var(--gl-jewel-bg); background-color: var(--gl-pen); }
.h4-watch .ic svg { width: 14px; height: 14px; margin-left: 2px; fill: currentColor; }
.h4-watch small { font-size: 13.5px; font-weight: 600; color: #5B6275; }
.h4-vmodal { width: min(960px, calc(100vw - 24px)); max-width: none; padding: 0; border: 0; border-radius: 20px; background: #000; color: #fff; box-shadow: 0 24px 60px rgba(8, 12, 40, .5); }
.h4-vmodal::backdrop { background: rgba(0, 0, 0, .82); }   /* Jake: no blue tint behind the video */
.h4-vbox { position: relative; }
.h4-vbox video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.h4-vbox video::cue { font-size: 15px; line-height: 1.35; background: rgba(0, 0, 0, .75); }
.h4-vname { margin: 0 !important; padding: 12px 16px 14px; font-size: 15px !important; font-weight: 700; color: #fff; }
.h4-vclose { position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; color: #fff; background: rgba(0, 0, 0, .6); cursor: pointer; }
.h4-vclose .gx-ic { width: 22px; height: 22px; stroke: currentColor; }
@media (min-width: 760px) { .h4-vbox video::cue { font-size: 20px; } }
.h3-said .h3-quote { margin: auto 0 !important; padding: 14px 0 18px; }   /* centred between the name and the button */

/* "someone talking" bars on the Hear-it buttons (Jake 2026-12-03): soft, only while the section is on screen */
.h4-talk { display: inline-flex; align-items: center; gap: 2px; height: 16px; margin-left: -2px; }
.h4-talk i { display: block; width: 3px; height: 100%; border-radius: 2px; background: var(--gl-pen); opacity: .75; transform: scaleY(.35); }
@media (prefers-reduced-motion: no-preference) {
  .h3-said-grid.go .h4-talk i { animation: h4Talk 1.1s ease-in-out infinite; }
  .h3-said-grid.go .h4-talk i:nth-child(2) { animation-duration: .9s; animation-delay: -.35s; }
  .h3-said-grid.go .h4-talk i:nth-child(3) { animation-duration: 1.25s; animation-delay: -.6s; }
  .h3-said-grid.go .h4-talk i:nth-child(4) { animation-duration: .95s; animation-delay: -.2s; }
  .h3-said:nth-child(2) .h4-talk i { animation-delay: -.5s; }
  .h3-said:nth-child(3) .h4-talk i { animation-delay: -.8s; }
}
@keyframes h4Talk { 0%, 100% { transform: scaleY(.35); } 30% { transform: scaleY(1); } 60% { transform: scaleY(.55); } }


/* ---- living drawings (Jake 2026-12-03: the SVGs themselves move; no fade-ins or slide-ins) ----
   The deal icons are drawn inline so their parts can move; they run only while that section is on screen (.go). */
.h4i * { transform-box: fill-box; transform-origin: center; }
.h4i-mic .w1, .h4i-mic .w2 { opacity: 0; }
.h4i-doc .strike { stroke-dasharray: 100; stroke-dashoffset: 0; }
.h4i-tap .ripple { opacity: 0; }
.h4-rotate { white-space: nowrap; }
.h4-rotate.typing::after { content: ''; display: inline-block; width: 3px; height: .9em; margin-left: 3px; vertical-align: -.08em; background: var(--gl-pen); animation: h4Blink 1s steps(1) infinite; }
@media (prefers-reduced-motion: no-preference) {
  .h4-deal.go .h4i-eye .lid { animation: h4Lid 5.2s ease-in-out infinite; }
  .h4-deal.go .h4i-eye .pupil { animation: h4Look 5.2s ease-in-out infinite; }
  .h4-deal.go .h4i-doc .strike { animation: h4Strike 4.8s ease-in-out infinite; animation-delay: .8s; }
  .h4-deal.go .h4i-key .k { transform-box: view-box; transform-origin: 8px 15px; animation: h4Key 5.6s ease-in-out infinite; animation-delay: 1.6s; }
  .h4-deal.go li:nth-child(4) .ic.face { animation: h4Halo 4.4s ease-out infinite; animation-delay: .4s; }
  .h4-deal.go .h4i-tap .hand { animation: h4Press 3.8s ease-in-out infinite; animation-delay: 2.2s; }
  .h4-deal.go .h4i-tap .ripple { animation: h4Ripple 3.8s ease-out infinite; animation-delay: 2.2s; }
  .h4-deal.go .h4i-mic .w1 { animation: h4Wave 2.4s ease-out infinite; animation-delay: .9s; }
  .h4-deal.go .h4i-mic .w2 { animation: h4Wave 2.4s ease-out infinite; animation-delay: 1.15s; }
  .h4-deal.go .h4i-rings .r1 { animation: h4Radar 2.7s ease-in-out infinite; }
  .h4-deal.go .h4i-rings .r2 { animation: h4Radar 2.7s ease-in-out infinite; animation-delay: .3s; }
  .h4-deal.go .h4i-rings .r3 { animation: h4Radar 2.7s ease-in-out infinite; animation-delay: .6s; }
}
@keyframes h4Lid { 0%, 86%, 100% { transform: none; } 89% { transform: scaleY(.1); } 92% { transform: none; } }
@keyframes h4Look { 0%, 20%, 80%, 100% { transform: none; } 30%, 45% { transform: translateX(-2.6px); } 55%, 70% { transform: translateX(2.6px); } }
@keyframes h4Strike { 0%, 12% { stroke-dashoffset: 100; } 30%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 100; } }
@keyframes h4Key { 0%, 58%, 100% { transform: none; } 64% { transform: translate(1.3px, -1.3px); } 70%, 78% { transform: translate(1.3px, -1.3px) rotate(14deg); } 86% { transform: translate(1.3px, -1.3px); } 92% { transform: none; } }   /* slides in along the shaft, a short twist, back out */
@keyframes h4Halo { 0%, 70%, 100% { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--gl-pen); } 82% { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--gl-pen), 0 0 0 11px rgba(43, 68, 176, .18); } }
@keyframes h4Press { 0%, 60%, 100% { transform: none; } 66% { transform: translateY(1.6px) scale(.95); } 72% { transform: none; } }
@keyframes h4Ripple { 0%, 64% { opacity: 0; transform: scale(.4); } 68% { opacity: .9; transform: scale(.7); } 84% { opacity: 0; transform: scale(1.9); } 100% { opacity: 0; } }
@keyframes h4Wave { 0% { opacity: 0; } 25% { opacity: 1; } 70%, 100% { opacity: 0; } }
@keyframes h4Radar { 0%, 100% { opacity: .35; } 30% { opacity: 1; } }

/* closing card (Jake 2026-12-03): the arrow nudges and a soft shine crosses the button now and then, only while
   the card is on screen (.go from home_glass.js) */
.h3-close .gm-close-btn { position: relative; overflow: hidden; isolation: isolate; }
.h3-close .gm-close-btn::after { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(43, 68, 176, .12), transparent); transform: skewX(-18deg); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .h3-close.go .gm-close-btn .gx-ic { animation: h4Nudge2 3.2s ease-in-out infinite; }
  .h3-close.go .gm-close-btn::after { animation: h4Shine 5.5s ease-in-out infinite; animation-delay: 1.2s; }
}
@keyframes h4Nudge2 { 0%, 70%, 100% { transform: none; } 78% { transform: translateX(5px); } 84% { transform: none; } 90% { transform: translateX(3px); } 95% { transform: none; } }
@keyframes h4Shine { 0%, 62% { left: -40%; opacity: 0; } 66% { opacity: 1; } 86% { left: 115%; opacity: 1; } 90%, 100% { left: 115%; opacity: 0; } }

/* nav "Build my site free": a split-flap flip to other wording (Fable's pick, Jake 2026-12-03). Home only, built by
   home_glass.js. Every label sits in one grid cell, so the button keeps the widest label's width and never jumps. */
.h4-flap { display: inline-grid; overflow: hidden; vertical-align: top; }       /* Jake: the flip with a hinge line read as crossed out; now the words roll */
.h4-flap > span { grid-area: 1 / 1; text-align: center; white-space: nowrap; visibility: hidden; }
.h4-flap > span.on { visibility: visible; }
.h4-flap > span.out { visibility: visible; animation: h4RollOut .26s cubic-bezier(.4, 0, .6, 1) forwards; }
.h4-flap > span.in { visibility: visible; animation: h4RollIn .3s cubic-bezier(.2, .8, .3, 1); }
@keyframes h4RollOut { from { transform: translateY(0); } to { transform: translateY(-120%); } }
@keyframes h4RollIn { from { transform: translateY(120%); } to { transform: translateY(0); } }
