/* RC-01: mobile responsive convergence. No type, copy, artwork or C-strength changes. */
body {
  background: var(--paper);
}

.page-shell {
  width: 100%;
  max-width: none;
  overflow: visible;
  box-shadow: none;
}

.content-container {
  max-width: 390px;
  margin-inline: auto;
}

.site-header {
  padding-inline: max(25px, calc((100% - 340px) / 2));
}

.site-footer {
  padding-inline: max(25px, calc((100% - 340px) / 2));
}

/* Extend the actual anchor boxes while preserving their text coordinates. */
.site-header__brand {
  padding-block: 11.5px;
  margin-block: -11.5px;
}
.site-header__actions a {
  padding: 13.5px 9px;
  margin: -13.5px -9px;
}

/* Enlarge the actual link box while retaining its printed baseline and rule. */
.button--quiet {
  position: relative;
  min-height: 44px;
  margin-top: -8px;
  padding-bottom: 4px;
  border-bottom: 0;
}
.button--quiet::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: #c9a780;
  pointer-events: none;
}

/* Match the three-layer Hero spacing approved at 430 throughout 360–430. */
.home-hero__master {
  transform: translate(12px, 44px);
}

/* The complete source scene follows the section's actual content viewport.
   Container units exclude a classic browser scrollbar, unlike 100vw. */
.home-coordinate {
  container-type: inline-size;
}
.home-coordinate__scene {
  width: 100cqw;
  height: auto;
  aspect-ratio: 2 / 3;
  margin-left: calc(50% - 50cqw);
}
.home-coordinate__master {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}
.home-coordinate::before {
  inset: 0 0 150vw;
}

/* Extend the approved C grain across the whole surface at every width. */
#fit,
#research-approach,
#trust-to-action,
#closing,
.home-coordinate::before {
  background-size: 100% 780px, 100% 100%, 100% 100%;
}

/* Temporary pre-wide safety container: no tablet or desktop composition. */
@media (min-width: 431px) {
  body {
    background: #eee7dc;
  }
  .page-shell {
    max-width: 430px;
  }
}
