/* =====================================================================
   Froogle v4: blue-led, refined, visual. Loaded after f2.css (which keeps
   the shared header, buttons, footer, FAQ, quick menu). Brand only:
   blue #3459ff, charcoal #292929, white, mist #f0f2ff. Logos unchanged.
   ===================================================================== */
:root { --blue: #3459ff; --blue-2: #2a4ae6; --blue-3: #5d7aff; --ink: #292929; --mist: #f0f2ff; --soft: #5c5f70; --card: 0 30px 60px -28px rgba(15, 25, 90, .45); --r: 14px; }
.g4 .g-btn.white { background: #fff; border-color: #fff; color: var(--ink); }
.g4 .g-btn.white:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.g4 .g-btn.line-w { background: transparent; border-color: var(--ink); color: var(--ink); }
.g4 .g-btn.line-w:hover { background: var(--ink); color: #fff; }

/* Header sits on the blue hero, then turns white */
.g4 .g-head.on-blue { background: var(--blue); }
.g4 .g-head.on-blue .eye .hole { fill: var(--blue); }
.g4 .g-head.on-blue .g-links a:not(.g-btn)::after { background: var(--ink); }
.g4 .g-head.on-blue .g-kbd { background: transparent; border-color: rgba(41, 41, 41, .35); }
.g4 .g-head.on-blue .g-menu { background: transparent; }
@media (max-width: 960px) { .g4 .g-head.on-blue .g-links { background: var(--blue); } }

/* ---------- Hero: blue field, the promise, and a stage of what we make ---------- */
.v4-hero { background: var(--blue); color: var(--ink); overflow: hidden; }
.v4-hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(32px, 5vw, 72px) clamp(72px, 8vw, 120px); }
.v4-hero h1 { font-size: clamp(76px, 11vw, 196px); line-height: .84; letter-spacing: -.01em; }
.v4-hero .lede { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.55; max-width: 40ch; margin: 28px 0 0; color: var(--ink); }
.v4-hero .g-acts { margin-top: 34px; }
.v4-trio { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; padding: 0; list-style: none; }
.v4-trio li { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff; font-weight: 600; font-size: 15px; }
.v4-trio li b { color: var(--ink); font-weight: 700; }

.v4-stage { position: relative; aspect-ratio: 1 / .86; perspective: 1200px; }
.v4-stage > * { position: absolute; will-change: transform; transition: transform 700ms var(--ease); }
.v4-stage .p-browser { left: 4%; top: 10%; width: 66%; }
.v4-stage .p-phone { right: 2%; top: 2%; width: 24%; }
.v4-stage .p-gbp { left: 0; bottom: 4%; width: 44%; }
.v4-stage .p-stand { right: 6%; bottom: 0; width: 30%; }
.v4-stage .p-brand { left: 44%; bottom: 14%; width: 24%; }
.v4-stage .p-logo { left: 0; top: 0; width: 18%; }

/* ---------- Shared mock pieces (real interface fragments, drawn in HTML) ---------- */
.m-browser { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--card); }
.m-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #eef0fa; }
.m-bar i { width: 8px; height: 8px; border-radius: 50%; background: #c9cde4; }
.m-bar span { margin-left: 8px; padding: 2px 12px; border-radius: 999px; background: #fff; font-size: 11px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #f6f1e8; }
.m-view img { display: block; width: 100%; height: auto; transition: transform 6s cubic-bezier(.45, 0, .55, 1); }
.m-phone { background: var(--ink); border-radius: 26px; padding: 7px; box-shadow: var(--card); }
.m-phone .scr { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 9 / 19; background: #fff; }
.m-phone .scr img { display: block; width: 100%; height: auto; transition: transform 6s cubic-bezier(.45, 0, .55, 1); }
.m-phone .isl { position: absolute; z-index: 2; left: 50%; top: 7px; width: 30%; height: 14px; border-radius: 999px; background: var(--ink); transform: translateX(-50%); }
.m-card { background: #fff; border-radius: var(--r); box-shadow: var(--card); padding: 16px; font-size: 13px; line-height: 1.35; color: var(--ink); }
.m-gbp b { display: block; font-size: 17px; font-family: "Albert Sans", sans-serif; }
.m-stars { display: inline-flex; gap: 2px; color: #fbbc04; font-size: 15px; letter-spacing: 1px; }
.m-stars i { font-style: normal; transition: transform 200ms var(--ease); display: inline-block; }
.m-row { display: flex; align-items: center; gap: 8px; color: var(--soft); margin-top: 4px; }
.m-open { color: #188038; font-weight: 600; }
.m-acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.m-acts span { display: grid; justify-items: center; gap: 4px; font-size: 11px; color: #1a73e8; font-weight: 600; }
.m-acts span::before { content: ""; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #c6d4f6; background: #fff; }
.m-photo { background: #fff; border-radius: var(--r); box-shadow: var(--card); overflow: hidden; }
.m-photo img { display: block; width: 100%; height: auto; }
.m-sw { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.m-sw span { aspect-ratio: 1; border-radius: 10px; }
.m-tile { aspect-ratio: 1; border-radius: var(--r); background: #fff; box-shadow: var(--card); display: grid; place-items: center; padding: 14%; color: var(--ink); }
.m-tile svg { width: 100%; height: auto; }
.m-tile .eye .hole { fill: #fff; }

/* ---------- Statement strip ---------- */
.v4-strip { background: var(--ink); color: #fff; padding-block: clamp(64px, 7vw, 110px); }
.v4-strip-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.v4-strip h2 { grid-column: 1 / -1; font-size: clamp(32px, 3.6vw, 58px); max-width: 22ch; margin-bottom: clamp(16px, 2vw, 28px); }
.v4-strip h2 span { color: var(--blue-3); }
.v4-strip h3 { font-size: 22px; margin-bottom: 10px; color: #fff; }
.v4-strip p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 17px; line-height: 1.6; }
.v4-strip .k { display: block; width: 44px; height: 6px; border-radius: 3px; background: var(--blue); margin-bottom: 20px; }
@media (max-width: 860px) { .v4-strip-in { grid-template-columns: 1fr; } }

/* ---------- Services: sticky index on the left, a visual per service on the right ---------- */
.v4-svc { background: var(--mist); padding-block: clamp(96px, 10vw, 160px); }
.v4-svc-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 88px); }
.v4-index { position: sticky; top: 110px; align-self: start; }
.v4-index h2 { font-size: clamp(40px, 4.4vw, 72px); margin-bottom: 20px; }
.v4-index > p { margin: 0 0 32px; font-size: 17px; line-height: 1.6; color: var(--soft); max-width: 34ch; }
.v4-index ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.v4-index a { display: flex; align-items: center; gap: 14px; padding: 10px 0; color: var(--soft); text-decoration: none; font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: clamp(18px, 1.5vw, 24px); transition: color 200ms ease; }
.v4-index a i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; transition: background-color 200ms ease, transform 300ms var(--ease); }
.v4-index a:hover { color: var(--ink); }
.v4-index a.on { color: var(--blue); }
.v4-index a.on i { background: var(--blue); transform: scale(1.3); }
.v4-panels { display: grid; gap: clamp(72px, 8vw, 128px); }
.v4-panel { scroll-margin-top: 110px; }
.v4-vis { position: relative; border-radius: 22px; background: var(--blue); padding: clamp(24px, 4vw, 56px); overflow: hidden; min-height: 340px; display: grid; place-items: center; }
.v4-vis.white { background: #fff; }
.v4-vis.ink { background: var(--ink); }
.v4-txt { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 40px; margin-top: 30px; }
.v4-txt h3 { grid-column: 1 / -1; font-size: clamp(30px, 2.8vw, 46px); }
.v4-txt p { margin: 0; font-size: 17.5px; line-height: 1.6; }
.v4-txt ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; align-content: start; }
.v4-txt li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 16px; line-height: 1.45; }
.v4-txt li::before { content: ""; width: 11px; height: 6px; margin-top: .45em; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.v4-txt .g-link { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 900px) { .v4-svc-grid { grid-template-columns: 1fr; } .v4-index { position: static; } .v4-index ol { display: none; } .v4-txt { grid-template-columns: 1fr; } }

/* Visual: websites (hover a screen to scroll it) */
.vw { position: relative; width: 100%; max-width: 760px; }
.vw .m-browser { width: 84%; }
.vw .m-phone { position: absolute; right: 0; bottom: -6%; width: 26%; }
.vw:hover .m-view img, .vw:focus-within .m-view img { transform: translateY(calc(-100% + 100cqh)); }
.vw .m-view { container-type: size; }
.vw:hover .m-phone .scr img { transform: translateY(calc(-100% + 100cqh)); }
.vw .m-phone .scr { container-type: size; }
.v-hint { position: absolute; left: 20px; bottom: 16px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 13px; font-weight: 600; }

/* Visual: branding board (click a colour to restyle it) */
.vb { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto; gap: 14px; width: 100%; max-width: 720px; --bc: #3459ff; --bt: #292929; }
.vb-logo { grid-row: span 2; border-radius: var(--r); background: var(--bc); color: var(--bt); display: grid; place-items: center; padding: 16%; transition: background-color 400ms ease, color 400ms ease; box-shadow: var(--card); }
.vb-logo svg { width: 100%; height: auto; }
.vb-logo .eye .hole { fill: var(--bc); transition: fill 400ms ease; }
.vb-type { background: #fff; border-radius: var(--r); padding: 20px; box-shadow: var(--card); }
.vb-type .aa { font-family: var(--display); font-size: clamp(48px, 5vw, 76px); line-height: 1; }
.vb-type small { display: block; margin-top: 8px; font-size: 13px; color: var(--soft); }
.vb-cols { background: #fff; border-radius: var(--r); padding: 18px; box-shadow: var(--card); }
.vb-cols p { margin: 0 0 10px; font-size: 13px; font-weight: 700; }
.vb-cols .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.vb-cols button { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px #d9dcea; cursor: pointer; transition: transform 160ms var(--ease), box-shadow 200ms ease; }
.vb-cols button:hover { transform: scale(1.08); }
.vb-cols button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--ink); }
.vb-card { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; background: #fff; border-radius: var(--r); padding: 20px 22px; box-shadow: var(--card); border-left: 10px solid var(--bc); transition: border-color 400ms ease; font-size: 13px; }
.vb-card b { display: block; font-size: 16px; }
.vb-card svg { width: 120px; height: auto; color: var(--ink); }
@media (max-width: 600px) { .vb { grid-template-columns: 1fr 1fr; } .vb-logo { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 10; padding: 10%; } .vb-logo svg { width: auto; height: 100%; } }

/* Visual: search + AI answer */
.vs { width: 100%; max-width: 640px; display: grid; gap: 12px; }
.vs-q { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 999px; padding: 14px 22px; box-shadow: var(--card); font-size: 16px; }
.vs-q i { width: 16px; height: 16px; border: 2.5px solid var(--soft); border-radius: 50%; position: relative; flex: none; }
.vs-q i::after { content: ""; position: absolute; right: -6px; bottom: -6px; width: 7px; height: 2.5px; background: var(--soft); transform: rotate(45deg); }
.vs-q .cur { width: 2px; height: 20px; background: var(--ink); margin-left: -8px; animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.vs-ai { background: #fff; border-radius: var(--r); padding: 18px 20px; box-shadow: var(--card); font-size: 14.5px; line-height: 1.5; }
.vs-ai b.t { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 8px; color: var(--blue); }
.vs-ai b.t::before { content: "\2726"; }
.vs-r { background: #fff; border-radius: var(--r); padding: 16px 20px; box-shadow: var(--card); font-size: 14px; line-height: 1.45; transition: transform 300ms var(--ease); }
.vs-r:hover { transform: translateX(6px); }
.vs-r .u { color: #188038; font-size: 12.5px; }
.vs-r .h { display: block; color: #1a0dab; font-size: 18px; margin: 2px 0 4px; }
.vs-r.top { outline: 3px solid var(--ink); }

/* Visual: Google profile on a drawn map */
.vg { position: relative; width: 100%; max-width: 680px; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: #e8ecf9; box-shadow: var(--card); }
.vg svg.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.vg .pin { position: absolute; left: 62%; top: 30%; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; background: #ea4335; transform: rotate(-45deg); box-shadow: 0 10px 20px -6px rgba(0, 0, 0, .4); }
.vg .pin::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #fff; }
.vg .m-card { position: absolute; left: 4%; bottom: 6%; width: min(62%, 330px); }
.vg .m-card:hover .m-stars i { transform: translateY(-3px) scale(1.15); }
.vg .m-card:hover .m-stars i:nth-child(2) { transition-delay: 40ms; } .vg .m-card:hover .m-stars i:nth-child(3) { transition-delay: 80ms; } .vg .m-card:hover .m-stars i:nth-child(4) { transition-delay: 120ms; } .vg .m-card:hover .m-stars i:nth-child(5) { transition-delay: 160ms; }

/* Visual: social profile with the real posts */
.vso { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; width: 100%; max-width: 680px; }
.vso .m-phone { width: min(260px, 52vw); }
.ig { padding: 26px 8px 8px; font-size: 10px; }
.ig-top { display: flex; align-items: center; gap: 10px; padding: 0 4px 10px; }
.ig-top .av { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; color: var(--ink); }
.ig-top .av svg { width: 80%; }
.ig-top .av .eye .hole { fill: var(--blue); }
.ig-top b { display: block; font-size: 11px; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.ig-grid img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 250ms var(--ease); }
.ig-grid img:hover { transform: scale(1.08); position: relative; z-index: 1; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .4); }
.vso-side { display: grid; gap: 12px; }
.vso-side .chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border-radius: 999px; box-shadow: var(--card); font-weight: 600; font-size: 15px; justify-self: start; }
.vso-side .chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
@media (max-width: 600px) { .vso { grid-template-columns: 1fr; justify-items: center; } .vso-side { display: none; } }

/* Visual: print pieces that fan out on hover */
.vp { position: relative; width: 100%; max-width: 620px; aspect-ratio: 16 / 11; }
.vp > * { position: absolute; transition: transform 600ms var(--ease); box-shadow: var(--card); }
.vp .flyer { left: 30%; top: 2%; width: 42%; aspect-ratio: 1 / 1.414; background: var(--blue); border-radius: 6px; padding: 7% 6%; display: flex; flex-direction: column; justify-content: space-between; color: var(--ink); transform: rotate(-3deg); }
.vp .flyer .big { font-family: var(--display); text-transform: uppercase; font-size: clamp(26px, 3.4vw, 46px); line-height: .9; }
.vp .flyer .eyes { display: flex; gap: 4px; width: 40%; }
.vp .flyer .eyes svg { width: 50%; }
.vp .flyer .eyes .hole { fill: var(--blue); }
.vp .flyer small { font-size: 11px; font-weight: 600; }
.vp .menu { left: 4%; top: 14%; width: 34%; aspect-ratio: 1 / 1.414; background: #fff; border-radius: 6px; padding: 6%; font-size: 10.5px; transform: rotate(-9deg); }
.vp .menu b { display: block; font-family: var(--display); text-transform: uppercase; font-size: 15px; margin-bottom: 10px; }
.vp .menu span { display: flex; justify-content: space-between; border-bottom: 1px dotted #c9cbd6; padding: 5px 0; color: var(--soft); }
.vp .bcard { right: 2%; bottom: 6%; width: 40%; aspect-ratio: 85 / 55; background: #fff; border-radius: 8px; padding: 5%; display: flex; flex-direction: column; justify-content: space-between; font-size: 10.5px; transform: rotate(6deg); }
.vp .bcard svg { width: 62%; color: var(--ink); }
.vp .bcard .eye .hole { fill: #fff; }
.vp:hover .menu { transform: rotate(-14deg) translate(-12%, 4%); }
.vp:hover .flyer { transform: rotate(0) translateY(-6%); }
.vp:hover .bcard { transform: rotate(12deg) translate(8%, 6%); }

/* Visual: the real review products */
.vr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 720px; }
.vr a { display: block; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--card); color: var(--ink); text-decoration: none; transition: transform 300ms var(--ease); }
.vr a:hover { transform: translateY(-8px); }
.vr img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.vr span { display: block; padding: 12px 14px; font-weight: 700; font-size: 14px; }
.vr span small { display: block; font-weight: 500; color: var(--soft); }
@media (max-width: 600px) { .vr { grid-template-columns: 1fr 1fr; } .vr a:last-child { display: none; } }

/* ---------- Work cards: blue backdrop for the picture ---------- */
.g4 .g-card-img { background: var(--mist); }
.g4 .g-card-go { background: var(--blue); color: #fff; }

/* ---------- Shop heading block (the phone demo is gone) ---------- */
.v4-shop-head { background: var(--blue); color: var(--ink); padding-block: clamp(80px, 9vw, 140px) 0; }
.v4-shop-head .in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; }
.v4-shop-head h2 { font-size: clamp(44px, 5.4vw, 92px); line-height: .9; }
.v4-shop-head p { margin: 0; font-size: 18px; line-height: 1.6; max-width: 46ch; }
.v4-shop-head ol { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0 0 clamp(56px, 6vw, 90px); list-style: none; counter-reset: t; }
.v4-shop-head li { counter-increment: t; background: rgba(255, 255, 255, .16); border-radius: var(--r); padding: 20px 22px; font-size: 16px; line-height: 1.5; }
.v4-shop-head li b { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 19px; margin-bottom: 6px; }
.v4-shop-head li b::before { content: counter(t) "  "; color: #fff; }
@media (max-width: 860px) { .v4-shop-head .in, .v4-shop-head ol { grid-template-columns: 1fr; } }
.g4 .section.shop { background: var(--mist); padding-top: clamp(56px, 6vw, 90px); }
.g4 .section.shop .section-head .eyebrow { display: none; }

/* ---------- Process on blue ---------- */
.v4-how { background: var(--blue); color: var(--ink); }
.v4-how .g-steps li { border-top-color: var(--ink); }
.v4-how .g-steps li::before { color: #fff; }
.v4-how .g-steps p { color: var(--ink); }
.v4-how .g-top p { color: var(--ink); }

/* ---------- Kind words on white with blue cards ---------- */
.g4 #kind-words { background: #fff; color: var(--ink); }
.g4 #kind-words .g-q { background: var(--mist); }
.g4 #kind-words .g-q:first-child { background: var(--blue); }
.g4 #kind-words .g-q-nav button { border-color: var(--ink); color: var(--ink); }
.g4 #kind-words .g-q-nav button:hover { background: var(--ink); color: #fff; }
.g4 #kind-words .g-top p { color: var(--soft); }

/* ---------- Freddie on mist, with the stacked logo ---------- */
.g4 #freddie { background: var(--mist); }
.v4-me-logo { width: min(260px, 60%); color: var(--ink); margin-top: 32px; }
.v4-me-logo .eye .hole { fill: var(--mist); }

.g4 .g-faq details[open] summary i, .g4 .g-line[aria-expanded="true"] .pm { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Pointer parallax on the hero stage (only answers the pointer) ---------- */
@media (prefers-reduced-motion: reduce) { .v4-stage > *, .m-view img, .m-phone .scr img, .vp > * { transition: none !important; } }
@media (max-width: 900px) {
  .v4-hero-in { grid-template-columns: 1fr; }
  .v4-hero h1 { font-size: clamp(72px, 22vw, 120px); }
  .v4-stage { margin-top: 12px; }
}
.vw.play .m-view img, .vw.play .m-phone .scr img { transform: translateY(calc(-100% + 100cqh)); }
.vp .menu em { font-style: normal; color: var(--ink); font-weight: 600; }
@media (hover: none) { .v-hint { display: none; } }
.m-tile, .vb-logo { display: flex !important; align-items: center; justify-content: center; }
.m-tile > svg, .vb-logo > svg { flex: 1 1 auto; width: 100%; height: auto; max-height: 100%; display: block; }
.vb-logo { padding: 14% 18%; }
.v4-me-logo svg { width: 100%; height: auto; display: block; }
.m-tile { padding: 22px !important; }
.vb-logo { padding: clamp(24px, 4vw, 48px) clamp(28px, 5vw, 64px) !important; }
.p-brand .eye .hole { fill: #292929; }
