/* ==========================================================
   Lamitecture & Co  |  service pages and case studies
   Plain and simple: text, lines and real screenshots
   ========================================================== */

ol{list-style:none}

/* page top */
.phero{padding:clamp(7.5rem,13vw,10rem) 0 clamp(2.5rem,6vw,4rem)}
.crumbs ol{display:flex;flex-wrap:wrap;gap:.1rem .5rem;font-size:.88rem;color:rgba(255,255,255,.8);margin-bottom:1.5rem}
.crumbs li+li::before{content:"/";margin-right:.5rem;opacity:.55}
.crumbs a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.phero h1{font-size:clamp(2.2rem,5.4vw,4.1rem);line-height:1.04;letter-spacing:-.045em;max-width:20ch;text-wrap:balance}
.phero .lede{max-width:44rem;margin-top:1.3rem;color:var(--on-blue)}
.phero-cta{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:1.8rem}

/* sections (every second one is a slightly deeper blue) */
.psec{padding-block:clamp(2.5rem,6vw,4.5rem)}
.psec:nth-of-type(even){background:var(--bg-2)}
.psec h2{font-size:clamp(1.8rem,3.6vw,2.7rem);margin-bottom:1rem}
.psec .lede{max-width:40rem}

/* three reasons: text between lines */
.pgrid3{display:grid;gap:0;grid-template-columns:1fr;margin-top:1.5rem}
.pcard{padding:1.4rem 0;border-top:1px solid var(--line)}
.pcard h3{font-size:1.3rem;margin-bottom:.5rem}
.pcard p{color:var(--muted);max-width:30rem}
@media (min-width:820px){.pgrid3{grid-template-columns:repeat(3,1fr);gap:3rem}}

/* two columns */
.split{display:grid;gap:1.5rem}
@media (min-width:900px){
  .split{grid-template-columns:5fr 7fr;gap:4rem;align-items:start}
  .split > :first-child{position:sticky;top:7rem}
}

/* plain lists */
.checks{border-bottom:1px solid var(--line)}
.checks li{padding:.95rem 0;border-top:1px solid var(--line);line-height:1.55}

/* steps */
.steps{counter-reset:step;display:grid;gap:0;margin-top:1.5rem}
.steps li{counter-increment:step;padding:1.3rem 0;border-top:1px solid var(--line)}
.steps li::before{content:counter(step);display:inline-block;margin-bottom:.5rem;padding-bottom:.1rem;font-weight:800;font-size:1.5rem;border-bottom:3px solid var(--tomato)}
.steps h3{font-size:1.15rem;margin-bottom:.3rem}
.steps p{color:var(--muted)}
@media (min-width:900px){.steps{grid-template-columns:repeat(4,1fr);gap:2.5rem}}

/* questions */
.faq{margin-top:1.4rem;border-bottom:1px solid var(--line)}
.faq details{border-top:1px solid var(--line);padding:1.2rem 0}
.faq summary{cursor:pointer;font-weight:700;font-size:1.1rem;list-style:none;display:flex;justify-content:space-between;gap:1rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:1.5rem;line-height:1}
.faq details[open] summary::after{content:"x";font-size:1.2rem}
.faq p{color:var(--muted);margin-top:.8rem;max-width:46rem}

/* related pages */
.related{display:grid;gap:0;grid-template-columns:1fr;margin-top:1.4rem}
.related a{display:block;padding:1.2rem 0;border-top:1px solid var(--line)}
.related a:hover strong{border-bottom-color:#fff}
.related strong{display:inline-block;font-size:1.15rem;letter-spacing:-.02em;margin-bottom:.3rem;border-bottom:2px solid var(--tomato)}
.related span{display:block;color:var(--muted);font-size:.95rem}
@media (min-width:760px){.related{grid-template-columns:repeat(2,1fr);column-gap:3rem}}
@media (min-width:1000px){.related{grid-template-columns:repeat(4,1fr)}}

/* case study */
.cs-shot{max-width:1060px;margin:2.2rem auto 0}
.facts{display:grid;gap:0;margin-top:2.2rem;border-top:1px solid var(--line-2)}
.facts div{padding:1rem 0;border-bottom:1px solid var(--line)}
.facts dt{font-size:.8rem;color:rgba(255,255,255,.75);margin-bottom:.2rem}
.facts dd{font-weight:700}
.facts a{text-decoration:underline;text-decoration-color:var(--tomato);text-decoration-thickness:2px;text-underline-offset:3px}
@media (min-width:820px){.facts{grid-template-columns:repeat(4,1fr);gap:2rem}.facts div{border-bottom:0;padding:1.2rem 0}}
.cs-text p{color:var(--on-blue);font-size:1.08rem;line-height:1.75;max-width:40rem;margin-bottom:1.1rem}
.cs-links{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:1.4rem}

/* page not found */
.lost{min-height:70vh;display:grid;place-items:center;text-align:center;padding:9rem 0 4rem}
.lost h1{font-size:clamp(2.4rem,6vw,4.5rem);margin-bottom:1rem}
.lost .hero-cta{margin-top:2rem;display:flex;gap:.9rem;justify-content:center;flex-wrap:wrap}
