@font-face {
  font-family: "Object Sans";
  font-weight: 400;
  src: url("/faithful/fonts/PPObjectSans-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Object Sans";
  font-weight: 500;
  src: url("/faithful/fonts/PPObjectSans-Medium.woff2") format("woff2");
}

:root {
  --ink: #124254;
  --blue: #3a7ca5;
  --blue-deep: #174e63;
  --field: #e9e9e9;
  --paper: #f9f9f9;
  --line: rgba(18, 66, 84, 0.28);
  --orange: #da9258;
  --green: #71a36c;
  --max: 1248px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: "Object Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 25.2px;
  letter-spacing: 0.16px;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}

img,
iframe,
video {
  max-width: 100%;
  height: auto;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 88px;
  z-index: 40;
  transition: background 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(18, 66, 84, 0.72);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(100% - 56px, 1360px);
  margin: 0 auto;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 228px;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: rgba(18, 66, 84, 0.26);
  backdrop-filter: blur(8px);
  transition: background 160ms ease, border-color 160ms ease;
}

.header-phone:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.92);
}

.menu-toggle,
.menu-close {
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  width: 64px;
  height: 52px;
  cursor: pointer;
}

.menu-toggle span,
.menu-close span {
  display: block;
  width: 48px;
  height: 5px;
  margin: 8px 0 8px auto;
  background: #fff;
}

.menu-close span:first-child {
  transform: translateY(13px) rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #fff;
  background:
    linear-gradient(rgba(18, 66, 84, 0.82), rgba(18, 66, 84, 0.82)),
    var(--menu-image, #174e63);
  background-size: cover;
  background-position: center;
}

.menu-panel.is-open {
  display: block;
}

.menu-panel::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -160px;
  width: min(62vw, 720px);
  height: min(62vw, 720px);
  border-radius: 52% 0 0 0;
  background: #fff;
  z-index: 0;
}

.menu-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 56px, 1280px);
  min-height: 100%;
  margin: 0 auto;
  padding: 28px 0 74px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-links {
  align-self: center;
  width: min(620px, 100%);
}

.menu-links a {
  display: grid;
  grid-template-columns: 1fr 54px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.52);
  color: #fff;
  font-size: clamp(30px, 5vw, 72px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.03em;
  padding: 21px 0 18px;
}

.menu-links a:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
}

.menu-links span {
  text-align: right;
  color: rgba(255, 255, 255, 0.86);
}

.menu-note {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.86);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  color: #fff;
  background: var(--ink);
  border-bottom-right-radius: 260px;
}

.hero.interior {
  min-height: 520px;
  background:
    linear-gradient(100deg, rgba(18, 66, 84, 1), rgba(58, 124, 165, 0.9)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero.home {
  background:
    linear-gradient(90deg, rgba(18, 66, 84, 0.98), rgba(18, 66, 84, 0.62)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero::after,
.brand-footer::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 8%;
  width: 560px;
  height: 640px;
  background: url("/faithful/mark.svg") center / contain no-repeat;
  opacity: 0.8;
  pointer-events: none;
}

.hero.home::after {
  opacity: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 56px, 1280px);
  margin: 0 auto;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 160px 0 88px;
}

.hero-line,
.content-line {
  width: 190px;
  height: 1px;
  background: rgba(255, 255, 255, 0.74);
  margin-bottom: 54px;
}

.content-line {
  background: var(--line);
  margin-bottom: 58px;
}

.hero h1 {
  margin: 0;
  max-width: 910px;
  color: #fff;
  font-size: 96px;
  line-height: 96px;
  font-weight: 500;
  letter-spacing: -0.96px;
}

.hero.home h1 {
  max-width: 740px;
  font-size: 64px;
  line-height: 70.4px;
  letter-spacing: -0.64px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 40px;
  color: #fff;
  font-size: 14px;
}

.hero-link::after,
.text-link::after {
  content: "→";
  font-size: 22px;
}

.section {
  width: min(100% - 56px, var(--max));
  margin: 0 auto;
  padding: 112px 0;
}

.section.large-top {
  padding-top: 138px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 92px;
  align-items: start;
}

.two-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 72px;
}

.section-title {
  margin: 0;
  max-width: 870px;
  color: var(--ink);
  font-size: 64px;
  line-height: 70.4px;
  font-weight: 500;
  letter-spacing: -0.64px;
}

.section-title.mid {
  font-size: 48px;
  line-height: 57.6px;
  letter-spacing: -0.48px;
}

.eyebrow {
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.body-copy {
  display: grid;
  gap: 22px;
}

.body-copy p,
.card p,
.detail-copy p {
  margin: 0;
}

.image-arch {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  border-bottom-right-radius: 170px;
}

.image-arch.top-left {
  border-bottom-right-radius: 0;
  border-top-left-radius: 170px;
}

.image-arch img,
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-arch::after,
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 66, 84, 0.22), rgba(18, 66, 84, 0.72));
}

.image-label {
  position: absolute;
  left: 44px;
  bottom: 34px;
  z-index: 2;
  color: #fff;
  font-size: 13px;
}

.stats {
  display: grid;
  gap: 0;
  margin-top: 36px;
}

.stat {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 28px;
  min-height: 98px;
  border-top: 1px solid var(--line);
}

.stat:last-child {
  border-bottom: 1px solid var(--line);
}

.stat-label {
  color: rgba(18, 66, 84, 0.42);
  font-size: 12px;
  text-transform: uppercase;
}

.stat-value {
  color: var(--blue);
  font-size: 72px;
  line-height: 1;
  font-weight: 400;
}

.accordion {
  display: grid;
  gap: 0;
}

.accordion-row {
  border-top: 1px solid var(--line);
}

.accordion-row:last-child {
  border-bottom: 1px solid var(--line);
}

.accordion-row button {
  width: 100%;
  min-height: 58px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-size: 24px;
  line-height: 33.6px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 44px;
  align-items: center;
  cursor: pointer;
}

.accordion-row button::after {
  content: "+";
  color: var(--orange);
  font-size: 30px;
  text-align: right;
}

.accordion-row.is-open button::after {
  content: "–";
}

.accordion-row p {
  display: none;
  color: var(--orange);
  max-width: 520px;
  padding: 0 0 24px;
}

.accordion-row.is-open p {
  display: block;
}

.partner-list {
  display: grid;
  gap: 0;
}

.partner-list p {
  margin: 0;
  padding: 18px 0;
  color: var(--blue);
  border-top: 1px solid var(--line);
}

.partner-list p:last-child {
  border-bottom: 1px solid var(--line);
}

.home-link-lattice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: stretch;
}

.home-link-lattice > div {
  min-height: 430px;
  padding: 38px 34px 34px;
  background: #fff;
  border: 1px solid rgba(18, 66, 84, 0.14);
  display: flex;
  flex-direction: column;
}

.home-link-lattice h2 {
  margin: 22px 0 34px;
  color: var(--ink);
  font-size: 32px;
  line-height: 38px;
  font-weight: 500;
  letter-spacing: -0.32px;
}

.home-link-lattice a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 52px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-size: 17px;
  line-height: 22px;
}

.home-link-lattice a:last-child {
  border-bottom: 1px solid var(--line);
}

.home-link-lattice a::after {
  content: "→";
  color: var(--orange);
  font-size: 20px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  background: #fff;
  overflow: hidden;
  border: 1px solid rgba(18, 66, 84, 0.12);
}

.card img {
  width: 100%;
  aspect-ratio: 1.34;
  object-fit: cover;
}

.card-body {
  padding: 28px;
}

.card h2,
.card h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: -0.24px;
}

.project-card {
  position: relative;
  display: block;
  min-height: 560px;
  overflow: hidden;
  color: #fff;
  margin-bottom: 64px;
}

.project-card:nth-child(odd) {
  border-top-left-radius: 150px;
}

.project-card:nth-child(even) {
  border-top-right-radius: 150px;
}

.project-info {
  position: absolute;
  inset: auto 54px 44px;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: end;
}

.project-info h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 52px;
  line-height: 57px;
  font-weight: 500;
  letter-spacing: -0.52px;
}

.chip {
  display: inline-block;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 84px;
  align-items: start;
}

.detail-copy {
  display: grid;
  gap: 28px;
}

.detail-copy img {
  width: 100%;
  aspect-ratio: 1.74;
  object-fit: cover;
  border-top-left-radius: 130px;
}

.detail-panel {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-panel h2,
.faq h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 42px;
  line-height: 48px;
  font-weight: 500;
  letter-spacing: -0.42px;
}

.sidebar {
  position: sticky;
  top: 118px;
  border-top: 1px solid var(--line);
}

.sidebar h3 {
  margin: 24px 0 20px;
  color: var(--ink);
  font-size: 28px;
  line-height: 34px;
  font-weight: 500;
}

.sidebar a {
  display: block;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
}

.sidebar a:hover {
  color: var(--blue);
}

.faq {
  display: grid;
  gap: 0;
}

details {
  border-top: 1px solid var(--line);
  padding: 17px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 500;
}

details p {
  margin-top: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 112px;
  align-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.field-wrap.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  border: 0;
  background: var(--field);
  min-height: 50px;
  padding: 12px 16px;
  color: var(--ink);
  font: inherit;
  border-radius: 0;
}

textarea {
  min-height: 102px;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23124254' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

::placeholder {
  color: rgba(18, 66, 84, 0.5);
}

.submit-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

.text-link,
.submit-button {
  border: 0;
  border-top: 1px solid var(--blue);
  background: transparent;
  color: var(--blue);
  padding: 14px 0 0;
  font: inherit;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  cursor: pointer;
}

.brand-footer {
  position: relative;
  overflow: hidden;
  width: calc(100% - 112px);
  margin: 0 auto;
  color: #fff;
  background: linear-gradient(115deg, var(--blue-deep), var(--blue));
  border-top-left-radius: 270px;
}

.brand-footer::after {
  top: 0;
  right: 10%;
  opacity: 0.65;
}

.footer-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 140px, 1180px);
  min-height: 674px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(250px, 0.92fr) minmax(260px, 0.78fr) minmax(0, 1.55fr);
  gap: 58px;
  align-items: start;
  padding: 112px 0 56px;
}

.footer-title {
  color: #fff;
  font-size: 48px;
  line-height: 57.6px;
  font-weight: 500;
  letter-spacing: -0.48px;
  overflow-wrap: anywhere;
}

.footer-logo {
  width: 228px;
  margin-top: 62px;
}

.footer-contact {
  color: rgba(255, 255, 255, 0.9);
  overflow-wrap: anywhere;
}

.footer-contact a,
.footer-small a {
  color: #fff;
}

.footer-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 44px;
}

.footer-col h3 {
  margin: 0 0 17px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 8px 0;
  color: #fff;
  font-size: 15px;
  line-height: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  overflow-wrap: anywhere;
}

.footer-col a:hover,
.footer-small a:hover {
  color: #d8f0f6;
}

.footer-small {
  grid-column: 1 / -1;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: #fff;
}

.mobile-call-fab {
  display: none;
}

@media (max-width: 980px) {
  body {
    font-size: 16px;
    line-height: 23px;
  }

  .site-header,
  .header-inner {
    height: 67px;
  }

  .header-inner,
  .section,
  .hero-content,
  .menu-inner {
    width: calc(100% - 30px);
  }

  .logo {
    width: 148px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-phone {
    display: none;
  }

  .menu-toggle,
  .menu-close {
    width: 38px;
    height: 36px;
  }

  .menu-toggle span,
  .menu-close span {
    width: 28px;
    height: 3px;
    margin: 5px 0 5px auto;
  }

  .menu-panel::after {
    right: -120px;
    bottom: -120px;
    width: 300px;
    height: 300px;
  }

  .menu-inner {
    height: auto;
    min-height: 100%;
    padding: 18px 0 max(42px, env(safe-area-inset-bottom));
    grid-template-rows: auto auto auto;
    align-content: start;
  }

  .menu-links {
    align-self: start;
    width: 100%;
    margin: 42px 0 32px;
  }

  .menu-links a {
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 12px;
    min-height: 58px;
    padding: 15px 0 14px;
    font-size: clamp(25px, 8vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.02em;
  }

  .menu-links span {
    font-size: 24px;
  }

  .menu-note {
    max-width: 100%;
    padding-bottom: 24px;
  }

  .hero {
    min-height: 540px;
    border-bottom-right-radius: 118px;
  }

  .hero.interior {
    min-height: 365px;
  }

  .hero-content {
    padding: 102px 0 44px;
  }

  .hero-line,
  .content-line {
    width: 112px;
    margin-bottom: 34px;
  }

  .hero h1,
  .hero.home h1 {
    max-width: 345px;
    font-size: 34px;
    line-height: 37px;
    letter-spacing: -0.34px;
  }

  .section {
    padding: 62px 0;
  }

  .split,
  .two-copy,
  .detail-layout,
  .contact-grid,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .section-title,
  .section-title.mid {
    font-size: 28px;
    line-height: 34px;
    letter-spacing: -0.28px;
  }

  .image-arch {
    min-height: 360px;
    border-bottom-right-radius: 100px;
  }

  .image-arch.top-left {
    border-top-left-radius: 100px;
  }

  .stat {
    min-height: 72px;
  }

  .stat-value {
    font-size: 44px;
  }

  .accordion-row button {
    font-size: 16px;
    line-height: 22px;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-link-lattice {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-link-lattice > div {
    min-height: 0;
    padding: 28px 24px;
  }

  .home-link-lattice h2 {
    margin: 16px 0 24px;
    font-size: 24px;
    line-height: 29px;
    letter-spacing: -0.24px;
  }

  .card {
    min-height: 0;
  }

  .project-card {
    min-height: 420px;
    margin-bottom: 32px;
  }

  .project-card:nth-child(odd),
  .project-card:nth-child(even) {
    border-top-left-radius: 76px;
    border-top-right-radius: 0;
  }

  .project-info {
    inset: auto 22px 24px;
    display: block;
  }

  .project-info h2 {
    font-size: 31px;
    line-height: 34px;
  }

  .sidebar {
    position: static;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .brand-footer {
    width: 100%;
    border-top-left-radius: 110px;
  }

  .footer-inner {
    width: calc(100% - 40px);
    min-height: 0;
    gap: 30px;
    padding: 72px 0 88px;
    align-content: start;
  }

  .footer-title {
    max-width: 270px;
    font-size: 26px;
    line-height: 31px;
    letter-spacing: -0.26px;
  }

  .footer-logo {
    margin-top: 18px;
    width: 160px;
  }

  .footer-link-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-small {
    display: grid;
    gap: 12px;
    padding-top: 22px;
  }

  .mobile-call-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 55;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: #fff;
    background: var(--orange);
    box-shadow: 0 16px 34px rgba(18, 66, 84, 0.26);
  }

  .mobile-call-fab svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
  }
}

/* ---- Mobile optimization (<=768px): stacking, burger nav, tap targets ---- */
@media (max-width: 768px) {
  /* Burger nav: the hamburger toggle is the primary nav on phones; the
     desktop inline phone pill stays hidden, the drawer carries everything. */
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-width: 44px;
    min-height: 44px;
  }

  .header-phone {
    display: none;
  }

  /* Drawer close (X) sized as a comfortable tap target. */
  .menu-close {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-width: 44px;
    min-height: 44px;
  }

  /* Phone link injected into the drawer reuses the big-link styling but
     reads as a clear CTA at the bottom of the nav list. */
  .menu-links .menu-phone-link {
    color: #fff;
  }

  .menu-links .menu-phone-link span {
    font-size: 22px;
  }

  /* Stack every multi-column layout to a single column.
     minmax(0, 1fr) lets the column shrink below intrinsic content width
     (e.g. images with aspect-ratio) so nothing overflows the viewport. */
  .split,
  .two-copy,
  .detail-layout,
  .contact-grid,
  .footer-inner,
  .home-link-lattice,
  .card-grid,
  .footer-link-grid,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Dense card decks may use 2 columns if present, but default to 1 for clarity. */

  /* Reduce section padding and keep content off the edges. */
  .section {
    padding: 56px 0;
  }

  .hero-content {
    padding: 96px 0 40px;
  }

  /* Fluid hero + section headings so nothing overflows narrow screens. */
  .hero h1,
  .hero.home h1 {
    font-size: clamp(28px, 9vw, 40px);
    line-height: 1.08;
    max-width: 100%;
  }

  .section-title,
  .section-title.mid {
    font-size: clamp(24px, 7.5vw, 32px);
    line-height: 1.16;
    max-width: 100%;
  }

  .footer-title {
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.18;
  }

  /* Tap targets: nav links, buttons, form controls, card links. */
  input,
  textarea,
  select,
  .submit-button,
  .text-link,
  .hero-link,
  .header-phone,
  .footer-col a,
  .sidebar a,
  .partner-list p a,
  .home-link-lattice a {
    min-height: 44px;
  }

  .submit-button,
  .text-link,
  .hero-link {
    padding-top: 16px;
    padding-bottom: 8px;
  }

  .submit-row {
    justify-content: stretch;
  }

  .submit-button {
    width: 100%;
    justify-content: space-between;
  }

  /* Long content guards: scrollable tables / preformatted blocks. */
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  pre {
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
  }

  /* Prevent any long unbroken strings (emails, urls) from forcing overflow. */
  .body-copy,
  .footer-contact,
  .detail-copy,
  p {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .submit-button {
    font-size: 18px;
  }

  .home-link-lattice a,
  .footer-col a {
    font-size: 16px;
  }
}

/* brand-logo-img */
.brand-logo{display:block;height:auto;max-width:320px}
