/* ABLENTRA v13 FINAL — Task 1 homepage clipping fix.
   Brand: #FF5A1F / #0E0E0F / #F7F7F5, Manrope.
   Finish-gate lens: first-read object = the website mock itself;
   primary action = the card link below it. No overlay may cover a
   mock headline, paragraph, CTA or chip. Overlays may only sit on
   the decorative photo column, never on copy.
   Gallery lesson applied (godly/land-book/siteinspire editorial
   discipline, not a copied identity): grid discipline, oversized
   but controlled type, generous whitespace, work-led visuals,
   concise copy, one obvious action per card. */

/* --- Taller mock area: 4/3 instead of 3/2, capped so wide cards
   do not become billboards. At 320px card width mock = 240px,
   at 400px = 300px, at 600px = 450px, at 1100px capped at 420px. --- */
.svc-card-img{aspect-ratio:4/3;max-height:420px}
.svc-mock{position:relative;height:100%;overflow:hidden}

/* --- Mock body stays TWO columns at every width. Step 2 stacked
   it to 1 column below 640px, which stacked photo + copy inside a
   fixed-height mock and clipped the copy. Two columns + shorter
   copy is what fits. --- */
.svc-mock-body{
  display:grid;grid-template-columns:1.05fr .95fr;gap:.75rem;
  padding:.85rem;align-items:start;min-height:0
}
.svc-mock-photo{border-radius:10px;overflow:hidden;min-height:0}
/* Photo box height is set by the grid row; the img inside is
   object-fit:cover, so no aspect-ratio is forced on the box. */
.svc-mock-photo img{width:100%;height:100%;object-fit:cover;display:block}

/* --- Copy: short, wraps fully, never truncated by design.
   h4 max ~2 lines, p max ~3 lines at every card width, with
   break-word so a long word cannot push text off the card. --- */
.svc-mock-copy{min-width:0}
.svc-mock-copy h4,.svc-mock-copy .svc-mock-head{
  font-size:clamp(.9rem,1.4vw,1.15rem);line-height:1.2;
  overflow-wrap:break-word;text-wrap:balance
}
.svc-mock-copy p{
  font-size:.75rem;line-height:1.45;overflow-wrap:break-word
}
.svc-mock-cta{white-space:nowrap}
.svc-mock-chips{display:flex;flex-wrap:wrap;gap:.35rem}
.svc-mock-chips span{white-space:nowrap}

/* --- Overlays, repositioned to the PHOTO column only ---
   Photo column is the left ~52% of the mock body.
   - CONCEPT label: bottom-left, over photo only (svc-num removed
     from HTML because it overlapped this label at the same spot).
   - Mobile frame: left 26%, width 24% -> ends at 50%, so it sits
     on the photo's right edge, never on the copy column.
   - Search panel: top-left of the body, width = photo column,
     over photo only, never over copy or the CONCEPT label.
   - Rotated connector: removed from HTML; orange accent is now
     the search panel's top border only. --- */
.svc-concept{left:.8rem;bottom:.8rem;top:auto;right:auto;z-index:3}
.svc-mock-mobile{
  left:26%;right:auto;bottom:.7rem;width:24%;
  aspect-ratio:9/16;z-index:2
}
.svc-search-panel{
  left:.8rem;right:auto;top:3.1rem;bottom:auto;
  width:calc(50% - 1.4rem);z-index:2;
  border-top:3px solid #FF5A1F
}
.svc-search-panel b{font-size:.72rem;line-height:1.3}
.svc-search-panel p{font-size:.68rem;line-height:1.4}
.svc-connector{display:none!important}

/* --- Narrow phones: keep 2 columns, shrink type/padding instead
   of stacking. At 320px the copy column is ~140px wide; the
   shortened copy (h4 2 lines, p 2-3 lines, CTA, 2 chips) fits
   the 240px mock height. --- */
@media(max-width:400px){
  .svc-mock-body{padding:.6rem;gap:.5rem}
  .svc-mock-copy h4,.svc-mock-copy .svc-mock-head{font-size:.88rem}
  .svc-mock-copy p{font-size:.7rem}
  .svc-mock-cta{font-size:.68rem;padding:.4rem .6rem}
  .svc-mock-chips span{font-size:.62rem;padding:.2rem .45rem}
  .svc-search-panel{top:2.9rem;width:calc(50% - 1.1rem);padding:.5rem .6rem}
  .svc-concept{font-size:.55rem;padding:.3rem .55rem}
  /* Chips are decoration, not the job: hide them on the narrowest
     phones so the headline + paragraph + CTA gain 24-48px headroom
     inside the fixed mock height. */
  .svc-mock-chips{display:none}
}

/* --- Tablet spanning card: Step 2 used 21/9, which made the mock
   far too short for its copy. 16/9 capped at 420px keeps copy
   readable and the card from dominating the page. --- */
@media(min-width:768px) and (max-width:1020px){
  .svc-card:last-child .svc-card-img{aspect-ratio:16/9;max-height:420px}
}

/* --- Desktop: no change to the 1280px container or brand tokens.
   Hero and section type already measured in Step 2; this file
   only fixes the service-card mock. --- */
@media(prefers-reduced-motion:reduce){
  .svc-card-img img,.svc-card{transition:none}
}

/* FIX 2026-10-24 - Step 4 Launch screenshot: no duplicate lawn photo, no tiny mobile overlap, no oval clipped status pills */
.bs-launch-split{grid-template-columns:1fr 1fr;align-items:stretch}
.bs-launch-mock img{aspect-ratio:16/10}
.bs-launch-mock .svc-mock-mobile{display:none}
.bs-launch-status li{background:rgba(247,247,245,.08);border:1px solid rgba(247,247,245,.18);border-radius:12px;padding:.8rem .9rem;font-size:.9rem;white-space:normal}
.bs-launch-status li small{font-size:.8rem;line-height:1.35}
.bs-step-img{min-height:0}
@media(max-width:640px){.bs-launch-split{grid-template-columns:1fr}}
.svc-mock-label{background:#0E0E0F;color:#F7F7F5;border-color:#0E0E0F}

/* Site 1 final fix 2026-10-25: trim oversized section padding that created large blank gaps. */
.section{padding:2.5rem 0 !important;}

/* Site 1 update: stacked question cards (Module B: sticky at >=1024px only, normal flow below 1024px). */
.qstack{display:grid;gap:1.25rem;margin-top:2rem}
.q-card{border-radius:24px;padding:clamp(1.75rem,4vw,2.75rem);border:1px solid var(--line);box-shadow:0 12px 32px rgba(14,14,15,.08);position:relative}
.q-card-white{background:var(--surface)}
.q-card-soft{background:var(--bg-soft)}
.q-card-dark{background:var(--dark);color:var(--dark-ink);border-color:var(--dark)}
.q-card-dark .text-link{color:var(--dark-ink)}
.q-card h3{font-family:var(--font-d);font-weight:600;letter-spacing:-.02em;line-height:1.05;font-size:clamp(1.6rem,3.6vw,2.4rem);margin-bottom:.85rem;max-width:24ch}
.q-card p{font-size:clamp(1rem,1.5vw,1.15rem);line-height:1.6;color:var(--ink-2);max-width:62ch;margin-bottom:1.1rem}
.q-card-dark p{color:var(--dark-muted)}
@media (min-width:1024px){
  .qstack{padding-bottom:1.25rem}
  /* FINAL 2026-10-28: sticky stacking removed at source (was slicing headings).
     Cards are normal flow on every viewport; launch CSS also enforces this. */
  .qstack .q-card{
    position:relative;
    top:auto;
  }
}
@media (max-width:1023px){
  .qstack{gap:1rem;padding-bottom:0}
  .qstack .q-card{position:static;border-radius:18px;margin-top:0}
}

/* FAQ: compact accordion spacing */
.accordion-list{gap:.5rem}
.accordion summary{padding:1rem 1.4rem}
/* Service cards: clean spacing */
.svc-card-img{max-height:360px}
.svc-card-body{padding:1.4rem 1.7rem 1.5rem}
/* browser frame and custom cursor permanently deleted per Section 9 */
.studio-browser .browser-bar,.cursor-dot,.cursor-ring{display:none!important}
.studio-shot-caption{display:block;font-size:.78rem;color:var(--muted);padding:.45rem 1.4rem 0;font-style:italic}

/* ============ Section 6C — Phone (<760px) Landing Rules ============ */
@media (max-width:760px){
  /* Service carousel OFF; all 3 services show as simple text-only cards */
  .svc-cards{overflow:visible}
  .svc-cards .svc-card{display:block;transform:none;opacity:1}
  .svc-dots{display:none}
  /* Service mock images OFF on mobile */
  .svc-card-img{display:none!important}
  .svc-card-body{padding:1.2rem 1.3rem 1.3rem}
  .svc-card-body h3{font-size:1.25rem}
  /* Industries grid/tabs/panels OFF on all devices per Section 9 */
  .industries-sec .niche-tabs,
  .industries-sec .niche-panels,
  .industries-sec .v13-industry-grid{display:none!important}
  /* Phone-hidden decorative or secondary sections per Section 6C */
  /* 2026-10-29: these sections are on the owner's PRESERVE list and must show on phones too
     (previously display:none). Removed so One agency / How we build / comparison / engagements / Insights stay visible. */
  /* FAQ compact on phone per Section 6C: gap .35rem; summary padding .9rem/1.2rem */
  .accordion-list{gap:.35rem!important}
  .accordion summary{padding:.9rem 1.2rem!important}
  /* Overflow guard */
  .svc-card,.studio-card,.stat,.cred-item{min-width:0;max-width:100%}
  .section{scroll-margin-top:110px}
}


/* OWNER-IMAGE-SLOT: empty placeholder in the dark audit band (see index.html).
   No box, no background, no fake image — renders nothing until the owner's image is placed. */
.owner-image-slot{display:block}
