/* Site vitrine: plomberie. Flat colour, hairlines, one accent. */
@font-face { font-family: "Display"; src: url("fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Display"; src: url("fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Text"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --paper: oklch(0.985 0.008 85); --paper-2: oklch(0.953 0.015 85); --ink: oklch(0.2 0.02 60); --muted: oklch(0.43 0.02 60); --rule: oklch(0.86 0.015 80);
  --accent: oklch(0.42 0.08 195); --accent-strong: oklch(0.34 0.08 195); --on-accent: oklch(0.985 0.008 85); --accent-text: oklch(0.4 0.08 195); --accent-soft: oklch(0.93 0.03 195);
  --display: "Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --text: "Text", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--text); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.i { flex: none; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }
h1, h2, h3, .brand, .n, .big, .bigtel, .fn { font-family: var(--display); }

/* buttons: square and sturdy */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border-radius: 3px; background: var(--accent); color: var(--on-accent); border: 2px solid var(--accent); font: 700 1rem/1.2 var(--text); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s; }
.btn:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: .95rem; }
.btn-lg { padding: 17px 28px; font-size: 1.05rem; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.more:hover { color: var(--accent-text); }

/* header */
.top { border-bottom: 1px solid var(--rule); background: var(--paper); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { margin-right: auto; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.015em; text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav { display: flex; gap: 30px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 550; font-size: .97rem; }
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.tel { font-weight: 650; text-decoration: none; font-variant-numeric: tabular-nums; }

/* hero */
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 80px; align-items: center; padding: 80px 0 104px; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5.1rem); line-height: 0.99; letter-spacing: -0.035em; font-weight: 640; text-wrap: balance; }
h1 em { font-style: italic; font-weight: 520; color: var(--accent-text); }
.lead { margin-top: 28px; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 29em; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 40px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 64px; border-top: 2px solid var(--ink); }
.facts > div { padding: 18px 20px 0 0; }
.facts > div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
dt { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
dd { font-weight: 600; line-height: 1.45; }
dd a { text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }

.art { position: relative; aspect-ratio: 4 / 5; background: var(--accent); border-radius: 4px; }
.art svg { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 4px; --a1: var(--paper); --a2: var(--ink); --a3: var(--accent-strong); --a4: var(--accent-soft); }
.art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; display: block; }
.tiles.n5, .tiles.n6 { grid-template-columns: repeat(3, 1fr); }
.plaque { position: absolute; left: -32px; bottom: 40px; max-width: calc(100% - 16px); background: var(--paper); color: var(--ink); border: 2px solid var(--ink); padding: 12px 18px; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; line-height: 1.3; }

/* sections */
.section { padding: 88px 0; }
.tinted { background: var(--paper-2); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 640; text-wrap: balance; margin-bottom: 40px; }
h3 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -0.015em; font-weight: 650; }

/* services: neutral tiles, the accent shows on the icon and on hover */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tiles.n3 { grid-template-columns: repeat(3, 1fr); }
.tile { min-height: 300px; padding: 34px; border-radius: 4px; background: var(--paper-2); color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; transition: background-color .25s, color .25s, transform .25s cubic-bezier(.2,.8,.2,1); }
.tile:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-3px); }
.tile-top { display: flex; justify-content: space-between; align-items: flex-start; }
.tile .i { color: var(--accent-text); transition: color .25s; }
.tile:hover .i { color: var(--on-accent); }
.tile .n { font-size: 1.05rem; font-weight: 600; opacity: .6; font-variant-numeric: tabular-nums; }
.tile h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; font-weight: 620; letter-spacing: -0.025em; margin-bottom: 10px; }
.tile p { font-size: 1.02rem; max-width: 28em; opacity: .82; }

/* steps: compact, on the light tint */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 2px solid var(--ink); }
.steps li { padding-top: 24px; }
.big { display: block; font-size: 2.4rem; line-height: 1; font-weight: 500; color: var(--accent-text); margin-bottom: 14px; font-variant-numeric: lining-nums; }
.steps h3 { font-size: 1.2rem; }
.steps p { margin-top: 6px; color: var(--muted); max-width: 22em; font-size: 1rem; }

/* call to action: one flat block of the accent colour */
.band { background: var(--accent); color: var(--on-accent); padding: 56px 0; }
.band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.band h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 4px; }
.band p { font-size: 1.05rem; opacity: .9; }
.band-act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.bigtel { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; font-variant-numeric: tabular-nums lining-nums; border-bottom: 3px solid currentColor; padding-bottom: 3px; }
.band .more:hover { color: inherit; opacity: .8; }

/* footer */
.foot { padding: 44px 0 52px; color: var(--muted); font-size: .97rem; }
.foot-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px; }
.fn { color: var(--ink); font-size: 1.05rem; font-weight: 650; margin-bottom: 4px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

.callbar { display: none; }

@media (max-width: 960px) {
  .nav, .tel { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; padding: 48px 0 72px; }
  .art { aspect-ratio: 16 / 11; }
  .plaque { left: 16px; bottom: -20px; }
  .section { padding: 56px 0; }
  h2 { margin-bottom: 28px; }
  .tiles, .tiles.n3, .tiles.n5, .tiles.n6 { grid-template-columns: 1fr; }
  .tile { min-height: 0; padding: 26px; gap: 32px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .band { padding: 44px 0; }
  .actions .btn-lg { width: 100%; }
  body:has(.callbar) { padding-bottom: 84px; }
  .callbar { display: flex; align-items: center; justify-content: center; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; padding: 17px 20px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 1.05rem; text-decoration: none; border-radius: 3px; border: 2px solid var(--ink); }
}
@media (max-width: 480px) {
  .brand { font-size: 1.2rem; }
  .top .btn-sm { display: none; }
  .top .btn-sm:only-of-type { display: inline-flex; }
}

.about-in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about-in.solo { grid-template-columns: minmax(0, 780px); }
.about-txt p { margin-top: 18px; font-size: 1.12rem; line-height: 1.75; color: var(--muted); text-wrap: pretty; }
.about-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: var(--rad, 4px); }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.gallery.g2 { grid-template-columns: repeat(2, 1fr); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: var(--rad, 4px); }
.gallery.g4 { grid-template-columns: repeat(2, 1fr); }
.gallery.g4 img:first-child { grid-column: span 2; aspect-ratio: 16 / 7; }
.credits { margin-top: 18px; font-size: .82rem; opacity: .65; }
@media (max-width: 900px) { .about-in { grid-template-columns: 1fr; gap: 28px; } .gallery, .gallery.g4 { grid-template-columns: 1fr 1fr; } .gallery.g4 img:first-child { aspect-ratio: 4 / 3; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile { transition: none; }
  .tile:hover { transform: none; }
}
