/* Pickering Plumbing & Heating: bright white, clear blue, copper. Signature: the copper pipe run through the services. */
:root {
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --bg: #ffffff; --ink: #0c2340; --blue: #0f5fd6; --blue-deep: #083b8a; --sky: #e6f1ff; --copper: #c26a2e; --copper-hi: #f0b287; --copper-lo: #7d3f15;
  --focus: #0f5fd6; --err: #a3271b;
  --hdr-solid: #ffffff; --hdr-solid-fg: #0c2340;
  --btn-bg: var(--blue); --btn-fg: #fff; --btn-edge: var(--blue-deep); --btn-shadow: rgba(8, 40, 100, .5);
  --quiet-edge: rgba(12, 35, 64, .25);
  --ftr-bg: #0c2340; --ftr-fg: #e6f1ff;
  --hero-shade: linear-gradient(to bottom, rgba(8, 30, 70, .55), rgba(8, 30, 70, 0) 28%);
}
h1, h2, h3 { font-stretch: 112%; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.25rem); font-weight: 800; letter-spacing: -.02em; max-width: 18ch; }
h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); font-weight: 750; letter-spacing: -.01em; }
section { padding: clamp(4rem, 9vw, 7rem) 0; }
.brand span { display: block; font-weight: 500; font-size: .8rem; font-stretch: 100%; letter-spacing: .01em; }

.hero { padding: 0; align-items: end; min-height: min(100svh, 60rem); }
.hero__body { padding: 7rem 0 0; }
.plate { position: relative; max-width: 43rem; background: #fff; color: var(--ink); padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: 22px 22px 0 0;
  box-shadow: 0 -30px 60px -30px rgba(8, 30, 70, .5); border-top: 8px solid var(--copper); animation: lift .7s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes lift { from { translate: 0 40px; opacity: 0; } }
.plate__place { font-weight: 700; color: var(--blue); margin-bottom: .75rem; }
.plate h1 { font-size: clamp(2.1rem, 1.1rem + 4.4vw, 4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.plate__lede { margin: 1.25rem 0 1.75rem; font-size: 1.15rem; max-width: 34rem; }

/* Pipe run */
.run { position: relative; margin-top: clamp(2.5rem, 6vw, 4rem); display: grid; }
.run::before { content: ""; position: absolute; left: 1.1rem; top: 0; bottom: 0; width: 1.4rem; border-radius: 1rem;
  background: linear-gradient(90deg, var(--copper-lo), var(--copper) 28%, var(--copper-hi) 52%, var(--copper) 74%, var(--copper-lo)); box-shadow: 6px 0 14px -6px rgba(60, 30, 10, .5); }
.run__item { position: relative; display: grid; grid-template-columns: 3.6rem minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.25rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.5rem, 4vw, 2.75rem) 0; }
.run__item + .run__item { border-top: 1px solid var(--sky); }
.run__valve { position: relative; width: 3.6rem; height: 3.6rem; perspective: 300px; }
.run__valve::before { content: ""; position: absolute; left: .6rem; top: .9rem; width: 2.4rem; height: 1.8rem; border-radius: .5rem;
  background: linear-gradient(90deg, var(--copper-lo), var(--copper-hi) 50%, var(--copper-lo)); box-shadow: 0 3px 6px rgba(60, 30, 10, .4); }
.run__valve i { position: absolute; left: .55rem; top: .55rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #5d9bff, var(--blue) 55%, var(--blue-deep));
  box-shadow: 0 4px 0 var(--blue-deep), 0 8px 12px -4px rgba(8, 40, 100, .6); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.run__valve i::before, .run__valve i::after { content: ""; position: absolute; inset: 46% 12%; background: #fff; border-radius: 2px; }
.run__valve i::after { rotate: 90deg; }
.run__item:hover .run__valve i, .run__item:focus-within .run__valve i { transform: rotateZ(135deg) rotateX(18deg); }
.run__text { display: grid; gap: .6rem; }
.run__text p { font-size: 1.1rem; max-width: 26rem; }
.run__pic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; box-shadow: 0 6px 0 var(--sky), 0 26px 40px -24px rgba(12, 35, 64, .6); }
.run__item:nth-child(even) .run__pic img { aspect-ratio: 2 / 1; }
.work__heat { margin-top: 2rem; margin-left: 3.6rem; padding: 1rem 1.25rem; background: var(--sky); border-radius: 12px; font-weight: 650; max-width: 40rem; }

/* Where */
.where { background: var(--sky); }
.where__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.where__text { display: grid; gap: 1rem; font-size: 1.12rem; }
.where__fine { font-size: .98rem; padding-left: 1rem; border-left: 4px solid var(--copper); }

/* Contact */
.contact { background: var(--blue); color: #fff; text-align: center; --focus: #fff; }
.contact__in { display: grid; gap: 1.5rem; justify-items: center; }
.contact h2 { max-width: none; }
.contact p { max-width: 36rem; font-size: 1.12rem; }
.bigphone { display: inline-flex; align-items: center; gap: .9rem; padding: 1rem 1.75rem; border-radius: 20px; background: #fff; color: var(--blue-deep); text-decoration: none;
  font-weight: 800; font-stretch: 112%; font-size: clamp(2rem, 1rem + 5.5vw, 4.25rem); line-height: 1; letter-spacing: -.02em; box-shadow: 0 8px 0 var(--blue-deep), 0 30px 40px -18px rgba(0, 0, 0, .5); }
.bigphone .ico { width: .7em; height: .7em; }
.bigphone:active { transform: perspective(900px) translateY(6px); box-shadow: 0 2px 0 var(--blue-deep); transition-duration: .06s; }
.contact .btn--quiet { --quiet-edge: rgba(0, 0, 0, .35); overflow-wrap: anywhere; white-space: normal; }

@media (max-width: 52rem) {
  .run::before { left: .55rem; width: .9rem; }
  .run__item { grid-template-columns: 2.2rem minmax(0, 1fr); align-items: start; }
  .run__valve { width: 2.2rem; height: 2.4rem; }
  .run__valve::before { left: .1rem; top: .5rem; width: 1.8rem; height: 1.3rem; }
  .run__valve i { left: .05rem; top: .15rem; width: 1.9rem; height: 1.9rem; }
  .run__pic { grid-column: 2; }
  .work__heat { margin-left: 0; }
  .where__in { grid-template-columns: 1fr; }
  .plate { border-radius: 18px 18px 0 0; }
}
