/* Animated Logos, Included · lane 17-logo-reveal · prefix lgr
   A specimen card for a made-up client: the mark is drawn in ink, the wordmark letters settle,
   a gold flourish opens from the centre, then the brand's footer scene keeps a quiet, seeded life.
   Without JS every brand rests finished and lit. Only transform / opacity / filter / dashoffset animate. */
.lgr{--lgr-ink:#141142;--lgr-acc:#c2481f;--lgr-gold:#a87a26;--lgr-ease:cubic-bezier(.16,1,.3,1);--lgr-pen:cubic-bezier(.62,.04,.3,1);
  position:relative;background:#f7f5f1;color:#1f2937;font-family:var(--fx-sans,'Poppins',system-ui,sans-serif);padding:clamp(3rem,6vw,5.5rem) 1.25rem;overflow:hidden}
.lgr *,.lgr *::before,.lgr *::after{box-sizing:border-box}
.lgr::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(60% 70% at 78% 40%,rgba(20,17,66,.06),transparent 70%),radial-gradient(40% 50% at 8% 90%,rgba(230,73,37,.05),transparent 70%)}
.lgr-in{position:relative;max-width:1200px;margin:0 auto;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(2rem,5vw,4.5rem);align-items:center}
.lgr-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---------- copy + brand picker ---------- */
.lgr-kick{margin:0 0 .6rem;color:#c93812;font-weight:600;letter-spacing:.14em;text-transform:uppercase;font-size:.75rem}
.lgr-h{margin:0;font-family:var(--fx-serif,'Playfair Display',Georgia,serif);font-weight:700;color:var(--fx-navy,#141142);font-size:clamp(1.75rem,3.2vw,2.6rem);line-height:1.12}
.lgr-p{margin:1rem 0 1.6rem;max-width:34ch;line-height:1.7;color:#3f3d56;font-size:1rem}
.lgr-row{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
.lgr-pick{display:flex;flex-wrap:wrap;gap:.5rem}
.lgr-btn{min-height:44px;min-width:44px;padding:.55rem 1.1rem;border:1.5px solid rgba(20,17,66,.35);border-radius:999px;background:transparent;color:#141142;
  font:500 .9rem/1 var(--fx-sans,'Poppins',system-ui,sans-serif);cursor:pointer;transition:background-color .25s ease,color .25s ease,border-color .25s ease;-webkit-tap-highlight-color:transparent}
.lgr-btn:hover{border-color:#141142;background:rgba(20,17,66,.06)}
.lgr-btn[aria-pressed="true"]{background:#141142;border-color:#141142;color:#fff}
.lgr-btn:focus{outline:none}
.lgr-btn:focus-visible{outline:3px solid #c93812;outline-offset:3px}
.lgr:not(.lgr-js) .lgr-pick{display:none}

/* ---------- the specimen card ---------- */
.lgr-stage{min-width:0}
.lgr-card{position:relative;border-radius:14px;overflow:hidden;background:#fbf7ee;box-shadow:0 1px 0 rgba(255,255,255,.8) inset,0 28px 60px -34px rgba(20,17,66,.55),0 2px 10px -4px rgba(20,17,66,.18)}
.lgr-brand{margin:0}
.lgr-brand[hidden]{display:none}
.lgr-tag{position:absolute;top:.85rem;left:1rem;z-index:2;font-size:.75rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#8a4a2c}
.lgr-logo{position:relative;height:clamp(250px,24vw,290px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem 1rem 1.25rem;
  background:radial-gradient(70% 90% at 50% 40%,#fffdf7 0%,#f6efe0 70%,#efe5d0 100%)}
.lgr-mark{width:clamp(84px,8.4vw,112px);height:auto;overflow:visible}
.lgr-ink{fill:none;stroke:var(--lgr-ink);stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 1;stroke-dashoffset:0}
.lgr-ink.lgr-acc{stroke:var(--lgr-acc)}
.lgr-wash{transform-box:fill-box;transform-origin:50% 50%;filter:blur(1.6px)}
.lgr-word{margin:.55rem 0 0;font-family:var(--fx-serif,'Playfair Display',Georgia,serif);font-weight:700;font-size:clamp(1.65rem,2.7vw,2.25rem);line-height:1.1;color:var(--lgr-ink);letter-spacing:.005em;white-space:nowrap}
.lgr-word em{font-style:italic;font-weight:400;color:var(--lgr-acc);padding:0 .04em}
.lgr-ch{display:inline-block;white-space:pre}
.lgr-fl{display:block;width:clamp(170px,17vw,210px);height:auto;margin:.35rem 0 .2rem;overflow:visible}
.lgr-fll{fill:none;stroke:var(--lgr-gold);stroke-width:1.6;stroke-linecap:round;stroke-dasharray:1 1;stroke-dashoffset:0}
.lgr-gem{fill:#d9a945;stroke:#a87a26;stroke-width:.8;transform-box:fill-box;transform-origin:50% 50%}
.lgr-spark{fill:#f9dd9a;opacity:0;transform-box:fill-box;transform-origin:50% 50%}
.lgr-sub{margin:.15rem 0 0;font-size:.75rem;font-weight:600;letter-spacing:.32em;text-transform:uppercase;color:#4a4668;padding-left:.32em}

/* brand inks */
.lgr-bakery{--lgr-ink:#3a2016;--lgr-acc:#c2481f}
.lgr-landscaper{--lgr-ink:#123328;--lgr-acc:#2f7a55}
.lgr-landscaper .lgr-sub{color:#2e4a40}
.lgr-law{--lgr-ink:#141142;--lgr-acc:#a87a26}

/* ---------- footer scene ---------- */
.lgr-foot{position:relative;background:#0c0a2e;color:#d8d5ea}
.lgr-foot .lgr-tag{color:#f9dd9a;opacity:.85}
.lgr-scene{display:block;width:100%;height:clamp(132px,13vw,170px)}
.lgr-fbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.6rem 1rem .7rem;border-top:1px solid rgba(249,221,154,.14);background:#0a0826;font-size:.78rem}
.lgr-fname{font-family:var(--fx-serif,'Playfair Display',Georgia,serif);color:#f9dd9a;font-size:.86rem;white-space:nowrap}
.lgr-flinks{display:flex;gap:.6rem;align-items:center;color:#c9c5e4;letter-spacing:.06em}
.lgr-flinks i{width:3px;height:3px;border-radius:50%;background:#e64925;display:inline-block}
.lgr-cap{margin:.75rem .25rem 0;font-size:.8125rem;font-style:italic;color:#5a566e}

.lgr-stars circle{fill:#f2e8d4;opacity:.7;transform-box:fill-box;transform-origin:50% 50%}
.lgr-moon{fill:#f2e8d4;opacity:.92}
.lgr-shim path{fill:none;stroke:#8f8ad0;stroke-opacity:.38;stroke-width:1.2;stroke-linecap:round}
.lgr-refl{fill:none;stroke:#ffcf7a;stroke-opacity:.45;stroke-width:1.4;stroke-linecap:round}
.lgr-pines{fill:#07061d}
.lgr-halo,.lgr-lampg{transform-box:fill-box;transform-origin:50% 50%}
.lgr-wisp{fill:none;stroke:#d8d5ea;stroke-width:2.2;stroke-linecap:round;opacity:0;transform-box:fill-box;transform-origin:50% 100%}
.lgr-lant,.lgr-lant-g{transform-box:fill-box;transform-origin:50% 50%}
.lgr-grass path{fill:none;stroke:#143a35;stroke-width:1.5;stroke-linecap:round}
.lgr-grass{transform-box:fill-box;transform-origin:50% 100%}
.lgr-ff0 circle{fill:#f6e27a;opacity:.55;filter:blur(2.5px)}
.lgr-ffs circle{fill:#fff2a8}
.lgr-ffs .lgr-ffh{fill:#f6e27a;opacity:.5;filter:blur(3px)}
.lgr-ffi{opacity:0}
.lgr-w{fill:#ffd890;opacity:0}
.lgr-w.lgr-on{opacity:1}
.lgr-far rect{fill:#f9dd9a;opacity:.4}
.lgr-plq{fill:#b88a2f}

/* ---------- arrival (piece.js adds .lgr-wait, then .lgr-go) ---------- */
.lgr-wait .lgr-mark,.lgr-wait .lgr-wl,.lgr-wait .lgr-fl,.lgr-wait .lgr-sub,.lgr-wait .lgr-scene,.lgr-wait .lgr-fbar{opacity:0}
.lgr-go .lgr-ink{animation:lgr-draw var(--d,.5s) var(--lgr-pen) calc(var(--t,0s) + .1s) both}
.lgr-go .lgr-wash{animation:lgr-bloom 1.9s var(--lgr-ease) .25s both}
.lgr-go .lgr-ch{animation:lgr-set .95s var(--lgr-ease) calc(.95s + var(--i,0) * 46ms) both}
.lgr-go .lgr-fll{animation:lgr-draw 1s var(--lgr-pen) 1.55s both}
.lgr-go .lgr-gem{animation:lgr-pop .7s cubic-bezier(.3,1.6,.5,1) 1.5s both}
.lgr-go .lgr-spark{animation:lgr-sparkle 1s ease-out 2.25s both}
.lgr-go .lgr-sub{animation:lgr-rise .9s var(--lgr-ease) 1.85s both}
.lgr-go .lgr-scene{animation:lgr-rise 1.3s var(--lgr-ease) .55s both}
.lgr-go .lgr-fbar{animation:lgr-fade .9s ease-out 1.3s both}
.lgr-go .lgr-lt{animation:lgr-light 1.1s ease-out calc(1.7s + var(--i,0) * .28s) both}
.lgr-go .lgr-w.lgr-on{animation:lgr-light 1s ease-out calc(1.6s + var(--wi,0) * .17s) both}

@keyframes lgr-draw{0%{stroke-dashoffset:1;opacity:0}6%{opacity:1}100%{stroke-dashoffset:0;opacity:1}}
@keyframes lgr-bloom{0%{opacity:0;transform:scale(.45);filter:blur(10px)}100%{opacity:1;transform:none;filter:blur(1.6px)}}
@keyframes lgr-set{0%{opacity:0;transform:translateY(-.55em) rotate(-5deg);filter:blur(5px)}55%{opacity:1;transform:translateY(.05em) rotate(.5deg);filter:blur(0)}80%{transform:translateY(-.012em)}100%{opacity:1;transform:none;filter:blur(0)}}
@keyframes lgr-pop{0%{opacity:0;transform:scale(0) rotate(-90deg)}100%{opacity:1;transform:none}}
@keyframes lgr-sparkle{0%{opacity:0;transform:scale(.2) rotate(0)}28%{opacity:1;transform:scale(1.15) rotate(20deg)}100%{opacity:0;transform:scale(.5) rotate(60deg)}}
@keyframes lgr-rise{0%{opacity:0;transform:translateY(10px);filter:blur(3px)}100%{opacity:1;transform:none;filter:blur(0)}}
@keyframes lgr-fade{0%{opacity:0}100%{opacity:1}}
@keyframes lgr-light{0%{opacity:0}35%{opacity:.85}48%{opacity:.35}100%{opacity:1}}

/* ---------- quiet life (piece.js kicks these on a seeded schedule) ---------- */
.lgr-gem.lgr-k{animation:lgr-glint 1.4s ease-in-out both}
.lgr-spark.lgr-k{animation:lgr-sparkle 1.1s ease-out .15s both}
.lgr-wisp.lgr-k{animation:lgr-wisp var(--dur,3.4s) cubic-bezier(.3,.2,.4,1) both}
.lgr-ffi.lgr-k{animation:lgr-ff var(--dur,2.8s) ease-in-out both}
.lgr-stars circle.lgr-k{animation:lgr-tw 1.8s ease-in-out both}
.lgr-win0.lgr-k,.lgr-halo.lgr-k{animation:lgr-flick 1.1s linear both}
.lgr-lant.lgr-k,.lgr-lant-g.lgr-k{animation:lgr-answer 1.5s ease-in-out .5s both}
.lgr-w.lgr-k{animation:lgr-wup .9s ease-out both}
.lgr-w.lgr-x{animation:lgr-wdn 1.4s ease-in both}
.lgr-lamp.lgr-k,.lgr-lampg.lgr-k{animation:lgr-flick 1.1s linear both}
.lgr-ink.lgr-k{animation:lgr-draw var(--d,.5s) var(--lgr-pen) var(--t,0s) both}

@keyframes lgr-glint{0%,100%{transform:none;filter:none}45%{transform:scale(1.3);filter:brightness(1.3)}}
@keyframes lgr-wisp{0%{opacity:0;transform:translate(0,3px) scale(.6)}22%{opacity:.5}100%{opacity:0;transform:translate(var(--dx,6px),-30px) scale(1.35,1.5)}}
@keyframes lgr-ff{0%{opacity:0;transform:translate(0,0)}30%{opacity:1}55%{opacity:.35}75%{opacity:.9}100%{opacity:0;transform:translate(var(--dx,8px),var(--dy,-10px))}}
@keyframes lgr-tw{0%,100%{opacity:.7;transform:none}50%{opacity:1;transform:scale(1.8)}}
@keyframes lgr-flick{0%,100%{opacity:1}22%{opacity:.55}34%{opacity:.95}52%{opacity:.7}}
@keyframes lgr-answer{0%,100%{opacity:1;transform:none}25%{opacity:.25;transform:scale(.8)}50%{opacity:1;transform:scale(1.15)}72%{opacity:.35}}
@keyframes lgr-wup{0%{opacity:0}40%{opacity:.6}55%{opacity:.4}100%{opacity:1}}
@keyframes lgr-wdn{0%{opacity:1}100%{opacity:0}}

/* slow, never-in-step drifts (paused by the site toggle like every CSS loop) */
.lgr-shim{animation:lgr-drift 9.3s ease-in-out infinite alternate}
.lgr-boat{animation:lgr-bob 6.7s ease-in-out infinite}
.lgr-g1{animation:lgr-sway 5.3s ease-in-out infinite alternate}
.lgr-g2{animation:lgr-sway 7.1s ease-in-out -2s infinite alternate}
.lgr-g3{animation:lgr-sway 6.2s ease-in-out -4s infinite alternate}
.lgr-far rect:nth-child(3n){animation:lgr-far 11s steps(1) infinite}
.lgr-far rect:nth-child(4n+1){animation:lgr-far 17s steps(1) -6s infinite}
@keyframes lgr-drift{0%{transform:translateX(-7px)}100%{transform:translateX(7px)}}
@keyframes lgr-bob{0%,100%{transform:translateY(0) rotate(-1.2deg)}50%{transform:translateY(1.6px) rotate(1.4deg)}}
@keyframes lgr-sway{0%{transform:skewX(-6deg)}100%{transform:skewX(5deg)}}
@keyframes lgr-far{0%,62%{opacity:.4}63%,100%{opacity:.08}}

/* site-wide pause / reduced motion: everything in flight holds still */
.lgr-hold *,.lgr-hold *::before,.lgr-hold *::after{animation-play-state:paused!important}
@media (prefers-reduced-motion:reduce){.lgr:not(.lgr-js) *{animation:none!important}}

/* ---------- phones ---------- */
@media (max-width:860px){
  .lgr-in{grid-template-columns:minmax(0,1fr);gap:1.75rem}
  .lgr-p{margin-bottom:1.25rem}
}
@media (max-width:420px){
  .lgr{padding:2.75rem 1rem}
  .lgr-logo{height:236px;padding:1.6rem .75rem 1rem}
  .lgr-word{font-size:1.55rem}
  .lgr-scene{height:128px}
  .lgr-fbar{padding:.55rem .8rem .6rem}
  .lgr-flinks{gap:.45rem;font-size:.75rem}
  .lgr-btn{padding:.55rem .72rem;font-size:.86rem}
  .lgr-row{gap:.5rem}
  .lgr-pick{gap:.4rem}
}
@media (forced-colors:active){.lgr-btn[aria-pressed="true"]{outline:2px solid CanvasText}}
/* 11-10 retune: the specimen answers a touch. Click the logo half to watch the reveal again; the footer scene replies to a pointer. */
.lgr-js .lgr-logo{cursor:pointer}
