/* =====================================================================
   Concrete Designs — v20 refinements (loaded last, Home page only)
   1. The Practice  — portrait no longer zoom-cropped, aligned with page gutters
   2. Final CTA + footer — appletit-style type colours (warm white, gold italic, gold mono labels),
      same gutters as header/sections, contact details
   3. Global back-to-top arrow (bottom-centre)
   ===================================================================== */

/* ---------- 1. THE PRACTICE ---------- */
#the-practice{--pr-col:clamp(320px,38vw,760px)}
#the-practice .fd-grid{
  display:grid;min-height:0;
  padding:clamp(56px,6vw,112px) var(--pad);
  grid-template-columns:var(--pr-col) minmax(0,1fr);
  grid-template-rows:minmax(clamp(24px,3vw,56px),1fr) auto auto minmax(clamp(24px,3vw,56px),1fr);
  grid-template-areas:"fig ." "fig head" "fig info" "fig .";
}
#the-practice .fd-fig{
  grid-area:fig;position:relative;margin:0;width:auto;max-height:none;overflow:hidden;
  aspect-ratio:auto;min-height:calc(var(--pr-col)*1.18);align-self:stretch;background:#b3aea2;container-type:normal;
}
#the-practice .fd-fig img{
  position:absolute;inset:0;left:0;top:0;width:100%;height:100%;max-width:none;
  object-fit:cover;object-position:50% 12%;
}
#the-practice .fd-head,#the-practice .fd-info{padding:0 var(--pad) 0 clamp(32px,5.5vw,112px)}
#the-practice .fd h2,#the-practice h2{font-size:clamp(1.9rem,1rem + 2.6vw,3.6rem);line-height:1.04}
#the-practice .fd-eyebrow{margin-bottom:clamp(16px,1.6vw,24px);color:#6B5430}
#the-practice .fd-cred{margin-top:clamp(24px,2.6vw,40px);max-width:36rem}
#the-practice .fd-cred li{padding:clamp(12px,1.2vw,18px) 0;font-size:clamp(1.02rem,.9rem + .35vw,1.25rem)}
#the-practice .fd-copy{margin-top:clamp(24px,2.6vw,40px);max-width:36rem}
#the-practice .fd-copy p{font-size:clamp(.96rem,.9rem + .2vw,1.08rem);line-height:1.7}
#the-practice .fd-copy p+p{margin-top:clamp(14px,1.4vw,20px)}
#the-practice .fd-act{margin-top:clamp(28px,3vw,44px)}
/* tablet: tighter photo column, text keeps room */
@media (max-width:899px){
  #the-practice{--pr-col:clamp(250px,40vw,340px)}
  #the-practice .fd-head,#the-practice .fd-info{padding:0 var(--pad) 0 clamp(24px,4vw,40px)}
  #the-practice .fd-grid{grid-template-rows:minmax(20px,1fr) auto auto minmax(20px,1fr);padding-top:clamp(44px,7vw,64px);padding-bottom:clamp(44px,7vw,64px)}
  #the-practice .fd-cred li{padding:12px 0}
  #the-practice h2{font-size:clamp(1.6rem,4.4vw,2.2rem)}
  #the-practice .fd-cred li{padding:10px 0;font-size:1.02rem}
  #the-practice .fd-copy p{font-size:.95rem;line-height:1.55}
}
/* phone: eyebrow → name → photo → credentials → text → link */
@media (max-width:599px){
  #the-practice .fd-grid{
    grid-template-columns:minmax(0,1fr);grid-template-rows:none;
    grid-template-areas:"head" "fig" "info";padding:64px 0 0;
  }
  #the-practice .fd-head,#the-practice .fd-info{padding:0 var(--pad)}
  #the-practice .fd-fig{aspect-ratio:4/5;min-height:0;width:100%;max-height:none;margin-top:28px}
  #the-practice .fd-fig img{object-position:50% 10%}
  #the-practice .fd-info{padding-top:32px;padding-bottom:72px}
  #the-practice h2{font-size:clamp(1.9rem,8vw,2.4rem)}
  #the-practice .fd-cred,#the-practice .fd-copy{max-width:none}
}

/* ---------- 2. FINAL CTA + FOOTER — appletit type colours ---------- */
.fcta,.ftr{--c-gutter:var(--pad);--c-gold:#C6A363;--c-gold-soft:#E7D6AE;--c-mute:#C4C4C0;--c-dim:#9A9993}
.fcta{padding-left:max(var(--pad),env(safe-area-inset-left));padding-right:max(var(--pad),env(safe-area-inset-right))}
.ftr{padding-left:max(var(--pad),env(safe-area-inset-left));padding-right:max(var(--pad),env(safe-area-inset-right))}
.fcta h2{font-weight:520;letter-spacing:-.012em}
.fcta h2 em{color:var(--c-gold);font-weight:480}
.fcta-p{color:var(--c-mute)}
.ftr-h{color:var(--c-gold);letter-spacing:.2em}
.ftr-about{color:var(--c-mute)}
.ftr-list a,.ftr address{color:rgba(243,240,232,.9)}
.ftr-contact{gap:6px}
.ftr-contact li{display:block}
.ftr-contact a,.ftr-contact address{display:block;padding:6px 0;font-style:normal;font-size:.98rem;line-height:1.45;overflow-wrap:anywhere}
.ftr-k{display:block;margin-bottom:3px;font:400 .66rem/1.2 var(--mono);letter-spacing:.16em;text-transform:uppercase;color:var(--c-dim)}
.ftr-contact a:hover{color:var(--c-gold-soft)}
.ftr-list a:hover{color:var(--c-gold-soft);background-size:100% 1px}
.ftr-url:hover{color:var(--c-gold-soft)}
.ftr a:focus-visible{outline-color:var(--c-gold)}
/* back-to-top now lives outside the legal bar → keep the strip clear for it */
.ftr-bar{grid-template-columns:1fr auto 1fr;padding:22px 0 clamp(54px,4.6vw,62px);margin-top:clamp(36px,3.6vw,60px)}
.ftr-mid{justify-self:center}
@media (min-width:1101px) and (max-width:1520px){.ftr-url{margin-right:0}}
.ftr-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,.75fr) minmax(0,1.05fr) minmax(0,1.25fr)}
@media (max-width:1100px){.ftr-bar{grid-template-columns:1fr auto;grid-template-areas:"legal url" "mid mid"}}
@media (max-width:1024px){.ftr-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}}
@media (max-width:600px){
  .ftr-grid{grid-template-columns:minmax(0,1fr)}
  .ftr-bar{grid-template-columns:minmax(0,1fr);grid-template-areas:"legal" "mid" "url";gap:10px;padding:20px 0 64px;margin-top:32px}
  .ftr-mid{justify-self:start}
  .ftr-contact a,.ftr-contact address{padding:8px 0}
}

/* ---------- 3. GLOBAL BACK-TO-TOP (bottom-centre, light arrow) ---------- */
.fab-top{
  position:fixed;left:50%;bottom:max(14px,calc(env(safe-area-inset-bottom,0px) + 10px));z-index:65;
  width:38px;height:38px;display:grid;place-items:center;border-radius:50%;cursor:pointer;
  background:rgba(11,12,14,.72);color:#F3F0E8;border:1px solid rgba(243,240,232,.55);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  box-shadow:0 6px 20px rgba(0,0,0,.28);
  opacity:0;transform:translate(-50%,14px);pointer-events:none;
  transition:opacity .3s,transform .3s var(--ease),background .25s,color .25s,border-color .25s;
}
.fab-top[hidden]{display:none}
.fab-top.on{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.fab-top svg{width:16px;height:16px}
.fab-top:hover{background:#F3F0E8;color:#0B0C0E;border-color:#F3F0E8}
.fab-top:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.menu-open .fab-top,body:has(.gl-lb:not([hidden])) .fab-top{display:none}
@media (max-width:600px){.fab-top{width:36px;height:36px}}
@media (prefers-reduced-motion:reduce){.fab-top{transition:none}}
