/*
 * Oasis Total Solutions — Homepage Redesign V1
 * Homepage-only presentation. Global theme and shared runtime hooks remain intact.
 */

body.home-v1 {
  --home-navy: #0d3b66;
  --home-navy-deep: #082b4d;
  --home-blue: #1a5a91;
  --home-green: #2f7d65;
  --home-green-dark: #205c4a;
  --home-ink: #12263a;
  --home-muted: #566a7e;
  --home-line: rgba(13, 59, 102, 0.13);
  --home-soft-blue: #f0f6fb;
  --home-soft-green: #edf7f3;
  --home-warm: #f8f5ef;
  --home-radius: 22px;
  color: var(--home-ink);
  background: #fff;
}

.home-v1 main {
  overflow: clip;
}

.home-v1 .home-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2147483647;
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--home-navy-deep);
  font-weight: 800;
  transform: translateY(-150%);
}

.home-v1 .home-skip-link:focus {
  transform: translateY(0);
}

.home-v1 :where(a, button):focus-visible {
  outline: 3px solid #f2b84b;
  outline-offset: 3px;
}

.home-v1 .site-header {
  border-bottom: 1px solid rgba(13, 59, 102, 0.08);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 28px rgba(13, 59, 102, 0.06);
}

.home-v1 .nav-links {
  gap: clamp(12px, 1.15vw, 22px);
}

.home-v1 .nav-links > a,
.home-v1 .nav-dropdown__trigger {
  font-size: 0.91rem;
  white-space: nowrap;
}

.home-v1 .header-call {
  white-space: nowrap;
}

.home-v1 .header-cta {
  white-space: nowrap;
}

.home-v1 .brand-lockup {
  height: 60px !important;
}

.home-v1 .home-eyebrow {
  margin: 0 0 12px;
  color: var(--home-green-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.115em;
  line-height: 1.5;
  text-transform: uppercase;
}

.home-v1 .home-section {
  padding: clamp(72px, 8vw, 112px) 0;
}

.home-v1 .home-section-heading {
  max-width: 760px;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.home-v1 .home-section-heading h2,
.home-v1 .home-trust h2,
.home-v1 .home-commercial-proof h2,
.home-v1 .home-areas h2,
.home-v1 .home-closing h2 {
  max-width: 19ch;
  margin: 0 0 16px;
  color: var(--home-navy-deep);
  font-size: clamp(2rem, 3.7vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.home-v1 .home-section-heading > p:last-child,
.home-v1 .home-trust__grid > div:first-child > p:last-child,
.home-v1 .home-commercial-proof__content > p,
.home-v1 .home-areas__grid > div:first-child > p {
  max-width: 62ch;
  margin: 0;
  color: var(--home-muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.7;
}

.home-v1 .home-section-heading--split {
  display: flex;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.home-v1 .home-section-heading--split > div {
  max-width: 760px;
}

.home-v1 .home-text-link {
  flex: 0 0 auto;
  color: var(--home-navy);
  font-weight: 800;
  text-decoration: none;
}

.home-v1 .home-text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Hero */
.home-v1 .home-hero {
  position: relative;
  padding: clamp(52px, 5.5vw, 76px) 0 clamp(58px, 6.5vw, 88px);
  background:
    radial-gradient(circle at 88% 10%, rgba(47, 125, 101, 0.13), transparent 28rem),
    linear-gradient(145deg, #f8fbfe 0%, #eef5fa 62%, #f8fbf9 100%);
}

.home-v1 .home-hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(13, 59, 102, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 59, 102, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  content: "";
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.65), transparent 78%);
  pointer-events: none;
}

.home-v1 .home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  align-items: center;
  gap: clamp(44px, 6vw, 86px);
}

.home-v1 .home-hero h1 {
  max-width: 13ch;
  margin: 0;
  color: var(--home-navy-deep);
  font-size: clamp(2.65rem, 4.8vw, 4.65rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.home-v1 .home-hero__lead {
  max-width: 62ch;
  margin: 24px 0 0;
  color: #40576d;
  font-size: clamp(1.06rem, 1.55vw, 1.24rem);
  line-height: 1.68;
}

.home-v1 .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.home-v1 .home-hero__actions .btn,
.home-v1 .home-closing__actions .btn {
  min-height: 50px;
  padding-inline: 20px;
}

.home-v1 .home-btn-commercial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--home-green-dark);
  border-radius: var(--radius-sm, 10px);
  color: #fff;
  background: var(--home-green-dark);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-v1 .home-btn-commercial:hover {
  border-color: #174739;
  color: #fff;
  background: #174739;
  transform: translateY(-1px);
}

.home-v1 .home-hero__phone {
  display: inline-flex;
  gap: 8px;
  margin-top: 18px;
  color: var(--home-navy);
  font-size: 1.02rem;
  font-weight: 850;
  text-decoration: none;
}

.home-v1 .home-hero__phone:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-v1 .home-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin: 26px 0 0;
  padding: 0;
  color: #39536b;
  font-size: 0.91rem;
  font-weight: 750;
  list-style: none;
}

.home-v1 .home-trust-list li {
  position: relative;
  padding-left: 18px;
}

.home-v1 .home-trust-list li::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home-green);
  content: "";
}

.home-v1 .home-hero__visual {
  position: relative;
  min-height: 530px;
}

.home-v1 .home-hero__visual::before {
  position: absolute;
  right: -18px;
  bottom: 32px;
  width: 76%;
  height: 74%;
  border: 1px solid rgba(13, 59, 102, 0.12);
  border-radius: 38px;
  content: "";
  transform: rotate(4deg);
}

.home-v1 .home-hero__visual figure {
  margin: 0;
  overflow: hidden;
  background: #dbe5ed;
  box-shadow: 0 26px 70px rgba(8, 43, 77, 0.2);
}

.home-v1 .home-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-v1 .home-hero__visual figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 43, 77, 0.86);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-v1 .home-hero__primary-image figcaption {
  right: auto;
  left: 12px;
}

.home-v1 .home-hero__primary-image {
  position: absolute;
  inset: 0 42px 46px 0;
  border-radius: 34px;
}

.home-v1 .home-hero__secondary-image {
  position: absolute;
  right: -4px;
  bottom: 18px;
  width: 43%;
  height: 198px;
  border: 4px solid #fff;
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(8, 43, 77, 0.22) !important;
}

.home-v1 .home-hero__secondary-image figcaption {
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px 12px;
  border-radius: 0;
  background: rgba(8, 43, 77, 0.92);
  line-height: 1.25;
}

/* Proof strip */
.home-v1 .home-proof-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--home-navy-deep);
}

.home-v1 .home-proof-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.home-v1 .home-proof-strip__grid > div {
  display: flex;
  min-height: 116px;
  flex-direction: column;
  justify-content: center;
  padding: 24px clamp(16px, 2.4vw, 34px);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.home-v1 .home-proof-strip__grid > div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.home-v1 .home-proof-strip strong {
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.home-v1 .home-proof-strip span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  line-height: 1.35;
}

/* Audience paths */
.home-v1 .home-audiences {
  background: #fff;
}

.home-v1 .home-audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.home-v1 .home-audience-card {
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(13, 59, 102, 0.09);
}

.home-v1 .home-audience-card--residential {
  border-top: 5px solid var(--home-blue);
}

.home-v1 .home-audience-card--commercial {
  border-top: 5px solid var(--home-green);
}

.home-v1 .home-audience-card__media {
  height: clamp(240px, 27vw, 360px);
  overflow: hidden;
}

.home-v1 .home-audience-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.home-v1 .home-audience-card:hover .home-audience-card__media img {
  transform: scale(1.025);
}

.home-v1 .home-audience-card__body {
  padding: clamp(26px, 4vw, 44px);
}

.home-v1 .home-audience-card__label {
  margin: 0 0 8px;
  color: var(--home-green-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-v1 .home-audience-card h3 {
  margin: 0 0 12px;
  color: var(--home-navy-deep);
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  letter-spacing: -0.03em;
}

.home-v1 .home-audience-card__body > p:not(.home-audience-card__label) {
  margin: 0;
  color: var(--home-muted);
  line-height: 1.65;
}

.home-v1 .home-service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.home-v1 .home-service-links a {
  display: inline-flex;
  padding: 8px 11px;
  border: 1px solid rgba(13, 59, 102, 0.12);
  border-radius: 999px;
  color: var(--home-navy);
  background: #f7fafc;
  font-size: 0.85rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.home-v1 .home-service-links a:hover {
  border-color: var(--home-blue);
  background: #fff;
}

/* Trust */
.home-v1 .home-trust {
  background: var(--home-warm);
}

.home-v1 .home-trust__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(44px, 7vw, 96px);
}

.home-v1 .home-trust__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-v1 .home-trust__cards article {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(13, 59, 102, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.home-v1 .home-trust__cards h3 {
  margin: 0 0 8px;
  color: var(--home-navy-deep);
  font-size: 1.08rem;
}

.home-v1 .home-trust__cards p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* Project gallery */
.home-v1 .home-work {
  background: #fff;
}

.home-v1 .home-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 340px;
  gap: 16px;
}

.home-v1 .home-project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--home-radius);
  background: #dae3ea;
}

.home-v1 .home-project-card a,
.home-v1 .home-project-card img {
  display: block;
  width: 100%;
  height: 100%;
}

.home-v1 .home-project-card img {
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-v1 .home-project-card a::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 30, 52, 0.8), rgba(5, 30, 52, 0.03) 62%);
  content: "";
}

.home-v1 .home-project-card:hover img {
  transform: scale(1.035);
}

.home-v1 .home-project-card__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
  color: #fff;
}

.home-v1 .home-project-card__content strong {
  font-size: 1.2rem;
}

.home-v1 .home-project-card__content span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.87rem;
}

/* Commercial proof */
.home-v1 .home-commercial-proof {
  color: #fff;
  background: var(--home-navy-deep);
}

.home-v1 .home-commercial-proof__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
}

.home-v1 .home-commercial-proof__media {
  position: relative;
  display: block;
  min-height: 480px;
  overflow: hidden;
  border-radius: 26px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
}

.home-v1 .home-commercial-proof__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 24, 42, 0.72), transparent 55%);
  content: "";
}

.home-v1 .home-commercial-proof__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.home-v1 .home-commercial-proof__media span {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 1;
  font-weight: 800;
}

.home-v1 .home-commercial-proof .home-eyebrow {
  color: #8bd0b8;
}

.home-v1 .home-commercial-proof h2 {
  color: #fff;
}

.home-v1 .home-commercial-proof__content > p {
  color: rgba(255, 255, 255, 0.76);
}

.home-v1 .home-check-list {
  display: grid;
  gap: 10px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.home-v1 .home-check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.9);
}

.home-v1 .home-check-list li::before {
  position: absolute;
  top: 0.1em;
  left: 0;
  color: #83d4b8;
  content: "✓";
  font-weight: 900;
}

.home-v1 .home-case-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 30px;
}

.home-v1 .home-case-links a {
  color: #b8d9ef;
  font-size: 0.88rem;
  font-weight: 750;
  text-underline-offset: 4px;
}

/* Priority services */
.home-v1 .home-priority-services {
  background: #f7fafc;
}

.home-v1 .home-services-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 48px);
}

.home-v1 .home-services-columns > div {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--home-line);
  border-radius: 24px;
  background: #fff;
}

.home-v1 .home-services-columns h3 {
  margin: 0 0 20px;
  color: var(--home-navy-deep);
  font-size: 1.35rem;
}

.home-v1 .home-service-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-v1 .home-service-card-grid a {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  padding: 18px;
  border: 1px solid rgba(13, 59, 102, 0.1);
  border-radius: 15px;
  color: var(--home-ink);
  background: #fbfdff;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-v1 .home-service-card-grid a:hover {
  border-color: rgba(13, 59, 102, 0.3);
  box-shadow: 0 10px 24px rgba(13, 59, 102, 0.08);
  transform: translateY(-2px);
}

.home-v1 .home-service-card-grid strong {
  color: var(--home-navy);
}

.home-v1 .home-service-card-grid span {
  margin-top: 7px;
  color: var(--home-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

/* Process */
.home-v1 .home-process {
  background: #fff;
}

.home-v1 .home-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.home-v1 .home-process-grid > article {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--home-line);
  border-radius: 24px;
}

.home-v1 .home-process-grid > article:first-child {
  background: var(--home-soft-blue);
}

.home-v1 .home-process-grid > article:last-child {
  background: var(--home-soft-green);
}

.home-v1 .home-process-grid h3 {
  margin: 0 0 24px;
  color: var(--home-navy-deep);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.home-v1 .home-process-grid ol {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-v1 .home-process-grid li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
}

.home-v1 .home-process-grid li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--home-navy);
  font-weight: 850;
}

.home-v1 .home-process-grid strong {
  color: var(--home-navy-deep);
}

.home-v1 .home-process-grid p {
  margin: 4px 0 0;
  color: var(--home-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Reviews */
.home-v1 .home-reviews {
  background: var(--home-warm);
}

.home-v1 .home-rating-link {
  flex: 0 0 auto;
  color: var(--home-navy);
  font-weight: 800;
  text-decoration: none;
}

.home-v1 .home-rating-link span {
  color: #e7a81f;
  letter-spacing: 0.05em;
}

.home-v1 .home-rating-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-v1 .home-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-v1 .home-review-grid figure {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  margin: 0;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(13, 59, 102, 0.1);
  border-radius: 20px;
  background: #fff;
}

.home-v1 .home-review-stars {
  color: #e7a81f;
  letter-spacing: 0.07em;
}

.home-v1 .home-review-grid blockquote {
  flex: 1;
  margin: 18px 0 24px;
  color: var(--home-ink);
  font-size: 1rem;
  line-height: 1.7;
}

.home-v1 .home-review-grid figcaption {
  color: var(--home-muted);
  font-size: 0.84rem;
  font-weight: 750;
}

/* Service areas */
.home-v1 .home-areas {
  background: #fff;
}

.home-v1 .home-areas__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
}

.home-v1 .home-areas__grid > div:first-child .btn {
  margin-top: 28px;
}

.home-v1 .home-area-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-v1 .home-area-links a {
  display: flex;
  min-height: 96px;
  flex-direction: column;
  justify-content: center;
  padding: 18px 22px;
  border: 1px solid var(--home-line);
  border-radius: 16px;
  color: var(--home-navy);
  background: #f9fbfd;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.home-v1 .home-area-links a:hover {
  border-color: var(--home-blue);
  transform: translateY(-2px);
}

.home-v1 .home-area-links span {
  margin-top: 3px;
  color: var(--home-muted);
  font-size: 0.78rem;
}

/* Closing CTA */
.home-v1 .home-closing {
  padding: clamp(72px, 8vw, 112px) 0;
  color: #fff;
  background: #071f35;
}

.home-v1 .home-section-heading--light {
  max-width: 820px;
}

.home-v1 .home-section-heading--light .home-eyebrow {
  color: #8bd0b8;
}

.home-v1 .home-section-heading--light h2 {
  max-width: 20ch;
  color: #fff;
}

.home-v1 .home-closing__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.home-v1 .home-closing__grid article {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.home-v1 .home-closing__grid article:last-child {
  background: rgba(47, 125, 101, 0.15);
}

.home-v1 .home-closing__label {
  color: #a8c9df;
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-v1 .home-closing h3 {
  margin: 10px 0 12px;
  color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.home-v1 .home-closing article > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.home-v1 .home-closing__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 26px;
}

.home-v1 .home-closing__actions > a:not(.btn) {
  color: #c8e1f1;
  font-weight: 750;
}

/* Responsive header handoff: preserve existing mobile menu hooks. */
@media (min-width: 981px) and (max-width: 1180px) {
  .home-v1 .nav-links,
  .home-v1 .header-cta {
    display: none !important;
  }

  .home-v1 .header-call {
    display: inline-flex !important;
    margin-left: auto;
  }

  .home-v1 .menu-btn {
    display: inline-flex !important;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 1200px) {
  .home-v1 .brand-lockup {
    height: 52px !important;
  }
}

@media (max-width: 1040px) {
  .home-v1 .home-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr);
    gap: 42px;
  }

  .home-v1 .home-hero__visual {
    min-height: 520px;
  }

  .home-v1 .home-project-grid {
    grid-auto-rows: 250px;
  }

  .home-v1 .home-service-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .home-v1 .home-section {
    padding-block: 72px;
  }

  .home-v1 .home-hero__grid,
  .home-v1 .home-trust__grid,
  .home-v1 .home-commercial-proof__grid,
  .home-v1 .home-areas__grid {
    grid-template-columns: 1fr;
  }

  .home-v1 .home-hero h1 {
    max-width: none;
  }

  .home-v1 .home-hero__visual {
    min-height: 590px;
  }

  .home-v1 .home-proof-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-v1 .home-proof-strip__grid > div:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .home-v1 .home-proof-strip__grid > div:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .home-v1 .home-audience-grid,
  .home-v1 .home-services-columns,
  .home-v1 .home-process-grid,
  .home-v1 .home-closing__grid {
    grid-template-columns: 1fr;
  }

  .home-v1 .home-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 310px;
  }

  .home-v1 .home-review-grid {
    grid-template-columns: 1fr;
  }

  .home-v1 .home-review-grid figure {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .home-v1 .home-section {
    padding-block: 58px;
  }

  .home-v1 .home-section-heading--split {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .home-v1 .home-hero {
    padding-top: 28px;
    padding-bottom: 40px;
  }

  .home-v1 .brand-lockup {
    height: 40px !important;
  }

  .home-v1 .home-hero h1 {
    font-size: clamp(2.05rem, 9.2vw, 2.45rem);
    line-height: 1.02;
    text-wrap: pretty;
  }

  .home-v1 .home-hero__lead {
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .home-v1 .home-hero__grid {
    gap: 24px;
  }

  .home-v1 .home-hero__actions {
    display: grid;
    margin-top: 22px;
  }

  .home-v1 .home-hero__actions .btn,
  .home-v1 .home-hero__actions .home-btn-commercial {
    width: 100%;
  }

  .home-v1 .home-hero__visual {
    min-height: 240px;
  }

  .home-v1 .home-hero__primary-image {
    inset: 0 20px 0 0;
    border-radius: 20px;
  }

  .home-v1 .home-hero__secondary-image {
    right: 0;
    bottom: 12px;
    width: 38%;
    height: 92px;
    border-width: 3px;
    border-radius: 12px;
  }

  .home-v1 .home-hero__visual figcaption {
    right: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    padding: 6px 8px;
    font-size: 0.59rem;
  }

  .home-v1 .home-hero__primary-image figcaption {
    right: auto;
    left: 8px;
  }

  .home-v1 .home-hero__secondary-image figcaption {
    right: 0;
    bottom: 0;
    left: 0;
    padding: 5px 7px;
    font-size: 0.48rem;
  }

  .home-v1 .home-hero__phone {
    margin-top: 14px;
  }

  .home-v1 .home-trust-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px 12px;
    margin-top: 18px;
    font-size: 0.82rem;
  }

  .home-v1 .home-proof-strip__grid > div {
    min-height: 104px;
    padding: 18px 14px;
  }

  .home-v1 .home-audience-card__media {
    height: 250px;
  }

  .home-v1 .home-trust__cards,
  .home-v1 .home-project-grid,
  .home-v1 .home-area-links {
    grid-template-columns: 1fr;
  }

  .home-v1 .home-project-grid {
    grid-auto-rows: 310px;
  }

  .home-v1 .home-commercial-proof__media,
  .home-v1 .home-commercial-proof__media img {
    min-height: 320px;
  }

  .home-v1 .home-service-card-grid {
    grid-template-columns: 1fr;
  }

  .home-v1 .home-service-card-grid a {
    min-height: 0;
  }

  .home-v1 .home-closing__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-v1 .home-closing__actions .btn,
  .home-v1 .home-closing__actions .home-btn-commercial {
    width: 100%;
  }

  .home-v1 .home-closing__actions > a:not(.btn) {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-v1 *,
  .home-v1 *::before,
  .home-v1 *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
