/* ============================================
   PERFECT LEVEL PATIO LLC — v3
   Dark frame + cream body · Premium trade brand
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, video { display: block; max-width: 100%; height: auto; }
button { border: none; background: none; font: inherit; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

:root {
  --cream: #faf8f5;
  --cream-2: #f3efe8;
  --cream-3: #ebe5db;

  --ink: #0e0e0e;
  --ink-2: #181818;
  --ink-3: #232323;
  --ink-soft: #2a2a2a;
  --ink-mid: rgba(20,20,20,0.72);
  --ink-quiet: rgba(20,20,20,0.55);
  --ink-faint: rgba(20,20,20,0.35);
  --line: rgba(20,20,20,0.12);
  --line-strong: rgba(20,20,20,0.22);

  --light-on-dark: rgba(250,248,245,0.78);
  --light-on-dark-quiet: rgba(250,248,245,0.55);
  --line-on-dark: rgba(250,248,245,0.14);
  --line-on-dark-strong: rgba(250,248,245,0.25);

  --red: #c41e24;
  --red-deep: #9a161b;
  --red-bright: #e21b22;
  --red-light: #ff6a6f;
  --red-tint: rgba(196,30,36,0.08);

  --font-serif: 'Fraunces', 'Times New Roman', serif;
  --font-sans: 'Inter Tight', system-ui, sans-serif;

  --max: 1320px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(5rem, 9vw, 8rem);

  --radius: 4px;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  font-weight: 400;
}

::selection { background: var(--red); color: var(--cream); }

/* ============================================
   TYPE
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
/* Was italic accent — now upright, bolder weight. No italic anywhere. */
.serif-it {
  font-style: normal;
  font-weight: 500;
  color: var(--red);
}
.serif-it.on-dark,
.story h2 .serif-it,
.sub-hero h1 .serif-it,
.area h2 .serif-it {
  color: var(--red-light);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--red);
}
.eyebrow.on-dark { color: var(--red-light); }
.eyebrow.on-dark::before { background: var(--red-light); }

.lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-mid);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.section { padding-block: var(--section); }

/* ============================================
   NAV — DARK
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: rgba(14,14,14,0.92);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: padding 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled {
  padding: 0.8rem 0;
  border-bottom-color: var(--line-on-dark);
  background: rgba(14,14,14,0.98);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-serif);
  line-height: 1;
}
.nav-brand-mark {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  display: block;
}
.nav-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nav-brand-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-brand-name .top {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--cream);
}
.nav-brand-name .sub {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--light-on-dark);
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a.active { color: var(--cream); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--red);
}

.nav-cta,
.nav-links a.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--red);
  color: var(--cream);
  padding: 0.95rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.nav-cta:hover,
.nav-links a.nav-cta:hover {
  background: var(--red-deep);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(196,30,36,0.45);
}
.nav-links a.nav-cta::after { display: none; }
.nav-cta-arrow {
  display: inline-block;
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.nav-cta:hover .nav-cta-arrow { transform: translateX(3px); }

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 80px 0 0 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 2rem var(--pad);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.7,0,0.3,1);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a {
    font-size: 1.6rem;
    font-family: var(--font-serif);
    font-weight: 400;
    padding: 1rem 0;
    width: 100%;
    border-bottom: 1px solid var(--line-on-dark);
  }
  .nav-links .nav-cta {
    margin-top: 1.5rem;
    padding: 1.1rem 1.8rem;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
  }
  .nav-toggle { display: flex; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.15rem 2.1rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  border-radius: 999px;
  transition: all 0.25s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: var(--red);
  color: var(--cream);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(196,30,36,0.35);
}
.btn-dark {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn-dark:hover {
  background: transparent;
  color: var(--ink);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn-light {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.btn-light:hover {
  background: var(--red);
  color: var(--cream);
  border-color: var(--red);
  transform: translateY(-2px);
}
.btn-ghost-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(250,248,245,0.35);
}
.btn-ghost-light:hover {
  background: rgba(250,248,245,0.1);
  border-color: var(--cream);
  transform: translateY(-2px);
}

/* ============================================
   HERO — DARK
   ============================================ */
.hero {
  background: var(--ink);
  color: var(--cream);
  padding-top: 11rem;
  padding-bottom: clamp(4rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 70%;
  height: 130%;
  background: radial-gradient(ellipse at center, rgba(196,30,36,0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(250,248,245,0.15) 50%, transparent 100%);
}
.hero > * { position: relative; z-index: 1; }
.hero .wrap { position: relative; z-index: 1; }

.hero-tagline { margin-bottom: 1.75rem; }
.hero-headline {
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 16ch;
  margin-bottom: 2.25rem;
  color: var(--cream);
}
.hero-headline .accent {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--red);
  display: inline-block;
}
.hero-sub {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--light-on-dark);
  max-width: 56ch;
  margin-bottom: 2.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.hero-trust {
  margin-top: 4.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line-on-dark);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
@media (max-width: 700px) {
  .hero-trust { grid-template-columns: 1fr; gap: 1.5rem; }
}
.hero-trust-item .lbl {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-light);
  display: block;
  margin-bottom: 0.6rem;
}
.hero-trust-item .val {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--cream);
}

.hero-feature {
  margin-top: clamp(4.5rem, 7vw, 7rem);
  position: relative;
}
.hero-feature-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.hero-feature-caption {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
  background: var(--cream);
  color: var(--ink);
  padding: 1rem 1.4rem;
  border-radius: 4px;
  max-width: 340px;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.4);
}
.hero-feature-caption .label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.4rem;
  display: block;
}
.hero-feature-caption .text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--ink);
}
@media (max-width: 600px) {
  .hero-feature-caption { left: 1rem; bottom: 1rem; max-width: 78%; padding: 0.8rem 1.1rem; }
  .hero-feature-caption .text { font-size: 0.92rem; }
}

/* ============================================
   SUB HERO — DARK
   ============================================ */
.sub-hero {
  background: var(--ink);
  color: var(--cream);
  padding-top: 11rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}
.sub-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 130%;
  background: radial-gradient(ellipse at center, rgba(196,30,36,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.sub-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(250,248,245,0.15) 50%, transparent 100%);
}
.sub-hero .wrap { position: relative; z-index: 1; }
.sub-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: end;
}
@media (max-width: 880px) { .sub-hero-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.sub-hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  letter-spacing: -0.035em;
  color: var(--cream);
}
.sub-hero h1 .serif-it { color: var(--red-light); }
.sub-hero p {
  font-size: 1.1rem;
  color: var(--light-on-dark);
  max-width: 44ch;
  line-height: 1.6;
}

/* ============================================
   SECTION HEAD
   ============================================ */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
  align-items: end;
}
@media (max-width: 880px) { .sec-head { grid-template-columns: 1fr; gap: 1.25rem; } }
.sec-head h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  letter-spacing: -0.03em;
}
.sec-head p {
  color: var(--ink-mid);
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 50ch;
}

/* ============================================
   SERVICES — alternating photo blocks
   ============================================ */
.svc-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-bottom: clamp(4rem, 7vw, 7rem);
}
.svc-block:last-child { margin-bottom: 0; }
.svc-block.flip .svc-text { order: 2; }
@media (max-width: 880px) {
  .svc-block, .svc-block.flip { grid-template-columns: 1fr; gap: 2rem; }
  .svc-block.flip .svc-text { order: 0; }
}
.svc-text .eyebrow { margin-bottom: 1.25rem; }
.svc-text h3 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}
.svc-text p {
  color: var(--ink-mid);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.svc-text ul {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.85rem;
}
.svc-text li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.svc-text li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  margin-top: 0.55rem;
  flex-shrink: 0;
}

.svc-photo { position: relative; }
.svc-photo-single {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.3);
}
.svc-ba {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.svc-ba-item {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 18px 40px -15px rgba(0,0,0,0.3);
}
.svc-ba-item img { width: 100%; height: 100%; object-fit: cover; }
.svc-ba-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--cream);
  padding: 0.4rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border-radius: 999px;
}
.svc-ba-tag.after { background: var(--red); color: var(--cream); }

/* SERVICE FEATURE CARDS */
.svc-feature, .edge-visual {
  aspect-ratio: 4 / 5;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.svc-feature.alt {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.svc-feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 6px;
  background: var(--red);
}
.svc-feature.alt::before { background: var(--red-light); }
.edge-visual {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.edge-visual::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 6px;
  background: var(--red);
}
.svc-feature-eyebrow, .edge-visual-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
}
.svc-feature.alt .svc-feature-eyebrow,
.edge-visual-eyebrow { color: var(--red-light); }
.svc-feature-title, .edge-visual-title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
  font-weight: 400;
}
.svc-feature.alt .svc-feature-title,
.edge-visual-title { color: var(--cream); }
.svc-feature-text, .edge-visual-quote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-mid);
}
.svc-feature.alt .svc-feature-text { color: rgba(250,248,245,0.78); }
.edge-visual-quote { color: rgba(250,248,245,0.78); font-style: normal; }
.svc-feature-link {
  color: var(--red);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}
.svc-feature.alt .svc-feature-link { color: var(--red-light); }
.svc-feature-link:hover { text-decoration: underline; }

/* ============================================
   STORY / ABOUT — DARK
   ============================================ */
.story {
  background: var(--ink);
  color: var(--cream);
  border-radius: 8px;
  padding: clamp(2.5rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.story::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 50%;
  height: 130%;
  background: radial-gradient(ellipse at center, rgba(196,30,36,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.story > * { position: relative; z-index: 1; }
@media (max-width: 880px) { .story { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.5rem; } }
.story h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--cream);
}
.story h2 .serif-it { color: var(--red-light); }
.story .eyebrow { color: var(--red-light); }
.story .eyebrow::before { background: var(--red-light); }
.story p {
  color: rgba(250,248,245,0.82);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.1rem;
}
.story p:last-child { margin-bottom: 0; }
.story-sig {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-on-dark);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.story-sig-mark {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--red-light);
  letter-spacing: 0.05em;
}
.story-sig-info .name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--cream);
}
.story-sig-info .role {
  font-size: 0.84rem;
  color: rgba(250,248,245,0.55);
}

/* ============================================
   PROCESS — LOOSE, SPACED, LEGIBLE
   ============================================ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}
@media (max-width: 880px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
.process-step {
  padding: 3.5rem 2rem 3.5rem 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.process-step:not(:first-child) { padding-left: 2rem; }
.process-step:last-child { border-right: 0; padding-right: 0; }
.process-step:first-child { padding-left: 0; }
@media (max-width: 880px) {
  .process-step:nth-child(2n) { border-right: 0; padding-right: 0; }
  .process-step:nth-child(2n+1) { padding-left: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .process-step { border-right: 0; border-bottom: 1px solid var(--line); padding: 2.5rem 0; }
  .process-step:last-child { border-bottom: 0; }
}

.process-step .step-mark {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 1.75rem;
}
.process-step h3 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}
.process-step p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-mid);
}

/* ============================================
   PROMISE / WHY
   ============================================ */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
@media (max-width: 700px) { .promise-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.promise-card {
  padding: 2.25rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.promise-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -20px rgba(0,0,0,0.15);
}
.promise-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--red);
}
.promise-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.promise-card p {
  color: var(--ink-mid);
  font-size: 1rem;
  line-height: 1.65;
}

/* ============================================
   AREA — DARK
   ============================================ */
.area {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.area::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 50%;
  height: 130%;
  background: radial-gradient(ellipse at center, rgba(196,30,36,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.area .wrap { position: relative; z-index: 1; }
.area-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 880px) { .area-inner { grid-template-columns: 1fr; gap: 2rem; } }
.area h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--cream);
}
.area h2 .serif-it { color: var(--red-light); }
.area .eyebrow { color: var(--red-light); }
.area .eyebrow::before { background: var(--red-light); }
.area p {
  color: rgba(250,248,245,0.78);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.area-hq {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.5rem 1rem;
  background: rgba(250,248,245,0.08);
  border-radius: 999px;
  font-size: 0.88rem;
  border: 1px solid var(--line-on-dark);
  color: var(--cream);
}
.area-hq-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  position: relative;
}
.area-hq-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--red);
  opacity: 0.4;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

.area-cities {
  background: rgba(250,248,245,0.05);
  border: 1px solid var(--line-on-dark);
  border-radius: 8px;
  padding: 2rem;
}
.area-cities h4 {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 1.5rem;
}
.area-cities ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1.5rem;
}
.area-cities li {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.area-cities li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--red-light);
  border-radius: 50%;
}
.area-cities li.hq {
  font-weight: 500;
  color: var(--red-light);
}

/* ============================================
   CTA BAND — FULL-WIDTH DARK SECTION
   ============================================ */
.cta-section {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  padding-block: var(--section);
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(196,30,36,0.1) 0%, transparent 65%);
  pointer-events: none;
}
/* Top divider only when CTA is NOT preceded by another dark section */
.cta-section.has-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(250,248,245,0.15) 50%, transparent 100%);
}
.cta-section .wrap { position: relative; z-index: 1; }

.cta {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; gap: 2rem; } }
.cta h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--cream);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.05;
}
.cta h2 .accent {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 600;
  color: var(--red-light);
  letter-spacing: -0.025em;
}
.cta p {
  color: rgba(250,248,245,0.78);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 48ch;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.cta-actions .btn { justify-content: center; padding: 1.25rem 2.1rem; font-size: 1.05rem; }

/* Legacy cta-inner shim — match new .cta layout exactly */
.cta-inner {
  display: contents;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.contact-info h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.contact-info > p {
  color: var(--ink-mid);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 40ch;
}

.contact-card {
  display: block;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  transition: padding 0.25s;
}
.contact-card:last-of-type { border-bottom: 1px solid var(--line); }
.contact-card:hover { padding-left: 0.5rem; }
.contact-card .lbl {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.3rem;
}
.contact-card .val {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-card .val svg {
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  transform: translateX(-4px);
}
.contact-card:hover .val svg { opacity: 1; transform: translateX(0); }

/* FORM CARD — DARK */
.form-card {
  background: var(--ink);
  color: var(--cream);
  border-radius: 8px;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  position: relative;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.3);
}
.form-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
  color: var(--cream);
  line-height: 1.15;
}
.form-card .sub {
  color: rgba(250,248,245,0.65);
  font-size: 0.98rem;
  margin-bottom: 2rem;
}

.field { margin-bottom: 1.5rem; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,248,245,0.7);
  margin-bottom: 0.55rem;
}
.field label .req { color: var(--red-light); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  background: rgba(250,248,245,0.05);
  border: 1px solid var(--line-on-dark-strong);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--cream);
  transition: border-color 0.2s, background 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(250,248,245,0.35); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red-light);
  background: rgba(250,248,245,0.08);
  box-shadow: 0 0 0 3px rgba(196,30,36,0.18);
}
.field textarea { resize: vertical; min-height: 110px; }

.svc-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
@media (max-width: 540px) { .svc-options { grid-template-columns: 1fr; } }
.svc-option { position: relative; cursor: pointer; }
.svc-option input { position: absolute; opacity: 0; pointer-events: none; }
.svc-option-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-on-dark-strong);
  border-radius: 4px;
  font-size: 0.95rem;
  color: rgba(250,248,245,0.78);
  background: rgba(250,248,245,0.04);
  transition: all 0.2s;
}
.svc-option:hover .svc-option-label {
  border-color: rgba(250,248,245,0.5);
  color: var(--cream);
}
.svc-option-check {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  border: 1.5px solid rgba(250,248,245,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  background: transparent;
}
.svc-option-check svg {
  width: 11px;
  height: 11px;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s;
}
.svc-option input:checked ~ .svc-option-label {
  border-color: var(--red);
  background: rgba(196,30,36,0.15);
  color: var(--cream);
}
.svc-option input:checked ~ .svc-option-label .svc-option-check {
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
}
.svc-option input:checked ~ .svc-option-label .svc-option-check svg {
  opacity: 1;
  transform: scale(1);
}

.other-field {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease 0.05s, margin 0.4s ease;
  margin-top: 0;
}
.other-field.show {
  max-height: 150px;
  opacity: 1;
  margin-top: 1rem;
}

/* PHOTO UPLOAD */
.file-field { margin-bottom: 1.5rem; }
.file-input { display: none; }
.file-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1.5px dashed var(--line-on-dark-strong);
  border-radius: 4px;
  font-size: 0.95rem;
  color: rgba(250,248,245,0.7);
  background: rgba(250,248,245,0.04);
  cursor: pointer;
  transition: all 0.2s;
}
.file-label:hover {
  border-color: var(--red-light);
  color: var(--cream);
  background: rgba(250,248,245,0.06);
}
.file-label-text {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
}
.file-label-text svg { flex-shrink: 0; color: rgba(250,248,245,0.6); }
.file-label-main {
  display: block;
  color: var(--cream);
  font-weight: 500;
  margin-bottom: 0.15rem;
}
.file-label-sub {
  display: block;
  font-size: 0.78rem;
  color: rgba(250,248,245,0.5);
}
.file-label-hint {
  font-size: 0.78rem;
  color: rgba(250,248,245,0.5);
  white-space: nowrap;
}
.file-field.has-file .file-label {
  border-style: solid;
  border-color: var(--red);
  background: rgba(196,30,36,0.12);
}
.file-field.has-file .file-label-text svg { color: var(--red-light); }

.form-submit {
  width: 100%;
  background: var(--red);
  color: var(--cream);
  border: none;
  padding: 1.2rem 2rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  transition: all 0.25s;
  margin-top: 0.5rem;
}
.form-submit:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(196,30,36,0.45);
}
.form-submit svg { width: 18px; height: 18px; transition: transform 0.25s; }
.form-submit:hover svg { transform: translateX(4px); }

.form-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(250,248,245,0.5);
  text-align: center;
  line-height: 1.5;
}

.hp-field { display: none; }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
  color: var(--cream);
}
.form-success.show { display: block; animation: fadeIn 0.6s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.form-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.75rem;
  background: rgba(196,30,36,0.15);
  border: 1px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-light);
}
.form-success-icon svg { width: 32px; height: 32px; }
.form-success h3 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
  color: var(--cream);
}
.form-success p {
  color: rgba(250,248,245,0.78);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 36ch;
  margin: 0 auto;
}
.form-success .return {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--red-light);
  font-weight: 500;
}

/* ============================================
   FOOTER — DARK
   ============================================ */
.footer {
  background: #050505;
  color: var(--cream);
  padding-top: clamp(4.5rem, 7vw, 6.5rem);
  padding-bottom: 2rem;
  margin-top: 0;
  border-top: 1px solid rgba(250,248,245,0.08);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(200px, 30vw, 400px);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(196,30,36,0.35) 50%, transparent 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

.footer-brand .name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-brand .name-mark {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.footer-brand .name-mark img { width: 100%; height: 100%; object-fit: cover; }
.footer-brand .sub {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 1.5rem;
  margin-left: 60px;
}
.footer-brand p {
  color: rgba(250,248,245,0.65);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 36ch;
  margin-bottom: 1.5rem;
}
.footer-social {
  display: flex;
  gap: 0.6rem;
}
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(250,248,245,0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(250,248,245,0.7);
  transition: all 0.2s;
}
.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
}
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 1.4rem;
}
.footer-col ul { display: grid; gap: 0.85rem; }
.footer-col a {
  color: rgba(250,248,245,0.7);
  font-size: 0.97rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(250,248,245,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(250,248,245,0.5);
}
.footer-bottom a { color: rgba(250,248,245,0.6); }
.footer-bottom a:hover { color: var(--cream); }

/* ============================================
   FLOAT
   ============================================ */
.back-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 48px;
  height: 48px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  z-index: 80;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.4);
}
.back-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { background: var(--red); }
.back-top svg { width: 18px; height: 18px; }

.phone-fab {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: var(--red);
  color: var(--cream);
  padding: 1rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  text-align: center;
  z-index: 80;
  box-shadow: 0 10px 30px -8px rgba(196,30,36,0.5);
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}
.phone-fab svg { width: 16px; height: 16px; }
@media (max-width: 700px) {
  .phone-fab { display: flex; }
  .back-top { display: none; }
  body { padding-bottom: 5rem; }
}

/* ============================================
   MODALS
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(14,14,14,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.modal.open { display: flex; opacity: 1; }
.modal-content {
  background: var(--cream);
  border-radius: 8px;
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  animation: slideUp 0.4s cubic-bezier(0.2,0.8,0.2,1);
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.3s;
}
.modal-close:hover { background: var(--red); color: var(--cream); transform: rotate(90deg); }
.modal-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}
.modal-content h3 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
}
.modal-content h3:first-of-type { margin-top: 0; }
.modal-content p {
  color: var(--ink-mid);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 0.85rem;
}
.modal-content a { color: var(--red); }

/* ============================================
   FADE IN
   ============================================ */
.fade { transition: opacity 0.7s ease, transform 0.7s ease; }
.js-fade .fade { opacity: 0; transform: translateY(24px); }
.js-fade .fade.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   v4 ENHANCEMENTS
   ============================================ */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red-light) 100%);
  width: 0%;
  z-index: 200;
  transition: width 0.05s linear;
  box-shadow: 0 0 10px rgba(196,30,36,0.6);
}



/* Page load fade-in */
@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
body.page-loading {
  opacity: 0;
}
body.page-loaded {
  animation: pageIn 0.5s ease forwards;
}

/* Image reveal — keep class for compatibility but don't clip.
   Photos use the existing .fade mechanism via parent elements. */
.img-reveal { /* intentionally empty */ }

/* Photo zoom-in hover for before/after */
.svc-ba-item, .svc-photo-single, .hero-feature-img {
  overflow: hidden;
  position: relative;
}
.svc-ba-item img,
.svc-photo-single,
.hero-feature-img {
  transition: transform 0.7s cubic-bezier(0.2,0.8,0.2,1);
}
.svc-ba-item:hover img {
  transform: scale(1.04);
}

/* Hero feature subtle hover */
.hero-feature {
  cursor: default;
}
.hero-feature:hover .hero-feature-img {
  transform: scale(1.015);
}

/* Form submit states */
.form-submit {
  position: relative;
  overflow: hidden;
}
.form-submit .form-submit-text {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transition: opacity 0.25s, transform 0.25s;
}
.form-submit .form-submit-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.form-submit.is-loading .form-submit-text {
  opacity: 0;
  transform: translateY(8px);
}
.form-submit.is-loading .form-submit-spinner {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.form-submit-spinner-dot {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(250,248,245,0.3);
  border-top-color: var(--cream);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.form-submit.is-loading {
  pointer-events: none;
}

/* (Removed underline accent animation — was tied to old italic treatment) */
.hero-headline .accent,
.sub-hero h1 .serif-it {
  display: inline-block;
}

/* Improved button shine on hover */
.btn-primary, .form-submit, .nav-cta {
  position: relative;
  overflow: hidden;
}
.btn-primary::before,
.form-submit::before,
.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(250,248,245,0.15) 50%, transparent 100%);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn-primary:hover::before,
.form-submit:hover::before,
.nav-cta:hover::before {
  left: 100%;
}

/* Slightly smoother fade for sections */
.fade {
  transition: opacity 0.8s cubic-bezier(0.2,0.8,0.2,1),
              transform 0.8s cubic-bezier(0.2,0.8,0.2,1);
}

/* Mobile nav: nicer slide animation */
@media (max-width: 900px) {
  .nav-links {
    transition: transform 0.5s cubic-bezier(0.7,0,0.3,1),
                opacity 0.3s ease;
    opacity: 0;
  }
  .nav-links.open { opacity: 1; }

  /* Stagger the link entries when menu opens */
  .nav-links a {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .nav-links.open a {
    opacity: 1;
    transform: translateX(0);
  }
  .nav-links.open a:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.open a:nth-child(2) { transition-delay: 0.15s; }
  .nav-links.open a:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.open a:nth-child(4) { transition-delay: 0.25s; }
  .nav-links.open a:nth-child(5) { transition-delay: 0.3s; }
}

/* Better promise card lift */
.promise-card {
  transition: border-color 0.3s, transform 0.4s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.4s;
}
.promise-card:hover .promise-icon {
  transform: scale(1.1);
  transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1);
}
.promise-icon { transition: transform 0.4s ease; }

/* Service block lift on hover (subtle, only when block contains photos) */
.svc-block .svc-photo > * {
  transition: transform 0.5s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.5s ease;
}


/* ============================================
   v8 UPDATES — Per Ryan's meeting notes
   ============================================ */

/* Form: service checkbox group error state (when nothing selected) */
.svc-options.error {
  outline: 2px solid var(--red);
  outline-offset: 8px;
  border-radius: 12px;
}
.svc-options.error::after {
  content: 'Please select at least one option.';
  position: absolute;
  margin-top: 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--red-light);
  font-weight: 500;
}

/* ITEM #18 — Nav brand LLC emphasis */
.nav-brand-name .top strong {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ITEM #23 — Hide the floating phone bar on mobile */
.phone-fab { display: none !important; }
@media (max-width: 700px) {
  .phone-fab { display: none !important; }
  /* Restore body padding since phone-fab no longer takes up space */
  body { padding-bottom: 0; }
  /* Bring back the back-top button on mobile since we removed the phone fab */
  .back-top { display: flex; }
}

/* ITEM #24 — Mobile menu: white background, black text (was dark/cream — blended in) */
@media (max-width: 900px) {
  .nav-links {
    background: #ffffff;
    /* Soft shadow so it pops over the page content */
    box-shadow: -10px 0 40px -10px rgba(0,0,0,0.25);
    /* Explicit z-index above all page content (was relying on .nav parent z-index:100,
       but as a fixed-position child it creates its own stacking context) */
    z-index: 90;
    /* FIX: .nav-links is inside .nav which is position:fixed, so its fixed-positioning
       is relative to .nav (90px tall) instead of the viewport. Explicit dimensions force
       it to cover the full screen below the nav bar. */
    width: 100vw !important;
    height: calc(100vh - 80px) !important;
    height: calc(100dvh - 80px) !important; /* dvh for mobile browsers with collapsing chrome */
    top: 80px !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    overflow-y: auto;
  }
  .nav-links a {
    color: var(--ink);
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--red);
  }
  .nav-links a.active::after {
    background: var(--red);
  }
  .nav-links .nav-cta {
    /* Keep CTA visually distinct: red background, cream text */
    background: var(--red);
    color: var(--cream);
    border-color: var(--red);
  }
  .nav-links .nav-cta:hover {
    background: var(--red-deep);
    color: var(--cream);
  }
}

/* ITEM #25 — Contact page mobile: form appears BEFORE contact-info card */
@media (max-width: 880px) {
  .contact-grid {
    display: flex;
    flex-direction: column;
  }
  .contact-grid .contact-info {
    order: 2;
  }
  .contact-grid > div:not(.contact-info) {
    order: 1;
  }
}

/* Required asterisk: existing .field label .req style handles this */

/* ============================================
   v8 — RE-LEVELING editorial visual card (services page)
   Replaces the duplicate photos with a strong dark card
   ============================================ */
.relevel-visual {
  background: var(--ink);
  border-radius: 14px;
  padding: clamp(2rem, 4vw, 3rem);
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: 460px;
}
/* Subtle gradient + dot pattern for depth */
.relevel-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(196,30,36,0.18), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(196,30,36,0.10), transparent 50%);
  pointer-events: none;
}
.relevel-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(250,248,245,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0;
  pointer-events: none;
}
.relevel-visual-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
.relevel-visual-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 1.25rem;
}
.relevel-visual-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--cream);
  margin: 0 0 1.5rem;
}
.relevel-visual-divider {
  width: 48px;
  height: 2px;
  background: var(--red);
  margin-bottom: 1.5rem;
}
.relevel-visual-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(250,248,245,0.78);
  margin: 0 0 2rem;
}
.relevel-visual-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250,248,245,0.12);
}
.relevel-visual-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.relevel-visual-stat .num {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--cream);
  line-height: 1;
}
.relevel-visual-stat .lbl {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(250,248,245,0.55);
  text-transform: uppercase;
}
@media (max-width: 700px) {
  .relevel-visual { min-height: auto; padding: 2rem 1.5rem; }
  .relevel-visual-stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

/* ============================================
   v8 — SMOOTH PAGE TRANSITIONS
   Body opacity-based, no overlay, no logo.
   Soft landing / soft exit. Honors prefers-reduced-motion.
   Failsafe: body is visible by default; JS adds .fade-ready to opt in.
   ============================================ */
body.fade-ready {
  opacity: 0;
  transition: opacity 0.28s ease-out;
}
body.fade-ready.page-loaded {
  opacity: 1;
}
body.fade-ready.page-leaving {
  opacity: 0;
  transition: opacity 0.18s ease-in;
}
/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  body.fade-ready,
  body.fade-ready.page-leaving {
    opacity: 1 !important;
    transition: none !important;
  }
}
