/* ---------- fonts.css ---------- */
/* Noto Serif + Noto Sans variable fonts, self-hosted.
   Generated from the live site's own font CSS by reference/build-fonts-css.mjs.
   One block per subset+style; the weight range spans the whole variable axis. */

@font-face {
  font-family: 'Noto Serif';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notoserif-ga6faw1j5x9t9rw6j9bnffimzhhwnftynziqd1-_p3lct-fg.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Noto Serif';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notoserif-ga6faw1j5x9t9rw6j9bnffimzhhwnftynziqd1-_p3vct-fg.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Noto Serif';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notoserif-ga6faw1j5x9t9rw6j9bnffimzhhwnftynziqd1-_p3pct-fg.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}

@font-face {
  font-family: 'Noto Serif';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notoserif-ga6faw1j5x9t9rw6j9bnffimzhhwnftynziqd1-_p3zct-fg.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'Noto Serif';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notoserif-ga6faw1j5x9t9rw6j9bnffimzhhwnftynziqd1-_p3dct-fg.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Noto Serif';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notoserif-ga6faw1j5x9t9rw6j9bnffimzhhwnftynziqd1-_p3hct-fg.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Noto Serif';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notoserif-ga6faw1j5x9t9rw6j9bnffimzhhwnftynziqd1-_p3_ctw.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notoserif-ga6daw1j5x9t9rw6j9bnvls-hfgvz8jcmofytyf3d33esw.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notoserif-ga6daw1j5x9t9rw6j9bnvls-hfgvz8jcmofytyf-d33esw.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notoserif-ga6daw1j5x9t9rw6j9bnvls-hfgvz8jcmofytyf2d33esw.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}

@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notoserif-ga6daw1j5x9t9rw6j9bnvls-hfgvz8jcmofytyf5d33esw.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notoserif-ga6daw1j5x9t9rw6j9bnvls-hfgvz8jcmofytyf1d33esw.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notoserif-ga6daw1j5x9t9rw6j9bnvls-hfgvz8jcmofytyf0d33esw.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notoserif-ga6daw1j5x9t9rw6j9bnvls-hfgvz8jcmofytyf6d30.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Noto Sans';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notosans-o-0zipqlx3qulc5a4pnr4c5oaxrsfnnlkbcepevtthomdyw.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Noto Sans';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notosans-o-0zipqlx3qulc5a4pnr4c5oaxrsfnnlkbcepevtvxomdyw.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Noto Sans';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notosans-o-0zipqlx3qulc5a4pnr4c5oaxrsfnnlkbcepevtuhomdyw.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

@font-face {
  font-family: 'Noto Sans';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notosans-o-0zipqlx3qulc5a4pnr4c5oaxrsfnnlkbcepevttxomdyw.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}

@font-face {
  font-family: 'Noto Sans';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notosans-o-0zipqlx3qulc5a4pnr4c5oaxrsfnnlkbcepevtunomdyw.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'Noto Sans';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notosans-o-0zipqlx3qulc5a4pnr4c5oaxrsfnnlkbcepevttnomdyw.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Noto Sans';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notosans-o-0zipqlx3qulc5a4pnr4c5oaxrsfnnlkbcepevtt3omdyw.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Noto Sans';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notosans-o-0zipqlx3qulc5a4pnr4c5oaxrsfnnlkbcepevtuxom.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notosans-o-0bipqlx3qulc5a4pnb6ryti20_6n1iphjc5apdu2ui.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notosans-o-0bipqlx3qulc5a4pnb6ryti20_6n1iphjc5ardu2ui.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notosans-o-0bipqlx3qulc5a4pnb6ryti20_6n1iphjc5a_du2ui.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notosans-o-0bipqlx3qulc5a4pnb6ryti20_6n1iphjc5aldu2ui.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}

@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notosans-o-0bipqlx3qulc5a4pnb6ryti20_6n1iphjc5a3du2ui.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notosans-o-0bipqlx3qulc5a4pnb6ryti20_6n1iphjc5ahdu2ui.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notosans-o-0bipqlx3qulc5a4pnb6ryti20_6n1iphjc5addu2ui.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/assets/fonts/notosans-o-0bipqlx3qulc5a4pnb6ryti20_6n1iphjc5a7duw.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens.css ---------- */
/* Design tokens taken from the live site's Elementor kit (post-95) and from
   computed styles measured in-browser. Values are deliberately literal so the
   rebuild matches the original rather than approximating it. */

:root {
  /* Palette */
  --c-heading: #333333;
  --c-text: #666666;
  --c-accent: rgba(184, 96, 30, 0.96); /* #B8601EF5 - buttons, footer, header gradient */
  --c-accent-solid: #b8601e;
  --c-link: #743214;
  --c-cream: #fef5ee;
  --c-white: #ffffff;
  --c-bar: #666666; /* copyright bar */
  --c-rule: #e6e6e6;

  /* Type */
  --f-serif: 'Noto Serif', Georgia, serif;
  --f-sans: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  --t-body-size: 16px;
  --t-body-lh: 24px;

  /* Heading widgets render at 1.8em regardless of level (Elementor primary typography) */
  --t-title-size: 28.8px;
  --t-title-lh: 54.72px; /* 1.9em */
  --t-title-lh-tight: 34.56px; /* 1.2em - headings inside body copy */

  /* "Accent" style: h3, buttons, footer heading */
  --t-accent-size: 16px;
  --t-accent-weight: 500;
  --t-accent-lh: 16px;
  --t-accent-ls: 1.6px;

  /* Layout */
  --w-max: 1520px;
  --w-section-pad: 40px;
  --gap: 20px;
  --card-shadow: rgba(0, 0, 0, 0.4) 2px 0 10px -6px;
  --band-shadow: rgba(0, 0, 0, 0.22) 0 22px 20px -20px;
  --radius-pill: 50px;
}

@media (max-width: 1024px) {
  :root {
    --t-body-size: 14px;
    --t-accent-size: 14px;
    --w-max: 1024px;
  }
}

@media (max-width: 767px) {
  :root {
    --t-title-size: 28px;
    --t-title-lh: 30.8px; /* 1.1em */
    --t-title-lh-tight: 30.8px;
    --t-accent-size: 16px;
    --t-accent-lh: 19.2px; /* 1.2em */
    --t-accent-ls: 0.8px;
    --w-section-pad: 20px;
  }
}

/* ---------- main.css ---------- */
/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--c-cream);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: var(--t-body-size);
  line-height: var(--t-body-lh);
  font-weight: 400;
}

/* The live site renders most pages on the cream kit background, but the
   homepage, the blog index and the standalone recruiting page on white.
   That inconsistency is reproduced here and flagged in docs/CONTENT-NOTES.md. */
body.home,
body.blog-index,
body.recruiting {
  background: var(--c-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Elementor's global custom CSS, kept verbatim */
p,
li {
  margin: 8px 0;
}

ul,
ol {
  padding-left: 1.4em;
}

a {
  color: var(--c-link);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--c-heading);
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  color: var(--c-link);
  padding: 10px 16px;
}

.skip-link:focus {
  left: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--c-heading);
  font-weight: 500;
}

/* Standalone page/section titles (Elementor heading widgets) */
.title {
  font-family: var(--f-serif);
  font-size: var(--t-title-size);
  line-height: var(--t-title-lh);
  font-weight: 500;
  color: var(--c-heading);
  margin: 0;
}

/* Headings that sit inside body copy */
.prose h2 {
  font-family: var(--f-serif);
  font-size: var(--t-title-size);
  line-height: var(--t-title-lh-tight);
  font-weight: 500;
  margin: 8px 0 16px;
}

/* The "accent" style: uppercase, tracked out. h3s, buttons, footer heading. */
.eyebrow,
.prose h3,
h3.title {
  font-family: var(--f-sans);
  font-size: var(--t-accent-size);
  font-weight: var(--t-accent-weight);
  line-height: var(--t-accent-lh);
  letter-spacing: var(--t-accent-ls);
  text-transform: uppercase;
  color: var(--c-heading);
  margin: 0;
}

.prose {
  font-family: var(--f-sans);
  font-size: var(--t-body-size);
  line-height: var(--t-body-lh);
  color: var(--c-text);
}

.center {
  text-align: center;
}

/* ---------- layout ---------- */
.section {
  padding-left: var(--w-section-pad);
  padding-right: var(--w-section-pad);
}

.section__inner {
  max-width: 93%;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  justify-content: center;
  gap: 0 4%;
}

.wide {
  max-width: min(100%, var(--w-max));
  margin: 0 auto;
  padding: 12px 0;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.row {
  display: flex;
  gap: var(--gap);
}

/* A bordered/shadowed panel - the site's recurring card treatment */
.card {
  box-shadow: var(--card-shadow);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  flex: 1 1 0;
  min-width: 0;
}

.band-shadow {
  box-shadow: var(--band-shadow);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-sans);
  font-size: var(--t-accent-size);
  font-weight: var(--t-accent-weight);
  line-height: var(--t-accent-lh);
  letter-spacing: var(--t-accent-ls);
  text-transform: uppercase;
  text-align: center;
  padding: 10px 20px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--c-accent);
  color: var(--c-white);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s;
}

.btn:hover,
.btn:focus {
  color: var(--c-white);
  text-decoration: none;
  animation: btn-float 1.5s ease-in-out infinite;
}

@keyframes btn-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .btn:focus {
    animation: none;
  }
}

.btn--light {
  background: var(--c-white);
  color: var(--c-accent);
}

.btn--light:hover,
.btn--light:focus {
  color: var(--c-accent);
}

.btn--outline {
  background: var(--c-white);
  color: var(--c-text);
  border: 2px solid var(--c-accent);
  padding: 20px;
}

.btn--outline:hover,
.btn--outline:focus {
  color: var(--c-text);
}

.btn__icon {
  display: inline-flex;
  width: 1em;
  height: 1em;
}

.btn__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.btn-row {
  display: flex;
  gap: var(--gap);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- blockquote (Elementor "quotation" skin) ---------- */
.quote {
  margin: 0;
  padding: 0;
  border: 0;
}

.quote::before {
  content: '\201C';
  display: block;
  font-family: 'Times New Roman', Times, serif;
  font-size: 80px;
  line-height: 80px;
  color: var(--c-accent);
}

.quote__content {
  margin: 0;
  font-style: italic;
  color: var(--c-text);
}

.quote__author {
  display: block;
  font-style: normal;
  color: var(--c-accent);
}

.quote__author a {
  color: inherit;
}

/* ---------- site.css ---------- */
/* ============ header ============ */
.site-header {
  background-image: linear-gradient(180deg, var(--c-accent) 0%, var(--c-cream) 100%);
  padding: 20px;
}

.site-header__inner {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}

.site-title {
  margin: 0;
  font-family: var(--f-serif);
  font-size: var(--t-title-size);
  line-height: var(--t-title-lh);
  font-weight: 500;
}

.site-title a {
  color: var(--c-heading);
  text-decoration: none;
}

.site-title a:hover {
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  flex-wrap: wrap;
}

.nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* The global `p, li { margin: 8px 0 }` rule is for body copy only - list-based
   UI (nav, submenus) must not inherit it. */
.nav__list li,
.nav__sub li {
  margin: 0;
}

.nav__item {
  position: relative;
}

.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  color: var(--c-link);
  font-family: var(--f-sans);
  font-size: var(--t-body-size);
  line-height: var(--t-body-lh);
  text-decoration: none;
  white-space: nowrap;
}

.nav__link--static {
  cursor: default;
}

.nav__link:hover,
.nav__link:focus {
  color: var(--c-link);
  text-decoration: none;
}

.nav__arrow {
  display: inline-flex;
  width: 11px;
  height: 8px;
}

.nav__arrow svg {
  width: 100%;
  height: 100%;
}

/* Active/hover underline - Elementor's 4px "underline pointer" */
.nav__link::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 4px;
  background: var(--c-link);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.nav__link:hover::after,
.nav__link:focus::after {
  transform: scaleX(1);
}

.nav__link.is-current::after {
  background: var(--c-accent);
  transform: scaleX(1);
}

/* On desktop the submenu opens on hover/focus, so the caret button is only
   needed at mobile widths where hover does not exist. */
.nav__caret {
  display: none;
  position: absolute;
  right: 6px;
  top: 14px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-link);
  cursor: pointer;
}

.nav__caret svg {
  width: 11px;
  height: 8px;
}

.nav__sub {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 30;
  min-width: 260px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--c-white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
}

.nav__item:hover > .nav__sub,
.nav__item:focus-within > .nav__sub,
.nav__item.is-open > .nav__sub {
  opacity: 1;
  visibility: visible;
}

.nav__sub a {
  display: block;
  padding: 12px 20px;
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: var(--t-accent-size);
  font-weight: var(--t-accent-weight);
  letter-spacing: var(--t-accent-ls);
  text-transform: uppercase;
  line-height: 1.3;
  text-decoration: none;
}

.nav__sub a:hover,
.nav__sub a:focus {
  color: var(--c-link);
  background: var(--c-cream);
  text-decoration: none;
}

.nav__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nav__toggle {
  display: none;
  width: 33px;
  height: 33px;
  padding: 5.5px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 3px;
  background: var(--c-white);
  color: var(--c-accent);
  cursor: pointer;
}

.nav__toggle svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 1024px) {
  .nav {
    gap: 12px;
  }

  .nav__link {
    padding: 10px 12px;
  }

  .nav__sub a {
    padding: 10px 14px;
  }
}

@media (max-width: 880px) {
  .nav {
    flex-direction: column;
    gap: 14px;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 420px;
    background: var(--c-white);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  }

  .nav__list.is-open {
    display: flex;
  }

  .nav__link {
    padding: 14px 18px;
    color: var(--c-text);
    text-align: left;
  }

  .nav__link::after {
    display: none;
  }

  .nav__caret {
    display: inline-flex;
  }

  .nav__arrow {
    display: none;
  }

  .nav__item.is-open > .nav__caret svg {
    transform: rotate(180deg);
  }

  .nav__sub {
    position: static;
    display: none;
    min-width: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    background: var(--c-cream);
  }

  .nav__item.is-open > .nav__sub {
    display: block;
  }

  .nav__item:hover > .nav__sub {
    display: none;
  }

  .nav__item.is-open:hover > .nav__sub {
    display: block;
  }
}

/* ============ footer ============ */
.site-footer {
  background: var(--c-accent);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 80px;
  padding: 80px 20px;
  max-width: var(--w-max);
  margin: 0 auto;
}

.site-footer__about {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 327px;
  max-width: 100%;
}

.site-footer__about a {
  flex: 0 0 58px;
  display: block;
  line-height: 0;
}

.site-footer__about img {
  width: 58px;
  height: auto;
}

.site-footer__about p,
.site-footer__subscribe p {
  color: var(--c-white);
  margin: 0;
}

.site-footer__subscribe {
  width: 327px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer__subscribe a {
  color: var(--c-cream);
  text-decoration: underline;
}

.site-footer__subscribe a:hover,
.site-footer__subscribe a:focus {
  color: var(--c-white);
}

.subscribe {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
}

.subscribe__input {
  width: 100%;
  padding: 8px 16px;
  border: 1px solid var(--c-text);
  border-radius: 3px;
  background: var(--c-white);
  color: #000;
  font-family: var(--f-sans);
  font-size: var(--t-body-size);
  line-height: var(--t-body-lh);
}

.subscribe__submit {
  width: 100%;
  padding: 5px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 5px;
  background: transparent;
  color: var(--c-heading);
  font-family: var(--f-sans);
  font-size: var(--t-accent-size);
  font-weight: var(--t-accent-weight);
  line-height: var(--t-accent-lh);
  letter-spacing: var(--t-accent-ls);
  text-transform: uppercase;
  cursor: pointer;
}

.subscribe__submit:hover,
.subscribe__submit:focus {
  background: rgba(255, 255, 255, 0.18);
}

/* Honeypot - hidden from people, visible to naive bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer__bar {
  background: var(--c-bar);
  padding: 20px 0;
}

.site-footer__bar p {
  margin: 0;
  text-align: center;
  color: var(--c-white);
}

@media (max-width: 767px) {
  .site-footer__inner {
    padding: 40px 20px;
    gap: 32px;
  }
}

/* ============ page title band ============ */
/* Archway photo under an 85%-opacity accent overlay - the same composition the
   live site builds with an Elementor background overlay. */
.page-band {
  position: relative;
  isolation: isolate;
  background-color: var(--c-accent);
  background-image: url('/wp-content/uploads/colorized-entry.jpg');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  padding: 76.8px 20px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

/* The empty placeholder pages use a taller band on the live site */
.page-band--tall {
  min-height: 520px;
}

.page-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c-accent);
  opacity: 0.85;
}

.page-band__title {
  position: relative;
  margin: 0;
  font-family: var(--f-serif);
  font-size: 36.8px;
  line-height: 69.92px;
  font-weight: 500;
  color: var(--c-white);
}

@media (max-width: 767px) {
  .page-band {
    padding: 44px 20px;
  }

  .page-band__title {
    font-size: 30px;
    line-height: 1.3;
  }
}

/* ============ section heading ============ */
.section-title {
  font-family: var(--f-serif);
  font-size: var(--t-title-size);
  line-height: var(--t-title-lh);
  font-weight: 500;
  color: var(--c-heading);
  text-align: center;
  margin: 0;
}

/* ============ hero ============ */
.hero__card {
  display: flex;
  gap: var(--gap);
  justify-content: space-between;
  align-items: center;
  padding: 22px;
  box-shadow: var(--card-shadow);
  max-width: 893px;
  margin: 0 auto;
}

.hero__cover {
  flex: 0 0 auto;
  width: 262px;
  max-width: 45%;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  justify-content: center;
  flex: 1 1 auto;
  text-align: center;
}

.hero__text p {
  margin: 8px 0;
}

@media (max-width: 767px) {
  .hero__card {
    flex-direction: column;
  }

  .hero__cover {
    width: 100%;
    max-width: 300px;
  }
}

/* ============ generic card grid ============ */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 3%;
  row-gap: 35px;
  align-items: stretch;
  justify-content: center;
}

.cards--two > * {
  flex: 1 1 460px;
}

.cards--three > * {
  flex: 0 1 31.3%;
  min-width: 300px;
}

/* Icon-box card used on /resources/ */
.pdf-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap);
  justify-content: space-between;
  padding: 37px;
  box-shadow: rgba(0, 0, 0, 0.36) 0 0 21px -8px;
  text-align: center;
}

.pdf-card__icon {
  display: inline-block;
  width: 50px;
  height: 50px;
  color: var(--c-heading);
}

.pdf-card__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.pdf-card__title {
  font-family: var(--f-serif);
  font-size: 19.2px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: normal;
  text-transform: none;
  color: var(--c-heading);
  margin: 8px 0 16px;
}

.pdf-card__title a {
  color: inherit;
  text-decoration: none;
}

.pdf-card__title a:hover,
.pdf-card__title a:focus {
  color: var(--c-link);
  text-decoration: underline;
}

.pdf-card__desc {
  color: var(--c-text);
  margin: 0;
}

/* ============ lightbox ============ */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 92vw;
  max-height: 92vh;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.85);
}

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  margin: 0 auto;
}

.lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* ============ homepage ============ */
.section__inner--narrow {
  max-width: 1220px;
}

.support-line {
  margin: 0;
  color: var(--c-heading);
}

.bio {
  margin: 80px 0;
  padding-left: 38px;
}

.bio__grid {
  display: flex;
  gap: 40px;
  justify-content: space-around;
  align-items: flex-start;
  padding: 12px 0 37px;
}

.bio__col {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  flex: 1 1 0;
  min-width: 0;
}

.bio__row {
  display: flex;
  gap: var(--gap);
}

.bio__logo {
  flex: 0 0 216px;
  display: flex;
  align-items: center;
}

.bio__portrait {
  flex: 0 0 119px;
}

.reviews {
  padding-left: 38px;
}

.reviews__lead {
  max-width: 80%;
  margin: 0 auto;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

@media (max-width: 1024px) {
  .bio,
  .reviews {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 900px) {
  .bio__grid {
    flex-direction: column;
    gap: var(--gap);
  }

  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .reviews__lead {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .bio__row {
    flex-direction: column;
  }

  .bio__logo,
  .bio__portrait {
    flex: none;
    max-width: 240px;
  }
}

/* ============ divider ============ */
.rule {
  width: 100%;
  border: 0;
  border-top: 2px solid var(--c-rule);
  margin: 8px 0;
}

/* ============ survey ============ */
.survey iframe {
  width: 100%;
  height: 1000px;
  border: 0;
  display: block;
}

/* ============ contact ============ */
.contact {
  max-width: 925px;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.field {
  width: 100%;
  padding: 6px 16px;
  border: 1px solid #d5d8dc;
  border-radius: 0;
  background: var(--c-white);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: var(--t-body-size);
  line-height: var(--t-body-lh);
  min-height: 47px;
}

textarea.field {
  min-height: 140px;
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-text);
}

.contact__error {
  padding: 14px 18px;
  border: 2px solid var(--c-accent);
  border-radius: 5px;
  background: var(--c-cream);
  color: var(--c-heading);
}

.r-link {
  text-align: center;
}

/* ============ Insights (blog index) ============ */
.page-band--dark .page-band__title,
.page-band--dark .page-band__sub {
  color: var(--c-heading);
}

.page-band__title--lg {
  font-size: 48px;
  line-height: 91.2px;
}

.page-band__sub {
  position: relative;
  margin: 0;
  font-size: 19.2px;
  line-height: 28.8px;
  color: var(--c-heading);
}

/* Tinted band behind the post list */
.loop-band {
  position: relative;
  isolation: isolate;
  padding: 80px 20px;
}

.loop-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c-accent);
  opacity: 0.8;
}

.loop-band__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.loop-card {
  display: flex;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: rgba(0, 0, 0, 0.25) 0 6px 18px -8px;
}

.loop-card--flip {
  flex-direction: row-reverse;
}

.loop-card__text {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--c-white);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.loop-card__panel {
  flex: 0 0 160px;
}

.loop-card__date {
  margin: 0;
  font-family: var(--f-sans);
  font-size: var(--t-accent-size);
  font-weight: var(--t-accent-weight);
  line-height: var(--t-accent-lh);
  letter-spacing: var(--t-accent-ls);
  text-transform: uppercase;
  color: var(--c-text);
}

.loop-card__title {
  margin: 0;
  font-family: var(--f-serif);
  font-size: var(--t-title-size);
  line-height: var(--t-title-lh);
  font-weight: 500;
}

.loop-card__title a {
  color: var(--c-heading);
  text-decoration: none;
}

.loop-card__title a:hover,
.loop-card__title a:focus {
  color: var(--c-link);
}

.loop-card__excerpt {
  margin: 8px 0 20px;
}

.loop-card__term {
  margin: 0;
  padding: 10px 18px;
  background: var(--c-accent);
  border-radius: var(--radius-pill);
}

.loop-card__term a {
  color: var(--c-heading);
  text-decoration: none;
}

.loop-card__term a:hover,
.loop-card__term a:focus {
  color: var(--c-white);
}

@media (max-width: 640px) {
  .loop-card,
  .loop-card--flip {
    flex-direction: column;
  }

  .loop-card__panel {
    flex: 0 0 90px;
  }

  .loop-card__text {
    padding: 28px 24px;
  }
}

/* Empty placeholder pages keep a little breathing room below the band */
.stub-body {
  min-height: 76px;
}

/* The homepage h1 replaces a bold paragraph and must look identical to it */
.hero__h1 {
  margin: 8px 0;
  font-family: var(--f-sans);
  font-size: var(--t-body-size);
  line-height: var(--t-body-lh);
  font-weight: 700;
  color: var(--c-text);
}

/* ============ recruiting (legacy standalone page) ============
   This page kept the Janssen & Associates identity when the rest of the site
   was rebranded: blue and cyan rather than terracotta, and no site chrome. */
.recruiting {
  --ja-blue: #4b59a5;
  --ja-cyan: #39bee8;
  --ja-gradient: radial-gradient(at center center, var(--ja-blue) 0%, var(--ja-cyan) 100%);
}

.ja {
  max-width: 840px;
  margin: 0 auto;
  background: var(--c-white);
}

.ja__bar {
  display: flex;
  align-items: center;
  gap: var(--gap);
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.ja__bar img {
  flex: 0 1 390px;
  max-width: 390px;
}

.ja__bar .ja-btn {
  margin-left: auto;
}

.ja__block {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.ja__block .title,
.ja__h3 {
  color: var(--ja-blue);
}

.ja__block a {
  color: var(--ja-blue);
  text-decoration: underline;
}

.ja__block a:hover,
.ja__block a:focus {
  color: var(--ja-cyan);
}

/* Blue "thank you" banner */
.ja__banner {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 0 50px 0 50px;
  background-image: radial-gradient(var(--ja-blue) 30%, var(--ja-cyan) 100%);
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.ja__banner .title,
.ja__banner p,
.ja__banner a {
  color: var(--c-white);
}

.ja__banner a {
  text-decoration: underline;
}

/* Book announcement banner - flat blue wash over white */
.ja__book {
  position: relative;
  isolation: isolate;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 0 50px 0 50px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  align-items: center;
}

.ja__book::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--ja-blue);
  opacity: 0.5;
}

.ja__book .title {
  color: var(--c-white);
  line-height: 46.08px;
}

/* Buttons: sentence case, chevrons on the right */
.ja-btn {
  display: inline-flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 9px;
  padding: 10px 20px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--f-sans);
  font-size: var(--t-body-size);
  font-weight: 400;
  line-height: var(--t-body-lh);
  text-transform: none;
  letter-spacing: normal;
  text-decoration: none;
  text-align: center;
}

.ja-btn:hover,
.ja-btn:focus {
  text-decoration: none;
}

.ja-btn__icon {
  display: inline-flex;
  width: 1em;
  height: 1em;
}

.ja-btn__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.ja-btn--outline {
  background: var(--c-white);
  color: var(--c-text);
  border: 2px solid var(--c-text);
}

.ja-btn--outline:hover,
.ja-btn--outline:focus {
  background: #e9f5fa;
  color: var(--c-text);
}

.ja-btn--gradient {
  gap: 17px;
  background-image: var(--ja-gradient);
  color: var(--c-white);
}

.ja-btn--gradient:hover,
.ja-btn--gradient:focus {
  background-image: radial-gradient(at center center, var(--ja-blue) 0%, var(--ja-blue) 100%);
  color: var(--c-white);
}

.ja-btn--light {
  gap: 17px;
  background: var(--c-white);
  color: var(--c-heading);
}

.ja-btn--light:hover,
.ja-btn--light:focus {
  background-image: radial-gradient(at center center, var(--ja-blue) 0%, var(--ja-blue) 100%);
  color: var(--c-white);
}

.ja__rule {
  width: 100%;
  border: 0;
  border-top: 2px solid var(--c-rule);
  margin: 0;
}

.ja__two {
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
}

.ja__two > * {
  flex: 1 1 0;
  min-width: 0;
}

.ja__h3 {
  font-family: var(--f-serif);
  font-size: 19.2px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: capitalize;
  margin: 0;
}

.ja__portrait {
  float: left;
  width: 150px;
  height: 150px;
  margin: 0 20px 10px 0;
}

.ja__quote {
  border: 2px solid var(--ja-blue);
  border-radius: 30px;
  padding: 40px;
}

.ja__quote-mark {
  display: block;
  width: 50px;
  height: 50px;
  color: rgba(57, 190, 232, 0.48);
}

.ja__quote-mark svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.ja__copyright {
  background: #f9fafd;
  padding: 10px 20px;
  text-align: center;
}

.ja__copyright p {
  margin: 0;
}

@media (max-width: 767px) {
  .ja__bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .ja__bar .ja-btn {
    margin-left: 0;
  }

  .ja__two {
    flex-direction: column;
  }

  .ja__banner,
  .ja__book {
    padding: 28px 24px;
  }
}

