/* Final release overrides must load after the legacy stylesheet. */

.site-header .header-phone {
  color: #f3b485;
  font-size: clamp(18px, 1.5vw, 25px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.depth-card {
  color: var(--ink);
  background-position: center;
  background-size: cover;
}

.depth-card p {
  color: #343b40;
  font-weight: 520;
}

.visual-control .section-heading > p,
.visual-highlights .section-heading > p {
  color: #262d32;
  font-weight: 620;
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.86);
}

.visual-control .control-flow article > p,
.visual-highlights .home-highlight-card > p:last-of-type {
  color: #343c42;
  font-weight: 540;
}

.home-highlight-card:hover,
.home-highlight-card:focus-visible {
  color: var(--ink);
  box-shadow: 0 26px 72px rgba(22, 26, 30, 0.16), inset 0 0 0 2px rgba(185, 102, 47, 0.5);
}

.home-highlight-card:hover .kicker,
.home-highlight-card:focus-visible .kicker {
  color: var(--copper-dark);
}

.home-highlight-card:hover > p:last-of-type,
.home-highlight-card:focus-visible > p:last-of-type {
  color: #4d565d;
}

.home-highlight-card:hover > b,
.home-highlight-card:focus-visible > b {
  border-color: rgba(22, 26, 30, 0.34);
  background: var(--ink);
  color: var(--white);
}

.form-stack {
  min-width: 0;
}

.form-stack .lead-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.form-stack .lead-form > label {
  align-self: start;
  align-content: start;
}

.form-direct-contacts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin-top: 18px;
  padding: 22px clamp(28px, 4vw, 60px);
  border: 0;
  background: rgba(250, 249, 246, 0.8);
}

.form-direct-contacts a {
  margin: 0;
  font-size: clamp(20px, 1.8vw, 30px);
}

.material-grid,
.principle-grid {
  container-type: inline-size;
}

.material-grid article,
.principle-grid article {
  isolation: isolate;
  background-position: center;
  background-size: cover;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.36);
}

.material-grid article::before,
.principle-grid article::before {
  display: none;
}

.material-grid h3,
.principle-grid h3 {
  max-width: 100%;
  font-size: clamp(24px, 8.2cqi, 36px);
  line-height: 1.04;
}

.material-grid p,
.principle-grid p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.contact-option-grid article {
  color: var(--ink);
  background-position: center;
  background-size: cover;
}

.contact-option-grid article::before {
  display: none;
}

.contact-option-grid p {
  color: #343b40;
  font-size: 15px;
  font-weight: 520;
}

.contact-option-grid article:hover {
  box-shadow: inset 0 0 0 2px rgba(185, 102, 47, 0.45);
}

.digital-management::before {
  background:
    linear-gradient(100deg, rgba(242, 240, 234, 0.94), rgba(242, 240, 234, 0.62)),
    var(--digital-management-image, url("/assets/images/generated/digital-management.webp")) center / cover;
  opacity: 0.62;
}

.digital-management-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.digital-management-grid article {
  min-height: 330px;
  padding: clamp(26px, 3vw, 42px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(250, 249, 246, 0.82);
  backdrop-filter: blur(8px);
}

.digital-management-grid span {
  color: var(--copper-dark);
  font: 11px var(--font-roboto-mono), monospace;
}

.digital-management-grid h3 {
  margin-top: 86px;
  font-size: clamp(27px, 2.35vw, 42px);
}

.digital-management-grid p {
  margin-top: 22px;
  color: #4f5960;
  font-size: 14px;
}

.digital-benefit {
  display: grid;
  grid-template-columns: 0.32fr 0.68fr;
  gap: 40px;
  margin-top: 42px;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
}

.digital-benefit strong {
  color: var(--copper-dark);
  font: 11px var(--font-roboto-mono), monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.digital-benefit p {
  max-width: 950px;
  margin: 0;
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 560;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.contact-office-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}

.contact-office-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.contact-office-card figure {
  height: min(44svh, 430px);
  margin: 0;
  overflow: hidden;
  background: #0e1114;
}

.contact-office-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-office-copy {
  min-height: 300px;
  padding: clamp(28px, 3.5vw, 56px);
}

.contact-office-copy address {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 1.55vw, 24px);
  font-style: normal;
  line-height: 1.45;
}

.office-phone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.office-phone-list a {
  color: #f3b485;
  font-size: clamp(19px, 1.8vw, 28px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.contact-office-card iframe {
  width: 100%;
  height: 230px;
  border: 0;
  filter: grayscale(0.55) contrast(0.92);
}

.conversion-cta-embed {
  min-height: 170px;
  padding: 12px;
  border: 0;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
}

.conversion-cta-embed-host {
  min-width: 0;
}

.conversion-cta-embed-fallback {
  display: grid;
  min-height: 146px;
  align-content: center;
  gap: 8px;
  padding: clamp(16px, 2.2vw, 28px);
}

.conversion-cta-embed-fallback strong {
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.1;
}

.conversion-cta-embed-fallback span {
  max-width: 540px;
  color: rgba(24, 28, 31, 0.72);
  line-height: 1.45;
}

.conversion-cta-embed-fallback a {
  width: max-content;
  margin-top: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-weight: 700;
}

.conversion-cta-embed.is-ready .conversion-cta-embed-fallback {
  display: none;
}

@media (max-width: 1180px) {
  .site-header .header-phone {
    font-size: 20px;
  }

  .digital-management-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .form-stack .lead-form,
  .form-direct-contacts,
  .digital-management-grid,
  .digital-benefit,
  .contact-office-grid {
    grid-template-columns: 1fr;
  }

  .form-direct-contacts {
    padding-inline: 20px;
  }

  .digital-management-grid article {
    min-height: 280px;
  }

  .contact-office-card figure {
    height: min(58svh, 520px);
  }
}
