:root {
  --navy: #212c4a;
  --red: #0f766e;
  --text: #262121;
  --muted: #5e6472;
  --light: #f2f2f4;
  --white: #ffffff;
  --shadow: 0 18px 61px -40px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 10px max(28px, calc((100vw - 1140px) / 2));
  background: var(--white);
  box-shadow: 0 8px 26px rgba(33, 44, 74, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 165px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: #000000;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(33, 44, 74, 0.18);
  border-radius: 4px;
  padding: 0;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: var(--navy);
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.nav-links a:focus-visible {
  color: var(--red);
}

.social-links,
.footer-social {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

.social-links a,
.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.social-links a:hover,
.footer-social a:hover {
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 675px;
  overflow: hidden;
  color: var(--white);
}

.hero-slides,
.slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slides {
  background: #111b31;
}

.slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: heroFade 28s infinite;
}

.slide-one {
  background-image: url("/assets/cyber-detection.jpg");
}

.slide-two {
  background-image: url("/assets/hero-renewable.webp");
  animation-delay: 7s;
}

.slide-three {
  background-image: url("/assets/wind-turbines.jpg");
  animation-delay: 14s;
}

.slide-four {
  background-image: url("/assets/energy-field.jpg");
  animation-delay: 21s;
}

.hero-overlay {
  background: rgba(33, 44, 74, 0.8);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  min-height: 675px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-copy {
  width: min(650px, 100%);
}

.hero h1,
.copy-block h2,
.section-heading h2 {
  margin: 0 0 18px;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.27;
  text-transform: uppercase;
}

.hero p {
  width: min(640px, 100%);
  margin: 0 0 32px;
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.6;
  text-transform: capitalize;
}

.hero-copy p:not(.hero-kicker) {
  text-transform: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 15px 30px;
  border-radius: 0;
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(3px);
}

.button-red {
  background: var(--red);
}

.button-red:hover,
.button-red:focus-visible {
  color: #000000;
  background: var(--white);
}

.button-navy {
  background: var(--navy);
}

.button-navy:hover,
.button-navy:focus-visible {
  background: var(--red);
}

.button-white {
  color: var(--navy);
  background: var(--white);
}

.button-white:hover,
.button-white:focus-visible {
  color: var(--white);
  background: var(--red);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .hero-kicker {
  margin-bottom: 14px;
  color: var(--white);
  opacity: 0.9;
}

.hero h1 {
  max-width: 820px;
  text-transform: none;
}

.tilt {
  position: absolute;
  left: 0;
  width: 100%;
  height: 75px;
  background: var(--light);
  pointer-events: none;
}

.tilt-bottom {
  right: 0;
  bottom: -1px;
  clip-path: polygon(0 6%, 100% 100%, 100% 100%, 0 100%);
}

.tilt-top {
  top: -1px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 6%);
}

.about-section {
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
  background: var(--white);
}

.focus-section {
  padding: 92px 20px;
}

.mountain-shape {
  position: absolute;
  inset: 0 0 auto;
  height: 220px;
  background: var(--light);
  clip-path: polygon(0 0, 100% 0, 100% 24%, 78% 15%, 63% 32%, 43% 16%, 25% 37%, 0 20%);
  opacity: 0.9;
}

.content-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  max-width: 1250px;
  margin: 0 auto;
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.image-stack img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 22px -12px rgba(0, 0, 0, 0.5);
}

.image-stack img:nth-child(2) {
  margin-top: 50px;
}

.copy-block {
  align-self: center;
}

.copy-block h2,
.section-heading h2 {
  color: var(--navy);
  font-size: 30px;
  line-height: 1.25;
}

.copy-block p {
  margin: 0 0 20px;
}

blockquote {
  margin: 0 0 26px;
  padding: 0 0 0 20px;
  border-left: 5px solid var(--red);
}

.wide-note {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 38px auto 0;
  color: var(--text);
  font-size: 20px;
  text-align: center;
}

.services-section {
  position: relative;
  padding: 150px 20px 80px;
  background: var(--light);
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading p {
  margin: 0;
}

.divider {
  display: block;
  width: 60px;
  height: 3.5px;
  margin: 26px auto 0;
  background: var(--navy);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1140px;
  margin: 0 auto;
}

.service-card {
  min-height: 360px;
  margin: 20px;
  padding: 30px 20px;
  border-radius: 5px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.service-card:hover {
  color: var(--white);
  background: var(--navy);
  transform: translateY(-4px);
}

.service-card:hover h3,
.service-card:hover p {
  color: var(--white);
}

.icon-box {
  display: inline-grid;
  place-items: center;
  width: 101px;
  height: 101px;
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid var(--navy);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 10px 10px 0 #f4f5fa;
}

.icon-box img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.service-card h3 {
  margin: 0 0 16px;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}

.service-card p {
  margin: 0;
  color: var(--text);
}

.service-note {
  max-width: 1180px;
}

.centered {
  display: flex;
  width: max-content;
  margin: 28px auto 0;
}

.capability-grid .service-card {
  min-height: 330px;
}

.sectors-section,
.project-highlight,
.pathways-section {
  padding: 82px 20px;
  background: var(--white);
}

.sector-grid,
.highlight-grid,
.pathway-grid {
  display: grid;
  max-width: 1140px;
  margin: 0 auto;
}

.sector-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sector-grid article,
.pathway-grid article,
.learning-panel,
.process-list article {
  border-radius: 8px;
  background: var(--light);
}

.sector-grid article {
  min-height: 250px;
  padding: 26px;
}

.sector-grid span,
.pathway-grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.sector-grid h3,
.learning-panel h3,
.pathway-grid h3,
.process-list strong,
.highlight-grid strong {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

.sector-grid h3,
.learning-panel h3,
.pathway-grid h3 {
  font-size: 22px;
}

.sector-grid p,
.learning-copy p,
.learning-panel li,
.pathway-grid p,
.process-list p,
.highlight-grid span {
  margin: 0;
  color: var(--text);
}

.learning-preview,
.learning-intro,
.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.75fr);
  gap: 38px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 82px 20px;
}

.learning-preview,
.split-band {
  max-width: none;
  padding-right: max(20px, calc((100vw - 1140px) / 2));
  padding-left: max(20px, calc((100vw - 1140px) / 2));
  background: var(--light);
}

.learning-copy h2,
.split-band h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.18;
}

.learning-copy p {
  margin-bottom: 24px;
  font-size: 19px;
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.signal-list span {
  padding: 8px 12px;
  border: 1px solid rgba(33, 44, 74, 0.14);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.learning-panel {
  padding: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.learning-preview .learning-panel {
  background: var(--white);
}

.learning-panel ul {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.learning-panel li {
  padding: 0 0 0 18px;
  border-left: 3px solid var(--red);
}

.learning-panel-link {
  display: inline-block;
  margin-top: 22px;
}

.highlight-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.highlight-grid a {
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding: 18px;
  border-radius: 8px;
  background: var(--light);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.highlight-grid a:hover,
.highlight-grid a:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.highlight-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  object-fit: contain;
  background: var(--white);
}

.highlight-grid strong {
  font-size: 21px;
}

.learning-hero {
  background-image: url("/assets/blog/resskill-workforce.png");
}

.page-hero-copy {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  padding: 72px 20px;
  color: var(--white);
  text-align: center;
}

.page-hero-copy h1 {
  margin: 0 auto 18px;
  max-width: 760px;
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.14;
  text-transform: none;
}

.page-hero-copy p:not(.hero-kicker) {
  max-width: 760px;
  margin: 0 auto;
  color: var(--white);
  font-size: 20px;
}

.learning-intro {
  background: var(--white);
}

.pathway-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pathway-grid article {
  min-height: 265px;
  padding: 26px;
}

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

.process-list article {
  padding: 22px;
  background: var(--white);
}

.process-list strong {
  display: block;
  font-size: 20px;
}

.summy-section {
  padding: 86px 20px 92px;
  background: var(--white);
}

.summy-inner,
.summy-workflow,
.summy-details {
  max-width: 1140px;
  margin: 0 auto;
}

.summy-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 48px;
  align-items: center;
}

.summy-copy {
  max-width: 670px;
}

.summy-eyebrow {
  margin: 0 0 12px;
  color: #0f766e;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.summy-logo {
  width: 128px;
  height: auto;
  margin: 0 0 18px;
}

.summy-copy h1,
.summy-copy h2,
.summy-detail-copy h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}

.summy-copy h1,
.summy-copy h2 {
  font-size: 38px;
  line-height: 1.16;
}

.summy-copy p,
.summy-workflow p,
.summy-detail-copy p {
  margin: 0;
  color: var(--text);
}

.summy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.summy-visual {
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px solid rgba(33, 44, 74, 0.1);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(252, 55, 55, 0.06));
}

.summy-visual img {
  width: min(100%, 440px);
}

.summy-trust {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  max-width: 1140px;
  margin: 46px auto 0;
  border: 1px solid rgba(33, 44, 74, 0.12);
  background: rgba(33, 44, 74, 0.12);
}

.summy-trust span {
  display: grid;
  place-items: center;
  min-height: 70px;
  padding: 14px;
  background: var(--light);
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.summy-workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.summy-workflow article {
  min-height: 250px;
  padding: 24px;
  border-radius: 8px;
  background: var(--light);
}

.summy-workflow span {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #0f766e;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
}

.summy-workflow h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 19px;
  font-weight: 600;
}

.summy-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.86fr);
  gap: 36px;
  align-items: center;
  margin-top: 38px;
  padding: 32px;
  border-radius: 8px;
  background: var(--light);
}

.summy-details-reverse {
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1fr);
}

.summy-detail-copy h3 {
  font-size: 28px;
  line-height: 1.2;
}

.summy-details img {
  width: min(100%, 390px);
  justify-self: center;
}

.site-footer {
  color: var(--white);
  background: var(--navy);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1.4fr 1fr;
  gap: 36px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 50px 20px 30px;
}

.footer-logo {
  width: min(230px, 100%);
  height: auto;
  padding: 8px;
  background: var(--white);
  border-radius: 4px;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
}

.site-footer ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--white);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--red);
}

.footer-social {
  justify-content: flex-start;
  margin-top: 20px;
}

.contact-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.contact-form label {
  display: grid;
  gap: 5px;
}

.contact-form span {
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  padding: 11px 12px;
  color: var(--text);
  background: var(--white);
  font: inherit;
  line-height: 1.35;
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(252, 55, 55, 0.34);
  outline-offset: 0;
  border-color: var(--red);
}

.contact-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  border: 0;
  cursor: pointer;
}

.copyright {
  min-height: 50px;
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.19);
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  text-align: center;
}

.page-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  overflow: hidden;
  color: var(--white);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.portfolio-hero {
  background-image: url("/assets/wind-turbines.jpg");
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(33, 44, 74, 0.8);
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.15;
  text-transform: capitalize;
}

.portfolio-list {
  display: grid;
  gap: 30px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}

.portfolio-item {
  display: grid;
  grid-template-columns: 20% 1fr;
  gap: 24px;
  align-items: center;
  margin: 1em;
  padding: 1em;
  background: var(--light);
}

.portfolio-media {
  display: grid;
  place-items: center;
  min-height: 130px;
  border-bottom: 0 solid var(--text);
}

.portfolio-media a {
  display: grid;
  place-items: center;
}

.portfolio-media img {
  max-width: 100%;
  max-height: 155px;
  object-fit: contain;
}

.portfolio-copy h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.12;
  text-transform: capitalize;
}

.portfolio-copy p {
  margin: 0;
}

.portfolio-divider {
  display: block;
  width: 100%;
  height: 1px;
  margin: 14px 0 6px;
  background: #000000;
}

.portfolio-date {
  color: var(--red);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.6;
  text-transform: capitalize;
}

.blog-hero {
  background-image: url("/assets/energy-field.jpg");
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 70px 20px 90px;
}

.blog-card {
  display: grid;
  align-content: start;
  overflow: hidden;
  background: var(--light);
  box-shadow: 0 16px 42px -34px rgba(0, 0, 0, 0.55);
}

.blog-card-media {
  display: block;
  background: var(--navy);
}

.blog-card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card-copy {
  padding: 26px;
}

.blog-card-copy h2,
.post-header h1,
.post-content h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}

.blog-card-copy h2 {
  margin-bottom: 14px;
  font-size: 25px;
  line-height: 1.2;
}

.blog-card-copy p {
  margin: 0 0 18px;
}

.post-meta {
  margin: 0 0 12px;
  color: var(--red);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-transform: uppercase;
}

.text-link {
  color: var(--red);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--navy);
}

.post-article {
  max-width: 920px;
  margin: 0 auto;
  padding: 70px 20px 90px;
}

.post-header {
  margin-bottom: 34px;
}

.post-header h1 {
  max-width: 860px;
  margin-top: 10px;
  font-size: 40px;
  line-height: 1.15;
}

.post-featured-image,
.post-inline-image {
  width: 100%;
  margin: 0 0 34px;
  border-radius: 6px;
  object-fit: cover;
}

.post-featured-image {
  max-height: 520px;
}

.post-inline-image {
  margin-top: 10px;
  max-height: 420px;
}

.post-content {
  color: var(--text);
  font-size: 19px;
  line-height: 1.72;
}

.post-content h2 {
  margin: 34px 0 12px;
  font-size: 26px;
  line-height: 1.25;
}

.post-content p,
.post-content ul {
  margin: 0 0 20px;
}

.post-content ul {
  padding-left: 24px;
}

.post-source {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(33, 44, 74, 0.18);
  font-size: 16px;
}

.thank-you {
  display: grid;
  align-content: center;
  min-height: 520px;
  max-width: 840px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}

.thank-you h1 {
  margin: 0 0 18px;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 42px;
  line-height: 1.15;
}

.thank-you p {
  margin: 0 auto 28px;
  max-width: 650px;
  font-size: 20px;
}

@keyframes heroFade {
  0%,
  21% {
    opacity: 1;
    transform: scale(1.05) translateX(0);
  }

  25%,
  96% {
    opacity: 0;
    transform: scale(1.08) translateX(-24px);
  }

  100% {
    opacity: 1;
    transform: scale(1.05) translateX(0);
  }
}

@media (max-width: 1024px) {
  .site-header {
    grid-template-columns: 150px 1fr auto;
    padding: 10px 20px;
  }

  .nav-links {
    gap: 12px;
    font-size: 14px;
  }

  .hero,
  .hero-inner {
    min-height: 550px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .page-hero {
    min-height: 200px;
    padding: 0 20px;
  }

  .page-hero h1 {
    font-size: 33px;
  }

  .portfolio-list {
    padding: 50px 20px;
  }

  .portfolio-item {
    margin: 1em;
  }

  .portfolio-copy h2 {
    font-size: 22px;
  }

  .portfolio-copy,
  .portfolio-date {
    font-size: 16px;
  }

  .portfolio-date {
    font-size: 15px;
    line-height: 1.2;
  }

  .blog-list {
    gap: 24px;
    padding: 55px 20px 70px;
  }

  .blog-card-copy {
    padding: 22px;
  }

  .post-article {
    padding: 55px 20px 75px;
  }

  .post-header h1 {
    font-size: 34px;
  }

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

  .services-section {
    padding: 80px 10px;
  }

  .services-grid {
    gap: 14px;
  }

  .sector-grid,
  .pathway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .learning-preview,
  .learning-intro,
  .split-band {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

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

  .page-hero-copy h1 {
    font-size: 36px;
  }

  .service-card {
    margin: 7px;
    padding: 20px 10px;
  }

  .summy-section {
    padding: 70px 20px;
  }

  .summy-inner,
  .summy-details,
  .summy-details-reverse {
    grid-template-columns: 1fr;
  }

  .summy-copy h1,
  .summy-copy h2 {
    font-size: 32px;
  }

  .summy-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summy-workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 50px 20px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  .site-header {
    position: relative;
    grid-template-columns: auto auto;
    gap: 10px;
    min-height: 72px;
    padding: 8px 14px;
  }

  .brand-logo {
    width: 118px;
    max-height: 40px;
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
  }

  .nav-links {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 2px;
    border-top: 1px solid rgba(33, 44, 74, 0.12);
    font-size: 14px;
    line-height: 1.25;
  }

  .site-header.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 10px 2px;
  }

  .social-links {
    display: none;
  }

  .social-links a {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .hero,
  .hero-inner {
    min-height: 484px;
  }

  .hero {
    padding: 80px 15px 120px;
  }

  .hero-inner {
    padding: 0;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.2;
  }

  .page-hero {
    min-height: 150px;
    padding: 0 10px;
  }

  .page-hero h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .portfolio-list {
    gap: 30px;
    padding: 40px 15px;
  }

  .portfolio-item {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 1em;
    padding: 1em;
  }

  .portfolio-media {
    justify-items: start;
    min-height: 0;
    padding-bottom: 14px;
    border-bottom-width: 1px;
  }

  .portfolio-media img {
    max-height: 210px;
  }

  .portfolio-copy {
    padding: 20px 10px 10px;
  }

  .portfolio-copy h2 {
    font-size: 20px;
    line-height: 1.2;
  }

  .portfolio-date {
    font-size: 15px;
    line-height: 1.4;
  }

  .blog-list {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 15px 60px;
  }

  .blog-card-copy {
    padding: 20px;
  }

  .blog-card-copy h2 {
    font-size: 21px;
  }

  .post-article {
    padding: 40px 16px 60px;
  }

  .post-header h1 {
    font-size: 29px;
    line-height: 1.18;
  }

  .post-content {
    font-size: 17px;
    line-height: 1.65;
  }

  .post-content h2 {
    font-size: 22px;
  }

  .hero p {
    font-size: 18px;
    line-height: 1.4;
  }

  .button {
    min-height: 48px;
    padding: 13px 20px;
    font-size: 14px;
  }

  .about-section {
    padding: 40px 10px;
  }

  .image-stack {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .image-stack img {
    height: 246px;
  }

  .image-stack img:nth-child(2) {
    height: 202px;
    margin-top: 0;
  }

  .copy-block {
    text-align: center;
  }

  .copy-block h2,
  .section-heading h2 {
    font-size: 27px;
  }

  blockquote {
    text-align: left;
  }

  .wide-note,
  .service-note {
    font-size: 17px;
  }

  .services-section {
    padding: 90px 20px;
  }

  .section-heading h2 {
    font-size: 25px;
  }

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

  .sector-grid,
  .pathway-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .sectors-section,
  .project-highlight,
  .pathways-section {
    padding: 58px 15px;
  }

  .sector-grid article,
  .pathway-grid article {
    min-height: 0;
    padding: 22px;
  }

  .learning-preview,
  .learning-intro,
  .split-band {
    padding: 58px 15px;
  }

  .learning-copy h2,
  .split-band h2 {
    font-size: 27px;
  }

  .learning-copy p,
  .page-hero-copy p:not(.hero-kicker) {
    font-size: 17px;
  }

  .page-hero-copy {
    padding: 54px 15px;
  }

  .page-hero-copy h1 {
    font-size: 31px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .service-card {
    margin: 10px;
    padding: 25px 15px;
  }

  .summy-section {
    padding: 56px 15px;
  }

  .summy-inner {
    gap: 26px;
  }

  .summy-copy h1,
  .summy-copy h2 {
    font-size: 27px;
    line-height: 1.2;
  }

  .summy-logo {
    width: 112px;
  }

  .summy-actions {
    display: grid;
  }

  .summy-actions .button {
    width: 100%;
  }

  .summy-visual {
    padding: 12px;
  }

  .summy-trust,
  .summy-workflow {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .summy-trust {
    border: 0;
    background: transparent;
  }

  .summy-workflow article {
    min-height: 0;
  }

  .summy-details {
    gap: 22px;
    padding: 22px;
  }

  .summy-detail-copy h3 {
    font-size: 23px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 35px 20px;
  }
}

@media (max-width: 480px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .brand-logo {
    width: 104px;
  }

  .nav-links {
    font-size: 14px;
  }
}
