/* OJP Plumbing — site styles. Palette taken from the badge: gunmetal, deep navy and brushed copper. */

:root {
  --char-950: #0a0c0e;
  --char-900: #111417;
  --char-800: #181c20;
  --char-700: #22282d;
  --steel: #3a434a;
  --silver: #c9cfd3;
  --navy: #0e2a36;
  --navy-800: #0a1f29;
  --teal: #1f4b5e;
  --copper: #c27a52;
  --copper-600: #a9623d;
  --copper-700: #8a4f31;
  --copper-300: #e7a47c;
  --copper-100: #f6d6c1;
  --paper: #f7f3ee;
  --paper-2: #efe7de;
  --ink: #121518;
  --text: #33393f;
  --muted: #646c73;
  --line: rgba(18, 21, 24, 0.1);
  --line-light: rgba(255, 255, 255, 0.1);
  --white: #fff;

  --copper-grad: linear-gradient(115deg, #7a4429 0%, #c27a52 22%, #f3c3a2 42%, #d08a60 58%, #9a5634 80%, #c98a63 100%);
  --brushed: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0 2px, transparent 2px 7px);

  --font-head: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(10, 12, 14, 0.06), 0 12px 32px -12px rgba(10, 12, 14, 0.22);
  --shadow-lg: 0 34px 70px -24px rgba(10, 12, 14, 0.5);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --header-h: 84px;
}

/* Smooth cross-page transitions in browsers that support them */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }
.site-header { view-transition-name: header; }
.topbar { view-transition-name: topbar; }

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

html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--font-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 750; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.05rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.center-text { text-align: center; }
.center-block { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.copper-text { background: var(--copper-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 8s ease-in-out infinite alternate; }
@keyframes sheen { to { background-position: 100% 0; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--copper-300); outline-offset: 3px; border-radius: 4px; }

.progress {
  position: fixed; inset: 0 0 auto; height: 3px; z-index: 60;
  background: var(--copper-grad);
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: transparent;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.45em; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font: 600 0.98rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s, box-shadow 0.35s var(--ease), border-color 0.25s;
  white-space: nowrap;
}
.btn .i { transition: transform 0.35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(10, 12, 14, 0.55); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn:hover .i:first-child:not(:last-child) { transform: rotate(-12deg); }
.btn:active { transform: translateY(0); }
.btn .ripple { position: absolute; z-index: -1; border-radius: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; background: rgba(255, 255, 255, 0.45); transform: scale(0); animation: ripple 0.7s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(40); opacity: 0; } }
.btn-primary:hover { --bg: var(--char-700); }
.btn-copper { --bg: var(--copper-grad); background: var(--copper-grad); background-size: 220% 100%; background-position: 0 0; --fg: var(--ink); color: var(--ink); transition: background-position 0.6s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.btn-copper:hover { background-position: 100% 0; box-shadow: 0 14px 30px -12px rgba(194, 122, 82, 0.8); }
.btn-dark { --bg: var(--ink); --fg: #fff; }
.btn-dark:hover { --bg: var(--char-700); }
.btn-outline { --bg: transparent; --fg: var(--ink); --bd: rgba(18, 21, 24, 0.25); }
.btn-outline:hover { --bd: var(--ink); --bg: var(--ink); --fg: #fff; }
.btn-outline-dark { --bg: transparent; --fg: var(--ink); --bd: rgba(18, 21, 24, 0.45); }
.btn-outline-dark:hover { --bg: var(--ink); --fg: #fff; }
.btn-outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, 0.35); }
.btn-outline-light:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn-glass { --bg: rgba(255, 255, 255, 0.08); --fg: #fff; --bd: rgba(255, 255, 255, 0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { --bg: #fff; --fg: var(--ink); }
.btn-text { --bg: transparent; --fg: var(--copper-600); padding: 0.4em 0; border-radius: 0; white-space: normal; line-height: 1.3; }
.btn-text:hover { box-shadow: none; transform: none; }
.bg-dark .btn-text, .bg-navy .btn-text { --fg: var(--copper-300); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 0.78rem/1.2 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--copper-600); margin: 0 0 1.1em;
}
.eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: var(--copper-grad); }
.bg-dark .eyebrow, .bg-navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--copper-300); }

/* ---------- top bar + header ---------- */
.topbar { background: var(--char-950); color: rgba(255, 255, 255, 0.75); font-size: 0.82rem; position: relative; z-index: 51; }
.topbar-inner { display: flex; align-items: center; gap: 28px; min-height: 38px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar .i { color: var(--copper-300); width: 15px; height: 15px; }
.topbar a { margin-left: auto; color: #fff; font-weight: 600; text-decoration: none; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s, top 0.35s;
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height 0.35s var(--ease); }
.is-scrolled .site-header { box-shadow: 0 10px 30px -18px rgba(10, 12, 14, 0.35); }
.is-scrolled .header-inner { height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-badge { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.55); transition: transform 0.6s var(--ease), width 0.35s var(--ease), height 0.35s var(--ease); }
.brand:hover .brand-badge { transform: rotate(-10deg) scale(1.05); }
.is-scrolled .brand-badge { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font: 750 1.28rem/1 var(--font-head); letter-spacing: -0.02em; color: var(--ink); transition: color 0.3s; }
.brand-text small { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper-600); margin-top: 4px; transition: color 0.3s; }

/* header floats over the home hero until scrolled */
.has-hero-header .site-header { position: fixed; left: 0; right: 0; top: 38px; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-hero-header .brand-text strong, .has-hero-header .main-nav > ul > li > a, .has-hero-header .sub-toggle, .has-hero-header .burger, .has-hero-header .header-phone { color: #fff; }
.has-hero-header .brand-text small { color: var(--copper-300); }
.has-hero-header.is-scrolled .site-header { top: 0; background: rgba(255, 255, 255, 0.94); border-color: var(--line); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.has-hero-header.is-scrolled .brand-text strong, .has-hero-header.is-scrolled .main-nav > ul > li > a, .has-hero-header.is-scrolled .sub-toggle, .has-hero-header.is-scrolled .burger, .has-hero-header.is-scrolled .header-phone { color: var(--ink); }
.has-hero-header.is-scrolled .brand-text small { color: var(--copper-600); }

.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav > ul > li > a {
  display: block; padding: 10px 13px; border-radius: 999px;
  color: var(--ink); font-weight: 550; font-size: 0.96rem; text-decoration: none; white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.main-nav > ul > li > a:hover { background: rgba(18, 21, 24, 0.06); }
.has-hero-header:not(.is-scrolled) .main-nav > ul > li > a:hover { background: rgba(255, 255, 255, 0.12); }
.main-nav > ul > li.is-active > a::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--copper-grad); border-radius: 2px; }
.has-sub { display: flex; align-items: center; }
.has-sub > a { padding-right: 4px !important; }
.has-sub.is-active > a::after { right: 4px !important; }
.sub-toggle { background: none; border: 0; padding: 6px 6px 6px 0; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.sub-toggle .i { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.sub {
  list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 260px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
}
.sub::before { content: ''; position: absolute; inset: -10px 0 auto; height: 10px; }
.sub a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: 0.94rem; transition: background 0.2s, color 0.2s, padding 0.25s var(--ease); }
.sub a:hover { background: var(--paper); color: var(--copper-600); padding-left: 16px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .sub-toggle .i, .has-sub.is-open .sub-toggle .i { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { display: flex; align-items: center; gap: 10px; white-space: nowrap; text-decoration: none; color: var(--ink); font: 700 1.05rem/1.1 var(--font-head); transition: color 0.3s; }
.header-phone small { display: block; font: 600 0.68rem/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; margin-bottom: 3px; }
.header-phone .i { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--copper-grad); color: var(--ink); animation: ring 5s ease-in-out infinite; }
@keyframes ring { 0%, 86%, 100% { transform: rotate(0); } 88% { transform: rotate(-14deg); } 90% { transform: rotate(12deg); } 92% { transform: rotate(-10deg); } 94% { transform: rotate(6deg); } }
.burger { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.burger .i { width: 28px; height: 28px; }
.burger .i-close { display: none; }
.nav-mobile-cta { display: none; }

/* ---------- decorative: pipes, bubbles, metal ---------- */
.pipes { position: absolute; inset: 0; width: 100%; height: 100%; }
.pipe { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s var(--ease) forwards; animation-delay: calc(var(--pd, 0s) + 0.3s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.joints circle { opacity: 0; animation: pop 0.5s var(--ease) forwards; animation-delay: 2s; }
@keyframes pop { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: none; } }
.joints circle { transform-box: fill-box; transform-origin: center; }

.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.bubbles span {
  position: absolute; bottom: -30px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), rgba(231, 164, 124, 0.12) 60%, transparent 70%);
  border: 1px solid rgba(231, 164, 124, 0.25);
  animation: bubble var(--t) linear infinite; animation-delay: var(--dl);
}
@keyframes bubble {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translate3d(14px, -50vh, 0); }
  100% { transform: translate3d(-10px, -105vh, 0); opacity: 0; }
}

.metal-lines { position: absolute; inset: 0; pointer-events: none; background-image: var(--brushed); opacity: 0.8; }
.metal-lines::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 85% 0%, rgba(194, 122, 82, 0.2), transparent 70%), radial-gradient(ellipse 50% 60% at 0% 100%, rgba(31, 75, 94, 0.45), transparent 70%); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(700px, 100svh); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--char-900); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 80% 70% at 75% 40%, #16323f 0%, var(--char-900) 60%), var(--char-900); }
.hero-bg::before { content: ''; position: absolute; inset: 0; background-image: var(--brushed); }
.hero-glow { position: absolute; width: 60vmax; height: 60vmax; right: -15vmax; top: -10vmax; border-radius: 50%; background: radial-gradient(circle, rgba(194, 122, 82, 0.28), transparent 65%); filter: blur(10px); animation: float 14s ease-in-out infinite alternate; }
@keyframes float { to { transform: translate3d(-6vmax, 6vmax, 0) scale(1.1); } }
.hero-pipes { position: absolute; inset: 0; opacity: 0.22; -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%); mask-image: linear-gradient(90deg, #000 0%, transparent 70%); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 90px); align-items: center; padding-top: 170px; padding-bottom: 100px; }
.hero-title { color: #fff; font-size: clamp(3rem, 7.6vw, 6.4rem); line-height: 0.95; margin-bottom: 0.35em; letter-spacing: -0.035em; font-weight: 750; }
.hero-title .copper-text { display: inline-block; padding-bottom: 0.08em; }
.hero-lead { max-width: 580px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: rgba(255, 255, 255, 0.8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 44px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 30px; padding: 26px 0 0; margin: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.hero-badges li { display: flex; align-items: center; gap: 12px; font-size: 0.93rem; color: rgba(255, 255, 255, 0.75); }
.hero-badges .i { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: rgba(194, 122, 82, 0.14); border: 1px solid rgba(231, 164, 124, 0.3); color: var(--copper-300); }
.hero-badges strong { color: #fff; }
.hero-visual { position: relative; max-width: 460px; justify-self: end; width: 100%; }
.hero-visual::before { content: ''; position: absolute; inset: -14px; border-radius: 34px; background: var(--copper-grad); opacity: 0.9; transform: rotate(3deg); z-index: -1; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.hero-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: rgba(17, 20, 23, 0.82); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: rgba(255, 255, 255, 0.7); font-size: 0.82rem; line-height: 1.3; box-shadow: var(--shadow-lg); z-index: 3; animation: bob 6s ease-in-out infinite; }
.hero-float strong { display: block; color: #fff; font: 650 0.98rem/1.2 var(--font-head); }
.hero-float .i { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--copper-grad); color: var(--ink); }
.hero-float-a { left: -48px; top: 16%; }
.hero-float-b { right: -30px; bottom: 12%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: 30px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255, 255, 255, 0.4); border-radius: 20px; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--copper-300); animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.hero-anim { opacity: 0; transform: translateY(26px); animation: rise 0.9s var(--ease) forwards; animation-delay: calc(var(--d, 0ms) + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- before / after ---------- */
.ba { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; background: var(--char-800); user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; touch-action: pan-y pinch-zoom; box-shadow: var(--shadow-lg); cursor: ew-resize; }
.ba-img { position: absolute; inset: 0; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba-before { -webkit-clip-path: inset(0 calc(100% - var(--pos)) 0 0); clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before img { filter: saturate(0.85); }
.ba-tag { position: absolute; top: 16px; z-index: 2; padding: 7px 12px; border-radius: 999px; font: 700 0.72rem/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: opacity 0.3s; }
.ba-tag-before { left: 16px; background: rgba(17, 20, 23, 0.7); color: #fff; }
.ba-tag-after { right: 16px; background: var(--copper-grad); color: var(--ink); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; z-index: 2; pointer-events: none; box-shadow: 0 0 20px rgba(0, 0, 0, 0.4); }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.55), 0 0 0 6px rgba(255, 255, 255, 0.25); transition: transform 0.3s var(--ease); }
.ba-handle .i { width: 26px; height: 26px; color: var(--copper-600); }
.ba:hover .ba-handle span, .ba.is-dragging .ba-handle span { transform: scale(1.1); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; z-index: 3; -webkit-appearance: none; appearance: none; background: none; border: 0; padding: 0; }
.ba:has(.ba-range:focus-visible) .ba-handle span { outline: 3px solid var(--copper-300); outline-offset: 3px; }
.ba-hero { border-radius: 26px; }

.transform .ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.ba-card { background: var(--paper); border-radius: calc(var(--radius-lg) + 8px); padding: 10px 10px 0; }
.ba-card-body { padding: 22px 16px 24px; }
.ba-card-body h3 { margin-bottom: 6px; }
.ba-card-body p { margin: 0; color: var(--muted); }

/* ---------- marquee ---------- */
.marquee { position: relative; background: var(--copper-grad); background-size: 200% 100%; color: var(--ink); overflow: hidden; padding: 18px 0; animation: sheen 10s ease-in-out infinite alternate; }
.marquee-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee-track span { display: flex; align-items: center; font: 700 1.1rem/1 var(--font-head); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.marquee i { display: inline-block; width: 8px; height: 8px; margin: 0 26px; border-radius: 50%; background: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 136px) 0; }
.bg-paper { background: var(--paper); }
.bg-dark { background: var(--char-900); color: rgba(255, 255, 255, 0.72); overflow: hidden; }
.bg-navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 60%, var(--char-900) 100%); color: rgba(255, 255, 255, 0.75); overflow: hidden; }
.bg-dark h2, .bg-dark h3, .bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-dark > .wrap, .bg-navy > .wrap, .bg-paper > .wrap { position: relative; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(36px, 5vw, 60px); flex-wrap: wrap; }
.section-head h2 { max-width: 720px; margin: 0; }
.section-head.center { justify-content: center; text-align: center; }
.section-head.center h2 { margin-inline: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split-top { align-items: start; }
.split-text > p { font-size: 1.07rem; }
.split-media { position: relative; }
.stack { position: relative; max-width: 460px; margin-left: auto; }
.stack img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.stack::before { content: ''; position: absolute; inset: 30px -30px -30px 30px; border-radius: var(--radius-lg); background: var(--brushed), linear-gradient(135deg, var(--navy), var(--char-800)); z-index: -1; }
.float-card {
  position: absolute; left: 0; bottom: 40px; display: flex; align-items: center; gap: 14px; padding: 18px 22px;
  background: #fff; color: var(--muted); border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: 0.9rem; line-height: 1.35; z-index: 2;
  animation: bob 7s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--ink); font: 650 1.05rem/1.2 var(--font-head); }
.float-ic .i { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--copper-grad); color: var(--ink); }

.ticks { list-style: none; padding: 0; margin: 0 0 1.8em; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.bg-dark .ticks li, .bg-navy .ticks li { color: #fff; }
.ticks .i { width: 24px; height: 24px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--copper-grad); color: var(--ink); stroke-width: 2.4; }
.ticks-grid { grid-template-columns: 1fr 1fr; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; padding: 32px 28px 30px; min-height: 320px;
  border-radius: var(--radius-lg); text-decoration: none; color: rgba(255, 255, 255, 0.68);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line-light); overflow: hidden; isolation: isolate;
  transition: transform 0.5s var(--ease), border-color 0.4s;
}
.svc-glow { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(194, 122, 82, 0.28), transparent 45%); }
.svc-card:hover { transform: translateY(-6px); border-color: rgba(231, 164, 124, 0.5); }
.svc-card:hover .svc-glow { opacity: 1; }
.svc-num { font: 700 0.82rem/1 var(--font-body); color: var(--copper-300); letter-spacing: 0.12em; margin-bottom: 26px; display: block; text-transform: uppercase; }
.svc-icon { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: rgba(194, 122, 82, 0.14); border: 1px solid rgba(231, 164, 124, 0.25); color: var(--copper-300); margin-bottom: 22px; transition: transform 0.5s var(--ease), background 0.4s, color 0.4s; }
.svc-icon .i { width: 30px; height: 30px; }
.svc-card:hover .svc-icon { transform: rotate(-8deg) scale(1.06); background: var(--copper-grad); color: var(--ink); }
.svc-card h3 { color: #fff; margin-bottom: 10px; }
.svc-card p { font-size: 0.95rem; line-height: 1.55; }
.svc-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 0.92rem; }
.svc-link .i { transition: transform 0.35s var(--ease); }
.svc-card:hover .svc-link .i, .county:hover .svc-link .i { transform: translateX(4px); }
.svc-grid-light .svc-card { background: var(--paper); border-color: var(--line); color: var(--muted); }
.svc-grid-light .svc-card h3, .svc-grid-light .svc-link { color: var(--ink); }
.svc-grid-light .svc-num { color: var(--copper-600); }
.svc-grid-light .svc-icon { background: #fff; border-color: var(--line); color: var(--copper-600); }
.svc-grid-light .svc-card:hover { border-color: var(--copper); box-shadow: var(--shadow); }
.svc-grid-light .svc-glow { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(194, 122, 82, 0.14), transparent 45%); }

.svc-list { display: grid; gap: clamp(70px, 10vw, 120px); }
.svc-row { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.svc-row-rev .svc-row-media { order: 2; }
.svc-row-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.svc-row .svc-num { color: var(--copper-600); }
.icon-panel { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: var(--brushed), radial-gradient(circle at 30% 20%, var(--teal), var(--navy-800) 60%, var(--char-900)); display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow-lg); }
.icon-panel::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(231, 164, 124, 0.25); box-shadow: 0 0 0 40px rgba(231, 164, 124, 0.04), 0 0 0 80px rgba(231, 164, 124, 0.03); animation: pulse 5s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.08); opacity: 0.6; } }
.icon-panel span { position: relative; display: grid; place-items: center; width: 140px; height: 140px; border-radius: 40px; background: var(--copper-grad); color: var(--ink); box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.7); }
.icon-panel .i { width: 68px; height: 68px; stroke-width: 1.5; }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why { padding: 32px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.why:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.why p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.why-ic { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--char-900); color: var(--copper-300); margin-bottom: 20px; }
.why-ic .i { width: 26px; height: 26px; }
.gas-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 36px 0 0; font-weight: 600; color: var(--ink); }
.gas-note .i { color: var(--copper-600); }

/* ---------- reviews ---------- */
.t-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.r-highlights { list-style: none; padding: 0; margin: 10px 0 30px; display: grid; gap: 10px; }
.r-highlights li { display: flex; gap: 10px; align-items: center; color: #fff; font-weight: 500; }
.r-highlights .i { color: var(--copper-300); }
.t-slider { position: relative; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(28px, 4vw, 48px); }
.t-slider::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--copper-grad); }
.t-track { display: grid; }
.t-slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity 0.6s, transform 0.7s var(--ease), visibility 0.6s; display: flex; flex-direction: column; }
.t-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.t-quote-ic, .r-quote { width: 46px; height: 46px; color: var(--copper); margin-bottom: 14px; }
.t-slide blockquote, .r-card blockquote { margin: 0 0 24px; font-size: clamp(1.02rem, 1.4vw, 1.14rem); line-height: 1.65; color: var(--ink); }
.t-slide blockquote p, .r-card blockquote p { margin: 0; }
.t-slide figcaption, .r-card figcaption { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); margin-top: auto; }
figcaption strong { display: block; font: 650 1.08rem/1.2 var(--font-head); color: var(--ink); }
figcaption small { display: block; font-size: 0.84rem; color: var(--muted); }
.r-avatar { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--char-900); color: var(--copper-300); font: 700 0.95rem/1 var(--font-head); letter-spacing: 0.04em; }
.t-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.t-dots { display: flex; gap: 8px; }
.t-dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; background: rgba(18, 21, 24, 0.18); cursor: pointer; padding: 0; transition: width 0.4s var(--ease), background 0.3s; }
.t-dots button[aria-selected='true'] { width: 32px; background: var(--copper); }
.t-arrows { display: flex; gap: 8px; }
.t-arrows button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.t-arrows button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.t-prev .i { transform: rotate(180deg); }
.r-grid { columns: 2; column-gap: 22px; }
.r-grid > * { break-inside: avoid; margin-bottom: 22px; }
.r-card { margin: 0; background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.r-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.r-top { display: flex; justify-content: space-between; align-items: flex-start; }
.r-badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--paper); color: var(--copper-600); font: 700 0.74rem/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; }
.r-badge .i { width: 15px; height: 15px; }
.r-summary { display: flex; align-items: center; gap: clamp(24px, 4vw, 50px); padding: clamp(26px, 4vw, 40px); margin-bottom: 30px; border-radius: var(--radius-lg); background: var(--char-900); color: rgba(255, 255, 255, 0.78); background-image: var(--brushed); }
.r-summary p { margin: 0; max-width: 640px; }
.r-summary strong { color: var(--copper-300); }
.r-summary-num { display: flex; align-items: center; gap: 14px; flex: none; color: #fff; font: 700 1.6rem/1.05 var(--font-head); }
.r-summary-num small { display: block; font: 500 0.95rem/1.3 var(--font-body); color: rgba(255, 255, 255, 0.65); }
.r-summary-num .i { width: 64px; height: 64px; padding: 16px; border-radius: 50%; background: var(--copper-grad); color: var(--ink); }

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.steps::before { content: ''; position: absolute; top: 40px; left: 12%; right: 12%; height: 6px; border-radius: 6px; background: var(--copper-grad); opacity: 0.35; }
.step { position: relative; text-align: center; padding: 0 10px; }
.step-n { position: relative; display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto 22px; border-radius: 50%; background: var(--char-900); color: var(--copper-300); box-shadow: 0 0 0 8px #fff, 0 0 0 9px var(--line); transition: background 0.4s, color 0.4s, transform 0.5s var(--ease); }
.step-n .i { width: 32px; height: 32px; }
.step-n b { position: absolute; top: -4px; right: -4px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--copper-grad); color: var(--ink); font: 700 0.85rem/1 var(--font-head); }
.step:hover .step-n { background: var(--copper-grad); color: var(--ink); transform: translateY(-4px); }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ---------- areas ---------- */
.town-cloud { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.town-cloud li { padding: 10px 17px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); color: #fff; font-weight: 500; font-size: 0.94rem; transition: background 0.3s, color 0.3s, transform 0.3s var(--ease); }
.town-cloud li:hover { background: var(--copper-grad); color: var(--ink); transform: translateY(-3px); }
.town-cloud-light li { background: #fff; border-color: var(--line); color: var(--ink); }
.area-links { display: flex; flex-wrap: wrap; gap: 12px; }
.county-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.county { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--muted); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s; }
.county:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--copper); }
.county h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.county .svc-link { color: var(--ink); margin-top: 22px; }
.county-ic { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--char-900); color: var(--copper-300); margin-bottom: 20px; }
.county-towns { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.county-towns li::before { content: '•'; color: var(--copper); margin-right: 6px; }
.town-panel { padding: clamp(26px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.town-panel h3 { display: flex; align-items: center; gap: 10px; }
.town-panel h3 .i { color: var(--copper-600); }
.town-panel p { margin: 18px 0 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq-layout > div:first-child { position: sticky; top: calc(var(--header-h) + 30px); }
.faq { display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius); background: var(--paper); border: 1px solid transparent; transition: background 0.3s, border-color 0.3s, box-shadow 0.3s; }
.faq-item[open] { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; font: 600 1.08rem/1.35 var(--font-head); color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .i { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #fff; color: var(--ink); transition: transform 0.4s var(--ease), background 0.3s; }
.faq-item[open] summary .i { transform: rotate(180deg); background: var(--copper-grad); }
.faq-a { padding: 0 22px 6px; color: var(--muted); }
.faq-item[open] .faq-a { animation: faqin 0.45s var(--ease); }
@keyframes faqin { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--copper-grad); background-size: 200% 100%; color: rgba(18, 21, 24, 0.8); padding: clamp(64px, 8vw, 100px) 0; animation: sheen 12s ease-in-out infinite alternate; }
.cta-metal { position: absolute; inset: 0; background-image: var(--brushed); opacity: 0.9; }
.cta-pipes { position: absolute; inset: 0; opacity: 0.18; mix-blend-mode: multiply; }
.cta-pipes .pipe { stroke: #3a1d0e; }
.cta-pipes .joints { fill: #3a1d0e; }
.cta-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 36px; flex-wrap: wrap; }
.cta-inner h2 { color: var(--ink); margin-bottom: 0.3em; }
.cta-inner p { margin: 0; max-width: 580px; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--char-900); color: #fff; padding: clamp(110px, 13vw, 170px) 0 clamp(64px, 8vw, 110px); isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 90% at 90% 20%, #17323f, var(--char-900) 65%); }
.page-hero-bg::before { content: ''; position: absolute; inset: 0; background-image: var(--brushed); }
.page-hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 55%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transform: scale(1.08); animation: settle 2.4s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.page-hero-pipes { position: absolute; inset: 0; opacity: 0.28; -webkit-mask-image: linear-gradient(90deg, #000, transparent 75%); mask-image: linear-gradient(90deg, #000, transparent 75%); }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 660px; color: rgba(255, 255, 255, 0.8); margin: 0; }
.page-hero .lead a { color: var(--copper-300); font-weight: 600; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 26px; padding: 0; font-size: 0.86rem; color: rgba(255, 255, 255, 0.55); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: 0.5; }
.crumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.crumbs a:hover { color: var(--copper-300); text-decoration: underline; }

/* ---------- detail pages ---------- */
.detail { display: grid; grid-template-columns: 1fr 360px; gap: clamp(40px, 6vw, 80px); align-items: start; }
.prose { max-width: 740px; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 1.6em; }
.lead-dark { font-size: 1.25rem; line-height: 1.55; color: var(--ink); font-weight: 500; }
.prose-compare { max-width: 520px; margin-top: 10px; }
.caption { font-size: 0.92rem; color: var(--muted); margin-top: 14px; }
.tip { margin-top: 12px; padding: 22px 24px; border-radius: var(--radius); background: var(--paper); border-left: 4px solid var(--copper); }
.tip strong { display: block; font: 650 1.05rem/1.3 var(--font-head); color: var(--ink); margin-bottom: 4px; }
.tip p { margin: 0; color: var(--text); }
.detail-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.side-card { position: relative; overflow: hidden; padding: 30px 28px; border-radius: var(--radius-lg); background: var(--char-900); background-image: var(--brushed); color: rgba(255, 255, 255, 0.75); display: grid; gap: 12px; box-shadow: var(--shadow-lg); }
.side-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: var(--copper-grad); }
.side-card h2 { color: #fff; font-size: 1.5rem; margin: 0; }
.side-card p { margin: 0 0 8px; font-size: 0.95rem; }
.side-card .btn { justify-content: center; }
.side-ic .i { width: 54px; height: 54px; padding: 13px; border-radius: 16px; background: var(--copper-grad); color: var(--ink); }
.side-links { padding: 24px 26px; border-radius: var(--radius-lg); background: var(--paper); }
.side-links h2 { font-size: 1.1rem; margin-bottom: 10px; }
.side-links ul { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 550; color: var(--ink); transition: color 0.2s, gap 0.3s var(--ease); }
.side-links a span { flex: 1; }
.side-links a .i:first-child { color: var(--copper-600); }
.side-links li:last-child a { border: 0; }
.side-links a:hover { color: var(--copper-600); gap: 16px; }

/* ---------- projects ---------- */
.project-list { display: grid; gap: clamp(80px, 11vw, 140px); }
.project { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.project-rev .project-media { order: 2; }
.project-media { position: relative; }
.project-media::before { content: ''; position: absolute; inset: -14px; border-radius: 34px; background: var(--copper-grad); transform: rotate(-2.5deg); z-index: -1; opacity: 0.85; }
.project-rev .project-media::before { transform: rotate(2.5deg); }
.project-text h3 { font-size: 1.1rem; margin-top: 1.4em; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gallery-item { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.gallery-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; padding: 14px 18px; border-radius: 14px; background: rgba(17, 20, 23, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font: 600 1rem/1.3 var(--font-head); }

/* ---------- about ---------- */
.about-badge { display: grid; place-items: center; padding: 30px; }
.about-badge-ring { position: relative; width: min(380px, 80vw); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--brushed), radial-gradient(circle at 30% 20%, var(--teal), var(--navy-800) 55%, var(--char-900)); box-shadow: var(--shadow-lg); }
.about-badge-ring::before { content: ''; position: absolute; inset: -18px; border-radius: 50%; border: 2px dashed rgba(194, 122, 82, 0.5); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.about-badge-ring img { width: 78%; border-radius: 50%; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); }
.big-quote-wrap { text-align: center; }
.big-quote { font: 700 clamp(2rem, 4.6vw, 3.8rem)/1.1 var(--font-head); letter-spacing: -0.03em; max-width: 1000px; margin: 0 auto 20px; color: #fff; text-wrap: balance; }
.big-quote em { font-style: normal; background: var(--copper-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-quote-by { color: rgba(255, 255, 255, 0.6); margin: 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: var(--radius); background: var(--paper); text-decoration: none; color: var(--ink); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-ic { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 15px; background: var(--char-900); color: var(--copper-300); }
.contact-ic .i { width: 24px; height: 24px; }
.contact-card small { display: block; font-size: 0.78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-card strong { font: 650 1.25rem/1.25 var(--font-head); overflow-wrap: anywhere; }
.form { position: relative; overflow: hidden; padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: var(--copper-grad); }
.form h2 { font-size: 1.9rem; margin-bottom: 0.2em; }
.form-lead { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: grid; gap: 7px; font-size: 0.86rem; font-weight: 600; color: var(--ink); }
input, select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  padding: 13px 15px; border-radius: 11px; border: 1.5px solid rgba(18, 21, 24, 0.14); background: #fbf9f6;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--copper); background: #fff; box-shadow: 0 0 0 4px rgba(194, 122, 82, 0.16); }
.hp { position: absolute !important; left: -9999px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.9rem; color: var(--muted); margin-bottom: 22px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--copper-600); }
.form-status { margin: 16px 0 0; font-weight: 600; }
.form-status.is-error { color: #b42318; }
.field-error { border-color: #d92d20 !important; }
.form button[disabled] { opacity: 0.6; pointer-events: none; }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--char-950); color: rgba(255, 255, 255, 0.62); padding: 90px 0 0; font-size: 0.95rem; }
.footer-metal { position: absolute; inset: 0; background-image: var(--brushed); -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
.footer-metal::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--copper-grad); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 60px; }
.footer-logo img { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 22px; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.8); transition: transform 0.8s var(--ease); }
.footer-logo:hover img { transform: rotate(-360deg); }
.footer-brand p { max-width: 360px; }
.footer-h { font-size: 0.8rem; font-family: var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin: 0 0 18px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--copper-300); }
.footer-phone, .footer-mail, .footer-social, .footer-gas { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.footer-phone { font: 700 1.6rem/1 var(--font-head); color: #fff !important; }
.footer-phone .i, .footer-mail .i, .footer-social .i, .footer-gas .i { color: var(--copper-300); }
.footer-towns { margin-top: 20px; color: rgba(255, 255, 255, 0.5); font-size: 0.88rem; line-height: 1.7; }
.footer-base { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.86rem; }
.footer-base p { margin: 0; }
.footer-links { display: flex; gap: 20px; }
.footer-end { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.built-by { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: rgba(255, 255, 255, 0.6) !important; }
.built-by strong { font-weight: 800; color: #fff; transition: color 0.2s; }
.built-by:hover strong { color: var(--copper-300); }
.built-by-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.5); transition: transform 0.3s var(--ease); }
.built-by:hover .built-by-icon { transform: rotate(-8deg) scale(1.06); }
.built-by-icon img { width: 26px; height: 26px; border-radius: 7px; }
.mobile-bar { display: none; }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(10% 10% 10% 10% round var(--radius-lg)); transition: clip-path 1.3s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal-img img { transform: scale(1.15); transition: transform 1.6s var(--ease); }
.js .reveal-img.is-in { clip-path: inset(-60px -60px -60px -60px); }
.js .reveal-img.is-in img { transform: none; }
.js .town-cloud.reveal li { opacity: 0; transform: translateY(12px); transition: opacity 0.5s, transform 0.5s var(--ease), background 0.3s, color 0.3s; transition-delay: var(--d); }
.js .town-cloud.reveal.is-in li { opacity: 1; transform: none; }
.js .town-cloud.reveal.is-in li:hover { transform: translateY(-3px); transition-delay: 0s; }
.js .ticks.reveal li { opacity: 0; transform: translateX(-12px); transition: opacity 0.6s, transform 0.6s var(--ease); }
.js .ticks.reveal.is-in li { opacity: 1; transform: none; }
.js .ticks.reveal.is-in li:nth-child(2) { transition-delay: 80ms; }
.js .ticks.reveal.is-in li:nth-child(3) { transition-delay: 160ms; }
.js .ticks.reveal.is-in li:nth-child(4) { transition-delay: 240ms; }
.js .ticks.reveal.is-in li:nth-child(5) { transition-delay: 320ms; }
.js .ticks.reveal.is-in li:nth-child(6) { transition-delay: 400ms; }
.js .ticks.reveal.is-in li:nth-child(7) { transition-delay: 480ms; }
.js .ticks.reveal.is-in li:nth-child(8) { transition-delay: 560ms; }

/* ---------- responsive ---------- */
@media (max-width: 1480px) {
  .header-phone span { display: none; }
}

@media (max-width: 1240px) {
  .main-nav > ul > li > a { padding: 10px 10px; font-size: 0.94rem; }
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-float-a { left: -16px; }
  .hero-float-b { right: -10px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .burger { display: block; }
  .header-cta .btn, .header-phone { display: none; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; margin: 0; padding: calc(var(--header-h) + 60px) var(--gutter) 40px;
    background: var(--char-950); background-image: var(--brushed); overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
  }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); flex-wrap: wrap; opacity: 0; transform: translateY(16px); transition: opacity 0.4s, transform 0.5s var(--ease); }
  .nav-open .main-nav > ul > li { opacity: 1; transform: none; }
  .nav-open .main-nav > ul > li:nth-child(2) { transition-delay: 50ms; }
  .nav-open .main-nav > ul > li:nth-child(3) { transition-delay: 100ms; }
  .nav-open .main-nav > ul > li:nth-child(4) { transition-delay: 150ms; }
  .nav-open .main-nav > ul > li:nth-child(5) { transition-delay: 200ms; }
  .nav-open .main-nav > ul > li:nth-child(6) { transition-delay: 250ms; }
  .main-nav > ul > li > a, .has-hero-header .main-nav > ul > li > a { color: #fff !important; font: 650 1.8rem/1.1 var(--font-head); padding: 16px 0; flex: 1; }
  .main-nav > ul > li.is-active > a::after { display: none; }
  .main-nav > ul > li.is-active > a { color: var(--copper-300) !important; }
  .sub-toggle { color: #fff !important; padding: 12px; }
  .sub-toggle .i { width: 24px; height: 24px; }
  .sub { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 14px; display: none; }
  .has-sub.is-open .sub { display: block; }
  .has-sub:hover .sub-toggle .i { transform: none; }
  .has-sub.is-open .sub-toggle .i { transform: rotate(180deg); }
  .sub a { color: rgba(255, 255, 255, 0.75); padding: 8px 0; }
  .sub a:hover { background: none; color: var(--copper-300); }
  .nav-mobile-cta { display: grid; gap: 12px; margin-top: 30px; }
  .nav-mobile-cta .btn { justify-content: center; }
  .nav-open { overflow: hidden; }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open .site-header { background: transparent !important; border-color: transparent !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .nav-open .brand-text strong { color: #fff !important; }
  .nav-open .burger { color: #fff !important; }
  .nav-open .burger .i-open { display: none; }
  .nav-open .burger .i-close { display: block; }

  .hero-inner { grid-template-columns: 1fr; padding-top: 150px; }
  .hero-visual { justify-self: center; max-width: 420px; margin-top: 20px; }
  .split, .t-layout, .faq-layout, .detail, .contact-grid, .svc-row, .project { grid-template-columns: minmax(0, 1fr); }
  .svc-row-rev .svc-row-media, .project-rev .project-media { order: 0; }
  .svc-row-media, .project-media { max-width: 520px; }
  .faq-layout > div:first-child, .detail-side { position: static; }
  .stack { margin: 0 auto; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
  .svc-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .svc-card { min-height: 0; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; padding-bottom: 64px; }
  .hide-sm { display: none !important; }
  .topbar-inner { gap: 14px; font-size: 0.78rem; }
  .brand-badge { width: 46px; height: 46px; }
  .brand-text strong { font-size: 1.12rem; }
  .brand-text small { font-size: 0.64rem; }
  .hero { min-height: 0; }
  .hero-inner { padding-top: 130px; padding-bottom: 80px; }
  .hero-float { display: none; }
  .hero-visual::before { inset: -8px; }
  .hero-scroll { display: none; }
  .transform .ba-pair, .svc-grid, .why-grid, .form-grid, .ticks-grid, .county-grid, .gallery { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .r-grid { columns: 1; }
  .section-head { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; justify-content: center; }
  .r-summary { flex-direction: column; align-items: flex-start; }
  .float-card { left: -4px; bottom: -20px; }
  .stack::before { inset: 20px -12px -20px 20px; }
  .project-media::before { inset: -8px; }
  .page-hero-photo { width: 100%; opacity: 0.6; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: var(--char-900); box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, 0.5);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; color: #fff; font-weight: 600; text-decoration: none; }
  .mobile-bar a:first-child { background: var(--copper-grad); color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero-anim { opacity: 1; transform: none; }
  .pipe { stroke-dashoffset: 0; }
  .joints circle { opacity: 1; }
  .bubbles { display: none; }
  .js .reveal, .js .reveal-img, .js .reveal-img img, .js .town-cloud.reveal li, .js .ticks.reveal li { opacity: 1; transform: none; clip-path: none; }
  .marquee-track { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

@media print {
  .topbar, .site-header, .mobile-bar, .hero-bg, .bubbles, .cta-band, .site-footer { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
