/* Shared refinements for content pages; the homepage keeps its own composition. */

/* One restrained motion language across touch and pointer layouts. */
.motion-photo-frame { position: relative; overflow: hidden; }
.motion-photo-active { transition: none !important; }
.motion-photo-veil {
  position: absolute;
  inset: -1px;
  z-index: 3;
  background: var(--chalk);
  pointer-events: none;
}
.craft .motion-photo-veil { background: var(--graphite); }
.motion-sequence { position: relative; }
.motion-sequence::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ochre);
  transform: scaleX(var(--sequence-progress, 0));
  transform-origin: left;
  pointer-events: none;
}
.motion-sequence .sequence-card {
  transition: border-color .4s ease, background-color .4s ease;
}
.motion-sequence .sequence-card.is-current {
  border-color: var(--bronze);
  background: #f0ece0;
}
.motion-sequence .step-number,
.motion-sequence .sequence-number,
.craft-stage .step-number { transition: color .4s ease, transform .4s ease; }
.motion-sequence .is-current .sequence-number { color: var(--bronze); transform: translateX(5px); }
.motion-sequence .is-current .step-number,
.craft-stage.is-active .step-number { color: var(--ochre); transform: translateX(5px); }
.craft-stage .stage-tag { transition: color .4s ease; }
.craft-stage.is-active .stage-tag { color: var(--ochre); }
@media (prefers-reduced-motion: reduce) {
  .motion-photo-veil { display: none; }
  .motion-sequence::before { display: none; }
  .motion-sequence .sequence-card,
  .motion-sequence .step-number,
  .motion-sequence .sequence-number,
  .craft-stage .step-number,
  .craft-stage .stage-tag { transition: none; }
  .motion-sequence .step-number,
  .motion-sequence .sequence-number,
  .craft-stage .step-number { transform: none; }
}
.page-hero {
  padding-block: clamp(40px, 5vw, 72px) clamp(48px, 6vw, 88px);
}
.page-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 72px);
}
.page-hero h1 {
  max-inline-size: 18ch;
  font-size: clamp(40px, 4.5vw, 68px);
  line-height: 1.1;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.page-hero .eyebrow {
  max-inline-size: 64ch;
  line-height: 1.7;
  letter-spacing: .1em;
}
.page-hero .body-large,
.page-hero .lead {
  max-inline-size: 58ch;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.75;
  color: #d0d8cc;
}
.page-hero .breadcrumbs {
  margin-bottom: 28px;
}
.page-hero .breadcrumbs ol {
  row-gap: 6px;
  overflow-wrap: anywhere;
}
.page-hero-actions {
  gap: 12px;
  align-items: stretch;
}
.page-hero-actions .button {
  min-height: 50px;
  max-width: 100%;
  padding: 15px 20px;
  font-size: 12px;
  line-height: 1.5;
  white-space: normal;
  text-align: center;
  justify-content: center;
}
.page-hero-actions .button svg {
  flex: 0 0 18px;
}
.page-hero-actions .button-secondary {
  border-color: #ffffff55;
  color: var(--chalk);
  background: transparent;
}
.page-hero-actions .button-secondary:hover {
  background: #ffffff12;
  border-color: var(--chalk);
}
.page-hero-media img {
  display: block;
  background: var(--concrete);
}
.service-detail-section h2,
.scope-card h3,
.sequence-card h3,
.factor-card h3,
.about-value-card h3,
.care-card h3,
.service-hub-card-body h3,
.county-panel-full h3 {
  text-wrap: balance;
  line-height: 1.25;
}
.service-hub-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.service-hub-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}
.service-hub-card-body p {
  margin-bottom: 24px;
}
.service-hub-card-body .button,
.service-hub-card-body .text-link {
  margin-top: auto;
  max-width: 100%;
  white-space: normal;
}
.service-meta-bar {
  gap: 24px;
}
.meta-card,
.scope-card,
.sequence-card,
.factor-card,
.about-value-card,
.care-card,
.county-panel-full {
  min-width: 0;
}
.contact-layout-grid {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 56px);
}
.contact-layout-grid .estimate-form-wrapper {
  margin-top: 0;
  scroll-margin-top: 130px;
  padding: clamp(24px, 3vw, 42px);
  background: #faf8f2;
}
.contact-layout-grid .estimate-form-wrapper h2 {
  max-inline-size: 17ch;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.15;
  margin-bottom: 16px;
  text-wrap: balance;
}
.contact-layout-grid .form-help {
  max-inline-size: 62ch;
  font-size: 13px;
  line-height: 1.75;
}
.contact-layout-grid .contact-detail-box {
  padding: clamp(24px, 2.5vw, 32px);
}
.contact-layout-grid .contact-detail-box h2 {
  font: 600 21px/1.35 var(--sans);
  letter-spacing: -.025em;
  margin-bottom: 12px;
  color: var(--ink);
}
.contact-direct-box .contact-phone-number {
  display: inline-block;
  min-height: 44px;
  padding-top: 16px;
  font-size: clamp(23px, 2.1vw, 29px);
  letter-spacing: -.035em;
  color: var(--ink);
}
.contact-direct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.contact-detail-box .contact-direct-actions .button {
  min-height: 48px;
  padding: 14px 18px;
  font-size: 12px;
  background: var(--ink);
  color: var(--chalk);
  gap: 12px;
}
.contact-detail-box .contact-direct-actions .button-outline {
  color: var(--ink);
  background: transparent;
}
.contact-detail-box .contact-direct-actions .button-outline:hover {
  color: var(--chalk);
  background: var(--ink);
}
.contact-detail-box .contact-direct-actions .button-outline:focus-visible {
  color: var(--ink);
  background: transparent;
}
.contact-detail-box .contact-email-line {
  margin-top: 14px;
}
.contact-email-line a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  overflow-wrap: anywhere;
}
.contact-email-line svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.contact-estimate-note {
  background: var(--chalk);
}
.contact-layout-grid .project-form {
  margin-top: 24px;
}
.contact-layout-grid .project-form input,
.contact-layout-grid .project-form select,
.contact-layout-grid .project-form textarea {
  background: #fffdf8;
  border: 1px solid #aeb6aa;
  padding: 12px;
  border-radius: 0;
}
.contact-layout-grid .project-form :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-color: var(--ink);
}
.contact-layout-grid .project-form .button {
  margin-top: 12px;
}
.contact-layout-grid .estimate-review {
  padding-block: 20px 4px;
}
.contact-page-hero ~ .service-detail-section .business-profile-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  text-decoration: none;
}
.contact-page-hero ~ .service-detail-section .business-profile-links a:hover {
  color: var(--bronze);
  border-color: var(--ink);
}
@media (max-width: 1023px) {
  .page-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-hero h1 {
    max-inline-size: 20ch;
    font-size: clamp(40px, 6vw, 58px);
  }
  .contact-layout-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-layout-grid .estimate-form-wrapper {
    order: -1;
  }
  .contact-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .page-hero {
    padding-block: 32px 44px;
  }
  .page-hero h1 {
    font-size: clamp(34px, 9.2vw, 46px);
    line-height: 1.13;
    letter-spacing: -.04em;
    margin-bottom: 20px;
  }
  .page-hero .eyebrow {
    font-size: 9px;
    letter-spacing: .08em;
  }
  .page-hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 26px;
  }
  .page-hero-actions .button {
    width: 100%;
    min-height: 50px;
    padding-inline: 16px;
  }
  .service-meta-bar {
    gap: 18px;
  }
  .meta-card {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 16px 0 0;
  }
  .meta-card:first-child {
    border-top: 0;
    padding-top: 0;
  }
  .contact-sidebar {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .contact-layout-grid .estimate-form-wrapper {
    padding: 26px 20px;
    scroll-margin-top: 110px;
  }
  .contact-layout-grid .estimate-form-wrapper h2 {
    font-size: 32px;
  }
  .contact-layout-grid .form-grid {
    gap: 20px;
  }
  .contact-direct-actions .button {
    flex: 1;
    justify-content: center;
  }
}

/* Original brand artwork stays isolated from the site's outline SVG styling. */
.header-action-whatsapp {
  background: #f3f0e7;
  border-color: #f3f0e7;
}
.header-action-whatsapp:hover { background: #fff; }
.header-action-whatsapp img { width: 24px; height: 24px; object-fit: contain; }
.header-action-call svg { stroke-width: 1.8; }
.footer-profiles { margin-top: 30px; padding-top: 24px; border-top: 1px solid #ffffff25; }
.footer-profiles-label { margin: 0 0 14px; font: 600 10px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #c8c9c0; }
.footer-social { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 20px; max-width: none; margin-top: 0; }
.profile-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.profile-icon { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; background: #fff; border: 1px solid #e4e2da; border-radius: 8px; }
.profile-icon img { width: 26px; height: 26px; object-fit: contain; filter: none; }
.profile-icon img[src$="angi.webp"] { width: 30px; }
.profile-name { min-width: 0; font-weight: 600; }
.profile-arrow { margin-left: auto; opacity: .5; font-size: 16px; transition: transform .25s ease, opacity .25s ease; }
.profile-link:hover .profile-arrow,.profile-link:focus-visible .profile-arrow { opacity: 1; transform: translate(2px, -2px); }
.profile-link:focus-visible { outline: 2px solid var(--ochre); outline-offset: 4px; }
.footer-social .profile-link { min-height: 52px; padding: 6px 0; font-size: 12px; line-height: 1.3; color: var(--chalk); }
.footer-social .profile-icon { width: 34px; height: 34px; flex-basis: 34px; border-radius: 6px; }
.footer-social .profile-icon img { width: 23px; height: 23px; }
.footer-social .profile-icon img[src$="angi.webp"] { width: 27px; }
.footer-social .profile-arrow { font-size: 14px; }
.footer-social .profile-link:hover .profile-name { text-decoration: underline; text-underline-offset: 4px; }
.business-profile-links { gap: 0 32px; }
.business-profile-links .profile-link { min-height: 80px; padding-block: 16px; }
.contact-page-hero ~ .service-detail-section .business-profile-links .profile-link { justify-content: flex-start; gap: 14px; min-height: 80px; }

/* A complete work card is a useful link on touch, mouse and keyboard. */
.project-showcase-link { display: block; color: inherit; text-decoration: none; }
.project-showcase-link:focus-visible { outline: 2px solid var(--bronze); outline-offset: 7px; }
.project-showcase-link .project-figure { margin: 0; }
.project-showcase-link figcaption { position: relative; border-top: 0; gap: 12px; min-height: 62px; }
.project-caption-rule { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--bronze); transform-origin: left; pointer-events: none; }
.project-cta { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; color: var(--bronze); }
.project-cta > span { font-size: 10px; font-weight: 600; }
.project-cta svg { width: 22px; height: 22px; transition: transform .3s ease; }
.project-showcase-link:hover .project-cta svg,.project-showcase-link:focus-visible .project-cta svg { transform: translate(3px, -3px); }
.project-showcase-link:hover .photo-frame img { transform: scale(1.035); }
.project-showcase-link .photo-frame img { object-position: center; }
.considered .section-intro .small-link { margin-top: 22px; }
@media (min-width: 701px) and (max-width: 1050px) {
  .footer-social { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .business-profile-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-cta > span { display: none; }
}
@media (max-width: 700px) {
  .footer-social { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
  .footer-social .profile-link { font-size: 11px; gap: 10px; }
  .business-profile-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .business-profile-links .profile-link { font-size: 12px; }
  .contact-page-hero ~ .service-detail-section .business-profile-links .profile-link { gap: 10px; min-height: 76px; }
  .business-profile-links .profile-icon { width: 32px; height: 32px; flex-basis: 32px; }
  .business-profile-links .profile-icon img { width: 23px; height: 23px; }
  .business-profile-links .profile-icon img[src$="angi.webp"] { width: 27px; }
  .profile-arrow { font-size: 13px; }
  .project-showcase-link figcaption { font-size: 12px; min-height: 58px; }
  .project-cta { gap: 7px; }
  .project-cta > span { font-size: 9px; }
  .project-cta svg { width: 18px; height: 18px; }
}
@media (max-width: 370px) {
  .footer-social,.business-profile-links { column-gap: 14px; }
  .footer-social .profile-link { gap: 7px; font-size: 10px; }
  .footer-social .profile-icon { width: 30px; height: 30px; flex-basis: 30px; }
  .business-profile-links { grid-template-columns: minmax(0, 1fr); }
  .project-cta > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-arrow,.project-cta svg { transition: none; }
  .profile-link:hover .profile-arrow,.profile-link:focus-visible .profile-arrow,
  .project-showcase-link:hover .project-cta svg,.project-showcase-link:focus-visible .project-cta svg,
  .project-showcase-link:hover .photo-frame img { transform: none; }
}
