/* Viewport-based layout, 29 September 2026. Loaded after the site's visual styles. */
html { -webkit-text-size-adjust: 100%; }
body { min-width: 0; }
h1, h2, h3, p, li, a, dt, dd { overflow-wrap: anywhere; }
input, select, textarea { min-width: 0; max-width: 100%; }
.refreshed { --frame-inset: clamp(20px, 5vw, 102px); }

/* The masthead, hero text and scroll cue share the same left edge at every size. */
.refreshed .nav-wrap { padding-inline: var(--frame-inset); }
.refreshed .hero {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding: clamp(120px, 16vh, 180px) var(--frame-inset) 96px;
  justify-content: center;
}
.refreshed .hero > .hero-meta { margin-left: 0; }
.refreshed .hero-title {
  max-width: min(100%, 860px);
  margin: 0;
  font-size: clamp(34px, calc(20px + 3.8vw), 78px);
  line-height: 1.08;
  letter-spacing: -.055em;
}
.refreshed .hero-title em { display: block; font-size: 1em; white-space: normal; letter-spacing: inherit; }
.refreshed .hero-bottom { width: 100%; max-width: 510px; margin: 28px 0 0; }
.refreshed .hero-bottom p { width: auto; font-size: clamp(15px, 1.1vw, 18px); line-height: 1.75; }
.refreshed .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.refreshed .hero-actions a { max-width: 100%; min-height: 50px; }
.refreshed .hero-reference { left: 46%; right: 0; width: 54%; opacity: .48; mask-image: linear-gradient(90deg, transparent, #000 38%); }
.refreshed .scroll-cue { left: var(--frame-inset); bottom: 28px; }
.refreshed .v-strip { padding-inline: var(--frame-inset); flex-wrap: wrap; }

/* Full-width section backgrounds with a bounded reading width on very large screens. */
.refreshed .v-section {
  max-width: none;
  padding-inline: max(var(--frame-inset), calc((100% - 1520px) / 2));
  padding-block: clamp(52px, 6vw, 96px);
}
.refreshed .v-section h2 { font-size: clamp(29px, calc(20px + 2.6vw), 62px); }
.refreshed .v-service-copy { padding: clamp(22px, 3vw, 36px); }
.refreshed .v-host-grid article { padding: clamp(22px, 3vw, 44px); }
.refreshed .v-about, .refreshed .v-contact { gap: clamp(28px, 4vw, 64px); }
.refreshed :is(.v-services, .v-host-grid, .v-about, .v-contact, .v-steps, .v-heading > div) > *,
.pricing-grid > *, .pricing-addon > *, .pricing-notes > *, .seo-grid > * { min-width: 0; }
.pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.pricing-card-popular { transform: none; }
.pricing-addon { grid-template-columns: minmax(0, 1fr) auto; gap: 22px; }
.pricing-addon > a { grid-column: 1 / -1; justify-self: start; }
.pricing-details dl div { flex-wrap: wrap; gap: 8px 16px; }
.refreshed .pricing-details dd { white-space: normal; margin-left: 0; }
.pricing-cta a { max-width: 100%; }
.legal-links { flex-wrap: wrap; }
.seo-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.refreshed .v-footer, .refreshed .v-privacy { padding-inline: var(--frame-inset); }

@media (max-width: 1199px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .refreshed .v-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .refreshed .hero-reference { left: 30%; width: 70%; opacity: .16; }
  .refreshed .v-heading > div { display: block; }
  .refreshed .v-heading > div > p { max-width: 560px; margin-top: 24px; }
  .refreshed .v-contact { grid-template-columns: minmax(0, 1fr); }
  .refreshed .v-contact > div > p:not(.v-kicker) { max-width: 560px; }
  .refreshed .main-nav { position: static; gap: 12px; font-size: 13px; }
  .refreshed .main-nav .nav-cta { min-width: 0; padding-inline: 14px; }
}
@media (max-width: 800px) {
  .refreshed .main-nav { position: absolute; top: 88px; left: var(--frame-inset); right: var(--frame-inset); max-height: calc(100svh - 106px); max-height: calc(100dvh - 106px); overflow-y: auto; }
  .refreshed .pricing-notes { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .refreshed .project-form :is(input:not([type=checkbox]), select, textarea) { font-size: 16px; }
}
@media (max-width: 600px) {
  .refreshed .hero-reference { display: none; }
  .refreshed .hero { padding-top: 120px; padding-bottom: 80px; }
  .refreshed .hero-bottom { margin-top: 24px; }
  .refreshed .v-steps { grid-template-columns: minmax(0, 1fr); }
  .refreshed .v-steps article { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 12px; }
  .refreshed .v-steps h3 { margin-top: 0; }
  .refreshed .v-steps p { grid-column: 2; }
  .pricing-grid { grid-template-columns: minmax(0, 1fr); }
  .pricing-addon { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; }
  .pricing-addon > a { grid-column: auto; }
  .refreshed .v-strip { gap: 12px; }
  .refreshed .v-strip i { margin-inline: 10px; }
  .panel { padding: 22px 16px; box-shadow: none; }
  .checker { padding: 16px; }
  .checker-row { flex-direction: column; }
  .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-height: 560px) {
  .refreshed .hero { padding-top: 110px; padding-bottom: 40px; }
  .refreshed .hero-title { font-size: clamp(32px, 4vw, 52px); }
  .refreshed .scroll-cue { display: none; }
}
