/* /sell/ Agents format. Enqueued only on the sell slug. */
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-wrap {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-head { max-width: 40rem; margin: 0 0 28px; }
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-center { text-align: center; }
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) :is(.g6s-center .g6s-head, .g6s-head.g6s-center) { margin-inline: auto; }
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-head h2,
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-journey h2,
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem h2,
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-film h2 {
  margin: 0 0 12px;
  color: var(--g6-ink);
  font-family: var(--g6-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-head h2 em,
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-journey h2 em,
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem h2 em,
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-film h2 em {
  font-style: italic;
  color: var(--g6-channel);
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-head p {
  margin: 0;
  color: var(--g6-ink);
  font: 500 1.05rem/1.55 var(--g6-ui);
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) :is(.g6s-part, .g6s-copy .g6s-part) {
  display: block;
  margin: 0 0 8px;
  color: var(--g6-action-bg);
  font: 700 .75rem/1.3 var(--g6-ui);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Problem band: generated canal photo, decorative, navy wash on the left. */
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 150px 0 72px;
  background: var(--g6-ink);
  color: #fff;
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(9,94,147,.35);
}
.g6-main-buy .g6s-problem-shade { background: rgba(9,94,147,.45); }
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-side { display: none; }
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem h2 {
  margin: 0;
  color: #fff;
  max-width: 16ch;
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem h2 em { color: #d7ebf8; }
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem-boxes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem-boxes li {
  min-width: 0;
  padding: 14px 12px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 10px;
  background: rgba(9,94,147,.70);
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem-boxes strong,
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem-boxes span {
  display: block;
  color: #fff;
  font-family: var(--g6-ui);
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem-boxes strong {
  margin-bottom: 6px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem-boxes span {
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.35;
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem-line {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  color: #fff;
  font: 500 clamp(1.35rem, 2.4vw, 1.9rem)/1.35 var(--g6-display);
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem-line a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 2px;
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem-line a:focus-visible,
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-copy a:focus-visible,
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-compare-action a:focus-visible,
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-film a:focus-visible {
  outline: 3px solid var(--g6-channel);
  outline-offset: 3px;
}

/* Journey sits on a light band; the component itself is .g6-journey. */
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-journey {
  padding: 72px 0 28px;
  background: #f4f7fb;
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-journey h2 { color: var(--g6-ink); }
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-journey .g6-journey { margin-top: 28px; }

/* Package rows. */
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-package {
  padding: 72px 0;
  background: #f7f9fc;
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-row {
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  gap: 28px 36px;
  align-items: center;
  margin: 0 0 22px;
  padding: 40px;
  border: 1px solid rgba(9,94,147,.10);
  border-radius: var(--g6-radius, 20px);
  background: #fff;
  box-shadow: 0 18px 40px rgba(9,94,147,.08);
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-row:last-child { margin-bottom: 0; }
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-row--flip .g6s-copy { order: 2; }
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-row--flip .g6s-shot { order: 1; }
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-copy h3 {
  margin: 0 0 12px;
  color: var(--g6-ink);
  font: 500 clamp(1.6rem, 2.4vw, 2.15rem)/1.15 var(--g6-display);
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-copy p {
  margin: 0 0 12px;
  color: var(--g6-ink);
  font: 400 1rem/1.55 var(--g6-ui);
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-checks {
  margin: 8px 0 20px;
  padding: 0;
  list-style: none;
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-checks li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 26px;
  color: var(--g6-ink);
  font: 500 .95rem/1.4 var(--g6-ui);
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--g6-channel);
  border-bottom: 2px solid var(--g6-channel);
  transform: rotate(-45deg);
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-shot { margin: 0; min-width: 0; }
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(9,94,147,.12);
  border-radius: 14px;
  background: #eef3f8;
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-shot figcaption {
  margin-top: 10px;
  color: #3d5168;
  font: 500 .8rem/1.4 var(--g6-ui);
}

/* One film card. */
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-film {
  padding: 28px 0 72px;
  background: #f7f9fc;
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-film-card {
  padding: 36px;
  border-radius: var(--g6-radius, 20px);
  background: var(--g6-ink);
  color: #fff;
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-film h2 { color: #fff; margin-bottom: 18px; }
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-film h2 em { color: #d7ebf8; }
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-film .g6-main-film { max-width: 860px; margin: 0; }
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-film .g6-main-film-poster { display: block; position: relative; border-radius: 14px; overflow: hidden; }
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-film .g6-main-film-poster img { display: block; width: 100%; height: auto; }

/* Comparison. Right column is navy. */
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-compare {
  padding: 20px 0 80px;
  background: #fff;
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-table {
  border: 1px solid rgba(9,94,147,.10);
  border-radius: var(--g6-radius, 20px);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px rgba(9,94,147,.06);
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-table-head,
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-table-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1.15fr);
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-table-head { background: #f4f7fb; }
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-table-head span,
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-table-row p {
  margin: 0;
  padding: 16px 18px;
  font-family: var(--g6-ui);
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-table-head span:first-child { grid-column: 2; }
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-table-head span {
  color: var(--g6-ink);
  font-weight: 700;
  font-size: .95rem;
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-table-head span:last-child,
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-table-row p:last-child {
  background: var(--g6-ink);
  color: #fff;
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-table-label {
  color: var(--g6-ink);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-table-row { border-top: 1px solid rgba(9,94,147,.08); }
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-table-row p { color: var(--g6-ink); font-size: .95rem; line-height: 1.4; }
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-table-row p:last-child { font-weight: 600; }
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-compare-action { margin: 28px 0 0; text-align: center; }

@media (min-width: 1000px) {
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem-grid {
    grid-template-columns: minmax(0, 40%) minmax(0, 60%);
    column-gap: 36px;
    align-items: center;
  }
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem-boxes {
    grid-template-columns: 1fr 1fr;
    grid-column: 2;
    grid-row: 1;
  }
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem-boxes li:last-child { grid-column: 1 / -1; }
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem-line { grid-column: 2; }
}
@media (max-width: 999px) {
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem-boxes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-wrap { width: min(100% - 32px, 1180px); }
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-row,
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-row--flip {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-row .g6s-shot,
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-row--flip .g6s-shot { order: -1; }
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-row .g6s-copy,
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-row--flip .g6s-copy { order: 0; }
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem { padding: 108px 0 96px; }
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem-boxes { grid-template-columns: 1fr 1fr; }
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-film-card { padding: 22px; }
}
@media (max-width: 699px) {
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-table-head { display: none; }
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-table-row {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 12px;
    border: 1px solid rgba(9,94,147,.10);
    border-radius: 14px;
    overflow: hidden;
  }
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-table { background: transparent; box-shadow: none; border: 0; }
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-table-row p { padding: 12px 14px; }
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-table-label { background: #f4f7fb; }
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-side {
    display: block;
    margin-bottom: 4px;
    font: 700 .68rem/1.3 var(--g6-ui);
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .72;
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-row,
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-problem-bg,
  :is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-checks li::before { transition: none; }
}

/* Opus polish: the film card is one centred, full-width proof object with its caption. */
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-film-card { text-align: center; }
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-film .g6-main-film { max-width: 960px; margin: 0 auto; }
:is(.g6-main-sell, .g6-main-buy, .g6-city-page, .g6-seller-family) .g6s-film-cap { margin: 14px auto 0; max-width: 60ch; color: #d7ebf8; font-size: .9375rem; line-height: 1.5; }

/* Cape-only composition. No geometry or interactions leak onto sell, buy or home. */
:is(.g6-city-page) .g6s-problem { padding: 80px 0; }
:is(.g6-city-page) .g6s-problem-shade { background: linear-gradient(90deg,rgba(9,94,147,.95),rgba(9,94,147,.86)); }
:is(.g6-city-page) .g6s-problem-grid { grid-template-columns: minmax(0,40fr) minmax(0,60fr); }
:is(.g6-city-page) .g6s-problem h2 { max-width: 20ch; }
:is(.g6-city-page) :is(#ct-route,#ct-quadrants,#ct-zips) { padding: 24px 0; background: #f7f9fc; }
:is(.g6-city-page) .g6-cape-tool-row { display: block; width: min(100% - 48px,1180px); margin-inline: auto; }
:is(.g6-city-page) .g6-cape-tool-label { display: grid; grid-template-columns: 160px minmax(0,1fr); gap: 20px; border-bottom: 1px solid #dce4eb; margin-bottom: 28px; }
:is(.g6-city-page) .g6-cape-tool-label .g6s-checks { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
:is(.g6-city-page) .g6-cape-tool-row .service-band-head { margin-bottom: 24px; }
:is(.g6-city-page) .g6-cape-proof-grid { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: start; }
:is(.g6-city-page) .g6-cape-proof-grid h2 { font-size: clamp(2rem,3vw,2.8rem); margin-top: 0; }
:is(.g6-city-page) .g6-deep-quote { margin: 0; padding: 0; }
:is(.g6-city-page) .g6-cape-client { margin: 0; padding: 28px; border-radius: 16px; background: #eef3f8; }
:is(.g6-city-page) .g6-cape-client blockquote { margin: 0 0 18px; padding: 0; }
:is(.g6-city-page) .g6-cape-client blockquote p { font: 500 clamp(1.4rem,2vw,1.85rem)/1.4 var(--g6-display); }
:is(.g6-city-page) .g6-cape-client figcaption { font: 600 .875rem/1.6 var(--g6-ui); }
:is(.g6-city-page) .g6-cape-closings { grid-column: 1 / -1; min-width: 0; }
:is(.g6-city-page) .g6-cape-closings .g6-deep-gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
:is(.g6-city-page) .g6-cape-closings figure { min-width: 0; margin: 0; }
:is(.g6-city-page) .g6-cape-closings img { width: 100%; height: 280px; object-fit: cover; border-radius: 12px; }
:is(.g6-city-page) .g6-cape-reference-grid { display: block; columns: 2; column-gap: 20px; }
:is(.g6-city-page) .g6-cape-reference { break-inside: avoid; margin-bottom: 20px; padding: 22px; border: 1px solid #dce4eb; border-radius: 16px; background: #fff; min-width: 0; }
:is(.g6-city-page) .g6-cape-reference summary { cursor: pointer; min-height: 44px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
:is(.g6-city-page) .g6-cape-reference summary::after { content: "+"; font-size: 24px; }
:is(.g6-city-page) .g6-cape-reference[open] summary::after { content: "−"; }
:is(.g6-city-page) .g6-cape-reference summary h2 { font-size: clamp(1.5rem,2.1vw,2rem); margin: 0; }
:is(.g6-city-page) .g6-cape-reference[open] summary { margin-bottom: 24px; }
:is(.g6-city-page) .g6-cape-reference .g6-deep-split-photo { grid-template-columns: 1fr; }
:is(.g6-city-page) .g6-cape-reference .g6-deep-split-photo img { max-height: 220px; width: 100%; object-fit: cover; }
:is(.g6-city-page) .g6-cape-reference :is(.g6-deep-ledger tbody,.g6-deep-ledger tr,.g6-deep-ledger th,.g6-deep-ledger td) { display: block; width: auto; }
:is(.g6-city-page) .g6-cape-reference .g6-deep-ledger td { padding: 12px 0; }
:is(.g6-city-page) .g6-cape-reference .g6-city-intro-grid { grid-template-columns: 1fr; gap: 16px; }
:is(.g6-city-page) .g6-cape-close-anchor { width: min(100% - 48px,1180px); margin: 0 auto 18px; scroll-margin-top: 130px; }
:is(.g6-city-page) :is(.g6-cape-client a,.g6-cape-reference a,.g6-cape-close-anchor a) { display: inline-flex; align-items: center; min-height: 44px; }
:is(.g6-city-page) :is(a,button,summary):focus-visible { outline: 3px solid #1466d6; outline-offset: 4px; }
:is(.g6-city-page) #ct-promise a:focus-visible { outline-color: #fff; }
:is(.g6-city-page) .g6-zipx { padding-block: 48px; }
:is(.g6-city-page) .g6-zipx.has-3d .g6-zipx-pin { height: calc(var(--zipx-h) + 100vh); height: calc(var(--zipx-h) + 100svh); margin-inline: 0; }
@media (max-width: 999px) {
 :is(.g6-city-page) .g6s-problem-grid { grid-template-columns: 1fr; }
 :is(.g6-city-page) .g6-cape-tool-label { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 767px) {
 :is(.g6-city-page) .g6-cape-reference-grid { columns: 1; }
 :is(.g6-city-page) .g6-cape-proof-grid { grid-template-columns: 1fr; }
 :is(.g6-city-page) .g6-cape-tool-row { width: calc(100% - 32px); padding: 22px; }
 :is(.g6-city-page) .g6-cape-tool-label .g6s-checks { grid-template-columns: 1fr; gap: 0; }
 :is(.g6-city-page) .g6-cape-closings .g6-deep-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
 :is(.g6-city-page) .g6-cape-closings img { height: 220px; }
 :is(.g6-city-page) .g6-cape-client { padding: 22px; }
 :is(.g6-city-page) .g6-cape-close-anchor { width: calc(100% - 32px); }
}
@media (prefers-reduced-motion: reduce) {
 :is(.g6-city-page) .g6-zipx.has-3d .g6-zipx-pin { height: var(--zipx-h); }
 :is(.g6-city-page) .g6-zipx.has-3d .g6-zipx-stick { position: relative; top: auto; }
}

/* Opus: no side-stripe accents (design rule). The founder quote reads as a quote by type alone. */
#ct-proof .g6-deep-quote { border-left: 0 !important; padding-left: 0 !important; font-style: normal; }
#ct-proof .g6-deep-quote p { font-family: var(--g6-display, "Cormorant Garamond", serif); font-size: 1.125rem; line-height: 1.55; }

/* 2026-10-12 director (SPEC_BUY_SELL.md): the 3 P's, one artifact per P. The Pricing artifact is a static excerpt
   of the real CMA result (data/hv-fixtures.json success_point), styled as the pricing review returns it. */
:is(.g6-main-sell, .g6-main-buy) .g6s-cma {
  border: 1px solid #dbe8f2;
  border-radius: 14px;
  background: #fff;
  padding: 18px 18px 14px;
}
:is(.g6-main-sell, .g6-main-buy) .g6s-cma-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}
:is(.g6-main-sell, .g6-main-buy) .g6s-cma-head h4 {
  margin: 0;
  color: var(--g6-ink);
  font: 700 .78rem/1.3 var(--g6-ui);
  letter-spacing: .08em;
  text-transform: uppercase;
}
:is(.g6-main-sell, .g6-main-buy) .g6s-cma-tag {
  padding: 3px 10px;
  border: 1px solid #2b80bb;
  border-radius: 999px;
  color: #1d5a87;
  font: 700 .68rem/1.4 var(--g6-ui);
  letter-spacing: .06em;
  text-transform: uppercase;
}
:is(.g6-main-sell, .g6-main-buy) .g6s-cma-value {
  margin: 0;
  color: var(--g6-ink);
  font: 500 clamp(1.7rem, 2.6vw, 2.2rem)/1.1 var(--g6-display);
}
:is(.g6-main-sell, .g6-main-buy) .g6s-cma-value strong { font-weight: 600; }
:is(.g6-main-sell, .g6-main-buy) .g6s-cma-range {
  margin: 4px 0 0;
  color: #51647a;
  font: 500 .9rem/1.4 var(--g6-ui);
}
:is(.g6-main-sell, .g6-main-buy) .g6s-cma-conf {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid #dbe8f2;
  color: #51647a;
  font: 400 .82rem/1.5 var(--g6-ui);
}
:is(.g6-main-sell, .g6-main-buy) .g6s-cma-comps {
  width: 100%;
  margin: 12px 0 0;
  border-collapse: collapse;
  font: 400 .85rem/1.4 var(--g6-ui);
}
:is(.g6-main-sell, .g6-main-buy) .g6s-cma-comps th,
:is(.g6-main-sell, .g6-main-buy) .g6s-cma-comps td {
  padding: 7px 8px;
  border-top: 1px solid #dbe8f2;
  color: var(--g6-ink);
  text-align: left;
  white-space: nowrap;
}
:is(.g6-main-sell, .g6-main-buy) .g6s-cma-comps th {
  color: #51647a;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
:is(.g6-main-sell, .g6-main-buy) .g6s-cma-legal {
  margin: 10px 0 0;
  color: #51647a;
  font: 400 .75rem/1.4 var(--g6-ui);
}
:is(.g6-main-sell, .g6-main-buy) .g6s-poster {
  display: block;
  border-radius: 14px;
  overflow: hidden;
}

/* Seller reviews: three in a row (desktop), matching the buyer review grid. */
.g6-main-sell .g6d2-quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 720px) and (max-width: 979px) {
  .g6-main-sell .g6d2-quotes { grid-template-columns: 1fr; }
}
@media (max-width: 719px) {
  .g6-main-sell .g6d2-quotes { grid-template-columns: 1fr; }
}

/* Phones: the pricing review example keeps all four columns readable by letting cells wrap. */
@media (max-width: 699px) {
  :is(.g6-main-sell, .g6-main-buy) .g6s-cma { padding: 14px 12px 12px; }
  :is(.g6-main-sell, .g6-main-buy) .g6s-cma-comps { font-size: .78rem; }
  :is(.g6-main-sell, .g6-main-buy) .g6s-cma-comps th,
  :is(.g6-main-sell, .g6-main-buy) .g6s-cma-comps td {
    padding: 6px 5px;
    white-space: normal;
  }
  :is(.g6-main-sell, .g6-main-buy) .g6s-cma-comps tbody td:not(:first-child),
  :is(.g6-main-sell, .g6-main-buy) .g6s-cma-comps thead th:not(:first-child) { text-align: right; }
}

/* 2026-10-12 director (SPEC_BUY_SELL.md): the buyer artifact chapter. The property-intelligence readout reuses the
   waterway engine's result-card structure (head, tag, sub, fact rows) from js/milner-canal-map.js, rendered static
   for one sample address from shipped instrument data. Sits inside the dark problem band as its own card. */
.g6-main-buy .g6s-problem { padding-bottom: 88px; }
.g6-main-buy .g6b-readout { margin: 48px 0 0; }
.g6-main-buy .g6b-readout-card {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  background: rgba(250,251,252,.07);
  padding: 24px 24px 18px;
}
.g6-main-buy .g6b-readout-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.g6-main-buy .g6b-readout-head h3 {
  margin: 0;
  color: #fff;
  font: 700 .82rem/1.3 var(--g6-ui);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.g6-main-buy .g6b-readout-tag {
  padding: 4px 12px;
  border: 1px solid #60c3ef;
  border-radius: 999px;
  color: #d7ebf8;
  font: 700 .7rem/1.4 var(--g6-ui);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.g6-main-buy .g6b-readout-sub { margin: 8px 0 0; color: #d7ebf8; font: 500 .95rem/1.4 var(--g6-ui); }
.g6-main-buy .g6b-readout-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.g6-main-buy .g6b-readout-facts li {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: rgba(9,94,147,.35);
}
.g6-main-buy .g6b-readout-facts span {
  display: block;
  margin-bottom: 6px;
  color: rgba(215,235,248,.78);
  font: 700 .68rem/1.3 var(--g6-ui);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.g6-main-buy .g6b-readout-facts strong { color: #fff; font: 600 .95rem/1.4 var(--g6-ui); }
.g6-main-buy .g6b-readout-note { margin: 14px 0 0; color: rgba(215,235,248,.72); font: 400 .78rem/1.5 var(--g6-ui); }
.g6-main-buy .g6b-readout figcaption { margin: 10px 4px 0; color: #d7ebf8; font: 500 .85rem/1.5 var(--g6-ui); }
@media (max-width: 999px) {
  .g6-main-buy .g6b-readout-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .g6-main-buy .g6b-readout-facts { grid-template-columns: 1fr; }
  .g6-main-buy .g6b-readout-card { padding: 18px 14px 14px; }
}

/* Buy package: the inspection and closing checklist as a ruled list artifact. */
:is(.g6-main-sell, .g6-main-buy) .g6s-shot--rules { align-self: stretch; }
:is(.g6-main-sell, .g6-main-buy) .g6s-ruled {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(9,94,147,.12);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
:is(.g6-main-sell, .g6-main-buy) .g6s-ruled li {
  display: grid;
  gap: 2px 16px;
  padding: 13px 16px;
  border-top: 1px solid rgba(9,94,147,.09);
}
:is(.g6-main-sell, .g6-main-buy) .g6s-ruled li:first-child { border-top: 0; }
:is(.g6-main-sell, .g6-main-buy) .g6s-ruled strong {
  color: var(--g6-ink);
  font: 700 .95rem/1.3 var(--g6-ui);
}
:is(.g6-main-sell, .g6-main-buy) .g6s-ruled span {
  color: #51647a;
  font: 400 .85rem/1.45 var(--g6-ui);
}
@media (min-width: 640px) {
  :is(.g6-main-sell, .g6-main-buy) .g6s-ruled li { grid-template-columns: 150px minmax(0, 1fr); align-items: baseline; }
}
/* The problem band's photo and shade are positioned layers; the readout needs the same lift as .g6s-problem-grid. */
.g6-main-buy .g6b-readout { position: relative; z-index: 2; }
