/* RelaNex Group — site stylesheet */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-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: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-wght-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;
}
:root {
  --navy: #102d4d;
  --navy-deep: #0d2742;
  --cyan: #169dc6;
  --cyan-dark: #1188ad;
  /* Accessible variants of the brand cyan (WCAG AA 4.5:1 for small text) */
  --cyan-text: #0d7196;      /* small cyan text on white / pale grey */
  --cyan-text-hover: #0b5f7d;
  --cyan-btn: #117fa6;       /* cyan button background with white text */
  --cyan-btn-hover: #0e6f91;
  --cyan-on-navy: #2ab4de;   /* cyan text on navy */
  --ink: #1b2b3d;
  --text: #24364a;
  --muted: #4a5b6e;
  --pale: #eff3f7;
  --pale-2: #e6ecf2;
  --line: #d6dee7;
  --white: #fff;
  --radius: 4px;
  --wrap: 1440px;
  --gutter: 44px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--navy); margin: 0; letter-spacing: -0.02em; line-height: 1.12; overflow-wrap: break-word; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(22, 157, 198, .45); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.c { color: var(--cyan); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(6px);
}
.site-header .wrap { display: flex; align-items: center; height: 70px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; flex: none; }
.brand-mark { width: auto; height: 46px; flex: none; }
.wordmark {
  font-size: 33px; font-weight: 800; letter-spacing: -0.035em; color: var(--navy);
  white-space: nowrap; line-height: 1;
}
.wordmark span { color: var(--cyan); }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  position: relative; font-size: 17px; font-weight: 600; color: var(--ink);
  padding: 23px 0; white-space: nowrap; transition: color .15s;
}
.main-nav a:hover { color: var(--cyan-text); }
.main-nav a[aria-current="page"], .main-nav a.is-section { color: var(--navy); }
.main-nav a[aria-current="page"]::after, .main-nav a.is-section::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 3px; background: var(--cyan); border-radius: 2px;
}
.lang { display: flex; align-items: center; gap: 0; font-size: 16px; color: var(--muted); padding-left: 20px; border-left: 1px solid var(--line); line-height: 22px; }
.lang a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 28px; min-height: 30px; padding: 2px 4px; border-radius: 3px; }
.lang .sep { padding: 0 2px; }
.lang .flag { width: 22px; height: 11px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(16, 45, 77, .18); }
.lang a:not([aria-current="true"]) .flag { opacity: .8; }
.lang a:hover .flag { opacity: 1; }
.lang a[aria-current="true"] { color: var(--cyan-text); font-weight: 700; }
.lang a:hover { color: var(--cyan-text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 17px; line-height: 1.2; border-radius: var(--radius);
  padding: 13px 26px; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #18406b; }
.btn-cyan { background: var(--cyan-btn); color: #fff; }
.btn-cyan:hover { background: var(--cyan-btn-hover); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { font-size: 16px; padding: 9px 16px; }
.btn .arrow { width: 18px; height: 18px; flex: none; }
.site-header .btn { margin-left: 4px; }
.main-nav .menu-cta { display: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 44px; height: 40px; padding: 0; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

/* ---------- Generic text ---------- */
.eyebrow { font-size: 18px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--cyan-text); }
.link {
  display: inline-flex; align-items: center; gap: 8px; color: var(--cyan-text); font-weight: 700; font-size: 18px;
  transition: gap .15s, color .15s;
}
.link:hover { gap: 12px; color: var(--cyan-text-hover); }
.link .arrow { width: 18px; height: 18px; flex: none; }
.breadcrumb { font-size: 16px; color: var(--ink); display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb a { color: var(--cyan-text); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--ink); }
.note { font-size: 16px; color: var(--muted); }
.note-italic { font-style: italic; }

/* ---------- Page hero (split) ---------- */
.page-hero { padding: 22px 0 0; }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 49%); gap: 40px; align-items: start; }
.page-hero .hero-text { display: flex; flex-direction: column; padding-top: 0; }
.page-hero .breadcrumb { margin-bottom: 20px; }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { font-size: 58px; font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; }
/* Intro text under page headings: one size for every line (21px desktop, 18px phones) */
.page-hero .lead { margin-top: 26px; font-size: 21px; line-height: 1.45; color: var(--ink); max-width: 660px; }
.page-hero .sub { margin-top: 10px; font-size: 21px; line-height: 1.45; color: var(--ink); max-width: 660px; }
.page-hero .hero-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 20px; }
.hero-media { margin: 10px 0 0; }
.hero-media img { width: 100%; aspect-ratio: 2.35 / 1; object-fit: cover; border-radius: 2px; background: var(--pale); }
.hero-media figcaption { margin-top: 8px; font-size: 15px; color: var(--muted); font-style: italic; text-align: right; }
.hero-media.cap-left figcaption { text-align: left; font-style: normal; }

/* ---------- Sections ---------- */
.section { padding-top: 46px; }
.section-head { display: flex; align-items: center; gap: 26px; margin-bottom: 26px; }
.section-head h2 { font-size: 36px; font-weight: 800; }
.section-head .rule { flex: 1; height: 2px; background: var(--cyan); opacity: .85; }
.section-head .link { margin-left: auto; }
.section-head.over-rule { flex-direction: column; align-items: flex-start; gap: 16px; }
.section-head.over-rule::before { content: ""; width: 276px; height: 2px; background: var(--cyan); }

/* ---------- Icon cards ---------- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.icard {
  display: flex; align-items: stretch; gap: 0;
  background: var(--pale); border-radius: var(--radius); padding: 22px 22px 22px 18px;
  transition: box-shadow .2s, transform .2s, background-color .2s;
}
.icard.bordered { background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(16, 45, 77, .04); }
a.icard:hover, .icard.has-link:hover { box-shadow: 0 6px 22px rgba(16, 45, 77, .09); transform: translateY(-1px); }
.icard .ic { flex: none; width: 92px; display: flex; align-items: center; justify-content: center; border-right: 1px solid #c9d3de; margin-right: 22px; padding-right: 18px; }
.icard .ic svg { width: 64px; height: 64px; }
.icard > div { min-width: 0; }
.icard h3 { font-size: 23px; font-weight: 800; margin-bottom: 8px; }
.icard p { font-size: 17px; color: var(--text); line-height: 1.4; }
.icard .link { margin-top: 12px; font-size: 18px; }
.grid-4 .icard { padding: 20px 16px 20px 12px; }
.grid-4 .icard .ic { width: 74px; margin-right: 16px; padding-right: 12px; }
.grid-4 .icard .ic svg { width: 58px; height: 58px; }
.grid-4 .icard h3 { font-size: 20.5px; }
.grid-4 .icard p { font-size: 16px; }
.grid-3 .icard h3 { font-size: 22px; }
.grid-2 .icard { padding-top: 26px; padding-bottom: 26px; }
.grid-2 .icard .ic { width: 120px; }
.grid-2 .icard .ic svg { width: 72px; height: 72px; }

/* ---------- Lists ---------- */
.sq-list li { position: relative; padding-left: 30px; font-size: 19px; color: var(--ink); line-height: 1.6; }
.sq-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; background: var(--cyan); }
.sq-list.sm li { font-size: 16px; line-height: 1.4; padding-left: 28px; margin-bottom: 4px; }
.sq-list.sm li::before { top: .45em; }

.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.col-block h2, .col-block h3.h { font-size: 30px; font-weight: 800; padding-bottom: 12px; border-bottom: 2px solid var(--cyan); margin-bottom: 18px; }
.col-block.ruled-top { border-top: 2px solid var(--cyan); padding-top: 14px; }
.col-block.ruled-top h2, .col-block.ruled-top h3.h { border-bottom: 0; padding-bottom: 0; margin-bottom: 8px; }
.col-block.panel { background: var(--pale); border-radius: var(--radius); padding: 22px 28px 26px; }
.col-block .dots { font-size: 18px; color: var(--ink); }

/* ---------- Strips / bands ---------- */
.strip { background: var(--pale); border-radius: var(--radius); display: flex; align-items: center; padding: 18px 26px; gap: 28px; }
.strip .strip-title { font-size: 28px; font-weight: 800; color: var(--navy); line-height: 1.12; max-width: 360px; }
.strip .divider { width: 1px; align-self: stretch; background: #c3cdd8; }
.strip .items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); flex: 1; align-items: center; min-width: 0; }
.strip .item { display: flex; align-items: center; gap: 14px; font-size: 18px; color: var(--ink); padding: 6px 16px; border-left: 1px solid #c3cdd8; line-height: 1.3; min-width: 0; }
.strip .item:first-child { border-left: 0; }
.strip .item svg { width: 40px; height: 40px; flex: none; }

.cta-band { background: var(--navy); color: #fff; margin-top: 30px; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 96px; padding-top: 18px; padding-bottom: 18px; }
.cta-band h2 { color: #fff; font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }
.cta-band .btn { font-size: 20px; padding: 12px 24px; }
.cta-band h2.long { font-size: 31px; }

/* ---------- Footer ---------- */
.site-footer .wrap { border-top: 1px solid var(--line); display: flex; align-items: center; min-height: 56px; gap: 24px; font-size: 16px; color: var(--ink); margin-top: 10px; }
.site-footer .loc { margin-left: 120px; }
.site-footer nav { margin-left: auto; display: flex; gap: 38px; }
.site-footer nav a:hover { color: var(--cyan-text); }

/* ---------- Home ---------- */
.home-hero { padding: 32px 0 0; }
.home-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 49.5%); gap: 44px; align-items: start; }
.home-hero .eyebrow { margin-bottom: 18px; }
.home-hero h1 { font-size: 60px; font-weight: 800; line-height: 1.0; letter-spacing: -0.03em; }
.home-hero .lead { margin-top: 28px; font-size: 21px; line-height: 1.45; color: var(--ink); }
.home-hero .hero-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 22px; }
.home-hero .hero-actions .btn { font-size: 19px; padding: 12px 29px; }
.home-hero .quiet { margin-top: 22px; font-size: 16px; color: var(--ink); }

.carousel { position: relative; margin-top: 0; border-radius: 2px; overflow: hidden; background: var(--pale); }
.carousel .slides { position: relative; aspect-ratio: 1.68 / 1; }
.carousel .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.carousel .slide.is-active { opacity: 1; visibility: visible; }
.carousel .slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel .slide figcaption { position: absolute; left: 0; bottom: 0; margin: 0 0 14px 14px; background: rgba(16, 45, 77, .86); color: #fff; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 3px; letter-spacing: .01em; }
.hero-carousel .slides { aspect-ratio: 2.35 / 1; }
.carousel-controls { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .92); border-radius: 3px; padding: 5px 6px; }
.carousel-controls button { background: none; border: 0; cursor: pointer; color: var(--navy); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 3px; padding: 0; }
.carousel-controls button:hover { background: var(--pale-2); }
.carousel-controls svg { width: 18px; height: 18px; }
.carousel-dots { display: flex; gap: 0; padding: 0; }
.carousel-dots button { width: 24px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 3px; }
.carousel-dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #75879c; transition: background-color .15s; }
.carousel-dots button[aria-current="true"]::before { background: var(--cyan-btn); }
.carousel-dots button:hover::before { background: var(--navy); }

.audiences { margin-top: 30px; }
.audiences .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-left: 18px; padding-right: 18px; }
.aud-card { background: var(--pale); border-radius: var(--radius); display: flex; align-items: center; padding: 22px 26px; min-height: 148px; transition: box-shadow .2s; }
.aud-card:hover { box-shadow: 0 6px 22px rgba(16, 45, 77, .09); }
.aud-card .ic { width: 140px; flex: none; display: flex; justify-content: center; border-right: 1px solid #c3cdd8; margin-right: 28px; align-self: stretch; align-items: center; }
.aud-card .ic svg { width: 96px; height: 96px; }
.aud-card h2 { font-size: 30px; font-weight: 800; }
.aud-card p { margin-top: 10px; font-size: 17px; color: var(--text); }
.aud-card .link { margin-top: 12px; }

.service-preview { padding-top: 44px; }
.service-preview .section-head h2 { font-size: 33px; }
.teasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.teaser { border-top: 2px solid var(--cyan); padding-top: 18px; display: block; }
.teaser h3 { font-size: 25px; font-weight: 700; letter-spacing: -0.015em; }
.teaser p { margin-top: 8px; font-size: 17px; color: var(--text); }
.teaser:hover h3 { color: var(--cyan-text); }

/* ---------- Services overview ---------- */
.intro-band { background: linear-gradient(180deg, #edf1f6, #f2f5f8); padding: 22px 0 24px; }
.intro-band .breadcrumb { margin-bottom: 16px; }
.intro-band .eyebrow { margin-bottom: 10px; }
.intro-band h1 { font-size: 54px; font-weight: 800; letter-spacing: -0.03em; }
.intro-band .lead { margin-top: 14px; font-size: 21px; line-height: 1.45; color: var(--ink); }
.intro-band .sub { margin-top: 2px; font-size: 21px; line-height: 1.45; color: var(--ink); }
.feature-navy { background: var(--navy); border-radius: 6px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 41.5%); gap: 30px; padding: 10px 10px 10px 42px; color: #fff; margin-top: 20px; align-items: center; }
.feature-navy .eyebrow { margin-top: 16px; }
.feature-navy h2 { color: #fff; font-size: 48px; font-weight: 800; margin-top: 10px; }
.feature-navy p { margin-top: 18px; font-size: 19px; }
.feature-navy .eyebrow { color: var(--cyan-on-navy); }
.feature-navy .link { margin-top: 22px; font-size: 22px; color: var(--cyan-on-navy); }
.feature-navy .link:hover { color: #7fd3ee; }
.feature-navy img { width: 100%; height: 100%; min-height: 200px; aspect-ratio: 2.82 / 1; object-fit: cover; border-radius: 3px; }
.academy-sign { display: flex; align-items: center; gap: 18px; margin-top: 22px; font-size: 19px; color: var(--ink); padding-left: 2px; }
.academy-sign svg { width: 36px; height: 36px; }
.academy-sign a { color: var(--cyan-text); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.academy-sign a:hover { color: var(--cyan-text-hover); }

/* ---------- Who we help ---------- */
.crumb-bar { background: var(--pale-2); border-radius: var(--radius); padding: 10px 22px; margin-top: 18px; }
.aud-detail { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px 26px; background: #fff; }
.aud-detail img { width: 100%; aspect-ratio: 3.4 / 1; object-fit: cover; border-radius: 2px; }
.aud-detail h2 { font-size: 32px; font-weight: 800; margin-top: 12px; }
.aud-detail .lead { margin-top: 6px; font-size: 17px; color: var(--ink); padding-bottom: 18px; border-bottom: 2px solid var(--cyan); }
.aud-detail h3 { font-size: 22px; font-weight: 800; margin: 14px 0 6px; }
.aud-detail .block + .block { border-top: 1px solid var(--line); margin-top: 14px; }
.aud-detail .link { margin-top: 20px; }

/* ---------- Experience ---------- */
.info-note { display: inline-flex; align-items: center; gap: 14px; background: var(--pale-2); border-radius: var(--radius); padding: 10px 18px; margin-top: 16px; font-size: 18px; color: var(--ink); }
.info-note svg { width: 26px; height: 26px; flex: none; }
.info-note.wide { display: flex; width: 100%; }
.ex-card { background: var(--pale); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.ex-card .media { position: relative; }
.ex-card .media img { width: 100%; aspect-ratio: 2.35 / 1; object-fit: cover; }
.ex-card .tag { position: absolute; left: 12px; top: 12px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; padding: 5px 9px; border-radius: 3px; }
.ex-card .body { padding: 18px 20px 26px; display: flex; flex-direction: column; flex: 1; }
.ex-card h2 { font-size: 24px; font-weight: 800; margin-bottom: 18px; }
.ex-card h3 { font-size: 18px; color: var(--cyan-text); font-weight: 700; letter-spacing: 0; }
.ex-card p { font-size: 17px; color: var(--ink); margin-top: 4px; }
.ex-card .rule { height: 1px; background: #c9d3de; margin: 14px 0; }
.ex-card .link { margin-top: auto; padding-top: 22px; }
.records { display: grid; grid-template-columns: auto auto 1fr; align-items: center; background: var(--pale); border-radius: var(--radius); padding: 18px 30px; gap: 0; }
.records .ic { padding-right: 28px; border-right: 1px solid #c3cdd8; }
.records .ic svg { width: 48px; height: 48px; }
.records h2 { font-size: 34px; font-weight: 800; padding: 0 42px 0 28px; border-right: 1px solid #c3cdd8; }
.records p { padding-left: 42px; font-size: 17px; color: var(--ink); }

/* ---------- About ---------- */
.about-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 40%); gap: 70px; align-items: start; }
.about-split h2 { font-size: 36px; font-weight: 800; }
.about-split p { font-size: 20px; color: var(--ink); margin-top: 22px; line-height: 1.45; }
.focus-box { background: var(--pale); border-radius: var(--radius); padding: 18px 26px 16px 34px; }
.focus-box h3 { font-size: 27px; font-weight: 800; margin-bottom: 10px; }
.focus-box li { font-size: 18px; color: var(--ink); padding: 6px 0; border-bottom: 1px solid #c3cdd8; }
.focus-box li:last-child { border-bottom: 0; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); }
.principle { display: flex; gap: 28px; padding: 6px 20px; border-left: 1px solid #c3cdd8; }
.principle:first-child { border-left: 0; padding-left: 20px; }
.principle svg { width: 68px; height: 68px; flex: none; }
.principle h3 { font-size: 25px; font-weight: 800; }
.principle p { font-size: 17px; margin-top: 8px; color: var(--ink); }
.based-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--pale); border-radius: var(--radius); padding: 14px 34px; margin-top: 36px; }
.based-bar strong { font-size: 22px; color: var(--navy); letter-spacing: -0.01em; }

/* ---------- Academy ---------- */
.team-block { background: var(--pale); border-radius: var(--radius); padding: 18px 18px 22px; }
.team-block h2 { font-size: 32px; font-weight: 800; }
.team-cols { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; }
.team-cols div { display: flex; align-items: center; gap: 22px; padding: 4px 40px; border-left: 1px solid #c3cdd8; font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.25; }
.team-cols div:first-child { border-left: 0; padding-left: 0; }
.team-cols svg { width: 50px; height: 50px; flex: none; }
.team-block figure { margin: 0; }
.team-block figure img { width: 100%; height: 100%; aspect-ratio: 1.78 / 1; object-fit: cover; border-radius: 2px; }
.team-block figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.mail-line { display: inline-flex; align-items: center; gap: 14px; color: var(--cyan-text); font-size: 21px; overflow-wrap: anywhere; font-weight: 600; margin-top: 16px; }
.mail-line svg { width: 28px; height: 28px; }
.mail-line:hover { color: var(--cyan-text-hover); }
.cta-boxed { background: var(--navy); border-radius: 4px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 14px 24px 14px 32px; margin-top: 26px; }
.cta-boxed h2 { color: #fff; font-size: 32px; font-weight: 800; }

/* ---------- Contact ---------- */
.contact-head { padding: 18px 0 0; }
.contact-head .breadcrumb { margin-bottom: 18px; }
.contact-head .eyebrow { margin-bottom: 8px; }
.contact-head h1 { font-size: 50px; font-weight: 800; letter-spacing: -0.03em; }
.contact-head .lead, .contact-head .sub { font-size: 21px; line-height: 1.45; color: var(--ink); }
.contact-head .lead { margin-top: 14px; }
.contact-head .sub { margin-top: 2px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 37.5%) minmax(0, 1fr); gap: 36px; margin-top: 32px; align-items: start; }
.contact-grid h2 { font-size: 32px; font-weight: 800; }
.contact-grid > * { min-width: 0; }
.contact-rows { margin-top: 18px; }
.contact-rows li { display: flex; align-items: center; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-rows li:last-child { border-bottom: 0; }
.contact-rows svg { width: 52px; height: 44px; flex: none; }
.contact-rows strong { display: block; font-size: 20px; color: var(--navy); }
.contact-rows a, .contact-rows span { font-size: 20px; }
.contact-rows a { color: var(--cyan-text); font-weight: 600; }
.contact-rows a:hover { text-decoration: underline; }
.useful { background: var(--pale); border-radius: var(--radius); padding: 20px 24px 22px; margin-top: 12px; }
.useful h3 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.useful .sq-list li { font-size: 18px; line-height: 1.55; }
.useful p { margin-top: 8px; font-size: 15px; color: var(--ink); }
.form-card { border: 1px solid #c9d3de; border-radius: 6px; padding: 26px 28px 30px; background: #fff; }
.form-card h2 { margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 18px; color: var(--navy); }
.field label .opt { font-weight: 400; color: var(--muted); font-size: 15px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #a9b6c4; border-radius: 3px; padding: 10px 14px; font-size: 17px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input, .field select { height: 44px; }
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(22, 157, 198, .18); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102d4d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 44px; }
.field [aria-invalid="true"] { border-color: #c0392b; }
.field .err { color: #b03a2e; font-size: 14px; min-height: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy-line { margin-top: 20px; font-size: 16px; color: var(--ink); }
.privacy-line a { color: var(--cyan-text); text-decoration: underline; }
.form-card .btn { margin-top: 18px; font-size: 21px; padding: 12px 30px; }
.form-card .btn[disabled] { opacity: .65; cursor: progress; }
.form-status { margin-top: 16px; font-size: 16px; padding: 12px 16px; border-radius: 3px; display: none; }
.form-status.ok { display: block; background: #e7f6ee; color: #1b5e3b; }
.form-status.bad { display: block; background: #fdecea; color: #8a2b20; }
.statement-band { background: var(--navy); margin-top: 42px; }
.statement-band .wrap { min-height: 70px; display: flex; align-items: center; }
.statement-band p { color: #fff; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }

/* ---------- EPC steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; align-items: center; padding: 0 22px; }
.step { display: flex; align-items: center; gap: 20px; font-size: 21px; font-weight: 700; color: var(--navy); }
.step .num { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--cyan); color: var(--cyan-text); display: grid; place-items: center; font-size: 20px; font-weight: 700; flex: none; }
.step .to { width: 30px; height: 20px; color: var(--cyan); margin-left: 26px; }

.link-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.link-row a { display: flex; justify-content: center; align-items: center; gap: 10px; color: var(--cyan-text); font-weight: 700; font-size: 22px; border-left: 1px solid #c3cdd8; padding: 6px 10px; }
.link-row a:first-child { border-left: 0; justify-content: flex-start; padding-left: 24px; }
.link-row a:hover { color: var(--cyan-text-hover); }
.link-row a .arrow { width: 20px; height: 20px; }

.wide-panel { background: var(--pale); border-radius: var(--radius); display: flex; align-items: center; padding: 22px 30px; gap: 0; }
.wide-panel .ic { padding-right: 32px; border-right: 1px solid #c3cdd8; margin-right: 26px; }
.wide-panel .ic svg { width: 66px; height: 66px; }
.wide-panel h2 { font-size: 32px; font-weight: 800; }
.wide-panel p { margin-top: 8px; font-size: 20px; color: var(--ink); }

.side-figure { margin: 0; }
.side-figure img { width: 100%; aspect-ratio: 1.6 / 1; object-fit: cover; border-radius: 2px; }
.side-figure figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.cols-3m { display: grid; grid-template-columns: 1fr 1fr minmax(0, .9fr); gap: 44px; align-items: start; }

/* ---------- Privacy ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 26px; margin: 34px 0 10px; }
.prose p, .prose li { font-size: 18px; color: var(--ink); line-height: 1.6; }
.prose p + p { margin-top: 12px; }
.prose a { color: var(--cyan-text); text-decoration: underline; }

/* ---------- In-detail service content ---------- */
.deep { padding-top: 56px; }
.deep-grid { display: grid; grid-template-columns: minmax(0, 860px); gap: 56px; }
.deep-grid.has-toc { grid-template-columns: minmax(0, 1fr) 300px; }
.deep-body { max-width: 860px; }
.deep-block + .deep-block { margin-top: 44px; padding-top: 40px; border-top: 1px solid var(--line); }
.deep-block h3 { font-size: 27px; font-weight: 800; scroll-margin-top: 90px; }
.deep-block > p { font-size: 18px; line-height: 1.65; color: var(--ink); margin-top: 12px; }
.deep-block h4 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 22px 0 10px; letter-spacing: -0.01em; }
.deep-block .sq-list.sm li { font-size: 16.5px; line-height: 1.55; margin-bottom: 8px; color: var(--text); }
.deep-block .sq-list.sm li strong { color: var(--navy); }
.deep-block div > p { font-size: 16.5px; line-height: 1.6; color: var(--text); margin-top: 8px; }
.deep-block .std { background: var(--pale); border-left: 3px solid var(--cyan); border-radius: var(--radius); padding: 2px 18px 14px; margin-top: 20px; }
.deep-block .std h4 { margin-top: 14px; }
.deep-toc { position: sticky; top: 96px; align-self: start; background: var(--pale); border-radius: var(--radius); padding: 18px 22px 20px; }
.deep-toc .eyebrow { font-size: 14px; margin-bottom: 10px; }
.deep-toc li { border-top: 1px solid #c9d3de; }
.deep-toc li:first-child { border-top: 0; }
.deep-toc a { display: block; padding: 9px 0; font-size: 15.5px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.deep-toc a:hover { color: var(--cyan-text); }
@media (max-width: 980px) {
  .deep-grid.has-toc { grid-template-columns: minmax(0, 1fr); }
  .deep-toc { position: static; order: -1; }
  .deep-block h3 { font-size: 23px; }
  .deep-block > p { font-size: 17px; }
}

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel .slide { transition: none; }
}

/* ---------- Responsive ---------- */
/* ---------- Azerbaijani edition: longer words need a little more room ---------- */
.site-header .wrap { gap: 18px; }
html[lang="az"] .home-hero h1 { font-size: 54px; }
html[lang="az"] .home-hero .hero-actions .btn { font-size: 17px; padding: 12px 22px; }
@media (min-width: 1401px) {
  /* Azerbaijani menu words are longer: compact header so it fits the 1440px content width */
  html[lang="az"] .wordmark { font-size: 28px; }
  html[lang="az"] .brand-mark { height: 40px; }
  html[lang="az"] .brand { gap: 7px; }
  html[lang="az"] .site-header .wrap { gap: 14px; }
  html[lang="az"] .main-nav { gap: 17px; }
  html[lang="az"] .main-nav a { font-size: 15px; }
  html[lang="az"] .lang { padding-left: 12px; }
  html[lang="az"] .site-header .btn-sm { font-size: 14px; padding: 9px 12px; }
}
@media (min-width: 1181px) and (max-width: 1400px) {
  /* switch to the menu button earlier than the English edition */
  html[lang="az"] .nav-toggle { display: grid; order: 3; }
  html[lang="az"] .site-header .btn { order: 2; }
  html[lang="az"] .lang { order: 1; border-left: 0; padding-left: 0; }
  html[lang="az"] .main-nav {
    position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 6px var(--gutter) 16px; display: none;
    box-shadow: 0 16px 30px rgba(16, 45, 77, .08);
  }
  html[lang="az"] .main-nav.open { display: flex; }
  html[lang="az"] .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--pale-2); font-size: 18px; }
  html[lang="az"] .main-nav a[aria-current="page"]::after, html[lang="az"] .main-nav a.is-section::after { left: -12px; right: auto; top: 14px; bottom: 14px; width: 3px; height: auto; }
}
@media (max-width: 1460px) {
  .wordmark { font-size: 29px; }
  .brand-mark { height: 40px; }
  .brand { gap: 7px; }
}
@media (max-width: 1400px) {
  .main-nav { gap: 22px; }
  .main-nav a { font-size: 16px; }
  .lang { padding-left: 14px; }
}
@media (max-width: 1320px) {
  .site-header .wrap { gap: 14px; }
  .lang { padding-left: 10px; }
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 16px; }
  .wordmark { font-size: 27px; }
  .brand-mark { height: 38px; }
  .page-hero h1, .home-hero h1 { font-size: 52px; }
  .site-footer .loc { margin-left: 60px; }
}
@media (max-width: 1180px) {
  :root { --gutter: 32px; }
  .site-header .wrap { gap: 16px; }
  .nav-toggle { display: grid; order: 3; }
  .site-header .btn { order: 2; }
  .lang { order: 1; border-left: 0; padding-left: 0; }
  .main-nav {
    position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 6px var(--gutter) 16px; display: none;
    box-shadow: 0 16px 30px rgba(16, 45, 77, .08);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--pale-2); font-size: 18px; }
  .main-nav a[aria-current="page"]::after, .main-nav a.is-section::after { left: -12px; right: auto; top: 14px; bottom: 14px; width: 3px; height: auto; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip { flex-wrap: wrap; }
  .strip .items { flex-basis: 100%; gap: 6px 0; }
  .strip .item { padding-left: 0; border-left: 0; }
  .steps { grid-template-columns: repeat(2, auto); gap: 18px 30px; justify-content: start; }
  .step .to { display: none; }
}
@media (max-width: 980px) {
  body { font-size: 16px; }
  .team-cols { grid-template-columns: 1fr; gap: 12px; }
  .team-cols div, .team-cols div:first-child { border-left: 0; padding-left: 0; }
  .strip .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip .item:nth-child(3) { border-left: 0; }
  .br-desk { display: none; }
  .page-hero .wrap, .home-hero .wrap, .about-split, .contact-grid, .feature-navy { grid-template-columns: 1fr; }
  .page-hero h1, .home-hero h1 { font-size: 46px !important; }
  .hero-media { margin-top: 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2, .audiences .wrap, .cols-2, .cols-3m { grid-template-columns: 1fr; }
  .cols-2, .cols-3m { gap: 34px; }
  .teasers { grid-template-columns: 1fr; gap: 26px; }
  .principles { grid-template-columns: 1fr; gap: 22px; }
  .principle, .principle:first-child { border-left: 0; padding-left: 0; }
  .feature-navy { padding: 10px; }
  .feature-navy > div { padding: 10px 18px 22px; }
  .feature-navy h2 { font-size: 38px; }
  .records { grid-template-columns: auto 1fr; row-gap: 14px; }
  .records h2 { border-right: 0; padding-right: 0; }
  .records p { grid-column: 1 / -1; padding-left: 0; }
  .link-row { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .link-row a, .link-row a:first-child { justify-content: flex-start; padding-left: 16px; border-left: 2px solid var(--cyan); }
  .cta-band .wrap, .cta-boxed { flex-direction: column; align-items: flex-start; padding-top: 26px; padding-bottom: 26px; }
  .cta-band h2, .cta-boxed h2 { font-size: 30px; }
  .section-head h2 { font-size: 31px; }
}
@media (max-width: 700px) {
  :root { --gutter: 16px; }
  .wordmark { font-size: 23px; }
  .brand { gap: 7px; }
  .brand-mark { height: 36px; }
  .site-header .btn { display: none; }
  .site-header .wrap { gap: 10px; }
  .icard { flex-direction: column; padding: 18px; }
  .icard .ic, .grid-4 .icard .ic { width: auto; border-right: 0; margin: 0 0 10px; padding: 0; justify-content: flex-start; }
  .icard h3, .grid-4 .icard h3, .grid-3 .icard h3 { font-size: 20px; }
  .contact-grid h2, .form-card h2 { font-size: 25px; }
  .form-card .btn { font-size: 18px; padding: 12px 20px; white-space: normal; }
  .mail-line { font-size: 17px; }
  .strip .items { grid-template-columns: 1fr; }
  /* phones: flags only; the language name stays available to screen readers */
  .lang a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lang a { min-width: 34px; min-height: 34px; }
  .lang .flag { width: 24px; height: 12px; }
  .lang a[aria-current="true"] .flag { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--cyan-btn); }
  .lang a:not([aria-current="true"]) .flag { opacity: .65; }
  .main-nav .menu-cta { display: flex; margin-top: 14px; color: #fff; border-bottom: 0; padding: 13px 20px; justify-content: center; }
  .main-nav .menu-cta:hover { color: #fff; }
  .page-hero h1, .home-hero h1, .intro-band h1, .contact-head h1 { font-size: 36px !important; }
  .page-hero .lead, .page-hero .sub, .home-hero .lead, .contact-head .lead, .contact-head .sub, .intro-band .lead, .intro-band .sub { font-size: 18px !important; }
  .home-hero .hero-actions .btn { width: 100%; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .icard .ic { width: 70px; padding-right: 14px; margin-right: 16px; }
  .icard .ic svg, .grid-4 .icard .ic svg { width: 46px; height: 46px; }
  .grid-4 .icard .ic { width: 70px; }
  .aud-card { flex-direction: column; align-items: flex-start; }
  .aud-card .ic { border-right: 0; width: auto; margin: 0 0 12px; }
  .aud-card .ic svg { width: 64px; height: 64px; }
  .aud-card h2 { font-size: 25px; }
  .audiences .wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
  .section-head { flex-wrap: wrap; gap: 10px 20px; }
  .section-head .rule { display: none; }
  .section-head h2 { font-size: 27px; }
  .section-head .link { margin-left: 0; }
  .strip { padding: 18px; }
  .strip .item { border-left: 0; padding: 6px 0; width: 100%; }
  .strip .divider { display: none; }
  .strip .strip-title { font-size: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 20px 16px 24px; }
  .contact-rows a, .contact-rows span, .contact-rows strong { font-size: 17px; }
  .contact-rows a { word-break: break-all; }
  .statement-band p { font-size: 22px; padding: 16px 0; }
  .site-footer .wrap { flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; gap: 6px 24px; }
  .site-footer .loc { margin-left: 0; }
  .site-footer nav { margin-left: 0; width: 100%; gap: 26px; }
  .cta-band h2, .cta-boxed h2 { font-size: 25px; }
  .cta-band .btn, .cta-boxed .btn { font-size: 17px; white-space: normal; text-align: left; }
  .wide-panel { flex-direction: column; align-items: flex-start; padding: 20px; }
  .wide-panel .ic { border-right: 0; margin: 0 0 12px; padding: 0; }
  .wide-panel h2 { font-size: 25px; }
  .link-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; padding: 0; }
  .based-bar { flex-direction: column; align-items: flex-start; padding: 16px 18px; }
  .team-cols { grid-template-columns: 1fr; gap: 14px; }
  .team-cols div, .team-cols div:first-child { border-left: 0; padding-left: 0; flex-direction: row; align-items: center; }
  .records { padding: 18px; }
  .records .ic { border-right: 0; padding-right: 16px; }
  .records h2 { font-size: 25px; padding-left: 0; }
  .info-note { font-size: 16px; align-items: flex-start; }
  .feature-navy h2 { font-size: 30px; }
  .ex-card h2 { font-size: 23px; }
  .about-split h2 { font-size: 28px; }
  .principle h3 { font-size: 22px; }
  .carousel-controls { right: 8px; bottom: 8px; }
  .carousel .slide figcaption { font-size: 12px; margin: 0 0 8px 8px; max-width: 46%; }
}
@media (max-width: 420px) {
  .site-header .wrap { gap: 6px; }
  .wordmark { font-size: 20px; }
  .brand { gap: 6px; }
  .brand-mark { height: 32px; }
  .lang a { min-width: 30px; padding: 2px 2px; }
  .lang .sep { padding: 0; }
  .nav-toggle { width: 40px; }
}
@media (max-width: 420px) {
  .btn { white-space: normal; text-align: center; }
}
@media (max-width: 340px) {
  .wordmark { font-size: 18px; }
  .brand-mark { height: 30px; }
}
@media (max-width: 760px) {
  /* narrow tablets and 200% zoom: the project button moves into the menu */
  .site-header .btn-sm { display: none; }
  .main-nav .menu-cta { display: flex; margin-top: 14px; color: #fff; border-bottom: 0; padding: 13px 20px; justify-content: center; }
  .main-nav .menu-cta:hover { color: #fff; }
}
