/* ==========================================================================
   HOUSE9 BRAND SYSTEM  ·  v1.0  ·  locked Oct 10, 2026
   --------------------------------------------------------------------------
   COLOR
     House Black   #000000   primary ground, wordmark, solid buttons
     Chalk White   #FFFFFF   primary ground, wordmark reversed
     Clay          #C95100   infield clay. accent / slanted button
     Outfield      #1A5B34   outfield grass. accent / slanted button
     Foul Pole     #FCD000   foul-pole yellow. highlight / slanted button
   TYPE
     Headline        Antarctica VAR Condensed ExtraBold, tracking -70, all caps
     Sub Headline    Franklin Gothic Book, tracking -70 (sentence case or ALL CAPS)
     Body Copy       Franklin Gothic Book, tracking -10
     Licensed faces load from /fonts when the .woff2 files are added; until
     then Archivo (condensed, 800) and Libre Franklin stand in.
   ========================================================================== */
@font-face { font-family: "Antarctica VAR"; font-weight: 800; font-display: swap;
  src: local("Antarctica VAR Condensed ExtraBold"), local("AntarcticaVAR-CondensedExtraBold"); }
@font-face { font-family: "Franklin Gothic Book"; font-weight: 400; font-display: swap;
  src: local("Franklin Gothic Book"), local("FranklinGothic-Book"), local("ITC Franklin Gothic Book"); }

:root {
  --h9-black: #000000;
  --h9-white: #FFFFFF;
  --h9-clay: #C95100;
  --h9-outfield: #1A5B34;
  --h9-foulpole: #FCD000;
  --h9-gray-1: #F2F2F2;
  --h9-gray-2: #D9D9D9;
  --h9-gray-3: #8C8C8C;
  --h9-gray-4: #3A3A3A;

  --h9-font-head: "Antarctica VAR", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --h9-font-sub: "Franklin Gothic Book", "Libre Franklin", "Franklin Gothic", Arial, sans-serif;
  --h9-font-body: "Franklin Gothic Book", "Libre Franklin", "Franklin Gothic", Arial, sans-serif;
  --h9-track-head: -0.07em;   /* -70 */
  --h9-track-sub: -0.07em;    /* -70 */
  --h9-track-body: -0.01em;   /* -10 */
}

.h9-headline { font-family: var(--h9-font-head); font-weight: 800; font-stretch: 62%;
  font-variation-settings: "wdth" 62; text-transform: uppercase; letter-spacing: var(--h9-track-head); line-height: .9; }
.h9-sub { font-family: var(--h9-font-sub); font-weight: 400; letter-spacing: var(--h9-track-sub); line-height: 1.05; }
.h9-sub-caps { font-family: var(--h9-font-sub); font-weight: 400; letter-spacing: -0.04em; text-transform: uppercase; line-height: 1.1; }
.h9-body { font-family: var(--h9-font-body); font-weight: 400; letter-spacing: var(--h9-track-body); line-height: 1.5; }

/* Buttons ------------------------------------------------------------------ */
.h9-btn { --bg: var(--h9-black); --fg: var(--h9-white); --bd: var(--h9-black);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 30px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font: 400 18px/1 var(--h9-font-body); letter-spacing: var(--h9-track-body);
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease, opacity .15s; -webkit-tap-highlight-color: transparent; }
.h9-btn:hover { transform: translateY(-1px); }
.h9-btn:active { transform: translateY(0) scale(.98); }
.h9-btn:focus-visible { outline: 2px solid var(--h9-foulpole); outline-offset: 3px; }
.h9-btn[disabled] { opacity: .5; cursor: progress; transform: none; }
.h9-btn--outline { --bg: transparent; --fg: var(--h9-black); --bd: var(--h9-black); }
.h9-btn--light { --bg: var(--h9-white); --fg: var(--h9-black); --bd: var(--h9-white); }
.h9-btn--outline-light { --bg: transparent; --fg: var(--h9-white); --bd: var(--h9-white); }
.h9-btn--outline-light:hover { --bg: var(--h9-white); --fg: var(--h9-black); }
/* Slanted accent buttons: a rounded parallelogram, bold italic display type */
.h9-btn--slant { position: relative; border: 0; background: transparent; padding: 0 30px; isolation: isolate;
  font: italic 800 20px/1 var(--h9-font-head); font-stretch: 62%; font-variation-settings: "wdth" 62; letter-spacing: -0.05em; }
.h9-btn--slant::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg);
  border-radius: 26px 10px 26px 10px; transform: skewX(-12deg); }
.h9-btn--clay { --bg: var(--h9-clay); --fg: var(--h9-white); }
.h9-btn--outfield { --bg: var(--h9-outfield); --fg: var(--h9-white); }
.h9-btn--foulpole { --bg: var(--h9-foulpole); --fg: var(--h9-black); }

/* Fields ------------------------------------------------------------------- */
.h9-field { display: grid; gap: 8px; min-width: 0; }
.h9-label { font: 400 12px/1.2 var(--h9-font-sub); letter-spacing: .06em; text-transform: uppercase; }
.h9-input { width: 100%; min-width: 0; height: 52px; padding: 0 20px; border-radius: 999px; border: 1.5px solid currentColor;
  background: transparent; color: inherit; font: 400 17px/1 var(--h9-font-body); letter-spacing: var(--h9-track-body); }
.h9-input::placeholder { color: inherit; opacity: .45; }
.h9-input:focus { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--h9-foulpole) 70%, transparent); }
textarea.h9-input { height: auto; min-height: 120px; padding: 16px 20px; border-radius: 22px; resize: vertical; line-height: 1.45; }
select.h9-input { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 24px) 52%, calc(100% - 18px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.h9-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
