@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap; src: url("../assets/lato-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/lato-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 900; font-display: swap; src: url("../assets/lato-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300; font-display: swap; src: url("../assets/roboto-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/roboto-latin-500-normal.woff2") format("woff2"); }

/* JFP design tokens — single source. Mirrored into the Main global stylesheet AND the :root variable record (keep identical). */
:root {
  /* brand palette */
  --jfp-navy: #003a62;
  --jfp-primary: #22659b;
  --jfp-accent: #0794dc;
  --jfp-accent-strong: #0879b8;
  --jfp-accent-deep: #06659b;
  --jfp-link: #0b7cc0;
  --jfp-ink: #2a4365;
  --jfp-text: #64748b;
  --jfp-subtle: #8494aa;
  --jfp-muted: #a0aec0;
  --jfp-cloud: #cbd5e0;
  --jfp-mist: #e2e8f0;
  --jfp-haze: #f4f7fa;
  --jfp-slate: #4a5568;
  --jfp-slate-deep: #2d3c54;
  --jfp-white: #ffffff;
  --jfp-star: #fb8e28;
  --jfp-gradient: linear-gradient(120deg, var(--jfp-navy) 0%, var(--jfp-accent) 100%);

  /* type */
  --jfp-font-head: "Lato", "Helvetica Neue", Arial, sans-serif;
  --jfp-font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --jfp-text-display: clamp(2.75rem, 1.2rem + 5.4vw, 5.5rem);
  --jfp-text-h1: clamp(1.625rem, 1.3rem + 1vw, 2rem);
  --jfp-text-h2: clamp(1.875rem, 1.2rem + 2vw, 2.6875rem);
  --jfp-text-h2-split: clamp(1.75rem, 1.2rem + 1.6vw, 2.3125rem);
  --jfp-text-h3: clamp(1.375rem, 1.1rem + .8vw, 1.75rem);
  --jfp-text-h4: clamp(1.25rem, 1.05rem + .6vw, 1.625rem);
  --jfp-text-sub: clamp(1.125rem, 1rem + .5vw, 1.5rem);
  --jfp-text-lede: clamp(1.1875rem, 1rem + .6vw, 1.4375rem);
  --jfp-text-cta: clamp(1.125rem, 1rem + .4vw, 1.3125rem);
  --jfp-text-body: clamp(1.0625rem, 1rem + .2vw, 1.125rem);
  --jfp-text-small: 1rem;
  --jfp-text-xs: .875rem;
  --jfp-lh-tight: 1.15;
  --jfp-lh-snug: 1.3;
  --jfp-lh-body: 1.7;
  --jfp-lh-lede: 1.5;

  /* spacing (4px base) */
  --jfp-space-1: .25rem;
  --jfp-space-2: .5rem;
  --jfp-space-3: .75rem;
  --jfp-space-4: 1rem;
  --jfp-space-5: 1.25rem;
  --jfp-space-6: 1.5rem;
  --jfp-space-8: 2rem;
  --jfp-space-10: 2.5rem;
  --jfp-space-12: 3rem;
  --jfp-space-16: 4rem;
  --jfp-section-y: clamp(3.125rem, 1.6rem + 4.8vw, 6.25rem);
  --jfp-section-y-band: clamp(3.125rem, 2rem + 3.6vw, 5.625rem);
  --jfp-gutter: clamp(1.25rem, .6rem + 2vw, 2.5rem);
  --jfp-content-width: 71.25rem;
  --jfp-measure: 60ch;
  --jfp-wave-h: clamp(1.875rem, .8rem + 3.4vw, 5rem);

  /* shape + motion */
  --jfp-radius-sm: 3px;
  --jfp-radius: 5px;
  --jfp-shadow-btn: 0 13px 25px -9px rgba(7, 148, 220, .5);
  --jfp-shadow-card: 0 10px 30px -12px rgba(0, 58, 98, .25);
  --jfp-ease: cubic-bezier(.2, .7, .2, 1);
  --jfp-dur: .2s;
  --jfp-tap: 2.75rem;
  --jfp-wave: url("../assets/wave.svg");
  --jfp-header-h: 5.625rem;

  /* surface contract defaults (light surface) — chrome outside any section inherits these (§33.3) */
  --sf-bg: var(--jfp-white);
  --sf-fg: var(--jfp-text);
  --sf-heading: var(--jfp-primary);
  --sf-title: var(--jfp-navy);
  --sf-sub: var(--jfp-subtle);
  --sf-lede: var(--jfp-ink);
  --sf-link: var(--jfp-link);
  --sf-icon: var(--jfp-accent);
  --sf-line: var(--jfp-mist);
  --sf-btn-bg: var(--jfp-accent-strong);
  --sf-btn-fg: var(--jfp-white);
  --sf-btn-hover: var(--jfp-accent-deep);
  --sf-card-bg: var(--jfp-white);
}

/* Base — genuinely global, never edited per element. Component CSS lives in style records. */
html { scrollbar-gutter: auto; -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
:where(body) { margin: 0; background: var(--jfp-white); color: var(--jfp-text); font-family: var(--jfp-font-body); font-size: var(--jfp-text-body); font-weight: 300; line-height: var(--jfp-lh-body); -webkit-font-smoothing: antialiased; }
:where(h1, h2, h3, h4, h5, h6) { margin: 0; font-family: var(--jfp-font-head); font-weight: 700; line-height: var(--jfp-lh-snug); color: var(--sf-heading); text-wrap: balance; }
:where(p) { margin: 0; }
:where(p + p) { margin-top: var(--jfp-space-4); }
:where(a) { color: var(--sf-link); text-decoration: none; transition: color var(--jfp-dur) var(--jfp-ease); }
:where(a:hover, a:focus-visible) { text-decoration: underline; text-underline-offset: .15em; }
a { display: inline; max-inline-size: none; }
:where(strong, b) { font-weight: 500; }
:where(img) { max-width: 100%; height: auto; display: block; }
:where(svg) { flex-shrink: 0; }
:where(button, input, select, textarea) { line-height: normal; }
:where(:focus-visible) { outline: 2px solid var(--jfp-accent); outline-offset: 3px; }
:where(ul, ol) { margin: 0; padding: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; } }

/* Gravity Forms skin — third-party markup cannot reference an Etch record (§30.1), so it lives in the global sheet. */
.gform_wrapper.gform-theme { --gf-color-primary: var(--jfp-accent-strong); --gf-color-primary-rgb: 8, 121, 184; --gf-ctrl-border-color: transparent; --gf-ctrl-radius: 0; --gf-field-gap-y: 1.25rem; }
.gform_wrapper.gform-theme .gfield input[type="text"], .gform_wrapper.gform-theme .gfield input[type="email"], .gform_wrapper.gform-theme .gfield input[type="tel"], .gform_wrapper.gform-theme .gfield textarea {
  background: var(--jfp-haze) !important; border: 1px solid transparent !important; border-radius: 0 !important; box-shadow: none !important;
  padding: 1rem 1.25rem !important; min-height: 3.625rem !important; block-size: auto !important; font-family: var(--jfp-font-body) !important; font-size: 1.125rem !important; font-weight: 400; line-height: 1.4 !important; color: var(--jfp-ink) !important; }
.gform_wrapper.gform-theme .gfield textarea { height: 7.25rem !important; min-height: 0 !important; resize: vertical; }
.gform_wrapper.gform-theme .gfield input::placeholder, .gform_wrapper.gform-theme .gfield textarea::placeholder { color: var(--jfp-text); opacity: 1; }
.gform_wrapper.gform-theme .gfield input:focus, .gform_wrapper.gform-theme .gfield textarea:focus { border-color: var(--jfp-accent) !important; outline: 2px solid var(--jfp-accent) !important; outline-offset: 0 !important; background: var(--jfp-white) !important; }
.gform_wrapper.gform-theme .gform_footer { margin-top: 1.25rem !important; padding: 0 !important; }
.gform_wrapper.gform-theme .gform_footer .gform_button { display: inline-flex !important; align-items: center; gap: .625rem; min-height: var(--jfp-tap); padding: .9375rem 1.875rem !important; border: 0 !important; border-radius: 4px !important;
  background: var(--jfp-accent-strong) !important; color: var(--jfp-white) !important; font-family: var(--jfp-font-body) !important; font-size: 1rem !important; font-weight: 500 !important; line-height: 1 !important; cursor: pointer; box-shadow: var(--jfp-shadow-btn) !important; }
.gform_wrapper.gform-theme .gform_footer .gform_button:hover, .gform_wrapper.gform-theme .gform_footer .gform_button:focus-visible { background: var(--jfp-accent-deep) !important; }
.gform_wrapper.gform-theme .gfield_validation_message, .gform_wrapper.gform-theme .validation_message { font-size: .9375rem; color: #b42318 !important; background: none !important; border: 0 !important; padding: .25rem 0 0 !important; }
.gform_wrapper.gform-theme .gform_validation_errors { border-radius: 0 !important; box-shadow: none !important; }
.gform_confirmation_message { padding: 1.25rem 1.5rem; background: var(--jfp-haze); border-left: 4px solid var(--jfp-accent); color: var(--jfp-ink); font-size: 1.125rem; font-weight: 400; }
.gform_wrapper.gform-theme .gform_fields { row-gap: 1.25rem !important; }
/* Gravity Forms icon font (used by /contact/ validation messages; mirrors gf-theme.css) */
@font-face { font-family: gform-icons-orbital; src: url("../assets/gform-icons-orbital.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: block; }
