/* Grey Fox owners site: v2 Contact. The opening's one action in place of the form: the domain's address, set at the size
   of the offices band's figures on a hairline, then the house button. The hairline draws with the opening's rule; a
   still page (reduced motion, no motion library) shows it drawn. On a phone the action follows the intro, before the
   photograph, so the address is the first thing under the words. */

[data-o~="r4f-hero"] [data-o~="v2-ct-act"] { display: flex; flex-direction: column; align-items: flex-start; row-gap: var(--s-4); }

/* the address: a figure (Sentient 200, the band's size), ink, on the house's text-link line (ink at 35%), set just under
   the letters as a link's line is, never a field's; the ink line draws over it on hover (keyboard focus shows the house
   ring alone). Its box is a full tap height without moving anything (room above the words, taken back by the margin). */
[data-o~="r4f-hero"] [data-o~="v2-ct-mail"] { position: relative; display: inline-block; max-width: 100%; margin: -8px 0 0; padding: 8px 0 6px;
  font: 200 var(--t-h3)/1.15 var(--serif); letter-spacing: 0; color: var(--ink); text-decoration: none; white-space: nowrap; }
[data-o~="r4f-hero"] [data-o~="v2-ct-mail"][data-wrap] { white-space: normal; overflow-wrap: anywhere; }
[data-o~="v2-ct-mail"]::before, [data-o~="v2-ct-mail"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; transform-origin: 0 50%; pointer-events: none; }
[data-o~="v2-ct-mail"]::before { background: rgba(30, 30, 30, .35); }
[data-o~="v2-ct-mail"]::after { background: var(--ink); transform: scaleX(0); transition: transform .6s var(--ease); }
[data-o~="r4f-hero"] [data-o~="v2-ct-mail"]:hover, [data-o~="r4f-hero"] [data-o~="v2-ct-mail"]:focus { color: var(--ink); }
@media (hover: hover) { [data-o~="v2-ct-mail"]:hover::after { transform: scaleX(1); } }

/* the arrival: the address settles with the intro (the opening's own film); its hairline draws with the opening's rule */
html.gfx-pg-js:not(.ow-reduce) [data-o~="v2-ct-mail"]::before { transform: scaleX(0); }
html.gfx-pg-js.ow-hero-on:not(.ow-reduce) [data-o~="v2-ct-mail"]::before { transform: scaleX(1); transition: transform 1.5s var(--r4f-draw) .55s; }
html.gfx-failsafe [data-o~="v2-ct-mail"]::before { transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  [data-o~="v2-ct-mail"]::before { transform: none !important; transition: none !important; }
  [data-o~="v2-ct-mail"]::after { transition: none; }
}

/* the band's own step down: short desktop screens, and the narrow desktop column */
@media (min-width: 992px) and (max-height: 820px), (min-width: 992px) and (max-width: 1199px) {
  [data-o~="r4f-hero"] [data-o~="v2-ct-mail"] { font-size: var(--t-h4); padding-bottom: 5px; }
  [data-o~="r4f-hero"] [data-o~="v2-ct-act"] { row-gap: var(--s-3); }
}

/* tablet and phone: the action comes before the photograph; on a phone the address takes the band's phone size */
@media (max-width: 991px) {
  html [data-o~="r4m1-hero"] [data-o~="r4a-l"] > [data-o~="v2-ct-act"] { order: 3; }
  html [data-o~="r4m1-hero"] [data-o~="r4a-pic"] { order: 4; }
}
@media (max-width: 767px) {
  [data-o~="r4f-hero"] [data-o~="v2-ct-mail"] { font-size: var(--t-h4); margin-top: -14px; padding: 14px 0 5px; }
  [data-o~="r4f-hero"] [data-o~="v2-ct-act"] { row-gap: var(--s-3); }
}

/* the headline holds one line at every width: where its column is too narrow for the house size, its size follows the column */
[data-o~="ow-hero"] :has(> [data-o~="ow-h1"]) { container-type: inline-size; }
html:not(#gfx-o):not(#gfx-p) [data-o~="ow-hero"] [data-o~="ow-h1"]:not(#gfx-h1x):not(#gfx-h1y) { font-size: min(var(--gfx-h1, 40px), 10.6cqi) !important; white-space: nowrap; max-width: none; }
