/* Ironside — plumbing and heating. Barlow Condensed + Barlow. White, slate, safety orange. */
:root {
  --bg: #ffffff;
  --soft: #f1f3f6;
  --ink: #111827;
  --muted: #5b6474;
  --line: #dfe3ea;
  --accent: #ff6a13;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --sans: 'Barlow', system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.9, 0.3, 1);
  --pad: clamp(18px, 4.4vw, 64px);
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.wrap { width: 100%; max-width: 1380px; margin: 0 auto; padding-inline: var(--pad); }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.kicker::before { content: ''; width: 22px; height: 3px; background: currentColor; }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5.4vw, 80px); line-height: 0.96; letter-spacing: -0.005em; text-transform: uppercase; }
em { font-style: normal; color: var(--accent); }

/* Motion primitives: brisk */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease) var(--d, 0ms), transform 0.9s var(--ease) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; }
.js [data-reveal="clip"] > img { clip-path: inset(0 0 100% 0 round 14px); transition: clip-path 1.2s var(--ease) var(--d, 0ms) !important; }
.js [data-reveal="clip"].is-in > img { clip-path: inset(0 round 14px); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.w-i { display: inline-block; transform: translateY(106%); transition: transform 0.9s var(--ease); }
.is-in .w-i { transform: none; }

.media { position: relative; overflow: hidden; border-radius: var(--r); background: var(--soft); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media img[data-parallax] { position: absolute; left: 0; top: -7%; height: 114%; will-change: transform; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; font-weight: 600; font-size: 17px; transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #fff; width: 100%; }
.btn--accent:hover { background: var(--ink); }
.btn--accent:hover svg { transform: translateX(4px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #fff; color: var(--ink); }
.btn--line { border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }

/* Top bar and header */
.topbar { display: flex; justify-content: space-between; gap: 20px; padding: 9px var(--pad); background: var(--ink); color: #d5dae3; font-size: 14px; font-weight: 500; }
.topbar p:first-child { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.topbar i { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6); } to { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } }
.header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px var(--pad); background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow 0.4s var(--ease), padding 0.4s var(--ease); }
.header.is-scrolled { box-shadow: 0 14px 30px -22px rgba(17, 24, 39, 0.5); padding-block: 9px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand svg { width: 34px; height: 34px; fill: var(--accent); }
.brand span { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 0.9; text-transform: uppercase; letter-spacing: 0.01em; }
.brand small { display: block; font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: 0.12em; color: var(--muted); margin-top: 4px; }
.nav { display: flex; gap: clamp(14px, 2.2vw, 32px); }
.nav a { font-weight: 500; font-size: 16px; position: relative; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.call { display: inline-flex; align-items: center; gap: 12px; padding: 9px 18px 9px 10px; border-radius: 10px; background: var(--accent); color: #fff; transition: background 0.35s var(--ease), transform 0.35s var(--ease); }
.call:hover { background: var(--ink); transform: translateY(-2px); }
.call svg { width: 38px; height: 38px; padding: 9px; border-radius: 8px; background: rgba(255, 255, 255, 0.2); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.call span { font-family: var(--display); font-weight: 700; font-size: 25px; line-height: 1; letter-spacing: 0.01em; }
.call small { display: block; font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.9; margin-bottom: 2px; }
.burger { display: none; width: 46px; height: 46px; background: var(--soft); border: 0; border-radius: 10px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2.500px; background: var(--ink); transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.nav-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 116%; object-fit: cover; opacity: 0.34; will-change: transform; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(17, 24, 39, 0.96) 20%, rgba(17, 24, 39, 0.5) 100%); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding-block: clamp(56px, 8vw, 120px); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-size: 14px; font-weight: 500; margin-bottom: 22px; }
.badge svg { width: 18px; height: 18px; fill: #ffc233; }
.hero__title { font-family: var(--display); font-weight: 700; font-size: clamp(56px, 9vw, 146px); line-height: 0.88; text-transform: uppercase; }
.hero__title em { display: block; }
.hero__lede { margin-top: 24px; max-width: 46ch; font-size: 19px; color: #c9cfda; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; }
.checks li { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.checks li::before { content: ''; width: 22px; height: 22px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.500 12.500l3.500 3.500 7.500-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.quote { background: #fff; color: var(--ink); border-radius: 18px; padding: clamp(22px, 2.6vw, 36px); display: grid; gap: 14px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); border-top: 6px solid var(--accent); }
.quote h2 { font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1; text-transform: uppercase; }
.quote > p:first-of-type { color: var(--muted); font-size: 16px; margin-top: -6px; }
.quote label { display: block; font-size: 14px; font-weight: 600; }
.quote input, .quote select { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; background: var(--soft); border: 2px solid transparent; border-radius: 10px; font-weight: 400; font-size: 16px; transition: border-color 0.3s var(--ease), background 0.3s var(--ease); }
.quote input:focus, .quote select:focus { outline: none; border-color: var(--accent); background: #fff; }
.quote__note { font-weight: 600; color: #128a4a; font-size: 15px; min-height: 1.5em; opacity: 0; transition: opacity 0.5s var(--ease); }
.quote__note.is-shown { opacity: 1; }

/* Numbers */
.numbers { border-bottom: 1px solid var(--line); }
.numbers dl { display: grid; grid-template-columns: repeat(4, 1fr); }
.numbers dl > div { padding: clamp(24px, 3vw, 40px) 16px; }
.numbers dl > div + div { border-left: 1px solid var(--line); padding-left: clamp(16px, 2.6vw, 36px); }
.numbers dt { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 5vw, 72px); line-height: 1; }
.numbers dt small { font-size: 0.42em; color: var(--accent); margin-left: 4px; text-transform: uppercase; }
.numbers dd { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* Services */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head > p { max-width: 38ch; color: var(--muted); }
.services { padding-block: clamp(72px, 9vw, 130px); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 18px); }
.svc { border: 2px solid var(--line); border-radius: var(--r); padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; transition: border-color 0.35s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.svc:hover { border-color: var(--ink); transform: translateY(-6px); box-shadow: 0 22px 40px -28px rgba(17, 24, 39, 0.6); }
.svc svg { width: 46px; height: 46px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.35s var(--ease), transform 0.5s var(--ease); }
.svc:hover svg { stroke: var(--accent); transform: scale(1.08); }
.svc h3 { font-family: var(--display); font-weight: 700; font-size: 31px; line-height: 1; text-transform: uppercase; margin: 22px 0 8px; }
.svc p { color: var(--muted); font-size: 16px; margin-bottom: 22px; }
.svc div { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); }
.svc span { font-weight: 600; }
.svc a { font-weight: 600; color: var(--accent); border-bottom: 2px solid transparent; transition: border-color 0.3s var(--ease); }
.svc a:hover { border-color: var(--accent); }
.svc--hot { background: var(--ink); border-color: var(--ink); color: #fff; }
.svc--hot svg { stroke: var(--accent); }
.svc--hot p { color: #c9cfda; }
.svc--hot div { border-color: rgba(255, 255, 255, 0.2); }

/* How */
.how { background: var(--soft); padding-block: clamp(72px, 9vw, 130px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 18px); margin-top: clamp(30px, 4vw, 52px); counter-reset: s; }
.steps li { background: #fff; border-radius: var(--r); padding: clamp(22px, 2.6vw, 36px); position: relative; overflow: hidden; }
.steps span { font-family: var(--display); font-weight: 700; font-size: 150px; line-height: 0.8; color: var(--soft); position: absolute; right: 14px; top: 14px; transition: color 0.5s var(--ease), transform 0.6s var(--ease); }
.steps li:hover span { color: var(--accent); transform: translateY(-4px); }
.steps h3 { position: relative; font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1; text-transform: uppercase; margin-top: 70px; max-width: 12ch; }
.steps p { position: relative; color: var(--muted); margin-top: 10px; max-width: 32ch; }

/* Bathrooms */
.bathrooms { padding-block: clamp(72px, 9vw, 130px); }
.shots { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(10px, 1.2vw, 18px); }
.shots .media { height: clamp(300px, 36vw, 520px); }
.shots figcaption { position: absolute; left: 12px; bottom: 12px; z-index: 1; background: #fff; border-radius: 8px; padding: 8px 14px; font-weight: 600; font-size: 14px; }

/* Areas */
.areas__box { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 6vw, 90px); align-items: center; background: var(--ink); color: #fff; border-radius: 22px; padding: clamp(28px, 5vw, 72px); }
.areas__box > div > p:last-child { color: #c9cfda; margin-top: 16px; max-width: 36ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.28); font-weight: 500; transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.4s var(--ease); }
.chips li:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }

/* Reviews */
.reviews { padding-block: clamp(72px, 9vw, 130px); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 18px); margin-top: clamp(30px, 4vw, 52px); }
.cards blockquote { background: var(--soft); border-radius: var(--r); padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; }
.stars { display: flex; gap: 4px; margin-bottom: 18px; }
.stars i { width: 20px; height: 20px; background: #ffb400; clip-path: polygon(50% 0, 62% 35%, 100% 38%, 70% 60%, 80% 96%, 50% 76%, 20% 96%, 30% 60%, 0 38%, 38% 35%); }
.cards blockquote > p:not(.stars) { font-size: 18px; line-height: 1.5; margin-bottom: 24px; }
.cards footer { margin-top: auto; }
.cards b { display: block; }
.cards span { font-size: 14px; color: var(--muted); }

/* CTA */
.cta { background: var(--accent); color: var(--ink); padding-block: clamp(56px, 7vw, 100px); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 6.4vw, 100px); line-height: 0.92; text-transform: uppercase; max-width: 12ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.footer { background: var(--ink); color: #fff; }
.footer .brand small { color: #9aa3b2; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 30px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 26px; font-weight: 500; }
.footer nav a { color: #c9cfda; transition: color 0.3s var(--ease); }
.footer nav a:hover { color: var(--accent); }
.footer p { font-size: 14px; color: #8a93a3; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 8px var(--pad) 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(17, 24, 39, 0.5); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav-open .nav { display: flex; }
  .call { margin-left: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .grid, .cards { grid-template-columns: 1fr 1fr; }
  .areas__box { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .topbar p:last-child { display: none; }
  .call span { font-size: 0; }
  .call small { display: none; }
  .call { padding: 6px; }
  .numbers dl { grid-template-columns: 1fr 1fr; }
  .numbers dl > div:nth-child(3) { border-left: 0; padding-left: 16px; }
  .numbers dl > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .grid, .cards, .steps, .shots { grid-template-columns: 1fr; }
  .brand small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
