/* Handoff D0.2: mobile-first cohort overrides. */
/*
 * Tenant-conditional stylesheet. It is linked only for the four allowlisted
 * markets in app/layout.js. Phone geometry is defined first; every layout
 * enhancement below uses min-width.
 */
body.d02-mobile-first .shell-wrap {
  padding-inline: 16px;
}

body.d02-mobile-first .shell-topbar__inner {
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

body.d02-mobile-first .shell-topbar__call--square {
  width: 100%;
  text-align: center;
}

body.d02-mobile-first .shell-nav__inner {
  justify-content: center;
  gap: 8px;
  padding-block: 12px;
  flex-wrap: wrap;
  overflow-x: visible;
  scrollbar-width: none;
}

body.d02-mobile-first .shell-nav__inner::-webkit-scrollbar {
  display: none;
}

body.d02-mobile-first .shell-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 4px;
  background: #f3f6f9;
  flex: 0 0 auto;
}

body.d02-mobile-first:is(.site-mesquite-tx-concrete, .site-joliet-il-concrete, .site-south-bend-in-concrete) .shell-nav__inner {
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

body.d02-mobile-first .shell-hero__grid,
body.d02-mobile-first .shell-section__split,
body.d02-mobile-first .shell-intro-grid,
body.d02-mobile-first .shell-footer__grid,
body.d02-mobile-first .shell-decision-split,
body.d02-mobile-first .shell-section--decision .shell-simple-grid--compact,
body.d02-mobile-first .shell-simple-split,
body.d02-mobile-first .shell-simple-form-box,
body.d02-mobile-first .shell-simple-grid,
body.d02-mobile-first .shell-simple-grid--compact,
body.d02-mobile-first .shell-simple-footer__grid,
body.d02-mobile-first .shell-simple-footer__panel {
  grid-template-columns: 1fr;
}

body.d02-mobile-first .shell-expanded-hero__image {
  height: 190px;
}

body.d02-mobile-first .shell-hero__inner,
body.d02-mobile-first .shell-section {
  padding-top: 36px;
  padding-bottom: 36px;
}

body.d02-mobile-first .shell-hero__title,
body.d02-mobile-first .shell-section__title,
body.d02-mobile-first .shell-cta-strip__title {
  font-size: 32px;
}

body.d02-mobile-first .shell-hero__lead {
  font-size: 18px;
}

body.d02-mobile-first .shell-call-card__button,
body.d02-mobile-first .shell-cta-strip__button {
  min-height: 48px;
  font-size: 24px;
}

body.d02-mobile-first .shell-mobile-cta {
  display: grid;
}

body.d02-mobile-first .shell-footer {
  padding-bottom: 92px;
}

body.d02-mobile-first .shell-simple-hero__inner {
  padding: 48px 0 52px;
}

body.d02-mobile-first .shell-simple-hero__title {
  font-size: 36px;
}

body.d02-mobile-first .shell-simple-hero__lead {
  font-size: 18px;
}

body.d02-mobile-first .shell-simple-call-button {
  min-height: 48px;
  font-size: 28px;
}

body.d02-mobile-first .shell-simple-form {
  padding: 18px;
}

body.d02-mobile-first .shell-simple-form :is(input, select, textarea, button),
body.d02-mobile-first .shell-form :is(input, select, textarea, button) {
  min-height: 48px;
  font-size: 16px;
}

/* Complete cohort phone accessibility contract, formerly supplied by
 * tenant-scoped max-width rules in globals.css. Keep these requirements in
 * the unqueried layer so phone behavior remains independently mobile-first. */
body.d02-mobile-first.site-pearl-ms-concrete .shell-page a,
body.d02-mobile-first.site-pearl-ms-concrete .shell-nav a,
body.d02-mobile-first.site-pearl-ms-concrete .shell-footer a,
body.d02-mobile-first.site-pearl-ms-concrete .shell-topbar a,
body.d02-mobile-first:is(.site-mesquite-tx-concrete, .site-joliet-il-concrete, .site-south-bend-in-concrete) a,
body.d02-mobile-first .skipLink {
  display: inline-flex;
  align-items: center;
  min-width: 48px;
  min-height: 48px;
}

body.d02-mobile-first :is(button, input, select) {
  min-height: 48px;
}

body.d02-mobile-first:is(.site-mesquite-tx-concrete, .site-joliet-il-concrete, .site-south-bend-in-concrete) :is(button, input, select),
body.d02-mobile-first.site-south-bend-in-concrete textarea {
  font-size: 16px;
}

body.d02-mobile-first.site-south-bend-in-concrete textarea {
  min-height: 48px;
}

body.d02-mobile-first:is(.site-mesquite-tx-concrete, .site-joliet-il-concrete, .site-south-bend-in-concrete) :is(p, li, label) {
  font-size: max(16px, 1em);
}

body.d02-mobile-first.site-pearl-ms-concrete .shell-topbar,
body.d02-mobile-first.site-pearl-ms-concrete .shell-nav__link,
body.d02-mobile-first.site-pearl-ms-concrete .shell-eyebrow,
body.d02-mobile-first.site-pearl-ms-concrete .shell-consent,
body.d02-mobile-first.site-pearl-ms-concrete .shell-small-note,
body.d02-mobile-first.site-pearl-ms-concrete .shell-footer__text,
body.d02-mobile-first.site-pearl-ms-concrete .shell-footer__link,
body.d02-mobile-first.site-pearl-ms-concrete .shell-simple-form label,
body.d02-mobile-first.site-pearl-ms-concrete .shell-form-helper,
body.d02-mobile-first.site-pearl-ms-concrete .shell-field-error {
  font-size: 16px;
}

body.d02-mobile-first.site-pearl-ms-concrete .shell-simple-footer__link-list {
  gap: 8px;
}

/* Joliet's released hero keeps the call and form actions vertically stacked. */
body.d02-mobile-first.site-joliet-il-concrete .shell-simple-hero__actions {
  flex-direction: column;
}

body.d02-mobile-first .shell-simple-service-text {
  columns: 1;
}

body.d02-mobile-first .shell-simple-mobile-bar {
  display: block;
}

body.d02-mobile-first .shell-simple-mobile-bar a,
body.d02-mobile-first .shell-topbar a,
body.d02-mobile-first .shell-footer a {
  min-height: 48px;
}

body.d02-mobile-first .shell-simple-footer {
  padding-bottom: calc(82px + env(safe-area-inset-bottom));
}

body.d02-mobile-first .trust-bar-inner {
  justify-content: flex-start;
}

body.d02-mobile-first .trust-item {
  white-space: normal;
}

/* Mesquite, Joliet, and South Bend retained 16px phone body/form text. */
body.d02-mobile-first:is(.site-mesquite-tx-concrete, .site-joliet-il-concrete, .site-south-bend-in-concrete) .shell-simple-hero__lead {
  font-size: 16px;
}

body.d02-mobile-first:is(.site-mesquite-tx-concrete, .site-joliet-il-concrete, .site-south-bend-in-concrete) .shell-simple-form label,
body.d02-mobile-first:is(.site-mesquite-tx-concrete, .site-joliet-il-concrete, .site-south-bend-in-concrete) .shell-form label {
  font-size: 16px;
}

/* Joliet and South Bend use compact native details navigation on phones. */
body.d02-mobile-first.site-joliet-il-concrete .shell-nav__desktop,
body.d02-mobile-first.site-south-bend-in-concrete .south-bend-desktop-nav {
  display: none;
}

body.d02-mobile-first.site-joliet-il-concrete .shell-nav__mobile,
body.d02-mobile-first.site-south-bend-in-concrete .south-bend-mobile-nav {
  display: block;
  width: 100%;
}

body.d02-mobile-first.site-joliet-il-concrete .shell-nav__mobile summary,
body.d02-mobile-first.site-south-bend-in-concrete .south-bend-mobile-nav summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0.65rem 0;
  color: #17324d;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

body.d02-mobile-first.site-joliet-il-concrete .shell-nav__mobile summary::after,
body.d02-mobile-first.site-south-bend-in-concrete .south-bend-mobile-nav summary::after {
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
}

body.d02-mobile-first.site-joliet-il-concrete .shell-nav__mobile[open] summary::after,
body.d02-mobile-first.site-south-bend-in-concrete .south-bend-mobile-nav[open] summary::after {
  content: "−";
}

body.d02-mobile-first.site-joliet-il-concrete .shell-nav__mobile summary::-webkit-details-marker,
body.d02-mobile-first.site-south-bend-in-concrete .south-bend-mobile-nav summary::-webkit-details-marker {
  display: none;
}

body.d02-mobile-first.site-joliet-il-concrete .shell-nav__mobile-links,
body.d02-mobile-first.site-south-bend-in-concrete .south-bend-mobile-nav__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 0.75rem;
  padding: 0 0 0.75rem;
}

body.d02-mobile-first.site-joliet-il-concrete .shell-nav__mobile-links a,
body.d02-mobile-first.site-south-bend-in-concrete .south-bend-mobile-nav__links a {
  justify-content: flex-start;
}

@media (min-width: 601px) {
  body.d02-mobile-first .trust-bar-inner {
    justify-content: center;
  }

  body.d02-mobile-first .trust-item {
    white-space: nowrap;
  }
}

@media (min-width: 641px) {
  body.d02-mobile-first .shell-wrap {
    padding-inline: 20px;
  }

  body.d02-mobile-first .shell-topbar__inner {
    align-items: center;
    flex-direction: row;
    gap: 14px;
  }

  body.d02-mobile-first .shell-topbar__call--square {
    width: auto;
  }

  body.d02-mobile-first .shell-nav__inner {
    gap: 18px;
    padding-block: 16px;
  }

  body.d02-mobile-first .shell-nav__link {
    display: revert;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  body.d02-mobile-first.site-mesquite-tx-concrete .shell-nav__inner {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  body.d02-mobile-first:is(.site-joliet-il-concrete, .site-south-bend-in-concrete) .shell-nav__inner {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
    overscroll-behavior-inline: auto;
  }

  body.d02-mobile-first .shell-expanded-hero__image {
    height: 260px;
  }

  body.d02-mobile-first .shell-hero__inner {
    padding-top: 56px;
    padding-bottom: 60px;
  }

  body.d02-mobile-first .shell-section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  body.d02-mobile-first .shell-hero__title {
    font-size: 38px;
  }

  body.d02-mobile-first .shell-section__title,
  body.d02-mobile-first .shell-cta-strip__title {
    font-size: 30px;
  }

  body.d02-mobile-first .shell-hero__lead {
    font-size: 20px;
  }

  body.d02-mobile-first .shell-call-card__button {
    font-size: 30px;
  }

  body.d02-mobile-first .shell-mobile-cta {
    display: none;
  }

  body.d02-mobile-first .shell-footer {
    padding-bottom: 34px;
  }
}

@media (min-width: 701px) {
  body.d02-mobile-first.site-pearl-ms-concrete .shell-page a,
  body.d02-mobile-first.site-pearl-ms-concrete .shell-nav a,
  body.d02-mobile-first.site-pearl-ms-concrete .shell-footer a,
  body.d02-mobile-first.site-pearl-ms-concrete .shell-topbar a,
  body.d02-mobile-first:is(.site-mesquite-tx-concrete, .site-joliet-il-concrete, .site-south-bend-in-concrete) a,
  body.d02-mobile-first .skipLink {
    display: inline;
    align-items: normal;
    min-width: 0;
    min-height: 0;
  }

  body.d02-mobile-first .shell-nav__link,
  body.d02-mobile-first .shell-topbar__call,
  body.d02-mobile-first .shell-simple-call-button,
  body.d02-mobile-first .shell-simple-mobile-bar a {
    display: inline-flex;
  }

  /* Mesquite, Joliet, and South Bend keep this bar visible through 820px. */
  body.d02-mobile-first .shell-simple-mobile-bar a {
    align-items: center;
    min-width: 48px;
    min-height: 48px;
  }

  body.d02-mobile-first.site-joliet-il-concrete .shell-nav__desktop,
  body.d02-mobile-first.site-south-bend-in-concrete .south-bend-desktop-nav {
    display: flex;
  }

  body.d02-mobile-first.site-joliet-il-concrete .shell-nav__mobile,
  body.d02-mobile-first.site-south-bend-in-concrete .south-bend-mobile-nav {
    display: none;
  }

  body.d02-mobile-first.site-pearl-ms-concrete .shell-simple-mobile-bar {
    display: none;
  }

  body.d02-mobile-first:is(.site-mesquite-tx-concrete, .site-joliet-il-concrete, .site-south-bend-in-concrete) .shell-simple-hero__lead {
    font-size: 18px;
  }
}

@media (min-width: 821px) {
  body.d02-mobile-first:is(.site-mesquite-tx-concrete, .site-joliet-il-concrete, .site-south-bend-in-concrete) .shell-simple-mobile-bar {
    display: none;
  }

  body.d02-mobile-first .shell-simple-footer {
    padding-bottom: 38px;
  }

  body.d02-mobile-first .shell-simple-hero__inner {
    padding: 58px 0 60px;
  }

  body.d02-mobile-first .shell-simple-hero__title {
    font-size: 46px;
  }

  body.d02-mobile-first .shell-simple-hero__lead,
  body.d02-mobile-first:is(.site-mesquite-tx-concrete, .site-joliet-il-concrete, .site-south-bend-in-concrete) .shell-simple-hero__lead {
    font-size: 20px;
  }

  body.d02-mobile-first .shell-simple-call-button {
    font-size: 20px;
  }

  body.d02-mobile-first .shell-simple-split,
  body.d02-mobile-first .shell-simple-form-box {
    grid-template-columns: 1.03fr 0.97fr;
  }

  body.d02-mobile-first .shell-simple-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  body.d02-mobile-first .shell-simple-grid--compact {
    grid-template-columns: repeat(4, 1fr);
  }

  body.d02-mobile-first .shell-simple-footer__grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

  body.d02-mobile-first .shell-simple-footer__panel {
    grid-template-columns: minmax(260px, 1.15fr) minmax(220px, 0.9fr) minmax(160px, 0.55fr);
  }

  body.d02-mobile-first .shell-simple-form {
    padding: 20px;
  }

  body.d02-mobile-first .shell-simple-service-text {
    columns: 2;
  }
}

@media (min-width: 901px) {
  body.d02-mobile-first .shell-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  }

  body.d02-mobile-first .shell-section__split,
  body.d02-mobile-first .shell-intro-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.96fr);
  }

  body.d02-mobile-first .shell-footer__grid {
    grid-template-columns: 1.1fr 0.9fr 0.8fr;
  }

  body.d02-mobile-first .shell-decision-split,
  body.d02-mobile-first .shell-section--decision .shell-simple-grid--compact {
    grid-template-columns: repeat(2, 1fr);
  }

  body.d02-mobile-first .shell-hero__title {
    font-size: 48px;
  }
}
