/* ── Fonts ───────────────────────────────────────── */
@font-face {
  font-family: 'Gilmer';
  src: url('assets/fonts/GilmerBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Variables ───────────────────────────────────── */
:root {
  color-scheme: dark;
  --void:        #000000;
  --deep:        #0d0e10;
  --surface:     #141618;
  --raised:      #1c1f22;
  --card:        #1a1b1e;
  --border:      #242628;
  --muted:       #555860;
  --body:        #b0aba2;
  --bright:      #f0ece4;
  --brass:       #b8904a;
  --brass-hi:    #d4a55e;
  --font-serif:  'Cormorant', Georgia, serif;
  --font-sans:   'Montserrat', system-ui, sans-serif;
  --shadow:      0 24px 72px rgba(0,0,0,0.7);
  --radius:      14px;
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--void);
  color: var(--body);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p, blockquote, dl, dt, dd { margin: 0; }

/* ── Animated grain ──────────────────────────────── */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.028;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 9999;
  animation: grain 0.9s steps(1) infinite;
}

@keyframes grain {
  0%  { transform: translate(0,0); }
  11% { transform: translate(-4%,-9%); }
  22% { transform: translate(-14%,4%); }
  33% { transform: translate(6%,-22%); }
  44% { transform: translate(-4%,22%); }
  55% { transform: translate(-14%,9%); }
  66% { transform: translate(14%,0); }
  77% { transform: translate(0,14%); }
  88% { transform: translate(3%,32%); }
}

/* ── Header ──────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  padding: 0 clamp(20px, 5vw, 64px);
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 44px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.65);
}

.nav a {
  position: relative;
  transition: color 0.2s;
  padding-bottom: 3px;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 100%;
  height: 1.5px;
  background: var(--brass);
  transition: right 0.3s ease;
}

.nav a:hover { color: #fff; }
.nav a:hover::after { right: 0; }

.phone-cta {
  padding: 11px 22px;
  background: var(--brass);
  color: var(--void);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 6px;
  transition: background 0.2s;
}

.phone-cta:hover { background: var(--brass-hi); }

/* ── Hero ────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding-top: 76px;
  overflow: hidden;
  background: var(--void);
  background-image: url('assets/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.35) 50%,
    rgba(0,0,0,0.85) 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* Dot grid background (Cyrclo-inspired) */
.dots-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px clamp(20px, 5vw, 64px) 56px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--brass);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: rise 0.8s 0.1s var(--ease-out-quart) both;
}
.hero .eyebrow {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
  margin-bottom: 36px;
}

h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: rise 0.9s 0.28s var(--ease-out-quart) both;
}

h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(56px, 8.5vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--bright);
  text-wrap: balance;
  text-shadow:
    0 2px 24px rgba(0,0,0,0.7),
    0 8px 64px rgba(0,0,0,0.5);
}

h1 strong {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(10px, 1.1vw, 13px);
  line-height: 1;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 32px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

h1 strong::before {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--brass), transparent);
  margin: 0 auto 20px;
}

/* "REMODELING" — small, wide tracking, upright, blue-gray — matches logo */
h1 span {
  font-family: 'Gilmer', var(--font-sans);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(11px, 1.6vw, 23px);
  line-height: 1;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: #a8bec8;
  -webkit-text-stroke: 0;
  text-shadow:
    0 2px 8px rgba(0,0,0,0.9),
    0 6px 24px rgba(0,0,0,0.75);
}

.hero-lower {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  width: 100%;
  animation: rise 0.9s 0.5s var(--ease-out-quart) both;
}

.tagline {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.95);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0,0,0,0.9), 0 4px 24px rgba(0,0,0,0.75);
}

.actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.hero-sub {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0,0,0,0.9), 0 4px 24px rgba(0,0,0,0.75);
}

.hero-phone-link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s;
}

.hero-phone-link:hover {
  color: rgba(255, 255, 255, 0.9);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 36px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: 0;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-brass { background: var(--brass); color: var(--void); }
.btn-brass:hover { background: var(--brass-hi); }
.btn-brass:active { background: var(--brass); transform: scale(0.98); }
.btn-outline:active { transform: scale(0.98); }

.btn-outline {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

/* Stats bar */
.hero-stats {
  display: flex;
  align-items: center;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--border);
  background: var(--deep);
  position: relative;
  z-index: 2;
  animation: fade 0.8s 0.75s var(--ease-out-quart) both;
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 clamp(16px, 3vw, 40px);
}

.stat:first-child { padding-left: 0; }

.stat-num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1;
  color: var(--bright);
}

.stat-num sup {
  font-size: 0.44em;
  vertical-align: super;
  color: var(--brass);
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--body);
}

.stat-sep {
  width: 1px;
  height: 38px;
  background: var(--border);
  flex-shrink: 0;
}

.stat-cslb {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  padding: 0 clamp(16px, 3vw, 40px);
}

.stat-cslb-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}

.stat-cslb-num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(20px, 2.8vw, 32px);
  line-height: 1;
  color: var(--bright);
}

/* ── Wave dividers ───────────────────────────────── */
.wave-down,
.wave-up {
  display: block;
  line-height: 0;
  overflow: hidden;
}

.wave-down {
  background: var(--deep);
  margin-top: -1px;
}

.wave-down svg { display: block; width: 100%; height: 72px; }

.wave-up {
  background: var(--surface);
  margin-bottom: -1px;
}

.wave-up svg { display: block; width: 100%; height: 72px; }

/* ── Ticker ──────────────────────────────────────── */
.ticker {
  overflow: hidden;
  padding: 16px 0;
  background: var(--deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ticker-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  animation: ticker 42s linear infinite;
}

.tick-sep { color: var(--brass); }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Services ────────────────────────────────────── */
/* ── Partners ── */
.partners {
  padding: 72px 0 80px;
  text-align: center;
  overflow: hidden;
}
.partners-header {
  padding: 0 clamp(20px, 5vw, 64px);
  max-width: 1360px;
  margin: 0 auto 48px;
  text-align: center;
}
.partners-title {
  font-family: var(--font-sans);
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0;
}
.partners-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.partners-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: partners-scroll 40s linear infinite;
}
.partners-track:hover {
  animation-play-state: paused;
}
@keyframes partners-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 120px;
  padding: 12px 32px;
  flex-shrink: 0;
  margin: 0 16px;
}
.partner-logo img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.services {
  position: relative;
  padding: 96px clamp(20px, 5vw, 64px);
  max-width: 1360px;
  margin: 0 auto;
  overflow: hidden;
}

/* Cyrclo-style oversize background text */
.oversize-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(100px, 18vw, 260px);
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.08em;
  z-index: 0;
}

.section-intro {
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}

.section-intro .eyebrow {
  opacity: 1;
  animation: none;
  margin-bottom: 14px;
}

.section-intro h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.06;
  color: var(--bright);
  text-wrap: balance;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  position: relative;
  z-index: 1;
}

.svc-card {
  padding: 32px 28px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.25s var(--ease-out-quart), transform 0.3s var(--ease-out-quart), box-shadow 0.3s var(--ease-out-quart);
}

.svc-card:hover {
  background: var(--raised);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.svc-num {
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--brass);
}

.svc-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.1;
  color: var(--bright);
  letter-spacing: -0.01em;
}

.svc-card h3 a {
  color: var(--bright);
  transition: color 0.2s var(--ease-out-quart);
}

.svc-card:hover h3 a { color: var(--brass-hi); }

.svc-card p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.72;
}

/* ── Promise ─────────────────────────────────────── */
.promise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
  padding: 96px clamp(20px, 5vw, 64px);
  max-width: 1360px;
  margin: 0 auto;
}

.promise-copy .eyebrow {
  opacity: 1;
  animation: none;
  margin-bottom: 18px;
}

.promise-copy h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.1;
  color: var(--bright);
  max-width: 22ch;
  margin-bottom: 22px;
  text-wrap: balance;
}

.promise-copy p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  max-width: 46ch;
}

.promise-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.promise-list li {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background 0.25s var(--ease-out-quart), transform 0.3s var(--ease-out-quart);
}

.promise-list li:hover {
  background: var(--raised);
  transform: translateX(4px);
}

.pi-num {
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--brass);
  flex-shrink: 0;
  padding-top: 2px;
}

.promise-list strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--bright);
  letter-spacing: 0.02em;
  margin-bottom: 5px;
}

.promise-list span {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Testimonial ─────────────────────────────────── */
.testimonial {
  padding: 96px clamp(20px, 5vw, 64px);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonial blockquote {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.testimonial blockquote p {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 300;
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.7;
  color: var(--bright);
  margin-bottom: 36px;
}

.testimonial blockquote footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
}

.testimonial strong {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bright);
}

.testimonial span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Reviews ─────────────────────────────────────── */
.reviews {
  padding: 96px clamp(20px, 5vw, 64px);
  max-width: 1360px;
  margin: 0 auto;
}
.reviews-intro {
  text-align: center;
  margin-bottom: 56px;
}
.reviews-sub {
  margin-top: 12px;
  font-size: 15px;
  color: var(--body);
}

.reviews-featured-quote {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 36px 40px;
  border: 1px solid rgba(184,144,74,0.22);
  background: rgba(184,144,74,0.07);
  border-radius: 4px;
  text-align: left;
}

.reviews-featured-quote p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.72;
  color: var(--bright);
  margin-bottom: 20px;
}

.reviews-featured-quote footer {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 0;
}

.reviews-featured-quote footer strong {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bright);
}

.reviews-featured-quote footer strong::after {
  content: '—';
  display: inline-block;
  margin-left: 10px;
  color: var(--brass);
  font-weight: 300;
}

.reviews-featured-quote footer span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.review-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-stars {
  color: var(--brass);
  font-size: 18px;
  letter-spacing: 2px;
}
.review-card blockquote {
  flex: 1;
}
.review-card blockquote p {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--body);
}
.review-card footer {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.review-card footer strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--bright);
}
.review-card footer span {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.reviews-cta {
  text-align: center;
}

/* ── Estimate ────────────────────────────────────── */
.estimate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
  padding: 96px clamp(20px, 5vw, 64px);
  max-width: 1360px;
  margin: 0 auto;
}

.estimate-copy .eyebrow {
  opacity: 1;
  animation: none;
  margin-bottom: 18px;
}

.estimate-copy h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.1;
  color: var(--bright);
  max-width: 22ch;
  margin-bottom: 22px;
  text-wrap: balance;
}

.estimate-copy p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  max-width: 44ch;
}

.est-contact {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.est-contact div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.est-contact span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.est-contact a {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--bright);
  transition: color 0.2s;
}

.est-contact a:hover { color: var(--brass); }

/* Form */
.lead-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.form-row:focus-within { background: var(--raised); }

.form-row label {
  padding: 18px 24px 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-row input,
.form-row select {
  border: 0;
  background: transparent;
  color: var(--bright);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  padding: 8px 24px 18px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}

.form-row:focus-within::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--brass);
  transform-origin: left;
  animation: focus-line 0.25s var(--ease-out-quart) forwards;
}

@keyframes focus-line {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.form-row select option {
  background: var(--surface);
  color: var(--bright);
}

.lead-form button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--brass);
  color: var(--void);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: background 0.2s;
}

.lead-form button:hover { background: var(--brass-hi); }

.form-success {
  padding: 32px 24px;
  text-align: center;
}

.form-success p {
  font-size: 15px;
  font-weight: 500;
  color: var(--bright);
  line-height: 1.6;
}

/* ── Footer ──────────────────────────────────────── */
.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 56px clamp(20px, 5vw, 64px);
  background: var(--deep);
  border-top: 1px solid var(--border);
}

.ft-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ft-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  opacity: 1;
}

.ft-brand small {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--body);
}

.ft-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.ft-col strong {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 4px;
}

.ft-col span,
.ft-col a {
  font-size: 14px;
  font-weight: 400;
  color: var(--body);
  line-height: 1.6;
  transition: color 0.2s;
}

.ft-col a:hover { color: var(--bright); }

/* ── Scroll reveal ───────────────────────────────── */
/* Content is always visible — transform only, no opacity gate */
.js-anim [data-reveal] {
  transform: translateY(28px);
  transition: transform 0.7s var(--ease-out-quart), opacity 0.5s var(--ease-out-quart);
  opacity: 0.4;
}

.js-anim [data-reveal].revealed {
  transform: translateY(0);
  opacity: 1;
}

/* ── Page load animations ────────────────────────── */
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Reduced motion ──────────────────────────────── */
@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;
  }

  /* Ensure gated content is always visible */
  h1, .eyebrow, .hero-lower, .hero-stats,
  .js-anim [data-reveal],
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .partners-track {
    animation: none !important;
  }
}

/* ── Nav dropdown ────────────────────────────────── */
.nav-services {
  position: relative;
}

.nav-services-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: default;
}

.nav-arrow {
  font-size: 9px;
  transition: transform 0.22s ease;
  display: inline-block;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 248px;
  background: rgba(13,14,16,0.98);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 0;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 300;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 24px;
}

.nav-services:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-services:hover .nav-arrow {
  transform: rotate(180deg);
}

.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--body);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  border-bottom: 1px solid rgba(36,38,40,0.5);
}

.nav-dropdown a:last-child {
  border-bottom: 0;
}

.nav-dropdown a:hover {
  background: var(--surface);
  color: var(--bright);
}

/* ── Service page hero ───────────────────────────── */
.svc-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 46vh;
  padding-top: 76px;
  overflow: hidden;
  background: var(--deep);
  border-bottom: 1px solid var(--border);
}

.svc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,144,74,0.07) 0%, transparent 58%);
  pointer-events: none;
  z-index: 0;
}

.svc-hero .dots-bg {
  z-index: 1;
}

.svc-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 48px clamp(20px, 5vw, 64px) 60px;
}

.svc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.svc-breadcrumb a {
  color: var(--muted);
  transition: color 0.2s;
}

.svc-breadcrumb a:hover { color: var(--brass); }
.svc-breadcrumb span { color: var(--brass); }

.svc-hero .eyebrow {
  opacity: 1;
  animation: none;
  margin-bottom: 14px;
}

.svc-hero h1 {
  align-items: flex-start;
  animation: rise 0.8s 0.1s ease forwards;
}

.svc-hero h1 em {
  font-size: clamp(36px, 5.5vw, 78px);
  line-height: 0.96;
  text-shadow: none;
  oblique: 12deg;
  font-style: oblique 12deg;
}

/* ── Service page body ───────────────────────────── */
.svc-body {
  max-width: 1360px;
  margin: 0 auto;
  padding: 80px clamp(20px, 5vw, 64px) 96px;
}

.svc-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--border);
}

.svc-intro-lead {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.48;
  color: var(--bright);
}

.svc-intro-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 6px;
}

.svc-intro-body p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.8;
}

.svc-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 72px;
}

.svc-feature {
  padding: 32px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.svc-feature:hover {
  background: var(--raised);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.svc-feature-num {
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--brass);
}

.svc-feature h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.1;
  color: var(--bright);
}

.svc-feature p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.75;
}

.svc-benefits {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.svc-benefits h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.1;
  color: var(--bright);
  margin-bottom: 18px;
}

.svc-benefits-body p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.8;
  margin-bottom: 28px;
}

.benefits-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.benefits-tags li {
  padding: 8px 16px;
  background: rgba(184,144,74,0.1);
  border: 1px solid rgba(184,144,74,0.22);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-hi);
}

.svc-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.svc-cta-phones {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  width: 100%;
}

.svc-cta-phones > span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.svc-cta-phones > span + a {
  margin-bottom: 10px;
}

.svc-cta-phones a {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--bright);
  font-weight: 400;
  transition: color 0.2s;
}

.svc-cta-phones a:hover { color: var(--brass); }

/* ── Nav toggle (hamburger) ──────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  z-index: 210;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--bright);
  transform-origin: center;
  transition: transform 0.3s var(--ease-out-quart), opacity 0.2s;
}

.nav-toggle-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .promise, .estimate {
    grid-template-columns: 1fr;
  }

  .hero-stats { flex-wrap: wrap; gap: 0; }
  .stat-sep { display: none; }
  .stat { flex: 1 0 calc(50% - 32px); padding: 14px; }
  .stat:first-child { padding-left: 14px; }
  .stat-cslb { flex: 1 0 calc(50% - 32px); padding: 14px; }

  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-featured-quote { padding: 24px 28px; }

  .site-footer { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 96px clamp(24px, 6vw, 48px) 48px;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    pointer-events: none;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.35s var(--ease-out-quart), transform 0.35s var(--ease-out-quart);
    z-index: 200;
    /* override the old 640px flex gap */
    font-size: 18px;
    letter-spacing: 0.03em;
  }

  .nav.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .nav > a,
  .nav-services-trigger {
    font-size: clamp(24px, 6vw, 32px) !important;
    font-weight: 600;
    color: var(--bright);
    padding: 10px 0;
    letter-spacing: 0.02em;
  }

  .nav-services { width: 100%; }

  .nav-dropdown {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 4px 0 4px 20px !important;
    margin-top: 4px;
    display: none;
  }

  .nav-services.services-open .nav-dropdown {
    display: block;
  }

  .nav-dropdown a {
    font-size: 15px !important;
    color: var(--body) !important;
    padding: 6px 0 !important;
    border: none !important;
  }

  .promise, .estimate {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 64px;
    padding: 0 16px 0 20px;
  }

  .brand-logo { height: 36px; }

  .phone-cta {
    display: none;
  }

  .hero-content {
    padding: 60px 20px 40px;
  }

  .hero-lower {
    gap: 24px;
    margin-top: 36px;
    padding-top: 28px;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .services-grid { grid-template-columns: 1fr; gap: 8px; }
  .reviews-grid { grid-template-columns: 1fr; }

  .site-footer { grid-template-columns: 1fr; }
  .ft-brand { grid-column: auto; }

  .reviews-featured-quote { padding: 20px 20px; }
  .reviews-featured-quote p { font-size: 15px; }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }
  .stat, .stat-cslb { flex: none; padding: 0; }
}

@media (max-width: 980px) {
  .svc-intro { grid-template-columns: 1fr; }
  .svc-benefits { grid-template-columns: 1fr; padding: 32px; }
}

@media (max-width: 768px) {
  .svc-hero h1 { animation: rise 0.8s 0.1s var(--ease-out-quart) both; }
}

@media (max-width: 640px) {
  .svc-features { grid-template-columns: 1fr; }
  .svc-benefits { padding: 24px; }
  .svc-hero h1 em { font-size: clamp(30px, 10vw, 56px); }
  .svc-body { padding: 48px 20px 64px; }
}
