/* Showcase homepage wireframe in a browser window (includes/visuals/browser.php) */
.bw { min-width: 0; }
.bw-win { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 34px 70px -28px rgba(12, 43, 21, .32), 0 2px 6px rgba(12, 43, 21, .06); }
.bw-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; background: #ebe7e1; border-bottom: 1px solid var(--line); }
.bw-dots { display: flex; gap: 7px; flex: none; }
.bw-dots span { width: 11px; height: 11px; border-radius: 50%; background: #cfcac2; }
.bw-url { display: inline-flex; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; max-width: 340px; margin: 0 auto; padding: 4px 14px; border-radius: 999px; background: var(--white); font-size: 12.5px; line-height: 1.4; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bw-lock { position: relative; flex: none; width: 9px; height: 7px; margin-top: 4px; border-radius: 2px; background: var(--green-text); }
.bw-lock::before { content: ""; position: absolute; left: 1.5px; top: -5px; width: 6px; height: 6px; border: 1.5px solid var(--green-text); border-bottom: 0; border-radius: 4px 4px 0 0; box-sizing: border-box; }

/* skeleton pieces */
.bw-s { display: block; }
.bw-l { height: 7px; border-radius: 4px; background: #e8e4de; width: 100%; }
.bw-l + .bw-l { margin-top: 7px; }
.bw-l--30 { width: 30%; } .bw-l--60 { width: 60%; } .bw-l--70 { width: 70%; } .bw-l--80 { width: 80%; }
.bw-l--dk { background: #cfcac2; }
.bw-l--gr { background: var(--sage); }

/* page blocks: numbered markers sit in the left margin of each block */
.bw-blk { position: relative; padding: 14px 18px 14px 44px; }
.bw-spot {
  position: absolute; left: 11px; top: 50%; z-index: 2; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
  display: grid; place-items: center; background: var(--forest); color: var(--green); font-size: 12.5px; font-weight: 700; line-height: 1;
  box-shadow: 0 0 0 3px var(--white);
}
.bw-spot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--green-2); opacity: 0; }

.bw-hdr { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid #efece7; }
.bw-logo { width: 74px; height: 18px; border-radius: 5px; background: var(--forest); flex: none; }
.bw-nav { display: flex; gap: 12px; flex: 1 1 auto; justify-content: flex-end; min-width: 0; }
.bw-l--nav { width: 38px; }
.bw-nav .bw-l + .bw-l { margin-top: 0; }
.bw-tel { flex: none; display: grid; place-items: center; width: 92px; height: 26px; border-radius: 999px; background: var(--green); }
.bw-l--tel { width: 56px; height: 6px; background: var(--forest); opacity: .75; }

.bw-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 22px; align-items: center; padding-top: 22px; padding-bottom: 22px; background: #f8f6f3; }
.bw-h1 { height: 15px; border-radius: 5px; background: var(--forest); width: 92%; margin-top: 12px; }
.bw-h1--2 { width: 64%; margin-top: 8px; margin-bottom: 14px; }
.bw-btns { display: flex; gap: 10px; margin-top: 16px; }
.bw-btn { width: 92px; height: 26px; border-radius: 7px; background: var(--forest); flex: none; }
.bw-btn--ghost { width: 76px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--forest); }
.bw-btn--green { background: var(--green); }
.bw-photo { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: linear-gradient(180deg, #d6eee2 0%, var(--sage) 100%); }
.bw-sun { position: absolute; right: 18%; top: 18%; width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--white); opacity: .85; }
.bw-hill { position: absolute; left: -10%; right: -10%; bottom: -38%; height: 75%; border-radius: 50% 50% 0 0; background: var(--forest-2); opacity: .85; }
.bw-hill::after { content: ""; position: absolute; left: 45%; right: -20%; top: 22%; height: 120%; border-radius: 50% 50% 0 0; background: var(--forest); }

.bw-proof { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid #efece7; }
.bw-stars { display: flex; gap: 3px; flex: none; }
.bw-star { width: 12px; height: 12px; background: var(--green-2); clip-path: polygon(50% 0, 62% 36%, 100% 38%, 70% 60%, 80% 100%, 50% 77%, 20% 100%, 30% 60%, 0 38%, 38% 36%); }
.bw-pf { display: flex; align-items: center; gap: 7px; flex: 1 1 0; min-width: 0; }
.bw-badge { width: 20px; height: 20px; border-radius: 50%; background: var(--mint); box-shadow: inset 0 0 0 1.5px var(--green-2); flex: none; }
.bw-l--pf { max-width: 70px; }

.bw-fold { position: relative; height: 0; border-top: 1.5px dashed #7d8a80; margin: 10px 0; }
.bw-fold span { position: absolute; right: 14px; top: -12px; padding: 3px 10px; border-radius: 999px; background: var(--forest); color: var(--white); font-size: 12px; font-weight: 600; line-height: 1.3; }

.bw-offers { padding-top: 18px; }
.bw-l--title { height: 10px; margin-bottom: 14px; }
.bw-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bw-card { display: block; padding: 12px; border: 1px solid #e8e4de; border-radius: 9px; }
.bw-ico { width: 22px; height: 22px; border-radius: 6px; background: var(--mint); box-shadow: inset 0 0 0 1.5px var(--green-2); margin-bottom: 10px; }
.bw-card .bw-l--gr { background: var(--green-2); margin-top: 12px; }

.bw-work { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 14px; align-items: stretch; }
.bw-gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bw-pic { display: block; aspect-ratio: 5 / 4; border-radius: 8px; background: linear-gradient(160deg, #e3ddd5, #cfc8bd); }
.bw-pic:nth-child(2) { background: linear-gradient(160deg, var(--sage), #93c9ae); }
.bw-quote { display: flex; flex-direction: column; justify-content: center; padding: 12px 14px; border-radius: 9px; background: var(--paper); }
.bw-qmark { width: 16px; height: 10px; margin-bottom: 9px; background: radial-gradient(circle at 25% 50%, var(--green-text) 3.5px, transparent 4px), radial-gradient(circle at 75% 50%, var(--green-text) 3.5px, transparent 4px); }
.bw-who { display: flex; align-items: center; gap: 8px; margin-top: 11px; }
.bw-who .bw-l { margin: 0; }
.bw-av { width: 18px; height: 18px; border-radius: 50%; background: #cfcac2; flex: none; }

.bw-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 6px 18px 0 44px; padding: 18px 20px; border-radius: 10px; background: var(--forest); }
.bw-cta .bw-spot { left: -33px; }
.bw-l--cta { width: 44%; height: 9px; background: rgba(255, 255, 255, .55); }
.bw-btn--green { width: 104px; }

.bw-foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 18px; margin-top: 14px; padding-top: 18px; padding-bottom: 20px; background: #f4f2ef; }
.bw-pin { position: relative; width: 18px; height: 22px; align-self: center; }
.bw-pin::before { content: ""; position: absolute; left: 1px; top: 0; width: 16px; height: 16px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--white); box-shadow: inset 0 0 0 5px var(--green-text); }

/* notes */
.bw-notes-t { margin: 30px 0 14px; }
.bw-notes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 28px; }
.bw-note { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 2px 12px; align-items: start; align-content: start; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.bw-n { grid-row: span 2; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--green); font-size: 12.5px; font-weight: 700; line-height: 1; }
.bw-note-t { font-weight: 600; color: var(--forest); font-size: 15px; }
.bw-note-d { grid-column: 2; }
@media (min-width: 600px) { .bw-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 520px) {
  .bw-blk { padding: 11px 12px 11px 38px; }
  .bw-spot { left: 8px; width: 22px; height: 22px; margin-top: -11px; font-size: 12px; }
  .bw-nav { display: none; }
  .bw-hdr { justify-content: space-between; }
  .bw-hero { gap: 12px; }
  .bw-h1 { height: 11px; }
  .bw-btn { width: 64px; height: 20px; } .bw-btn--ghost { display: none; }
  .bw-pf:nth-child(4) { display: none; }
  .bw-cards { gap: 7px; } .bw-card { padding: 8px; }
  .bw-cta { margin: 4px 12px 0 38px; padding: 14px; }
  .bw-cta .bw-spot { left: -30px; }
  .bw-btn--green { width: 72px; }
  .bw-foot { gap: 10px; }
  .bw-url { padding: 3px 10px; }
}

/* animation: the page builds block by block, the fold line draws, the markers pop and pulse, the notes follow */
.bw-b2 { --bw-i: 1; } .bw-b3 { --bw-i: 2; } .bw-b4 { --bw-i: 3; } .bw-b5 { --bw-i: 4; } .bw-b6 { --bw-i: 5; } .bw-b7 { --bw-i: 6; }
.bw-note--2 { --bw-i: 1; } .bw-note--3 { --bw-i: 2; } .bw-note--4 { --bw-i: 3; } .bw-note--5 { --bw-i: 4; } .bw-note--6 { --bw-i: 5; } .bw-note--7 { --bw-i: 6; }
.js .vz-figure .bw-blk { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .5s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(.2s + var(--bw-i, 0) * .14s); }
.js .vz-figure .bw-fold { transform: scaleX(0); transform-origin: left; transition: transform .6s ease .55s; }
.js .vz-figure .bw-spot { opacity: 0; transform: scale(.4); transition: opacity .3s ease, transform .45s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(1.25s + var(--bw-i, 0) * .12s); }
.js .vz-figure .bw-note { opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .5s ease; transition-delay: calc(1.4s + var(--bw-i, 0) * .08s); }
.js .vz-figure.is-visible .bw-blk, .js .vz-figure.is-visible .bw-spot, .js .vz-figure.is-visible .bw-note { opacity: 1; transform: none; }
.js .vz-figure.is-visible .bw-fold { transform: none; }
.js .vz-figure.is-visible .bw-spot::after { animation: bw-pulse 3.5s ease-out infinite; animation-delay: calc(2.4s + var(--bw-i, 0) * .5s); }
@keyframes bw-pulse { 0% { transform: scale(1); opacity: .9; } 45%, 100% { transform: scale(1.9); opacity: 0; } }

/* the wireframe is much taller than the heading: keep the heading in view while it scrolls past */
@media (min-width: 1000px) {
  .vz--browser.vz--side { align-items: start; }
  .vz--browser .vz-head { position: sticky; top: 120px; }
}
