/* Alex MacEwen Plumbing: steel greys and one water blue. Signature: the phone number is the main object on the page. */
:root {
  --font-display: "Schibsted Grotesk", system-ui, sans-serif;
  --font-body: "Schibsted Grotesk", system-ui, sans-serif;
  --bg: #edf0f2; --ink: #10202b; --slate: #10202b; --steel: #c9d1d6; --blue: #0a6fc2; --blue-deep: #064a82; --white: #ffffff;
  --focus: #0a6fc2; --err: #a3271b;
  --hdr-solid: #ffffff; --hdr-solid-fg: #10202b;
  --btn-bg: var(--blue); --btn-fg: #fff; --btn-edge: var(--blue-deep); --btn-shadow: rgba(4, 40, 80, .55);
  --ftr-bg: #10202b; --ftr-fg: #d9e0e4;
  --hero-shade: linear-gradient(260deg, rgba(16, 32, 43, .9) 0%, rgba(16, 32, 43, .72) 38%, rgba(16, 32, 43, .08) 70%), linear-gradient(to bottom, rgba(16, 32, 43, .6), transparent 25%);
}
h2 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.25rem); font-weight: 800; letter-spacing: -.025em; }
section { padding: clamp(4rem, 9vw, 7rem) 0; }
.brand { font-weight: 800; letter-spacing: -.01em; }

.hero { padding: 0; align-items: center; }
.hero__body { padding: 7rem 0 4rem; display: grid; justify-items: end; }
.hero__panel { max-width: 33rem; }
.hero h1 { font-size: clamp(2.4rem, 1.3rem + 4.6vw, 4.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.hero__lede { margin: 1.4rem 0 2rem; font-size: 1.15rem; }

.callbtn { display: grid; gap: .35rem; width: fit-content; max-width: 100%; padding: 1.1rem 1.6rem 1.25rem; border-radius: 16px; text-decoration: none; color: #fff;
  background: linear-gradient(to bottom, #2488da, var(--blue)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 7px 0 var(--blue-deep), 0 30px 40px -18px rgba(0, 0, 0, .7); }
.callbtn__label { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.callbtn__num { font-weight: 800; font-size: clamp(2.2rem, 1.2rem + 4.6vw, 3.6rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.callbtn:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 9px 0 var(--blue-deep), 0 40px 50px -20px rgba(0, 0, 0, .75); }
.callbtn:active { transform: perspective(900px) translateY(6px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 1px 0 var(--blue-deep); transition-duration: .06s; }

/* Services accordion */
.services__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.services__side { position: sticky; top: 6.5rem; display: grid; gap: 1.25rem; }
.services__pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; filter: saturate(.55); box-shadow: 0 6px 0 var(--steel), 0 30px 40px -26px rgba(16, 32, 43, .7); }
.acc { display: grid; gap: .9rem; perspective: 1200px; }
.acc__item { background: var(--white); border-radius: 14px; box-shadow: 0 4px 0 var(--steel), 0 16px 24px -18px rgba(16, 32, 43, .5); transition: box-shadow .2s, translate .2s; }
.acc__item[open] { box-shadow: 0 4px 0 var(--blue), 0 26px 34px -20px rgba(16, 32, 43, .55); }
.acc__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; padding: .9rem 1.4rem; cursor: pointer; list-style: none; font-weight: 800; font-size: clamp(1.15rem, 1rem + .7vw, 1.45rem); letter-spacing: -.015em; border-radius: 14px; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary i { flex: none; position: relative; width: 2rem; height: 2rem; border-radius: 50%; background: var(--bg); transition: rotate .25s cubic-bezier(.2, .8, .2, 1), background-color .2s; }
.acc__item summary i::before, .acc__item summary i::after { content: ""; position: absolute; inset: 46% 26%; background: var(--ink); border-radius: 2px; }
.acc__item summary i::after { rotate: 90deg; }
.acc__item[open] summary i { rotate: 45deg; background: var(--blue); }
.acc__item[open] summary i::before, .acc__item[open] summary i::after { background: #fff; }
.acc__item:not([open]):hover { translate: 0 -2px; box-shadow: 0 6px 0 var(--steel), 0 22px 28px -18px rgba(16, 32, 43, .55); }
.acc__item summary:active { translate: 0 2px; }
.acc__body { padding: 0 1.4rem 1.4rem; transform-origin: top; animation: unfold .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes unfold { from { opacity: 0; transform: rotateX(-18deg); } }
.acc__body ul { list-style: none; padding: 0; margin: 0; display: grid; }
.acc__body li { padding: .7rem 0 .7rem 1.5rem; border-top: 1px solid var(--bg); position: relative; }
.acc__body li::before { content: ""; position: absolute; left: .15rem; top: 1.25rem; width: .55rem; height: .55rem; border-radius: 50% 0 50% 50%; rotate: -45deg; background: var(--blue); }
.acc__note { font-weight: 600; color: var(--blue-deep); padding-bottom: .7rem; }

/* Cottage */
.cottage { position: relative; isolation: isolate; padding: 0; min-height: min(90svh, 46rem); display: grid; align-items: start; color: #fff; }
.cottage__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cottage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(12, 26, 34, .93), rgba(12, 26, 34, .6) 42%, rgba(12, 26, 34, 0) 68%); }
.cottage__body { padding: clamp(3.5rem, 8vw, 6rem) 0 16rem; display: grid; gap: 1.1rem; justify-items: start; }
.cottage__body p { max-width: 34rem; font-size: 1.12rem; }
.cottage :focus-visible { outline-color: #fff; }

/* Alex */
.alex__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.alex__text { display: grid; gap: 1rem; font-size: 1.12rem; }

/* Call */
.call { background: var(--slate); color: #fff; --focus: #7cc4ff; }
.call__in { display: grid; gap: 1.5rem; justify-items: start; }
.call__num { font-weight: 800; font-size: clamp(3rem, .5rem + 12vw, 10rem); line-height: .95; letter-spacing: -.05em; color: #fff; text-decoration: none; font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 0 #0a6fc2, 0 4px 0 #0962ab, 0 6px 0 #085594, 0 8px 0 var(--blue-deep), 0 24px 30px rgba(0, 0, 0, .5); transition: transform .18s cubic-bezier(.2, .8, .2, 1), text-shadow .18s; }
.call__num:active { transform: translateY(6px); text-shadow: 0 1px 0 #0a6fc2, 0 2px 0 var(--blue-deep), 0 6px 10px rgba(0, 0, 0, .5); }
.call p { max-width: 36rem; font-size: 1.12rem; }
.call .btn--quiet { --quiet-edge: rgba(0, 0, 0, .5); white-space: normal; }

/* Sticky call bar on phones */
.stickycall { display: none; }
@media (max-width: 52rem) {
  .hero { align-items: end; }
  .hero__body { justify-items: start; }
  :root { --hero-shade: linear-gradient(to top, rgba(16, 32, 43, .95) 0%, rgba(16, 32, 43, .72) 55%, rgba(16, 32, 43, .3) 100%); }
  .services__in, .alex__in { grid-template-columns: 1fr; }
  .services__side { position: static; }
  .stickycall { position: fixed; z-index: 40; left: .75rem; right: .75rem; bottom: max(.75rem, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.5rem; border-radius: 14px;
    background: var(--blue); color: #fff; font-weight: 800; font-size: 1.1rem; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 5px 0 var(--blue-deep), 0 16px 26px -8px rgba(0, 0, 0, .6); }
  .stickycall { opacity: 0; visibility: hidden; translate: 0 1rem; transition: opacity .2s, translate .2s, visibility 0s .2s; }
  .hdr.is-stuck ~ main .stickycall { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
  .hdr.is-stuck ~ main .stickycall:active { translate: 0 4px; box-shadow: 0 1px 0 var(--blue-deep); }
  .ftr { padding-bottom: 7rem; }
}

.expanded-scope,.expanded-faq{padding:clamp(3.5rem,7vw,6rem) 0;background:#edf3f8;color:#253744}.expanded-wrap{width:min(calc(100% - 2.5rem),72rem);margin-inline:auto}.expanded-scope h2,.expanded-faq h2{font-size:clamp(2rem,4vw,3.4rem);max-width:24ch}.expanded-intro{font-size:1.15rem;line-height:1.65;max-width:44rem;margin-top:1.25rem}.expanded-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem;margin-top:3rem}.expanded-cards article{border-top:2px solid #12629b;padding-top:1.2rem;min-width:0}.expanded-number{display:block;color:#12629b;font-size:2rem;font-weight:700;margin-bottom:1rem}.expanded-cards h3{font-size:1.5rem;margin-bottom:1rem}.expanded-cards p,.expanded-faq p{font-size:1rem;line-height:1.7;overflow-wrap:anywhere}.expanded-faq{filter:brightness(.98)}.expanded-faq-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:3rem}.expanded-faq details{padding:1.25rem 0;border-bottom:1px solid #12629b}.expanded-faq summary{font-size:1.15rem;font-weight:700;cursor:pointer;line-height:1.5}.expanded-faq summary:focus-visible{outline:3px solid #12629b;outline-offset:4px}.expanded-faq p{margin-top:1rem}@media(max-width:700px){.expanded-cards,.expanded-faq-grid{grid-template-columns:1fr;gap:1.75rem}.expanded-cards{margin-top:2rem}}
