/* kareasconsulting.com: one stylesheet. Tokens from source/design.json (measured on the old Avada site),
   contrast corrections listed in audit.md. */
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/assets/fonts/open-sans-latin-normal.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: 'Open Sans'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/assets/fonts/open-sans-latin-ext-normal.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: 'Open Sans'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/assets/fonts/open-sans-greek-normal.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }

:root {
  /* palette of the old site (logo navy and green, the theme's slate and greys) */
  --navy: #232960;
  --green: #a5bd4a;
  --ink: #272a40;        /* body text and the darkest bands */
  --slate: #3c3f53;      /* "Who we are" band */
  --grey: #91929e;       /* "Sectors" band */
  --mist: #e9eaf1;       /* "How we work" band */
  --paper: #f7f7f7;      /* text card */
  --white: #ffffff;
  --heading: #3b4251;    /* contact heading */
  --soft: #e7e7f0;       /* text on the darkest band */
  --line: #d2d2d2;       /* form fields */
  --error: #b00020;

  --font: 'Open Sans', Arial, Helvetica, sans-serif;

  /* spacing scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  --wrap: 1170px;
  --measure: 68ch;
  --text: 1.125rem;      /* 18px; the old 23px body was oversized in a 1170px card */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--s5); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: var(--text); line-height: 1.65; color: var(--ink); background: var(--white); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0 0 var(--s4); }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s2); top: -100px; z-index: 10; padding: var(--s2) var(--s4); background: var(--navy); color: var(--white); }
.skip:focus { top: var(--s2); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s5); }

/* header: logo left, one-page menu right, as before */
.site-header { background: var(--white); border-bottom: 1px solid var(--mist); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); padding-top: var(--s4); padding-bottom: var(--s4); }
.brand { display: block; flex: none; }
.brand img { width: 190px; height: auto; }
.site-nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: var(--s3) var(--s2); font-size: 0.9375rem; white-space: nowrap; color: var(--navy); text-decoration: none; border-top: 2px solid transparent; }
.site-nav a:hover { border-top-color: var(--green); }
.site-nav__lang a { font-weight: 700; }
.nav-toggle { display: none; }

/* hero: the old slider photo, navy tint, DAS and the tagline */
.hero { position: relative; display: grid; place-items: center; min-height: clamp(320px, 42vw, 760px); padding: var(--s8) var(--s5); background: var(--navy) center / cover no-repeat; color: var(--white); text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(35, 41, 96, .2); }
.hero__inner { text-shadow: 0 2px 12px rgba(20, 22, 50, .45); }
.hero__inner { position: relative; }
.hero__title { font-size: clamp(3rem, 8vw, 9rem); font-weight: 700; letter-spacing: .01em; }
.hero__sub { margin: var(--s8) 0 0; font-size: clamp(1.375rem, 2.6vw, 2.5rem); font-weight: 700; line-height: 1.2; }

/* bands */
.band { padding: var(--s8) 0; }
.band__title { margin-bottom: var(--s7); font-size: clamp(1.5rem, 2.6vw, 2.625rem); font-weight: 700; text-align: center; text-transform: none; }
.band__lead { max-width: 30ch; margin: calc(-1 * var(--s5)) auto var(--s7); font-size: clamp(1.5rem, 2.4vw, 2.125rem); font-weight: 300; line-height: 1.25; text-align: center; }
.band__lead--small { max-width: var(--measure); font-size: var(--text); font-weight: 400; line-height: 1.65; }
.prose { max-width: var(--measure); margin: 0 auto; }
.prose--center { text-align: center; }

.band--who { background: var(--slate); color: var(--white); }
.card { max-width: none; margin: 0 auto; padding: var(--s7) var(--s8); background: var(--paper); color: var(--ink); border-top: 8px solid var(--green); }
.card > * { max-width: var(--measure); margin-left: auto; margin-right: auto; }

.band--sectors { background: var(--grey); color: var(--white); }
.sectors { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s5) var(--s7); margin: 0; padding: 0; list-style: none; }
.sector { display: flex; flex-direction: column; background: var(--ink); grid-column: span 2; }
.sector--half { grid-column: span 3; }
.sector--full { grid-column: 1 / -1; }
.sector__title { padding: var(--s2) var(--s3); font-size: 0.9375rem; font-weight: 700; line-height: 1.4; color: var(--green); text-align: center; }
.sector__media { flex: 1; display: grid; place-items: center; }
.sector__media img { width: 100%; }
.sector--icon .sector__media { padding: var(--s3) var(--s4) var(--s4); }
.sector--icon .sector__media img { width: auto; }

.band--seek { position: relative; background: var(--ink) center / cover no-repeat; color: var(--white); }
.band--seek::before { content: ""; position: absolute; inset: 0; background: rgba(20, 24, 12, .45); }
.band--seek .prose, .band--seek .band__title { text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.band--seek .wrap { position: relative; }

.band--how { background: var(--mist); }
.band--how .band__title { color: var(--navy); }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s7); margin: 0 auto; padding: 0; list-style: none; }
.step { display: flex; flex-direction: column; align-items: center; gap: var(--s4); min-height: 240px; padding: var(--s6) var(--s5); background: var(--navy); color: var(--white); text-align: center; }
.step__num { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: var(--navy); font-size: 2rem; font-weight: 300; line-height: 1; }

.band--why { background: var(--ink); color: var(--soft); }
.band__title--rule::after { content: ""; display: block; width: 135px; height: 2px; margin: var(--s6) auto 0; background: var(--green); }

.band--contact { padding-bottom: 0; background: var(--white); }
.band--contact .band__title { color: var(--heading); }
.contact { display: grid; grid-template-columns: auto auto; justify-content: space-between; gap: var(--s5) var(--s7); max-width: 760px; margin: 0 auto var(--s7); }
.contact__address, .contact__email { display: flex; align-items: flex-start; gap: var(--s2); margin: 0; }
.contact__address span { text-wrap: balance; } /* no lone "AG" on a phone line */
.contact__address svg, .contact__email svg { width: 18px; height: 18px; flex: none; margin-top: var(--s1); color: var(--navy); }
.contact__email a { display: inline-block; margin-top: calc(-1 * var(--s2)); padding: var(--s2) 0; color: var(--navy); }
.contact__form { max-width: 760px; margin: 0 auto var(--s8); }
.map { display: block; width: 100%; height: 420px; border: 0; background: var(--mist); }

/* contact form (markup from the build, content/forms/*.json) */
.cms-form { max-width: none; }
.cms-form__field { margin-bottom: var(--s4); }
.cms-form__field label { display: block; margin-bottom: var(--s1); font-weight: 700; color: var(--navy); }
.cms-form input:not([type="checkbox"]), .cms-form textarea, .cms-form select { width: 100%; min-height: 48px; padding: var(--s2) var(--s3); font: inherit; color: var(--ink); background: var(--white); border: 1px solid #8a8a8a; border-radius: 0; }
.cms-form textarea { min-height: 160px; resize: vertical; }
.cms-form [data-invalid] :is(input, textarea, select) { border-color: var(--error); }
.cms-form__error { margin: var(--s1) 0 0; color: var(--error); }
.cms-form__req { color: var(--error); }
.cms-form__submit { min-height: 48px; padding: 0 var(--s6); font: inherit; font-weight: 700; color: var(--navy); background: var(--white); border: 2px solid var(--navy); border-radius: 0; cursor: pointer; }
.cms-form__submit:hover { color: var(--white); background: var(--navy); }
.cms-form__submit:disabled { opacity: .6; cursor: progress; }
.cms-form__status { margin-top: var(--s4); }
.cms-form__status:empty { margin: 0; }
.cms-form__status[data-state="success"] { color: var(--navy); font-weight: 700; }
.cms-form__status[data-state="error"] { color: var(--error); }

.band--plain { min-height: 50vh; }
.band--plain h1 { margin-bottom: var(--s5); color: var(--navy); font-size: 2.25rem; }

.site-footer { padding: var(--s5) 0; background: var(--green); font-size: 0.875rem; text-align: center; color: var(--ink); } /* the old green bar; ink text instead of white for AA contrast */
.site-footer p { margin: 0; }
.site-footer a { display: inline-block; padding: var(--s2) 0; }

/* tablet and phone (the old theme switched to the mobile menu at 1024px) */
@media (max-width: 1024px) {
  .js .nav-toggle { display: block; min-height: 44px; padding: 0 var(--s4); font: inherit; font-weight: 700; color: var(--navy); background: var(--white); border: 2px solid var(--navy); cursor: pointer; }
  .site-header__inner { flex-wrap: wrap; }
  .js .site-nav { display: none; flex-basis: 100%; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: var(--s3) 0; border-top: 1px solid var(--mist); }
}
@media (max-width: 800px) {
  :root { --text: 1.0625rem; }
  .band { padding: var(--s7) 0; }
  .band__title { margin-bottom: var(--s6); }
  .band__lead { margin-top: calc(-1 * var(--s4)); margin-bottom: var(--s6); }
  .hero__sub { margin-top: var(--s6); }
  .card { padding: var(--s6) var(--s5); }
  .sectors { grid-template-columns: 1fr; gap: var(--s5); }
  .sector, .sector--half, .sector--full { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .contact { grid-template-columns: 1fr; }
  .band--contact { padding-bottom: 0; } /* the map meets the footer, as at 1280 */
  .brand img { width: 150px; }
}
