/* Look 1, Trusted: the brand colour as ink and the accent as copper, on warm white. */

:root {
  --navy: var(--brand);
  --navy-deep: var(--brand-dark);
  --ink: var(--brand);
  --text: color-mix(in srgb, var(--ink) 40%, #4d535f);
  --muted: color-mix(in srgb, var(--ink) 30%, #7b7f8b);
  --tone: color-mix(in srgb, var(--ink) 30%, #92959f);
  --ground: #fbfaf7;
  --paper: #fff;
  --sand: #f5f1ea;
  --sand-2: #ece5d8;
  --rule: #e7e1d6;
  --rule-strong: #d2c8b7;
  --field-edge: #7e8696;
  --copper: var(--brand-2);
  --copper-text: var(--brand-2-text);
  --copper-light: var(--brand-2-light);
  --copper-dark: var(--brand-2-deep);
  --copper-soft: var(--brand-2-soft);
  --on-navy: color-mix(in srgb, var(--on-brand) 78%, var(--navy));
  --error: #b42318;
  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(80px, 10vw, 144px);
  --header-h: 64px;
  --radius: 8px;
  --callbar-pad: 10px;
  --callbar-btn-h: 52px;
  /* 4px: the bar's 1px top border plus 3px clearance. */
  --callbar-h: calc(var(--callbar-btn-h) + 2 * var(--callbar-pad) + 4px + env(safe-area-inset-bottom));
}

/* Text in the brand colour is capped at a dark lightness; navy-dark brands pass through unchanged. */
@supports (color: oklch(from red l c h)) {
  :root {
    --ink: oklch(from var(--brand) min(l, 0.42) c h);
  }
}

@media (min-width: 1000px) {
  :root {
    --header-h: 76px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* Focus and anchor targets clear the sticky header; the header is reset so Chrome does not jump on header focus. */
* {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.site-header,
.site-header * {
  scroll-margin-top: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
}

.nowrap {
  white-space: nowrap;
}

/* Keeps a phrase on one line without breaking text-wrap: balance. */
.hold {
  display: inline-block;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--on-brand);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.preview-bar {
  background: var(--navy);
  color: var(--on-brand);
  font-size: 0.8125rem;
  line-height: 1.3;
}

.preview-bar :focus-visible {
  outline-color: var(--on-brand);
}

.preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.preview-row p {
  color: var(--on-navy);
}

.preview-row ul {
  display: flex;
  gap: 20px;
}

.preview-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-underline-offset: 0.25em;
}

.hide-sm {
  display: none;
}

@media (min-width: 600px) {
  .hide-sm {
    display: inline;
  }

  .show-sm {
    display: none;
  }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--copper-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 24px;
  height: 2px;
  background: var(--copper);
}

.section-title {
  max-width: 22ch;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2.125rem, 1.35rem + 2.5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

.tone {
  color: var(--tone);
}

.section-head {
  margin-bottom: clamp(40px, 5vw, 72px);
}

.text-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--copper) 55%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: text-decoration-color 0.2s ease;
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-solid {
  background: var(--navy);
  color: var(--on-brand);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 16%, transparent), inset 0 1px 0 rgb(255 255 255 / 0.1);
}

.btn-solid:hover {
  background: var(--navy-deep);
}

.btn-line {
  border-color: var(--rule-strong);
  background: var(--paper);
  color: var(--ink);
}

.btn-line:hover {
  border-color: var(--ink);
}

.live-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--copper) 18%, transparent);
}

.icon {
  flex: none;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--copper);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--ground) 92%, transparent);
  border-bottom: 1px solid var(--rule);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

/* Sized by height so a wide logo keeps its shape. */
.brand-mark {
  flex: none;
  width: auto;
  height: 34px;
  max-width: 96px;
  object-fit: contain;
}

.brand-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1;
}

.brand-main {
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.brand-sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
  text-wrap: balance;
}

.site-nav {
  display: none;
}

.site-nav ul {
  display: flex;
  gap: clamp(20px, 2.4vw, 36px);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--copper-text);
}

.header-call {
  flex: none;
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.9375rem;
}

@media (min-width: 1000px) {
  .site-nav {
    display: block;
  }

  .brand-mark {
    height: 40px;
  }

  .brand-main {
    font-size: 1.5rem;
  }
}

.hero {
  padding-top: clamp(48px, 7vw, 104px);
}

.hero-grid {
  display: grid;
  gap: 40px;
}

.hero-title {
  max-width: 17ch;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2.375rem, 1.25rem + 3.6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.026em;
  line-height: 1.04;
  text-wrap: balance;
}

.hero-lead {
  max-width: 34rem;
  margin-top: 24px;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

@media (max-width: 599.98px) {
  .hero-actions .btn {
    flex: 1 1 100%;
  }
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 150px 16px 16px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background-color: var(--sand);
  background-image:
    linear-gradient(color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
}

.pipes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pipe path {
  fill: none;
  stroke: var(--copper);
  stroke-width: 12;
}

.pipe-shine path {
  fill: none;
  stroke: var(--copper-light);
  stroke-width: 2.5;
  opacity: 0.85;
}

.pipe-fit rect {
  fill: var(--copper-dark);
}

.pipe-valve rect {
  fill: var(--navy);
}

.pipe-lever path {
  fill: none;
  stroke: var(--navy);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.call-card {
  position: relative;
  padding: 22px 22px 18px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 1px 1px color-mix(in srgb, var(--ink) 5%, transparent), 0 22px 48px -20px color-mix(in srgb, var(--ink) 38%, transparent);
}

.card-k,
.contact-k {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--copper-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.card-num {
  margin-top: 6px;
  font-family: var(--display);
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
  font-weight: 420;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

/* Padding lifts the tap area to 44px at the smallest size. */
.card-num a {
  display: inline-block;
  padding: 5px 0;
  color: var(--ink);
  text-decoration: none;
}

.card-num a:hover {
  color: var(--copper-text);
}

.card-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.card-foot {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 500;
}

.creds-strip {
  display: grid;
  margin-top: clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--rule-strong);
}

.cred {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  line-height: 1.4;
}

.cred .icon {
  margin-top: 1px;
}

.cred-k {
  display: block;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}

.cred-v {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

.cred-lead .cred-k {
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 450;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

@media (min-width: 600px) {
  .creds-strip {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
  }

  .creds-strip[data-count="1"] {
    grid-template-columns: 1fr;
  }
}

/* Tablet: card on the left, the valves and elbows on the right. */
@media (min-width: 600px) and (max-width: 999.98px) {
  .hero-panel {
    display: flex;
    align-items: center;
    min-height: 300px;
    padding: 32px;
  }

  .pipes {
    inset: auto;
    top: 50%;
    right: -24px;
    width: 560px;
    height: 560px;
    transform: translateY(-50%);
  }

  .call-card {
    width: min(360px, 58%);
  }
}

@media (min-width: 1000px) {
  .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: clamp(48px, 6vw, 96px);
    align-items: stretch;
  }

  .hero-copy {
    padding: clamp(8px, 2vw, 32px) 0;
  }

  .hero-panel {
    display: flex;
    align-items: flex-end;
    min-height: 460px;
    padding: 28px;
  }

  .call-card {
    width: min(360px, 100%);
    padding: 24px 26px 20px;
  }

  /* The first column is wider for the display-type lead. */
  .creds-strip {
    grid-template-columns: 1.25fr 1fr 1fr 1.1fr;
    column-gap: 0;
    border-bottom: 1px solid var(--rule);
  }

  .creds-strip[data-count="3"] {
    grid-template-columns: 1.25fr 1fr 1fr;
  }

  .creds-strip[data-count="2"] {
    grid-template-columns: 1.25fr 1fr;
  }

  .cred {
    padding: 26px 24px 28px;
    border-bottom: 0;
    border-left: 1px solid var(--rule);
  }

  .cred:first-child {
    padding-left: 0;
    border-left: 0;
  }
}

.services {
  padding: var(--section) 0;
}

.service-rows {
  border-top: 2px solid var(--navy);
}

.service-rows li {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--rule);
}

.row-num {
  grid-row: span 2;
  padding-top: 0.55em;
  color: var(--copper-text);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.row-title {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.row-text {
  max-width: 38rem;
  margin-top: 6px;
  color: var(--muted);
}

@media (min-width: 900px) {
  .service-rows li {
    grid-template-columns: 4rem minmax(0, 5fr) minmax(0, 6fr);
    align-items: baseline;
    padding: 30px 0 32px;
  }

  .row-num {
    grid-row: auto;
    padding-top: 0;
  }

  .row-text {
    margin-top: 0;
    font-size: 1.0625rem;
  }
}

.consult {
  display: grid;
  gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--sand);
}

.consult-title {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.625rem, 1.4rem + 0.8vw, 2.125rem);
  font-weight: 420;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.consult-text {
  margin-top: 6px;
  color: var(--muted);
}

@media (max-width: 599.98px) {
  .consult .btn {
    width: 100%;
  }
}

@media (min-width: 760px) {
  .consult {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 40px;
  }
}

/* How it works: numbered rings joined by a copper line. */
.how-section {
  padding: var(--section) 0;
  border-top: 1px solid var(--rule);
}

.how-step {
  position: relative;
  padding: 0 0 40px 72px;
}

.how-step:last-child {
  padding-bottom: 0;
}

.how-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 56px;
  bottom: 8px;
  left: 24px;
  width: 1px;
  background: var(--copper);
  opacity: 0.6;
}

.how-num {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border: 1px solid var(--copper);
  border-radius: 50%;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
}

.how-title {
  max-width: 20ch;
  padding-top: 8px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
  text-wrap: balance;
}

.how-text {
  max-width: 30rem;
  margin-top: 8px;
  color: var(--muted);
  text-wrap: pretty;
}

/* One column per step, however many steps there are. */
@media (min-width: 960px) {
  .how-list {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    column-gap: clamp(32px, 4vw, 64px);
  }

  .how-step {
    padding: 80px 0 0;
  }

  .how-step:not(:last-child)::before {
    top: 24px;
    right: calc(12px - clamp(32px, 4vw, 64px));
    bottom: auto;
    left: 68px;
    width: auto;
    height: 1px;
  }
}

.credentials {
  padding: var(--section) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--sand);
}

.cred-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}

.years {
  display: grid;
  gap: 10px;
  max-width: 24rem;
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--rule-strong);
}

.years-num {
  color: var(--copper);
  font-family: var(--display);
  font-size: clamp(4.5rem, 3rem + 5vw, 7.5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.years-k {
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.45;
}

.certificate {
  padding: clamp(28px, 4.5vw, 56px);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  background: var(--paper);
  box-shadow: inset 0 0 0 7px var(--paper), inset 0 0 0 8px var(--copper-soft), 0 28px 56px -32px color-mix(in srgb, var(--ink) 40%, transparent);
}

.cert-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--navy);
}

.cert-k {
  color: var(--copper-text);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cert-mark {
  width: auto;
  height: 40px;
  max-width: 120px;
  object-fit: contain;
}

.cert-list div {
  display: grid;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.cert-list dt {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cert-list dd {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.75rem);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.05;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.cert-badges img {
  width: auto;
  height: 56px;
  max-width: 160px;
  object-fit: contain;
}

.cert-notes {
  display: grid;
  gap: 14px;
  padding-top: 24px;
}

.cert-notes li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}

@media (min-width: 600px) {
  .cert-list div {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 24px;
  }

  .cert-notes {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
  }
}

@media (min-width: 900px) {
  .cred-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(48px, 6vw, 104px);
    align-items: center;
  }
}

.work {
  padding: var(--section) 0;
}

.frame-mat {
  padding: 8px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 5%, transparent), 0 18px 40px -26px color-mix(in srgb, var(--ink) 35%, transparent);
}

.frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  object-fit: cover;
  background: var(--sand-2);
}

.frame-wide img {
  aspect-ratio: 4 / 3;
}

.frame figcaption {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.frame figcaption span {
  flex: none;
  color: var(--copper-text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.frames {
  display: grid;
  gap: 32px;
}

.frame-wide + .frames {
  margin-top: 32px;
}

@media (min-width: 600px) {
  .frame-wide img {
    aspect-ratio: 2 / 1;
  }

  .frame-mat {
    padding: 10px;
  }

  .frames {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 32px);
  }

  .frames[data-count="2"],
  .frames[data-count="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* A lone photo stays card-sized rather than stretching across the page. */
  .frames[data-count="1"] {
    grid-template-columns: minmax(0, 26rem);
  }

  .frame-wide + .frames {
    margin-top: clamp(32px, 3.5vw, 48px);
  }
}

.compare-section {
  --compare-accent: var(--copper);
  --compare-focus: var(--ink);
  --compare-ground: var(--sand-2);
  --compare-line: var(--paper);
  --compare-grip: var(--navy);
  --compare-arrow: var(--on-brand);
  --compare-grip-shadow: 0 0 0 2px var(--copper-light), 0 8px 22px color-mix(in srgb, var(--ink) 38%, transparent);
  --compare-radius: 2px;

  padding: var(--section) 0;
  border-top: 1px solid var(--rule);
}

.section-lead {
  max-width: 36rem;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.125rem;
  text-wrap: pretty;
}

.compare-note {
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--sand);
  color: var(--text);
}

.compare-note strong {
  color: var(--ink);
}

/* The same white mat as the work photos. */
.compare {
  box-shadow: 0 0 0 8px var(--paper), 0 0 0 9px var(--rule), 0 18px 40px -20px color-mix(in srgb, var(--ink) 35%, transparent);
}

.compare-tag {
  border-radius: 4px;
  background: rgb(255 255 255 / 0.92);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.compare-cap,
.compare-credit {
  color: var(--muted);
}

.compare-credit {
  margin-top: 26px;
}

/* Shop features: open-now badge, seasonal note, ready list, towns and questions. */
:root {
  --feat-ink: var(--ink);
  --feat-muted: var(--text);
  --feat-rule: var(--rule-strong);
  --feat-accent: var(--navy);
  --feat-on-accent: var(--on-brand);
  --feat-focus: var(--ink);
  --feat-panel: var(--paper);
  --feat-radius: var(--radius);
  --feat-badge-bg: var(--paper);
  --feat-open: #2d7a4b;
  --feat-closed: var(--copper);
  --feat-season-bg: var(--sand);
  --feat-season-ink: var(--text);
  --feat-season-rule: var(--rule);
  --feat-season-mark: var(--copper);
  --feat-chip-bg: var(--paper);
  --feat-chip-radius: var(--radius);
  --feat-map-ground: var(--sand);
  --feat-map-land: var(--sand-2);
  --feat-map-land-2: color-mix(in srgb, var(--rule-strong) 70%, var(--sand-2));
  --feat-map-water: color-mix(in srgb, #6f8ea6 30%, var(--paper));
  --feat-map-road: var(--paper);
  --feat-map-ring: var(--copper);
  --feat-map-pin: var(--navy);
  --feat-map-pin-dot: var(--copper-light);
}

.open-badge {
  border: 1px solid var(--rule-strong);
}

.ready {
  border-top: 2px solid var(--navy);
}

.ready-title,
.faq-q {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.ready-title {
  font-size: clamp(1.5rem, 1.3rem + 0.7vw, 1.875rem);
  line-height: 1.15;
}

.faq-q {
  font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);
  line-height: 1.25;
}

.faq-list {
  border-top: 2px solid var(--navy);
}

.towns-section,
.faq-section {
  padding: var(--section) 0;
  border-top: 1px solid var(--rule);
}

@media (min-width: 1000px) {
  .faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    column-gap: clamp(40px, 5vw, 96px);
    align-items: start;
  }
}

.contact {
  padding: var(--section) 0;
  border-top: 1px solid var(--rule);
}

.contact-grid {
  display: grid;
  gap: 56px;
}

.contact-k {
  margin-top: 32px;
}

.contact-phone {
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem);
  font-weight: 420;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.contact-phone a {
  display: inline-block;
  padding: 4px 0;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--copper) 60%, transparent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

.contact-phone a:hover {
  text-decoration-color: currentColor;
}

.talk {
  margin-top: 36px;
}

.talk-title {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.talk-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.talk-list li {
  padding: 16px 18px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--paper);
  line-height: 1.5;
}

.talk-list a {
  display: inline-block;
  padding: 10px 0;
}

.talk-name {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 450;
  line-height: 1.2;
}

.talk-mail {
  color: var(--muted);
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}

@media (min-width: 480px) {
  .talk-list {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-list {
  margin-top: 32px;
  border-top: 1px solid var(--rule);
}

.contact-list div {
  display: grid;
  gap: 4px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
}

.contact-list dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-list dd {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

@media (min-width: 480px) {
  .contact-list div {
    grid-template-columns: 7rem 1fr;
    gap: 16px;
    align-items: baseline;
  }
}

.request-panel {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--navy);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 4%, transparent), 0 28px 56px -36px color-mix(in srgb, var(--ink) 35%, transparent);
}

.request-title {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
  font-weight: 420;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.request-lead {
  margin-top: 10px;
  color: var(--muted);
}

.form {
  margin-top: 28px;
}

.form > * + * {
  margin-top: 20px;
}

.field-row {
  display: grid;
  gap: 20px;
}

@media (min-width: 600px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}

.opt {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--field-edge);
  border-radius: var(--radius);
  background-color: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 23px) 52%, calc(100% - 17px) 52%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  outline: 2px solid var(--ink);
  outline-offset: 0;
}

.field [aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  margin-top: 8px;
  color: var(--error);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.btn-submit {
  width: 100%;
  margin-top: 28px;
}

.form-done {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 28px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.375rem;
  line-height: 1.4;
}

.form-done:focus {
  outline: none;
}

.form-done-mark {
  flex: none;
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--copper);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: clamp(48px, 7vw, 112px);
    align-items: start;
  }
}

.site-footer {
  padding: clamp(56px, 7vw, 96px) 0 36px;
  background: var(--navy);
  color: var(--on-navy);
  font-size: 0.9375rem;
}

.site-footer :focus-visible {
  outline-color: var(--on-brand);
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-grid p + p {
  margin-top: 10px;
}

/* A light plate keeps the brand-coloured mark visible on the brand-coloured footer. */
.footer-logo {
  display: inline-block;
  padding: 6px;
  border-radius: var(--radius);
  background: var(--ground);
}

.footer-logo img {
  width: auto;
  height: 40px;
  max-width: 200px;
  object-fit: contain;
}

.footer-grid .footer-name {
  margin-top: 16px;
  color: var(--on-brand);
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 450;
  line-height: 1.25;
}

.footer-grid .footer-note {
  max-width: 34ch;
  margin-top: 8px;
}

.footer-link {
  color: var(--on-brand);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--copper-light) 70%, transparent);
  text-underline-offset: 0.22em;
}

.footer-link:hover {
  text-decoration-color: currentColor;
}

/* Negative margin keeps the line rhythm while the tap area reaches 44px. */
.footer-call {
  display: inline-block;
  margin: -10px 0;
  padding: 10px 0;
}

.footer-legal {
  margin-top: clamp(40px, 5vw, 72px);
}

.footer-looks {
  margin-bottom: 18px;
  font-size: 0.875rem;
}

.footer-looks .footer-link {
  display: inline-block;
  padding: 13px 0;
}

.legal-line {
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--on-brand) 18%, transparent);
  font-size: 0.8125rem;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 6fr 3fr 3fr;
  }
}

@media screen and (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  [data-reveal].is-armed {
    opacity: 0;
    transform: translateY(24px);
  }

  [data-reveal].is-armed.is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

.callbar {
  display: none;
}

@media (max-width: 999.98px) {
  body {
    padding-bottom: var(--callbar-h);
  }

  /* Keeps focused fields and links clear of the fixed call bar. */
  * {
    scroll-margin-bottom: var(--callbar-h);
  }

  .callbar,
  .callbar * {
    scroll-margin-bottom: 0;
  }

  .callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 10px;
    padding: var(--callbar-pad) max(14px, env(safe-area-inset-right)) calc(var(--callbar-pad) + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    background: color-mix(in srgb, var(--ground) 96%, transparent);
    border-top: 1px solid var(--rule);
    box-shadow: 0 -8px 24px -12px color-mix(in srgb, var(--ink) 18%, transparent);
    transition: transform 0.3s ease, visibility 0.3s;
  }

  .callbar .btn {
    min-height: var(--callbar-btn-h);
    padding: 0 12px;
    font-size: 0.9375rem;
  }

  .callbar .show-xs {
    display: none;
  }

  .callbar.is-tucked {
    transform: translateY(110%);
    visibility: hidden;
  }
}

/* Below 420px the full number and the request label do not both fit on one line, and the header tightens. */
@media (max-width: 419.98px) {
  .callbar .hide-xs {
    display: none;
  }

  .callbar .show-xs {
    display: inline;
  }

  .header-row {
    gap: 12px;
  }

  .brand-mark {
    max-width: 56px;
  }

  .brand-main {
    font-size: 1.125rem;
  }

  .brand-sub {
    letter-spacing: 0.1em;
  }

  .header-call {
    padding: 0 12px;
  }
}

/* Under 360px the brand drops a trade-name sub line; a sub line that is part of the shop's name stays. */
@media (max-width: 359.98px) {
  .brand-trade {
    display: none;
  }
}

/* Paper drops backgrounds, so decoration goes and the footer turns dark on white. */
@media print {
  .preview-bar,
  .site-nav,
  .callbar,
  .hero-actions,
  .pipes,
  .request-panel,
  .skip-link,
  .header-call,
  .season-note,
  .open-badge,
  .towns-map {
    display: none !important;
  }

  body {
    padding-bottom: 0;
  }

  .site-header {
    position: static;
  }

  .hero-panel {
    padding: 0;
    border: 0;
    background: none;
  }

  .site-footer,
  .footer-grid .footer-name,
  .footer-link {
    background: none;
    color: var(--ink);
  }

  .footer-logo {
    display: none;
  }

  .btn {
    border-color: var(--ink);
    background: none;
    color: var(--ink);
    box-shadow: none;
  }
}
