/* ===== DESKTOP + TABLET version of the phone design (Leon, 8 Nov 2026) =====
   Same rules as phone: one card design, one number style, green price / lavender monthly,
   tenure + Share + Save + Compare on the photo, few contact buttons, Leon's half-body photo (never a cropped face).
   Phone (640px and below) is untouched: everything here starts at 641px. */

/* ---------- glass tile (shared look) ---------- */
@media (min-width:641px){
  .h-figs > div,.price-row > div,.lv-price > div,.kstats > div,.specs > div,.pc-tiles > div,.price-card .pc-tile{position:relative;overflow:hidden;text-align:left!important;
    border-radius:16px!important;border:1px solid rgba(255,255,255,.14)!important;padding:12px 14px!important;margin:0!important;min-width:0;
    background:linear-gradient(135deg,rgba(140,112,255,.16),rgba(18,14,29,.6))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.14)!important}
  .h-figs > div::after,.price-row > div::after,.lv-price > div::after,.kstats > div::after,.specs > div::after,.pc-tiles > div::after,.price-card .pc-tile::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.35;
    background:repeating-linear-gradient(135deg,rgba(255,255,255,.08) 0 1px,transparent 1px 9px)}
  /* green = price */
  .h-figs > div:first-child,.price-row > div:first-child,.lv-price > div:first-child,.kstats > div:first-child,.pc-tiles > div.pt-g,.price-card .pc-tile.g{
    background:linear-gradient(135deg,rgba(82,227,164,.26),rgba(140,112,255,.10) 60%,rgba(18,14,29,.6))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 0 18px rgba(82,227,164,.16)!important}
  /* lavender = monthly */
  .h-figs > div:nth-child(2),.price-row > div:nth-child(2),.lv-price > div:nth-child(2),.pc-tiles > div.pt-m,.price-card .pc-tile.m{
    background:linear-gradient(135deg,rgba(140,112,255,.32),rgba(210,87,196,.12) 60%,rgba(18,14,29,.6))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 0 18px rgba(140,112,255,.24)!important}
  .h-figs,.price-row,.lv-price{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;align-items:stretch!important}
  .h-figs > div,.price-row > div,.lv-price > div,.kstats > div,.specs > div{display:block!important}
  .h-figs small,.price-row small,.lv-price small,.kstats small,.specs small,.price-card .pc-tile small{display:block;font-size:11px!important;font-weight:700!important;letter-spacing:.06em!important;text-transform:uppercase;color:rgba(255,255,255,.78)!important;margin-bottom:5px;white-space:normal}
  .h-figs b,.price-row .big,.price-row .mo,.lv-price b,.kstats b,.specs b,.price-card .pc-tile b{display:block;font-family:"Familjen Grotesk","Helvetica Neue",Arial,sans-serif!important;font-weight:700!important;line-height:1.05!important;white-space:nowrap;background:none!important;padding:0!important;border:0!important;box-shadow:none!important}
  .h-figs > div:first-child b,.price-row .big,.lv-price > div:first-child b,.kstats > div:first-child b,.price-card .pc-tile.g b{color:var(--c-price)!important;font-size:26px!important;text-shadow:0 0 14px rgba(82,227,164,.45)}
  .h-figs > div:nth-child(2) b,.price-row .mo,.lv-price b.mo,.price-card .pc-tile.m b{color:var(--c-mo)!important;font-size:22px!important;text-shadow:0 0 14px rgba(140,112,255,.55)}
  .kstats b,.specs b{font-size:19px!important;color:#fff!important}
  .num,.pc-price,.t-price,.t-month{font-family:"Familjen Grotesk","Helvetica Neue",Arial,sans-serif!important;font-variant-numeric:tabular-nums lining-nums;letter-spacing:-.01em}
}

/* ---------- project cards: same card as phone, in a row (home "projects" + project page "Other projects nearby") ---------- */
@media (min-width:641px){
  #spotlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:10px}
  body[data-page="project"] #others.spot-others{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;overflow:visible!important}
  @media (max-width:900px){body[data-page="project"] #others.spot-others{grid-template-columns:repeat(2,minmax(0,1fr))}}
  #spotlights .h-spot,#others.spot-others .h-spot{display:flex!important;flex-direction:column;margin:0!important;gap:0!important;background:var(--surface);border-radius:26px;overflow:hidden;
    border:1px solid rgba(255,255,255,.06);flex:initial!important;max-width:none!important;transition:transform .25s,box-shadow .25s}
  #spotlights .h-spot:hover,#others.spot-others .h-spot:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(0,0,0,.45)}
  #spotlights .h-spot-mw,#others.spot-others .h-spot-mw{display:block;position:relative}
  #spotlights .h-spot-media,#others.spot-others .h-spot-media{order:0!important;min-height:0!important;height:auto!important;aspect-ratio:1/1.12;border-radius:0!important}
  #spotlights .h-spot-media img.main,#others.spot-others .h-spot-media img.main{position:absolute;inset:0;width:100%;height:100%!important;object-fit:cover}
  #spotlights .h-spot-no,#spotlights .h-spot-media img.inset,#spotlights .h-spot-copy .tags,#spotlights .h-spot-head,#spotlights .h-why,#spotlights .h-figs > div:nth-child(3),#spotlights .enq-btn,#spotlights .card-ex,
  #others.spot-others .h-spot-no,#others.spot-others .h-spot-media img.inset,#others.spot-others .h-spot-copy .tags,#others.spot-others .h-spot-head,#others.spot-others .h-why,#others.spot-others .h-figs > div:nth-child(3),#others.spot-others .enq-btn,#others.spot-others .card-ex{display:none!important}
  #spotlights .h-spot-copy,#others.spot-others .h-spot-copy{background:none!important;border-radius:0!important;padding:16px 16px 18px!important;gap:12px!important;justify-content:flex-start!important}
  #spotlights .h-spot-copy h3,#others.spot-others .h-spot-copy h3{font-size:28px!important;line-height:1.05!important;letter-spacing:-.02em}
  #spotlights .h-spot-loc,#others.spot-others .h-spot-loc{margin:-6px 0 0!important;font-size:13.5px}
  #spotlights .hero-ctas,#others.spot-others .hero-ctas{display:block}
  #spotlights .hero-ctas .btn,#others.spot-others .hero-ctas .btn{width:100%;min-height:48px}
  /* on the photo: tenure top-left, Share top-right, Save + Compare bottom-right */
  #spotlights .ov-ten,#others.spot-others .ov-ten{display:block;position:absolute;left:14px;top:14px;z-index:3;background:linear-gradient(135deg,#7B5CFF,#D257C4);color:#fff;border-radius:999px;padding:7px 14px;font-size:12.5px;font-weight:800;letter-spacing:.03em;
    box-shadow:0 0 0 1px rgba(255,255,255,.25),0 0 14px rgba(140,112,255,.75),0 0 28px rgba(210,87,196,.45);text-shadow:0 1px 2px rgba(0,0,0,.25)}
  #spotlights .ov-btn,#others.spot-others .ov-btn{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.22);background:rgba(12,12,18,.55);backdrop-filter:blur(10px);color:#fff;font-size:20px;line-height:1;cursor:pointer;padding:0;position:static}
  #spotlights .ov-sh,#others.spot-others .ov-sh{position:absolute!important;right:14px;top:14px;z-index:3}
  #spotlights .ov-ics,#others.spot-others .ov-ics{display:flex;gap:8px;position:absolute;right:14px;bottom:14px;z-index:3}
  #spotlights .ov-btn[aria-pressed="true"],#others.spot-others .ov-btn[aria-pressed="true"]{background:linear-gradient(135deg,#7B5CFF,#D257C4);border-color:transparent;box-shadow:0 0 14px rgba(140,112,255,.7)}
  #spotlights .ov-btn:hover,#others.spot-others .ov-btn:hover{background:rgba(40,36,60,.8)}
}
@media (min-width:641px) and (max-width:900px){#spotlights{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- home hero: the 4 highlight tiles (tappable) ---------- */
@media (min-width:641px){
  body[data-page="home"] .h-pills{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important;margin-top:20px!important;max-width:900px}
  body[data-page="home"] .h-pills > span{display:none!important}
  body[data-page="home"] .h-pills button[data-hp]{position:relative;overflow:hidden;display:flex!important;align-items:center;gap:10px;padding:12px 24px 12px 14px!important;border-radius:16px!important;border:1px solid rgba(255,255,255,.16);
    backdrop-filter:blur(10px);font:inherit;color:#fff;text-align:left;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.18);transition:transform .15s}
  body[data-page="home"] .h-pills button[data-hp]:hover{transform:translateY(-2px)}
  body[data-page="home"] .h-pills button[data-hp]::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.35;background:repeating-linear-gradient(135deg,rgba(255,255,255,.08) 0 1px,transparent 1px 9px)}
  body[data-page="home"] .h-pills button[data-hp]::before{content:"›";position:absolute;right:9px;top:50%;transform:translateY(-52%);font-size:20px;font-weight:700;opacity:.55;z-index:1}
  body[data-page="home"] .h-pills .hp-a{background:linear-gradient(135deg,rgba(140,112,255,.34),rgba(210,87,196,.14) 60%,rgba(18,14,29,.6))!important}
  body[data-page="home"] .h-pills .hp-b{background:linear-gradient(135deg,rgba(82,227,164,.30),rgba(210,87,196,.10) 60%,rgba(18,14,29,.6))!important}
  body[data-page="home"] .h-pills .hp-c{background:linear-gradient(135deg,rgba(245,199,122,.30),rgba(140,112,255,.12) 60%,rgba(18,14,29,.6))!important}
  body[data-page="home"] .h-pills .hp-d{background:linear-gradient(135deg,rgba(210,87,196,.34),rgba(140,112,255,.14) 60%,rgba(18,14,29,.6))!important}
  body[data-page="home"] .h-pills b{font-family:"Familjen Grotesk","Helvetica Neue",Arial,sans-serif;font-weight:700;font-size:30px;line-height:1;letter-spacing:-.02em;white-space:nowrap}
  body[data-page="home"] .h-pills .hp-a b{color:var(--c-mo);text-shadow:0 0 14px rgba(140,112,255,.6)}
  body[data-page="home"] .h-pills .hp-b b{color:var(--c-price);text-shadow:0 0 14px rgba(82,227,164,.5)}
  body[data-page="home"] .h-pills .hp-c b{color:#F5C77A;text-shadow:0 0 14px rgba(245,199,122,.5)}
  body[data-page="home"] .h-pills .hp-d b{color:#FF9EEA;text-shadow:0 0 14px rgba(210,87,196,.6)}
  body[data-page="home"] .h-pills .hp-d b i{display:block;font-style:normal;font-family:var(--f-body,inherit);font-size:9.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.75);text-shadow:none;margin-bottom:2px}
  body[data-page="home"] .h-pills em{font-style:normal;font-size:12px;font-weight:700;line-height:1.15;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.9);min-width:0}
  body[data-page="home"] .h-pills .hp-d em small{display:block;font-size:9.5px;font-weight:600;letter-spacing:.04em;opacity:.75;margin-top:2px}
}

/* ---------- Leon's photo: half body on a glowing panel, never a cropped face ---------- */
@media (min-width:641px){
  .agent-av{position:relative!important;width:52px!important;height:60px!important;border-radius:0!important;background:none!important;box-shadow:none!important;overflow:visible!important;flex:none}
  .agent-av::before{content:"";position:absolute;left:0;right:0;bottom:0;height:78%;border-radius:14px;
    background:radial-gradient(90% 70% at 50% 25%,rgba(140,112,255,.55),transparent 70%),linear-gradient(160deg,#3a2a66 0%,#1c1530 70%,#120e1d 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.14)}
  .agent-av::after{content:"";position:absolute;inset:0;border-radius:0 0 14px 14px;background:url("/leon-portrait-transparent.png") 58% 100%/auto 100% no-repeat;filter:drop-shadow(0 6px 10px rgba(0,0,0,.45))}
}

/* ---------- project page side card: price + monthly as tiles, no extra contact buttons ---------- */
@media (min-width:641px){
  .price-card .pc-tiles2{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:6px 0 4px}
  .price-card .pc-tile{display:block}
  .price-card > .pc-price,.price-card > .pc-mo,.price-card > small.muted:first-child{display:none!important}
}

/* ---------- enquiry form: same clean look as phone, two columns ---------- */
@media (min-width:641px){
  body[data-page="home"] #enqForm .enq-head{display:block;margin:0 0 18px}
  #enqForm .enq-head h3{font:700 30px/1.15 var(--f-display);margin:0 0 6px}
  #enqForm .enq-head p{font-size:15.5px;line-height:1.5;color:#c9c9d1;margin:0}
  #enqForm .field > span{display:block;font-size:14px!important;font-weight:700;color:#ececf1;margin-bottom:7px}
  #enqForm .inp{min-height:54px;border-radius:14px!important;border:1px solid rgba(255,255,255,.12)!important;background-color:#1e1e24!important;color:#fff;font-size:16px!important;padding:14px!important}
  #enqForm .inp::placeholder{color:#7d7d88}
  #enqForm .inp:focus{outline:none;border-color:#9B7BFF!important;box-shadow:0 0 0 3px rgba(155,123,255,.25)!important}
  #enqForm textarea.inp{min-height:96px}
  #enqForm #fProj .chip{min-height:46px;padding:0 18px;border-radius:14px!important;font-size:15px!important;font-weight:700;background:#1e1e24!important;border:1px solid rgba(255,255,255,.12)!important;color:#fff!important}
  #enqForm #fProj .chip[aria-pressed="true"]{background:linear-gradient(135deg,#7B5CFF,#D257C4)!important;border-color:transparent!important;box-shadow:0 0 16px rgba(140,112,255,.45)}
  #enqForm .enq-ok{padding:12px 14px;border-radius:14px;background:#1b1b20;border:1px solid rgba(255,255,255,.08)}
  #enqForm .form-foot .btn{min-height:56px;font-size:17px;font-weight:800;border-radius:16px!important;padding:0 34px}
}

/* ---------- contact: just the robot "Ask Leon's AI" + Leon's photo "Ask Leon", bottom right, on every page ---------- */
@media (min-width:1001px){
  .aic-launch,.fab{display:none!important}
  .m-bar-fixed.mb8{display:flex!important;position:fixed;left:auto!important;right:24px!important;bottom:24px!important;z-index:60;flex-direction:column!important;align-items:center!important;gap:12px!important;
    background:none!important;border:0!important;box-shadow:none!important;padding:0!important;pointer-events:none}
  .mb8 .mb8-b{pointer-events:auto;display:flex;flex-direction:column;align-items:center;gap:4px;border:0;background:none;color:#fff;font:inherit;text-decoration:none;cursor:pointer}
  .mb8 .mb8-b b{font-size:11px;font-weight:800;white-space:nowrap;padding:3px 9px;border-radius:999px;background:rgba(14,14,18,.85);backdrop-filter:blur(8px)}
  .mb8 .c{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;transition:transform .15s}
  .mb8 .mb8-b:hover .c{transform:scale(1.07)}
  .mb8 .mb8-ai .c{background:#221d33;box-shadow:inset 0 0 0 1.5px rgba(185,166,255,.6),0 10px 24px rgba(0,0,0,.45);animation:mb8Float 2.6s ease-in-out infinite,mb8Pulse 2.4s infinite}
  .mb8 .bot{width:36px;height:36px;overflow:visible;animation:mbBob 2.4s ease-in-out infinite}
  .mb8 .bot .eyes{transform-origin:20px 21px;animation:mbBlink 4s infinite}
  .mb8 .bot .ant{animation:mbGlow 1.6s ease-in-out infinite}
  .mb8 .mb8-wa .c.lphoto{position:relative;overflow:visible;background:#2a2245 url(/leon-portrait-transparent.png) 58% 0/auto 165% no-repeat!important;
    box-shadow:0 0 0 2.5px #25D366,0 10px 24px rgba(0,0,0,.45)!important;animation:mb8Float 2.6s ease-in-out .3s infinite,mbRingG 2.4s .4s infinite!important}
  .mb8 .wa-b{position:absolute;right:-5px;bottom:-4px;width:22px;height:22px;border-radius:50%;background:#25D366;color:#fff;display:grid;place-items:center;box-shadow:0 0 0 2px #0e0e12}
  .mb8 .wa-b svg{width:15px;height:15px}
  .aic-tease.lp{bottom:214px!important;right:24px!important}
  html.map-full .m-bar-fixed.mb8{visibility:hidden}
}
/* phone + iPad: the same robot + photo pair on every page (Leon, 8 Nov 2026) */
@media (max-width:1000px){.aic-launch,.fab{display:none!important}body.form-in-view .m-bar-fixed.mb8{opacity:0!important;pointer-events:none!important;transition:opacity .2s}}
@media (prefers-reduced-motion:reduce){.mb8 .c,.mb8 .bot,.mb8 .bot *{animation:none!important}}

/* Projects page cards: tenure tag glows like the home card; spec tiles fit their text */
.proj-tags span:first-child{background:linear-gradient(135deg,#7B5CFF,#D257C4)!important;color:#fff!important;border:0!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.25),0 0 14px rgba(140,112,255,.75),0 0 28px rgba(210,87,196,.45)!important;text-shadow:0 1px 2px rgba(0,0,0,.25)}
@media (min-width:641px){
  .specs b{font-size:15px!important;white-space:normal!important;line-height:1.2!important}
  .specs > div{padding:10px 12px!important}
}
@media (min-width:641px) and (max-width:900px){body[data-page="home"] .h-pills{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:560px}}

/* home: no big "Meet your consultant" section on iPad/desktop, the photo was too big (Leon, 8 Nov 2026). Phone keeps the slim hello bar. */
@media (min-width:641px){body[data-page="home"] .h-leon:not(.h-hello){display:none!important}}
