/* Grey Fox owners site: v2 room (close). The owner's quote under the portraits, and the close on the night that runs on
   into the footer: the headline at the left with the terms under it, the one button at the right, as the main site's
   close sets its own. */

/* ---------- the people room: the owner's one line under the portraits, set as a statement in the headline's column (the
   house setting for an owner's one line), the hairline above it as the house draws it; phones keep the house setting ---------- */
@media (min-width: 992px) {
  html.gfx-f3 .gfx-team-sec [data-o~="team-quote"] .gfx-pull { grid-column: 1 / 2; justify-self: start; width: auto; max-width: min(100%, 46rem); }
  html.gfx-f3 .gfx-team-sec [data-o~="team-quote"] .gfx-pull-q { font-size: clamp(26px, 2.3vw, 34px) !important; line-height: 1.24 !important; letter-spacing: -.012em; text-wrap: balance; }
}
/* the quote's mark is set in ink (black on paper); once the page has turned to night it takes the night's ink with the words */
html.gfx-f3 [data-o~="team-quote"] .gfx-pull-mark { transition: filter .15s linear; }
html.gfx-f3.gfx-tone-dark [data-o~="team-quote"] .gfx-pull-mark { filter: brightness(0) invert(1); }

/* ---------- the close's headline. The mark under "yours" ends the first line and lies in the leading, so the headline
   takes the designer's own heading leading (120%) to keep it clear of the line below; the token rule's guard is repeated
   so the phone takes it too ---------- */
html body:not(#gfx-ts1):not(#gfx-ts2) .gfx-cta-sec .heading-2.gfx-cta-h { line-height: 1.2 !important; }
html.gfx-f3 .gfx-cta-sec .gfx-cta-h { margin: 0 !important; }

/* ---------- the terms: the close's one line under the headline, at reading size in the night's body ink ---------- */
html.gfx-f3 .gfx-v2-close-terms { max-width: 40em; margin: 0; font: 400 clamp(17px, 1.3vw, 20px)/1.6 var(--gfx-sans, "DM Sans", sans-serif); color: var(--gfx-ink-d2, rgba(255, 255, 255, .72)); text-wrap: pretty; }

/* ---------- desktop: the headline and the terms in the first column, the button at the right, settled on the terms' last line ---------- */
@media (min-width: 992px) {
  html.gfx-f3 .gfx-cta-sec .gfx-cta-title { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; row-gap: var(--gfx-s-4, 32px); align-items: end; }
  html.gfx-f3 .gfx-cta-sec .gfx-cta-title > .gfx-cta-h { grid-column: 1; grid-row: 1; }
  html.gfx-f3 .gfx-cta-sec .gfx-cta-title > .gfx-v2-close-terms { grid-column: 1; grid-row: 2; }
  html.gfx-f3 .gfx-cta-sec .gfx-cta-title > .gfx-btn-end { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
}
/* a wide screen gives each of the two sentences its own line: what it costs, then what talking commits you to */
@media (min-width: 1200px) {
  html.gfx-f3 .gfx-v2-close-terms { max-width: none; }
  html.gfx-f3 .gfx-v2-close-s { display: block; }
}
