@font-face { font-family: Raleway; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/raleway-300.ttf') format('truetype'); }
@font-face { font-family: Raleway; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/raleway-400.ttf') format('truetype'); }
@font-face { font-family: Raleway; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/raleway-600.ttf') format('truetype'); }
@font-face { font-family: Raleway; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/raleway-700.ttf') format('truetype'); }

/* Shared design settings. All pages use these styles without a build step. */
:root { --accent: #007d98; --bright: #00acca; --ink: #333; --footer: #252525; --width: 1140px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fafafa; font: 400 16px/1.5 Raleway, Arial, sans-serif; }
button, input { font: inherit; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #e6b640; outline-offset: 5px; }
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 40px; line-height: 1.2; font-weight: 300; }
h2 { font-size: 30px; line-height: 1.25; }
p { margin-bottom: 20px; }
.container { width: min(var(--width), calc(100% - 64px)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 20; background: white; padding: 12px; }

/* The header overlays the imagery, as on the original website. */
.site-header { position: absolute; z-index: 5; inset: 0 0 auto; color: white; }
.contact-strip { background: rgb(35 35 35 / 65%); }
.contact-links { display: flex; gap: 16px; align-items: center; min-height: 42px; font-family: Arial, sans-serif; }
.contact-links a, .site-header nav a { color: white; }
.contact-links span { margin-right: 4px; }
.navigation { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 175px; height: auto; display: block; }
.site-header nav { display: flex; gap: 32px; }
.site-header nav a { padding-block: 10px; }
.site-header nav a[aria-current='page'] { color: #65dcf2; }
.menu-toggle { display: none; color: white; border: 1px solid #ffffff80; background: #173f4b; padding: 9px 12px; cursor: pointer; }

/* Without JS both slides remain visible. JS enhances them into one carousel. */
.carousel { position: relative; background: #173f4b; color: white; }
.slide { position: relative; height: 400px; display: grid; place-items: center; padding: 155px 32px 110px; isolation: isolate; }
.slide:not(:first-child) { display: none; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.slide::after { content: ''; position: absolute; inset: 0; background: rgb(0 0 0 / 24%); z-index: -1; }
.slide-copy { text-align: center; width: min(1100px, 100%); }
.slide h2 { font-size: clamp(26px, 2.9vw, 40px); font-weight: 700; text-transform: uppercase; margin-bottom: 34px; }
.slide p { font-size: clamp(24px, 2.4vw, 32px); font-weight: 300; text-transform: uppercase; margin: 0; }
.carousel.is-ready .slides { display: grid; }
.carousel.is-ready .slide { display: grid; grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.carousel.is-ready .slide.is-active { opacity: 1; visibility: visible; }
.carousel-controls { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 0; }
.slide-dot { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; }
.slide-dot::before { content: ''; width: 12px; height: 12px; border: 2px solid white; border-radius: 50%; }
.slide-dot[aria-pressed='true']::before { background: white; }
.button { display: inline-block; padding: 9px 22px; color: white; background: var(--accent); border: 1px solid var(--accent); font-size: 14px; line-height: 1.4; transition: background .2s; }
.button:hover { background: #005b70; color: white; text-decoration: none; }
.button-outline { background: transparent; color: var(--accent); }
.recruitment-teaser { text-align: center; color: white; background: #17526a url('../images/recruitment.jpg') center / cover; padding: 26px 0 32px; }
.recruitment-teaser h2, .about-teaser h2, .mission h2 { font-weight: 400; text-transform: uppercase; }
.recruitment-teaser h2 { margin-bottom: 18px; }
.recruitment-teaser p { margin-bottom: 22px; }
.about-teaser { background: white url('../images/team.jpg') 95% center / auto 75% no-repeat; }
.about-teaser .container { min-height: 400px; display: flex; align-items: center; }
.about-teaser-copy { width: 350px; padding: 60px 0; }
.about-teaser h2 { color: var(--accent); margin-bottom: 28px; }
.about-teaser .button { margin-top: 18px; }
.contact-callout { text-align: center; padding: 32px 24px 32px; }
.contact-callout .button { text-transform: uppercase; }
.page-banner { color: white; background: #123745 url('../images/stars.jpg') center / cover; padding: 155px 0 95px; text-align: center; }
.page-banner h1 { text-transform: uppercase; margin-bottom: 20px; }
.page-banner p { max-width: 780px; margin: 0 auto; }
.page-banner p + p { margin-top: 30px; }
.article { padding-block: 55px 25px; }
.article h2 { margin-bottom: 12px; }
.article h2:not(:first-child) { margin-top: 36px; }
.article h3 { font-size: 20px; font-weight: 400; margin-top: 32px; margin-bottom: 12px; }
.article p { margin-bottom: 24px; }
.article a:not(.button) { text-decoration: underline; }
.mxp-statement, .application-action { text-align: center; }
.mxp-statement { margin-block: 34px; }
.application-action { margin-block: 28px; }
.article ul { padding-left: 28px; margin-top: 0; margin-bottom: 20px; }
.job { margin-top: 56px; padding-top: 30px; border-top: 1px solid #ddd; }
.job h3 { text-transform: uppercase; }
.hiring-article { padding-bottom: 70px; }
.mission { background: #edf3f5; text-align: center; padding: 55px 0; }
.mission p { max-width: 900px; margin: auto; }
.site-footer { background: var(--footer); color: #f5f5f5; }
.footer-grid { display: grid; grid-template-columns: 1fr 260px; gap: 60px; padding-block: 40px; }
.site-footer a { color: inherit; }
.site-footer address { font-style: normal; margin-top: 12px; }
.site-footer address p { margin-bottom: 10px; }
.services h2 { font-size: 24px; font-weight: 400; margin-bottom: 20px; }
.services ul { list-style: none; padding: 0; margin: 0; }
.services li { margin-bottom: 10px; }
.copyright { background: #000; padding: 16px 24px; text-align: center; }
.copyright a { font-weight: 700; }
.back-to-top { position: fixed; bottom: 20px; right: 20px; width: 40px; height: 40px; display: grid; place-items: center; background: var(--accent); color: white; font-size: 24px; z-index: 6; }

@media (max-width: 1000px) {
  .about-teaser { background-position: 60% center; }
  .about-teaser-copy { background: rgb(255 255 255 / 92%); padding: 35px 24px; margin-block: 50px; width: 380px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 40px); }
  .contact-links { gap: 12px; min-height: 38px; font-size: 12px; flex-wrap: wrap; padding-block: 7px; }
  .navigation { min-height: 76px; flex-wrap: wrap; gap: 0; }
  .brand img { width: 150px; }
  .menu-toggle:not([hidden]) { display: block; }
  .site-header nav { width: 100%; gap: 0; justify-content: space-between; padding: 6px 0; font-size: 14px; }
  .navigation.is-enhanced nav { display: none; background: #153843; border: 1px solid #ffffff30; padding: 8px 16px; }
  .navigation.is-enhanced nav.is-open { display: flex; flex-direction: column; }
  .slide { height: 400px; padding: 200px 24px 100px; }
  .slide h2 { font-size: 28px; margin-bottom: 26px; }
  .slide p { font-size: 23px; }
  .page-banner { padding: 190px 0 55px; }
  .page-banner h1 { font-size: 34px; }
  .page-banner p { font-size: 15px; }
  .recruitment-teaser { padding: 36px 0; }
  .recruitment-teaser h2 { font-size: 26px; }
  .about-teaser { background-size: auto 370px; background-position: center bottom; padding-bottom: 375px; }
  .about-teaser .container { min-height: auto; }
  .about-teaser-copy { background: white; width: 100%; margin: 0; padding: 42px 0 32px; }
  .contact-callout { padding: 46px 24px; }
  .article { padding-top: 38px; }
  .article h2 { font-size: 27px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .back-to-top { bottom: 12px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
