/* Froogle home, tidy layer (2026-11-23): same look, less on screen at once. Works with f10.js. */

/* 1. one logo at a time: at the very top (no bar yet) the header's small logo steps aside for the big one.
      As soon as the floating bar appears, the logo is back in it. */
.v9-biglogo .g-head:not(.solid) .g-brand { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.g-head .g-brand { transition: opacity 260ms ease, transform 320ms cubic-bezier(.23, 1, .32, 1); }

/* the hero, spread out: the big logo on its own at the top, then two even halves:
   hello + headline + text + buttons on the left, the photo (bigger, clear of the logo) on the right */
.h8 .h7-hi { margin: 0 0 clamp(12px, 2.2vh, 22px); }
@media (min-width: 901px) {
  .h8 { justify-content: center; gap: clamp(14px, 3.2vh, 48px); }
  .h8 .h8-logo { padding-block: clamp(18px, 4vh, 48px) 0; }
  .h8 .hl { max-width: min(1180px, calc((100svh - 610px) * 3.51)) !important; min-width: min(100%, 620px); }
  .h8 .h8-low { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px clamp(40px, 6vw, 110px); padding-bottom: clamp(24px, 5vh, 64px); }
  .h8 .h8-copy { padding-left: clamp(0px, 3vw, 56px); }
  .h8 .h8-copy h1 { font-size: clamp(30px, min(3.6vw, 6.2svh), 62px) !important; max-width: 13ch; }
  .h8 .h8-copy .lede { max-width: 40ch !important; font-size: clamp(17px, 1.3vw, 21px) !important; line-height: 1.6; }
  .h8 .h8-copy .g-acts { margin-top: clamp(18px, 3vh, 30px); }
  .h8 .h8-pic { grid-row: 1; grid-column: 2; justify-self: center; width: clamp(200px, min(22vw, calc(52svh - 140px)), 360px); margin-top: 0; }
  .h8 .h8-bub { left: -42%; top: 8%; }
}

/* 2. What we do: tabs */
.v9-tabs .v4-panel[hidden] { display: none; }
.v9-tabs .v4-panel.v9-on { animation: v9-in 360ms cubic-bezier(.23, 1, .32, 1); }
.v9-tabs .v4-panels { min-height: 0; }
.v9-tabs .v4-index a { cursor: pointer; }
.v9-tabs .v4-index a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 6px; }
@keyframes v9-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  /* on a phone the list becomes a row of pills you can swipe */
  .v9-tabs .v4-index ol { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 16px 10px; margin: 0 -16px 8px; scrollbar-width: none; }
  .v9-tabs .v4-index ol::-webkit-scrollbar { display: none; }
  .v9-tabs .v4-index li { flex: none; scroll-snap-align: start; }
  .v9-tabs .v4-index a { padding: 9px 14px; border: 1.5px solid rgba(43, 43, 43, .14); border-radius: 999px; background: #fff; font-size: 12px; white-space: nowrap; letter-spacing: .06em; }
  .v9-tabs .v4-index a i { display: none; }
  .v9-tabs .v4-index a.on { background: var(--blue); border-color: var(--blue); color: #fff; }
  .v9-tabs .v4-index > p { margin-bottom: 18px; }
}

/* 3. the shop: a tab per product */
.v9-ptabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.v9-ptabs [role=tab] { display: grid; gap: 2px; text-align: left; padding: 12px 18px; min-width: 150px; border: 1.5px solid rgba(43, 43, 43, .12); border-radius: 16px; background: #fff; color: var(--ink); font: inherit; cursor: pointer; transition: border-color 200ms ease, box-shadow 200ms ease, transform 140ms ease; }
.v9-ptabs [role=tab]:hover { border-color: var(--blue); }
.v9-ptabs [role=tab]:active { transform: scale(.97); }
.v9-ptabs [role=tab][aria-selected=true] { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(52, 89, 255, .25); }
.v9-ptabs b { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.v9-ptabs small { font-size: 13px; opacity: .75; }
.v9-ptabs [role=tab]:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.products.v9-one > .product[hidden] { display: none; }
.products.v9-one > .product:not([hidden]) { animation: v9-in 360ms cubic-bezier(.23, 1, .32, 1); }
@media (max-width: 600px) { .v9-ptabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; } .v9-ptabs [role=tab] { flex: none; min-width: 0; } }
@media (prefers-reduced-motion: reduce) { .v9-tabs .v4-panel.v9-on, .products.v9-one > .product:not([hidden]) { animation: none; } .g-head .g-brand { transition: none; } }
@media (max-width: 900px) { .h8 .h8-logo { padding-bottom: 16px; } }

/* ---------- Contact: book a call (Dec 2026) ---------- */
.ct-book { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 16px 20px 16px 16px; border-radius: 22px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 18px 36px -26px rgba(19, 27, 94, .55), 0 0 0 1px rgba(19, 27, 94, .08); transition: transform 220ms var(--ease), box-shadow 220ms ease; max-width: 520px; }
.ct-book:hover { transform: translateY(-3px); box-shadow: 0 26px 44px -26px rgba(52, 89, 255, .6), 0 0 0 2px var(--blue); }
.ct-book:active { transform: scale(.99); }
.ct-book-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--blue); flex: none; }
.ct-book-ico svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ct-book-t { flex: 1; min-width: 0; font-size: 15px; line-height: 1.45; color: var(--soft); }
.ct-book-t b { display: block; font-size: 17px; color: var(--ink); }
.ct-book-ar { font-size: 22px; color: var(--blue); transition: transform 220ms var(--ease); }
.ct-book:hover .ct-book-ar { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .ct-book, .ct-book-ar { transition: none; } }
