/* Grey Fox owners site: v2 room (what we do; its shell keeps the class gfx-v2-terms). On the dark field under the firms
   band: the headline at the left margin and what we do in the right column (the proof room's head grid: 7 to 5, 96 px
   apart), then the owner's three situations in the house figure row: a hairline over each column, a short heading in
   Sentient in the field's ink where a figure would sit, and one line in DM Sans under it at the reading size. The motion
   states are set by terms.js, so a still page shows the end state. */

/* ---------- the room: the site's grid (48 px margins, 1400 max; 32 on a tablet, 20 on a phone) ---------- */
html.gfx-f3 .gfx-v2-terms { position: relative; box-sizing: border-box; padding-left: var(--gfx-gutter, 48px); padding-right: var(--gfx-gutter, 48px); color: var(--gfx-ink-d1); }
html.gfx-f3 .gfx-v2-terms-in { width: 100%; max-width: var(--gfx-max, 1400px); margin: 0 auto; }

/* ---------- the head: the headline on the left, what we do in the right column, both from the same top ---------- */
html.gfx-f3 .gfx-v2-terms-head { display: grid; grid-template-columns: 7fr 5fr; column-gap: 96px; align-items: start; }
html.gfx-f3 .gfx-v2-terms .gfx-v2-terms-h { margin: 0; font-family: var(--gfx-serif); font-weight: 200; color: var(--gfx-ink-d1); text-wrap: balance; }
html.gfx-f3 .gfx-v2-terms .gfx-v2-terms-line { margin: 0; max-width: 570px; color: var(--gfx-ink-d2); text-wrap: pretty; }

/* ---------- the figure row: three columns on hairlines, as the proof room sets its figures ---------- */
html.gfx-f3 .gfx-v2-terms-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: 48px; row-gap: 0; margin: var(--gfx-s-7, 96px) 0 0; padding: 0; list-style: none; }
html.gfx-f3 .gfx-v2-terms-fig { position: relative; display: grid; grid-row: span 2; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); row-gap: 0; margin: 0; padding: var(--gfx-s-3, 24px) 0 0; }
html.gfx-f3 .gfx-v2-terms-fig::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: #ffffff2e; transform-origin: 0 50%; transform: scaleX(var(--r, 1)); pointer-events: none; }
html.gfx-f3.gfx-tone-light .gfx-v2-terms-fig::before { background: rgba(28, 28, 29, .22); }
html.gfx-f3.gfx-toning .gfx-v2-terms-fig::before { transition: background-color .15s linear; }
/* the heading: where a figure would sit, set large in the field's ink (green stays for figures, rules and arrows), on the
   window's smaller side as the figures are and held to the column on a narrow desktop; a third below the headline */
html.gfx-f3 .gfx-v2-terms .gfx-v2-terms-t { align-self: start; margin: 0; font: 200 min(clamp(26px, 3.5556vmin, 32px), 2.3vw)/1.2 var(--gfx-serif); letter-spacing: -.012em; color: var(--gfx-ink-d1); text-wrap: balance; }
/* the line: what the owner comes away knowing, set as the figure's caption (the site's small size, under the heading, in a
   balanced measure of two lines), so the row reads as the house's figures and never as three blurbs */
html.gfx-f3 .gfx-v2-terms .gfx-v2-terms-l { align-self: start; margin: 14px 0 0; max-width: 24em; font: 400 var(--gf-small, 16px)/1.55 var(--gfx-sans); color: var(--gfx-ink-d2); text-wrap: balance; }

/* ---------- a tablet: the head stacks, the three stack on their hairlines (the house figures stack here too) ---------- */
@media (max-width: 991px) {
  html.gfx-f3 .gfx-v2-terms-head { display: flex; flex-direction: column; align-items: flex-start; row-gap: 24px; }
  html.gfx-f3 .gfx-v2-terms-row { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 40px; margin-top: 64px; }
  html.gfx-f3 .gfx-v2-terms-fig { display: block; grid-row: auto; padding-top: 24px; }
  html.gfx-f3 .gfx-v2-terms .gfx-v2-terms-t { font-size: 28px; }
  html.gfx-f3 .gfx-v2-terms .gfx-v2-terms-l { max-width: 30em; }
}
/* ---------- a phone: the same stack at the phone scale ---------- */
@media (max-width: 767px) {
  html.gfx-f3 .gfx-v2-terms-row { row-gap: 32px; margin-top: 48px; }
  html.gfx-f3 .gfx-v2-terms .gfx-v2-terms-t { font-size: 24px; line-height: 1.22; }
  html.gfx-f3 .gfx-v2-terms .gfx-v2-terms-l { margin-top: 12px; max-width: none; }
}

/* the room after the terms is drawn for paper: its climb and its cases wait for the paper to land (its headline rises on the
   night and the paper arrives under it, as the house turns do) */
html.gfx-f3 .gfx-case-sec :is(.gfx-case-rail, .gfx-case-ch) { transition: filter .7s cubic-bezier(.16, 1, .3, 1); }
html.gfx-f3.gfx-tone-dark .gfx-case-sec :is(.gfx-case-rail, .gfx-case-ch) { filter: opacity(0); }
