/* The sign-up fields (first name, email): one look for every form that asks for them, the sign-up form ("Join Team Arzi
   by email", home page) and the Watch popup (js/watch-gate.js, every page), so the two cannot drift. Their
   markup is one component too: arziSubscribe.fields in js/subscribe.js. Each form puts them in a .signup-fields container,
   on top of road.css's .field. (Moved from proto-hb/h-sections.css, owner, 28 Nov 2026; the form's layout stays there.) */

/* no captions above the fields (owner): the labels stay for screen readers, visually hidden; the words are placeholders,
   brighter than road.css's (.55) so they hold against the field */
.signup-fields .field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:0}
.signup-fields .field input::placeholder{color:rgba(239,231,214,.72)}
/* the text sits just above its line, not in the middle of the 52px field (which lines up with SIGN ME UP's box): about
   11px from baseline to line instead of about 20; no side padding, so the text starts where the line starts (owner,
   27 Nov 2026) */
.signup-fields .field input{padding:16px 0 0}

/* an underline, nothing else (owner). road.css gives every field a 2px gold outline box on :focus-visible, which Safari (and
   Chrome) also match on a mouse click into a text field; here hover lightens the line, focus turns it gold, an error turns
   it coral. Autofill keeps the field transparent and the text cream in Chrome and Safari. */
.signup-fields .field input{
  background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;border:0;border-bottom:1px solid rgba(239,231,214,.6);border-radius:0;
  box-shadow:none;outline:none;-webkit-appearance:none;appearance:none;transition:border-color .2s ease}
.signup-fields .field input:focus,.signup-fields .field input:focus-visible{outline:none;box-shadow:none}
/* one 1px line, always in the same place; only its colour changes, easing .15s: cream .6 at rest, cream .95 on hover, gold on
   focus, coral on error (focused or not). It is the wrapper's ::before, not the input's border (which stays transparent, so
   the input's height and text do not move), so it sits on the same pixel row in Chromium and WebKit at any page offset
   (WebKit snapped a border and a positioned line to different rows). The caret is gold and the placeholder dims a little on
   focus (extra cues, nothing moves). */
.signup-fields .field{position:relative}
.signup-fields .field input{display:block;caret-color:var(--gold)}
.signup-fields .field input,.signup-fields .field input:hover,.signup-fields .field input:focus{border-bottom-color:transparent!important}
.signup-fields .field::before{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:rgba(239,231,214,.6);pointer-events:none;transition:background-color .15s ease}
.signup-fields .field:hover::before{background:rgba(239,231,214,.95)}
.signup-fields .field:focus-within::before{background:var(--gold)}
.signup-fields .field:has(input[aria-invalid=true])::before{background:#e6a27c}
.signup-fields .field input:focus::placeholder{color:rgba(239,231,214,.5)}
@media (prefers-reduced-motion:reduce){.signup-fields .field::before,.signup-fields .field input{transition:none}}
html.rm .signup-fields .field::before{transition:none}
.signup-fields .field input:-webkit-autofill,.signup-fields .field input:-webkit-autofill:hover,.signup-fields .field input:-webkit-autofill:focus{
  -webkit-text-fill-color:var(--cream);caret-color:var(--gold);transition:background-color 100000s 0s,border-color .2s ease}

/* keyboard-only focus cue (owner, 27 Nov; js/subscribe.js tracks the modality): a 1px gold outline 3px around the field,
   square, easing in .15s; outline, so nothing moves. Gold on the dark ground is 9.9:1. Mouse and touch: the line's colour only. */
.signup-fields .field{outline:1px solid rgba(216,181,122,0);outline-offset:3px;transition:outline-color .15s ease}
.signup-fields .field.hs-kfocus{outline-color:var(--gold)}
@media (prefers-reduced-motion:reduce){.signup-fields .field{transition:none}}
html.rm .signup-fields .field{transition:none}
/* without JavaScript the sign-up form shows the <noscript> copy of the fields: its box steps aside, so the fields are the
   form's own flex items, as with JavaScript (boot.js removes no-js before first paint, so this never applies otherwise) */
html.no-js .signup-fields noscript{display:contents}

/* caret on the placeholder (owner, 27 Nov). The caret is as tall as the font's ascent plus descent and starts at the top of
   the ascent; Newsreader's (1470/530 of 2000) left it hanging below the placeholder's capitals ("First name" has no
   descenders). The fields use their own copy of Newsreader, assets/fonts/newsreader-field-latin-400-opsz20.woff2: static
   400 at the fields' 20px optical size (23 KB), with ascent 1670 and descent 330 (sum unchanged, so line boxes and field
   heights stay), which centres the caret on the cap height (1340). It is in the file, not in ascent-override, because
   Safari's WebKit (Safari, Orion) ignores ascent-override. Made with fontTools from newsreader-latin-opsz-normal.woff2. */
@font-face{font-family:"Newsreader Field";src:url(../assets/fonts/newsreader-field-latin-400-opsz20.woff2) format("woff2");
  font-weight:400;font-style:normal;font-display:swap}
.signup-fields .field input{font-family:"Newsreader Field",var(--serif)}
