/* =====================================================================
   Froogle v5: the same brand, with more Freddie in it.
   A family of blues so blue and white blend; rounded sheets that slide
   over each other; handwritten notes; stickers you can drag; eyes that
   watch. Loaded after f2.css and f4.css.
   ===================================================================== */
:root {
  --blue: #3459ff; --b700: #2338c9; --navy: #131b5e; --peri: #c9d3ff; --b100: #e3e8ff; --mist: #eef1ff; --cream: #fbfbff;
  --hand: "Caveat", "Comic Sans MS", cursive; --sheet: 48px;
}
body.g5 { background: var(--blue); }
.g5 main { background: var(--blue); }

/* ---------- Sheets: each section is a rounded sheet that overlaps the one before ---------- */
.sheet { position: relative; border-radius: var(--sheet) var(--sheet) 0 0; margin-top: calc(var(--sheet) * -1); z-index: 1; }
.sheet.mist { background: var(--mist); }
.sheet.cream { background: var(--cream); }
.sheet.peri { background: var(--peri); }
.sheet.navy { background: var(--navy); color: #fff; }
.sheet.blue { background: var(--blue); }
@media (max-width: 700px) { :root { --sheet: 28px; } }

/* ---------- Header blends into the hero ---------- */
.g5 .g-head { background: rgba(251, 251, 255, .94); backdrop-filter: none; }
.g5 .g-head.on-blue { background: var(--blue); }

/* ---------- Hero ---------- */
.g5 .v4-hero { position: relative; background: var(--blue); padding-bottom: calc(var(--sheet) + 24px); }
.g5 .v4-hero::before, .g5 .v4-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(70px); opacity: .55; }
.g5 .v4-hero::before { width: 46vw; height: 46vw; right: -10vw; top: -14vw; background: #6f8bff; }
.g5 .v4-hero::after { width: 36vw; height: 36vw; left: -12vw; bottom: -14vw; background: #2a3fd8; }
.g5 .v4-hero-in { position: relative; z-index: 1; }
.g5 .v4-hero h1 { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .22em; }
.g5 .v4-hero h1 .w { display: inline-flex; align-items: baseline; }
.g5 .v4-hero h1 .eye { width: .74em; height: .74em; margin: 0 .015em; align-self: center; transform: translateY(.02em); }
.g5 .v4-hero h1 .eye .ring, .g5 .v4-hero h1 .eye .pupil { fill: var(--ink); }
.g5 .v4-hero h1 .eye .hole { fill: #fff; }
.g5 .v4-trio li { background: rgba(255, 255, 255, .2); }

/* Handwritten notes from Freddie */
.note { font-family: var(--hand); font-weight: 600; font-size: clamp(22px, 1.8vw, 30px); line-height: 1.05; color: var(--ink); display: inline-flex; align-items: flex-start; gap: 6px; pointer-events: none; }
.note svg { width: 64px; height: 48px; flex: none; overflow: visible; }
.note svg path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.note.w { color: #fff; }
.note.b { color: var(--blue); }
.note.abs { position: absolute; z-index: 4; }
.hero-note { left: 2%; top: -4%; transform: rotate(-6deg); }
@media (max-width: 900px) { .hero-note { display: none !important; } }

/* Stickers you can pick up and move */
.stickers { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.sticker { position: absolute; pointer-events: auto; cursor: grab; user-select: none; touch-action: none; display: grid; place-items: center; text-align: center; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; line-height: 1.05; transition: transform 220ms var(--ease), box-shadow 220ms ease; box-shadow: 0 10px 0 -4px rgba(19, 27, 94, .25); }
.sticker:hover { transform: rotate(var(--rt, 0deg)) scale(1.06); }
.sticker.drag { cursor: grabbing; transform: rotate(0deg) scale(1.12) !important; box-shadow: 0 24px 40px -12px rgba(19, 27, 94, .5); transition: none; z-index: 10; }
.sticker { transform: rotate(var(--rt, 0deg)); }
.st-round { width: 128px; height: 128px; border-radius: 50%; background: #fff; color: var(--blue); font-size: 13px; padding: 16px; border: 3px dashed var(--peri); }
.st-round .eyes { display: flex; gap: 2px; margin-bottom: 6px; justify-content: center; }
.st-round .eye { width: 22px; height: 22px; }
.st-round .eye .ring, .st-round .eye .pupil { fill: var(--blue); }
.st-round .eye .hole { fill: #fff; }
.st-pill { padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; }
.st-hand { padding: 10px 18px; border-radius: 6px; background: #fff7c2; color: var(--ink); font-family: var(--hand); text-transform: none; letter-spacing: 0; font-size: 26px; font-weight: 700; box-shadow: 0 10px 0 -4px rgba(19, 27, 94, .2); }
.st-star { width: 120px; height: 120px; color: var(--ink); font-size: 13px; }
.st-star svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.st-star span { position: relative; }
.sticker-hint { position: absolute; z-index: 4; right: var(--pad); bottom: calc(var(--sheet) + 10px); font-family: var(--hand); font-size: 22px; color: rgba(255, 255, 255, .9); transform: rotate(-3deg); }
@media (hover: none) { .sticker-hint { display: none; } }
@media (max-width: 900px) { .stickers .sticker:nth-child(n+3) { display: none; } .st-round { width: 104px; height: 104px; font-size: 11px; } }

/* Peeking eyes over a sheet's top edge */
.peek { position: absolute; top: -34px; z-index: 0; display: flex; gap: 6px; padding: 10px 14px 0; border-radius: 40px 40px 0 0; }
.peek .eye { width: 44px; height: 44px; }
.peek.on-mist { background: var(--mist); } .peek.on-cream { background: var(--cream); } .peek.on-peri { background: var(--peri); } .peek.on-navy { background: var(--navy); }
.peek .eye .ring, .peek .eye .pupil { fill: var(--ink); }
.peek .eye .hole { fill: #fff; }
.peek.on-navy .eye .ring, .peek.on-navy .eye .pupil { fill: #fff; }
.peek.on-navy .eye .hole { fill: var(--navy); }
.peek .say { position: absolute; left: 100%; top: -2px; margin-left: 8px; white-space: nowrap; font-family: var(--hand); font-size: 24px; font-weight: 600; color: #fff; transform: rotate(-4deg); }
.peek.dark-say .say { color: var(--ink); }

/* ---------- Strip in navy, softer ---------- */
.g5 .v4-strip { background: var(--navy); }
.g5 .v4-strip h2 span { color: var(--peri); }
.g5 .v4-strip .k { background: var(--peri); }

/* ---------- Services: on mist, visuals in a family of blues ---------- */
.g5 .v4-svc { background: var(--mist); }
.g5 .v4-vis { background: var(--blue); }
.g5 .v4-vis.white { background: var(--b100); }
.g5 .v4-panel:nth-child(3) .v4-vis { background: var(--b700); }
.g5 .v4-panel:nth-child(5) .v4-vis { background: var(--peri); }
.g5 .v4-panel:nth-child(7) .v4-vis { background: var(--navy); }
.v4-vis .note.abs { right: 22px; top: 18px; transform: rotate(4deg); }
.g5 .v4-index .note { margin-top: 26px; transform: rotate(-3deg); }

/* ---------- Work on cream with a note ---------- */
.g5 #work { background: var(--cream); }
.g5 .g-card-img { background: var(--b100); }
.work-note { display: block; margin: -24px 0 28px auto; width: max-content; transform: rotate(-3deg); }

/* ---------- Review cards head + shop ---------- */
.g5 .v4-shop-head { background: var(--blue); padding-bottom: calc(var(--sheet) + 8px); }
.g5 .v4-shop-head ol { padding-bottom: 24px; }
.g5 .v4-shop-head li { background: rgba(255, 255, 255, .18); }
.g5 .section.shop { background: var(--mist); }
.shop-note { position: absolute; right: var(--pad); top: 30px; transform: rotate(3deg); }
@media (max-width: 900px) { .shop-note { display: none !important; } }

/* ---------- Process on peri ---------- */
.g5 .v4-how { background: var(--peri); }
.g5 .v4-how .g-steps li::before { color: var(--blue); }

/* ---------- Kind words on navy ---------- */
.g5 #kind-words { background: var(--navy); color: #fff; }
.g5 #kind-words .g-top p { color: rgba(255, 255, 255, .75); }
.g5 #kind-words .g-q { background: #fff; color: var(--ink); }
.g5 #kind-words .g-q:nth-child(1) { background: var(--blue); color: #fff; }
.g5 #kind-words .g-q:nth-child(1) figcaption span span { color: rgba(255, 255, 255, .8); }
.g5 #kind-words .g-q:nth-child(2) { background: var(--peri); }
.g5 #kind-words .g-q-nav button { border-color: #fff; color: #fff; }
.g5 #kind-words .g-q-nav button:hover { background: #fff; color: var(--ink); }

/* ---------- Freddie's desk ---------- */
.g5 #freddie { background: var(--cream); overflow: hidden; }
.desk { position: relative; min-height: 420px; border-radius: 28px; background: var(--b100); }
.desk .sticker { position: absolute; }
.desk-item { width: 128px; height: 128px; border-radius: 26px; background: #fff; color: var(--blue); display: grid; place-items: center; box-shadow: 0 10px 0 -4px rgba(19, 27, 94, .18); }
.desk-item svg { width: 62%; height: auto; }
.desk-item svg * { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.desk-item.f { background: var(--blue); color: #fff; }
.desk-item.n { background: var(--navy); color: var(--peri); }
.desk-item.p { background: var(--peri); color: var(--navy); }
.desk-item small { position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%) rotate(-3deg); white-space: nowrap; font-family: var(--hand); font-size: 22px; font-weight: 600; color: var(--ink); text-transform: none; letter-spacing: 0; }
.desk .note.abs { left: 22px; top: 18px; }
.g5 .g-me { align-items: center; }
.g5 .g-me p { font-size: 19px; }
.me-sign { font-family: var(--hand); font-size: 44px; font-weight: 700; color: var(--blue); margin-top: 8px; transform: rotate(-4deg); display: inline-block; }
@media (max-width: 860px) { .desk { min-height: 380px; order: 2; } }

/* ---------- FAQ + contact ---------- */
.g5 #faq { background: var(--cream); }
.g5 .g-contact { background: var(--peri); }
.g5 .g-contact .enquiry { background: #fff; }
.g5 .g-contact h2 { display: flex; flex-wrap: wrap; align-items: center; gap: .1em .25em; }
.contact-note { display: inline-block; margin-top: 18px; transform: rotate(-3deg); }

/* ---------- Footer: blue, like the hero; the big name watches you ---------- */
.g5 .g-foot { position: relative; z-index: 2; margin-top: calc(var(--sheet) * -1); border-radius: var(--sheet) var(--sheet) 0 0; }
.g5 .g-foot h3 { color: rgba(255, 255, 255, .9); }
.foot-note { color: #fff; margin-top: 14px; transform: rotate(-3deg); display: inline-block; }

/* Quirky details */
.g5 .g-btn { box-shadow: 0 6px 0 -2px rgba(19, 27, 94, .35); }
.g5 .g-btn:active { transform: translateY(3px) scale(.98); box-shadow: 0 2px 0 -1px rgba(19, 27, 94, .35); }
.g5 ::selection { background: var(--peri); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .sticker, .sticker:hover { transition: none; } }
.g5 .v4-hero h1 .w { align-items: center; }
.g5 .v4-hero h1 .h-eyes { display: inline-flex; gap: .04em; margin-left: .18em; }
.g5 .v4-hero h1 .h-eyes .eye { width: .62em; height: .62em; }
.g5 #kind-words .g-q figcaption b { color: inherit; }
.g5 .v4-hero h1 { column-gap: 0; }
.g5 .v4-hero h1 .w { width: 100%; }
@media (max-width: 700px) { .peek { left: 6% !important; } .peek .eye { width: 34px; height: 34px; } }
.g5 main, .g5 .sheet { overflow-x: clip; }
.g5 #kind-words .g-q:nth-child(1) figcaption > span, .g5 #kind-words .g-q:nth-child(1) figcaption b { color: #fff; }
.g5 #kind-words .g-q figcaption > span > b { color: inherit; }
.g5 #kind-words .g-q:not(:first-child) figcaption > span { color: var(--ink); }

/* =====================================================================
   v6: Freddie's photos and the travel map
   ===================================================================== */
/* Face sticker in the hero */
.stk-face { width: 118px; height: 118px; border-radius: 50%; padding: 0; background: #fff; border: 5px solid #fff; overflow: visible; }
.stk-face img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; pointer-events: none; }
.stk-face .bub { position: absolute; left: 76%; top: -18px; white-space: nowrap; padding: 6px 12px; border-radius: 14px 14px 14px 4px; background: #fff7c2; color: var(--ink); font-family: var(--hand); text-transform: none; letter-spacing: 0; font-size: 22px; font-weight: 700; box-shadow: 0 6px 0 -2px rgba(19, 27, 94, .2); }

/* Hi, I'm Freddie: the pointing photo as a polaroid */
.me6 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.me6 h2 { font-size: clamp(44px, 5.6vw, 96px); line-height: .9; }
.me6 p { font-size: 19px; line-height: 1.65; margin: 0 0 16px; max-width: 52ch; }
.me6 .lead { font-size: clamp(21px, 1.7vw, 26px); line-height: 1.45; font-weight: 500; margin-top: 22px; }
.polaroid { position: relative; margin: 0; background: #fff; padding: 14px 14px 64px; border-radius: 6px; box-shadow: 0 30px 60px -24px rgba(19, 27, 94, .45); transform: rotate(-3deg); transition: transform 500ms var(--ease); max-width: 460px; justify-self: center; }
.polaroid:hover { transform: rotate(0deg) scale(1.02); }
.polaroid img { display: block; width: 100%; height: auto; border-radius: 2px; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-family: var(--hand); font-size: 30px; font-weight: 700; color: var(--ink); }
.polaroid .tape { position: absolute; left: 50%; top: -14px; width: 110px; height: 30px; background: rgba(201, 211, 255, .85); transform: translateX(-50%) rotate(2deg); }
.polaroid.small { position: absolute; width: 46%; right: -6%; bottom: -10%; padding: 9px 9px 40px; transform: rotate(6deg); }
.polaroid.small figcaption { font-size: 22px; bottom: 8px; }
.polaroid.small:hover { transform: rotate(2deg) scale(1.04); }
.me6-pics { position: relative; padding-bottom: 12%; }
.me6 .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.me6 .tags li { padding: 8px 14px; border-radius: 999px; background: var(--b100); font-weight: 600; font-size: 15px; }
@media (max-width: 900px) { .me6 { grid-template-columns: 1fr; } .me6-pics { max-width: 420px; margin: 0 auto; } }

/* Travel map */
.travel { background: var(--navy); color: #fff; }
.travel .g-top p { color: rgba(255, 255, 255, .8); }
.mp { position: relative; margin-top: 8px; }
.mp-svg { display: block; width: 100%; height: auto; }
.mp-land { fill: none; stroke: rgba(201, 211, 255, .28); stroke-width: 6.2; stroke-linecap: round; }
.mp-hot { fill: none; stroke: var(--blue); stroke-width: 7.4; stroke-linecap: round; }
.mp-pin { position: absolute; z-index: 2; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.mp-dot { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #fff; border: 6px solid var(--blue); box-shadow: 0 8px 16px -4px rgba(0, 0, 0, .5); transition: transform 260ms var(--ease), background-color 200ms ease; order: 2; }
.mp-lbl { order: 1; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 13px; white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity 200ms ease, transform 260ms var(--ease); }
.mp-pin:hover .mp-dot, .mp-pin[aria-expanded="true"] .mp-dot, .mp-pin:focus-visible .mp-dot { transform: rotate(-45deg) scale(1.25); background: var(--peri); }
.mp-pin:hover .mp-lbl, .mp-pin[aria-expanded="true"] .mp-lbl, .mp-pin:focus-visible .mp-lbl { opacity: 1; transform: none; }
.mp-card { position: absolute; z-index: 5; width: min(300px, 72vw); background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 12px 6px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); transform: translate(24px, -50%) rotate(1.5deg); animation: mpIn 260ms var(--ease); }
.mp-card.l { transform: translate(calc(-100% - 24px), -50%) rotate(-1.5deg); }
@keyframes mpIn { from { opacity: 0; } }
.mp-where { margin: 2px 4px 10px; font-size: 14px; color: var(--soft); }
.mp-where b { display: block; color: var(--ink); font-size: 18px; }
.mp-card figure { margin: 0 0 10px; }
.mp-card img { display: block; width: 100%; height: auto; border-radius: 8px; }
.mp-card figcaption { font-family: var(--hand); font-size: 22px; font-weight: 600; line-height: 1.1; margin: 8px 4px 0; }
.travel-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.travel-list button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; font: 600 15px "Albert Sans", sans-serif; cursor: pointer; transition: background-color 200ms ease, color 200ms ease; }
.travel-list button:hover, .travel-list button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.travel .note { color: var(--peri); }
@media (max-width: 700px) {
  .mp-card, .mp-card.l { position: fixed; left: 50% !important; top: auto !important; bottom: 16px; transform: translateX(-50%); width: min(340px, calc(100vw - 32px)); }
  .mp-lbl { display: none; }
  .mp-dot { width: 20px; height: 20px; border-width: 5px; }
}
@media (max-width: 700px) { .mp-scroll { overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding: 40px var(--pad) 8px; scrollbar-width: none; } .mp-scroll::-webkit-scrollbar { display: none; } .mp { min-width: 820px; } .me6-pics { padding-bottom: 30%; margin-bottom: 12px; } }
@media (max-width: 700px) { .me6-pics { padding-bottom: 40%; } }

/* Travel map cards (29 Nov 2026): square photos in a swipeable strip, arrows and "2 of 5" for countries with several photos. */
.mp-pins { position: absolute; inset: 0; pointer-events: none; }
.mp-pins > * { pointer-events: auto; }
.mp-card { width: min(320px, 76vw); padding: 12px 12px 10px; }
.mp-where { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.mp-where b { display: inline; }
.mp-place { font-size: 13px; color: var(--soft); text-align: right; }
.mp-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 10px; overscroll-behavior-x: contain; }
.mp-track::-webkit-scrollbar { display: none; }
.mp-track figure { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.mp-track img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; background: #eef0fb; }
.mp-track figcaption { min-height: 2.2em; }
.mp-nav { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 0; }
.mp-nav button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #eef0fb; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; transition: background-color 160ms ease, transform 160ms ease; }
.mp-nav button:hover { background: var(--peri); }
.mp-nav button:active { transform: scale(.94); }
.mp-count { font-size: 13px; font-weight: 600; color: var(--soft); }
.mp-lbl { pointer-events: none; }  /* hidden labels must not block the pin next door (Greece sat over Italy) */
.mp-pin { gap: 0; }
.mp-lbl { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translate(-50%, 4px); }
.mp-pin:hover .mp-lbl, .mp-pin[aria-expanded="true"] .mp-lbl, .mp-pin:focus-visible .mp-lbl { transform: translate(-50%, 0); }
