@font-face {
  font-family: "Raleway Regular UPLOAD";
  src: url("/wp-content/uploads/et-fonts/Raleway-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: "Raleway Bold UPLOAD";
  src: url("/wp-content/uploads/et-fonts/Raleway-Bold.ttf") format("truetype");
  font-display: swap;
  font-weight: 700;
}

:root {
  --cf-navy: #16375a;
  --cf-green: #8dc63f;
  --cf-ink: #3d4a57;
  --cf-muted: #5c6b78;
  --cf-paper: #f5f7f6;
}

/* Homepage hero: the background video and four stacked headers
   lose their layout when the Divi dynamic stylesheet is missing. */
body.home .et_pb_section_1.et_pb_section_video {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #102033 !important;
  padding: 72px 0 64px;
}
body.home .et_pb_section_1 .et_pb_section_video_bg,
body.home .et_pb_section_video .et_pb_section_video_bg {
  position: absolute !important;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
body.home .et_pb_section_video_bg video,
body.home .et_pb_section_video_bg .wp-video,
body.home .et_pb_section_video_bg .mejs-container,
body.home .et_pb_section_video_bg .mejs__container,
body.home .et_pb_section_video_bg .mejs-inner,
body.home .et_pb_section_video_bg .mejs__inner,
body.home .et_pb_section_video_bg .mejs-mediaelement,
body.home .et_pb_section_video_bg .mejs__mediaelement,
body.home .et_pb_section_video_bg video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 0 !important;
  transform: none !important;
  object-fit: cover;
  background: transparent;
}
body.home .et_pb_section_video_bg .mejs-controls,
body.home .et_pb_section_video_bg .mejs__controls,
body.home .et_pb_section_video_bg .mejs-overlay,
body.home .et_pb_section_video_bg .mejs__overlay,
body.home .et_pb_section_video_bg .mejs-layers,
body.home .et_pb_section_video_bg .mejs__layers,
body.home .et_pb_section_video_bg .mejs-overlay-play,
body.home .et_pb_section_video_bg .mejs__overlay-play,
body.home .et_pb_section_video_bg .mejs__offscreen {
  display: none !important;
}
body.et_divi_theme {
  overflow-x: hidden;
}
body.home .et_pb_section_1.et_pb_section_video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 32, 51, 0.35), rgba(16, 32, 51, 0.55));
}
body.home .et_pb_section_1 > .et_pb_fullwidth_header {
  position: relative;
  z-index: 2;
  background: transparent !important;
  padding: 6px 8% !important;
  min-height: 0 !important;
}
body.home .et_pb_section_1 .et_pb_fullwidth_header_0,
body.home .et_pb_section_1 .et_pb_fullwidth_header_3 {
  display: none !important;
}
body.home .et_pb_section_1 .header-content-container,
body.home .et_pb_section_1 .header-content,
body.home .et_pb_section_1 .et_pb_fullwidth_header_container {
  width: min(920px, calc(100% - 48px)) !important;
  max-width: 920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  left: auto !important;
  right: auto !important;
  float: none !important;
  position: relative !important;
  text-align: center !important;
  box-sizing: border-box;
  padding-left: 8px !important;
  padding-right: 8px !important;
}
body.home .et_pb_section_1 .et_pb_module_header,
body.home .et_pb_section_1 .et_pb_fullwidth_header_subhead,
body.home .et_pb_section_1 .et_pb_header_content_wrapper,
body.home .et_pb_section_1 .et_pb_header_content_wrapper p {
  color: #fff !important;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
body.home .et_pb_section_1 .et_pb_module_header {
  font-family: "ff-cocon-pro", Georgia, serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 8px;
}
body.home .et_pb_section_1 .et_pb_fullwidth_header_subhead {
  display: block;
  font-size: 18px;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
body.home .et_pb_section_1 .et_pb_button_one {
  display: inline-block;
  margin-top: 18px;
  color: #fff !important;
  border: 2px solid #fff !important;
  background: transparent !important;
  padding: 12px 28px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
body.home .et_pb_section_1 .et_pb_button_one:hover {
  background: var(--cf-green) !important;
  border-color: var(--cf-green) !important;
  color: #16375a !important;
}
body.home .et_pb_preload::before,
.et_pb_preload::before {
  display: none !important;
}

.et_pb_section_parallax {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.et_parallax_bg_wrap,
.et_parallax_bg {
  position: absolute !important;
  inset: 0;
  background-size: cover !important;
  background-position: center center !important;
}
.et_pb_section_parallax > .et_pb_row,
.et_pb_section_parallax > .et_pb_fullwidth_header {
  position: relative;
  z-index: 2;
}

.et_pb_image_wrap img,
.et_pb_image img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, .et_pb_module_header {
  font-family: "ff-cocon-pro", Georgia, "Times New Roman", serif;
}
body, p, li, .et_pb_text_inner {
  font-family: "Raleway Regular UPLOAD", Raleway, "Segoe UI", sans-serif;
}

.et_pb_section_0_tb_footer {
  background: var(--cf-paper) !important;
  padding: 48px 0 28px !important;
}
.et_pb_section_1_tb_footer {
  background: var(--cf-navy) !important;
  color: #fff !important;
  padding: 22px 0 !important;
}
.et_pb_section_1_tb_footer p,
.et_pb_section_1_tb_footer a,
.et_pb_section_1_tb_footer span {
  color: #fff !important;
}
.et_pb_section_1_tb_footer a:hover {
  color: var(--cf-green) !important;
}

/* Inner pages share the same header, type, and footer as the main site. */
body.inner-page {
  margin: 0;
  color: var(--cf-ink);
  background: #fff;
  font-family: "Raleway Regular UPLOAD", Raleway, "Segoe UI", sans-serif;
  line-height: 1.7;
}
body.inner-page a {
  color: var(--cf-navy);
}
.site-header {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-logo img {
  display: block;
  width: 210px;
  height: auto;
}
.site-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.site-nav a {
  color: var(--cf-navy);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--cf-green);
}
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--cf-navy);
  position: absolute;
  left: 10px;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { content: ""; top: -7px; }
.nav-toggle span::after { content: ""; top: 7px; }

.page-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 32, 51, 0.25), rgba(16, 32, 51, 0.72));
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px 36px;
  width: 100%;
}
.page-hero .eyebrow {
  margin: 0 0 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--cf-green);
}
.page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2;
  font-weight: 400;
  max-width: 18ch;
}
.page-hero .meta {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.page-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}
.page-main p,
.page-main li {
  font-size: 17px;
  color: var(--cf-ink);
}
.page-main h2 {
  color: var(--cf-navy);
  font-size: 28px;
  font-weight: 400;
  margin: 36px 0 12px;
}
.page-main ul {
  padding-left: 1.2em;
}
.page-main .back-link {
  margin-top: 36px;
}
.page-main .back-link a {
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  border-bottom: 2px solid var(--cf-green);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}
.contact-card {
  background: var(--cf-paper);
  padding: 18px 18px 8px;
}
.contact-card h2 {
  margin-top: 0;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.entry-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.entry-list li {
  border-bottom: 1px solid #e4e8ea;
  padding: 18px 0;
}
.entry-list a {
  text-decoration: none;
  color: var(--cf-navy);
  font-family: "ff-cocon-pro", Georgia, serif;
  font-size: 22px;
}
.entry-list span {
  display: block;
  color: var(--cf-muted);
  font-size: 14px;
  margin-top: 4px;
}

.site-footer {
  background: var(--cf-navy);
  color: #fff;
  padding: 36px 24px 28px;
}
.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--cf-green); }
.footer-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}
.footer-contact h2 {
  color: var(--cf-green);
  font-size: 13px;
  letter-spacing: 0.14em;
  margin: 0 0 6px;
}
.footer-contact p { margin: 0; color: #fff; }
.footer-note {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 16px;
  font-size: 13px;
  letter-spacing: 0.04em;
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 24px 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  }
  .site-nav.is-open { display: flex; }
  .contact-grid,
  .footer-contact { grid-template-columns: 1fr; }
  body.home .et_pb_section_1.et_pb_section_video { min-height: 70vh; }
}
