@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-semibold.woff") format("woff");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif";
  src: url("fonts/noto-serif-regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #122731;
  --navy: #0b2734;
  --soft: #3f545b;
  --muted: #c8d8d7;
  --white: #fff;
  --cream: #f8f7f2;
  --teal: #a9e7d8;
  --deep-teal: #126454;
  --pale: #e5f0ec;
  --line: #dce3de;
  --dark-line: #42616a;
  --gutter: clamp(1.35rem, 4.6vw, 5.75rem);
  --wrap: 88rem;
  --display: "Noto Serif", Georgia, serif;
  --body: "Open Sans", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 6rem; }
body { margin: 0; font: 400 1rem/1.7 var(--body); color: var(--ink); background: var(--white); }
img { display: block; max-width: 100%; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.15rem, 3.72vw, 3.85rem); letter-spacing: -.032em; }
h2 { font-size: clamp(1.75rem, 2.8vw, 2.8rem); letter-spacing: -.022em; }
h3 { font-size: clamp(1.35rem, 2.1vw, 2rem); letter-spacing: -.018em; }
a { color: var(--deep-teal); text-underline-offset: .17em; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid #21806c; outline-offset: 4px; }
.hero-copy :focus-visible, .team-band :focus-visible, .service-intro :focus-visible { outline-color: var(--teal); }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 52rem; }
.anchor { display: block; }
.skip-link {
  position: absolute;
  top: .5rem;
  left: 1rem;
  z-index: 10;
  padding: .55rem .9rem;
  background: var(--white);
  transform: translateY(-175%);
}
.skip-link:focus { transform: translateY(0); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: .66rem 1.13rem;
  border: 1px solid transparent;
  border-radius: .27rem;
  background: var(--navy);
  color: var(--white);
  font-size: .89rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #1b4858; }
.button-light, .service-intro .button { background: var(--teal); color: var(--navy); }
.button-light:hover, .service-intro .button:hover { background: #c4f2e7; }
.button:disabled { cursor: wait; opacity: .7; }
.text-link { font-weight: 700; font-size: .9rem; text-decoration-thickness: 1px; }
.text-link:hover { color: #0a3d35; }
.site-header { position: relative; z-index: 3; border-bottom: 1px solid var(--line); background: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 5.05rem; gap: 1.75rem; }
.brand { display: block; flex: none; }
.brand img { width: clamp(6.9rem, 10vw, 8.75rem); height: auto; }
.desktop-nav, .header-actions { display: flex; align-items: center; gap: clamp(1rem, 2.05vw, 2rem); }
.desktop-nav a, .mobile-menu nav > a:not(.button) {
  font-size: .91rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.desktop-nav a:hover, .desktop-nav a[aria-current], .desktop-nav .section-active, .mobile-menu nav a[aria-current] {
  text-decoration: underline;
  text-underline-offset: .59em;
  color: var(--deep-teal);
}
.header-actions { gap: 1.15rem; }
.language-switch { display: flex; align-items: center; gap: .4rem; white-space: nowrap; color: var(--soft); }
.language-switch a { font-size: .86rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.language-switch a[aria-current] { color: var(--deep-teal); font-weight: 700; text-decoration: underline; }
.button-compact { min-height: 2.6rem; }
.mobile-menu { display: none; }

.hero-main { display: grid; grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); background: var(--navy); }
.hero-copy {
  padding: clamp(3.35rem, 6.4vw, 7.4rem) clamp(1.4rem, 3vw, 3.3rem) clamp(3.4rem, 6.2vw, 6rem) max(var(--gutter), calc((100vw - var(--wrap))/2));
  color: var(--white);
}
.hero-copy h1 { max-width: 13.9em; font-size: clamp(2.1rem, 3.88vw, 4.4rem); }
.hero-copy h1 em { font-style: normal; color: var(--teal); }
.hero-copy p { max-width: 37.5rem; margin-block: 1.55rem 1.6rem; color: var(--muted); font-size: 1.035rem; }
.hero-image { display: block; position: relative; overflow: hidden; min-width: 0; }
.hero-image img { position: absolute; height: 100%; width: 100%; object-fit: cover; object-position: 56% 47%; }
.sector-rail { border-bottom: 1px solid var(--line); }
.sector-rail ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; padding: 1rem 0; }
.sector-rail li:not(:last-child) { border-right: 1px solid var(--line); }
.sector-rail a {
  display: flex;
  min-height: 4.6rem;
  align-items: center;
  padding: .65rem clamp(.55rem, 1.4vw, 1.4rem);
  color: var(--ink);
  font-size: .91rem;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}
.sector-rail li:first-child a { padding-inline-start: 0; }
.sector-rail a:hover { color: var(--deep-teal); text-decoration: underline; }
.services-band { background: var(--cream); padding-block: clamp(3.15rem, 5vw, 5.7rem); }
.service-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2rem; }
.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.3rem, 2.65vw, 2.65rem);
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: var(--white);
}
.service-card:nth-child(2) { background: var(--pale); }
.service-card p { margin-block: 1rem 1.2rem; color: var(--soft); }
.service-card .text-link { margin-top: auto; }
.team-band { background: var(--navy); color: var(--white); }
.team-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); gap: 1rem clamp(2rem, 6vw, 7rem); padding-block: clamp(2.45rem, 4.3vw, 4.8rem); }
.team-inner > .anchor { grid-column: 1/-1; height: 0; margin-top: -1rem; }
.team-band h2 { max-width: 15em; font-size: clamp(1.65rem, 2.55vw, 2.65rem); }
.team-band p { color: var(--muted); }
.team-band a, .team-band a:hover { color: var(--teal); }
.contact-band .wrap { display: flex; gap: 1.4rem; justify-content: space-between; align-items: center; padding-block: 2.65rem; }

.service-layout { display: grid; grid-template-columns: minmax(0, 41fr) minmax(0, 59fr); }
.service-intro { padding: clamp(2.45rem, 5.4vw, 5rem) clamp(1.4rem, 3.3vw, 3.5rem) 3rem max(var(--gutter), calc((100vw - var(--wrap))/2)); color: var(--white); background: var(--navy); }
.service-intro h1 { margin-block: 1.05rem 1.4rem; font-size: clamp(2.25rem, 3.6vw, 3.75rem); }
.service-intro p { color: var(--muted); }
.service-intro .eyebrow, .service-reg h2 { color: var(--teal); }
.service-reg { margin: 1.7rem 0; padding-top: 1.2rem; border-top: 1px solid var(--dark-line); }
.service-reg h2, .detail-row h2, .language-panel h2 { font: 700 1.08rem/1.4 var(--body); letter-spacing: 0; margin-bottom: .55rem; }
.service-intro .button { margin-top: .7rem; }
.service-detail { padding: clamp(2.2rem, 4vw, 4rem) max(var(--gutter), calc((100vw - var(--wrap))/2)) 3.1rem clamp(1.5rem, 3.75vw, 4rem); }
.detail-row + .detail-row { border-top: 1px solid var(--line); padding-top: 1.3rem; margin-top: 1.3rem; }
.detail-row p { color: var(--soft); margin: 0; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .075em; font-size: .79rem; font-weight: 700; line-height: 1.5; color: var(--deep-teal); }
.page-heading { background: var(--cream); border-bottom: 1px solid var(--line); padding-block: clamp(2.4rem, 5vw, 4.9rem); }
.page-heading .eyebrow { margin: 0 0 .85rem; }
.sector-page-title { margin: 0; font-family: var(--display); font-size: clamp(1.9rem, 3.3vw, 3.25rem); color: var(--ink); line-height: 1.15; }
.sector-overview { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 2.4rem; padding-block: 2.4rem 3.5rem; }
.sector-card { border-bottom: 1px solid var(--line); padding-block: 1.3rem 1.25rem; }
.sector-card h2 { font-size: 1.44rem; }
.sector-card h2 a { color: var(--ink); }
.sector-card p { color: var(--soft); margin: .65rem 0 0; }
.sector-layout { display: grid; grid-template-columns: minmax(13rem, 3.9fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.3rem, 4.2vw, 4.6rem); }
.sector-nav { padding-right: clamp(1rem, 2.35vw, 2.5rem); border-right: 1px solid var(--line); }
.sector-nav ul { list-style: none; padding: 0; margin: 0; }
.sector-nav li + li { margin-top: .23rem; }
.sector-nav a { display: block; padding: .9rem 1rem; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; line-height: 1.45; }
.sector-nav a[aria-current] { background: var(--pale); border-color: transparent; border-radius: .25rem; }
.sector-nav a:hover { color: var(--deep-teal); text-decoration: underline; }
.sector-main .eyebrow { margin: 0 0 1rem; }
.sector-main h1 { font-size: clamp(1.9rem, 3.2vw, 3.1rem); margin-bottom: 1.35rem; }
.sector-main p:not(.eyebrow), .about-body > p { color: var(--soft); }
.sector-actions { display: flex; flex-wrap: wrap; gap: .75rem; padding-top: .4rem; }
.sector-actions .button { text-align: center; }
.about-body, .legal-body { padding-block: 2.5rem 4.25rem; }
.about-body > p { font-size: 1.08rem; }
.language-panel { background: var(--pale); margin-block: 2rem; border-radius: .3rem; padding: 1.15rem 1.35rem; }
.language-panel p { margin: 0; color: var(--soft); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(1.65rem, 5vw, 5rem); padding-block: clamp(2rem, 4vw, 4.2rem); }
.contact-intro { color: var(--soft); }
.contact-address { font-size: 1.2rem; font-weight: 700; word-break: break-word; margin-top: 1.45rem; }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: .28rem; }
.form-field label span { color: var(--soft); font-weight: 400; }
.form-field input, .form-field textarea { width: 100%; padding: .68rem .78rem; border: 1px solid #a5b5b3; border-radius: .25rem; background: var(--white); color: var(--ink); }
.form-field textarea { min-height: 8rem; resize: vertical; }
.full { grid-column: 1/-1; }
.form-note { color: var(--soft); font-size: .88rem; margin: .4rem 0 .7rem; }
.form-footer .form-note { margin-top: 0; }
.form-status { margin: .8rem 0 0; }
.form-status:empty { display: none; }
.form-status[data-status] { padding: .63rem .85rem; border-left: .2rem solid #962f26; color: #75271f; background: #fff1ed; }
.form-status:is([data-status="pending"], [data-status="sent"]) { border-color: var(--deep-teal); color: var(--ink); background: var(--pale); }
.legal-body h2 { margin: 1.8rem 0 .75rem; font-size: 1.35rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-details { padding: 1rem 1.3rem; border-radius: .3rem; background: var(--pale); }
.legal-details dt { font-weight: 700; }
.legal-details dd { margin: .12rem 0 .8rem; }
.legal-details dd:last-child { margin-bottom: 0; }
.legal-table { overflow-x: auto; margin-bottom: 1.1rem; }
.legal-table table { border-collapse: collapse; width: 100%; min-width: 32rem; font-size: .94rem; }
.legal-table th, .legal-table td { border: 1px solid var(--line); text-align: left; padding: .65rem .7rem; vertical-align: top; }
.legal-table thead th { background: var(--pale); }
.site-footer { border-top: 1px solid var(--line); background: var(--cream); }
.footer-inner {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: 1rem clamp(1rem, 2.2vw, 2rem);
  padding-block: 2.25rem;
  font-size: .89rem;
  line-height: 1.4;
}
.footer-contact, .footer-inner nav { display: flex; gap: .55rem 1.2rem; flex-wrap: wrap; align-items: center; }
.footer-inner a { color: var(--ink); }
.footer-brand { display: block; justify-self: start; }
.footer-brand img { width: clamp(6.9rem, 10vw, 8.75rem); height: auto; }
.footer-contact span { color: var(--soft); }

@media (max-width: 950px) {
  .footer-inner { grid-template-columns: max-content minmax(0, 1fr); }
  .footer-inner nav { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 850px) {
  .header-inner { gap: .9rem; min-height: 4.4rem; }
  .desktop-nav, .header-actions > .button { display: none; }
  .header-actions { margin-left: auto; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: flex; align-items: center; gap: .5rem; font-size: .91rem; font-weight: 700; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary::after { content: ""; width: .95rem; height: .8rem; border-block: 1px solid currentColor; background: linear-gradient(currentColor,currentColor) center/100% 1px no-repeat; }
  .mobile-menu nav { display: grid; justify-items: start; gap: .8rem; position: absolute; inset: 100% 0 auto; background: var(--white); border-block: 1px solid var(--line); padding: 1.25rem var(--gutter); box-shadow: 0 8px 18px #0b273415; }
  .hero-copy h1 { font-size: clamp(2.1rem, 4.25vw, 3.05rem); }
  .hero-copy p { font-size: 1rem; }
}
@media (max-width: 740px) {
  .hero-main { display: block; }
  .hero-copy { padding: 2.1rem var(--gutter) 2.25rem; }
  .hero-copy h1 { font-size: clamp(2rem, 6.9vw, 3.15rem); }
  .hero-copy h1 br { display: none; }
  .hero-copy h1 br::after { content: " "; }
  .hero-image { height: clamp(7rem, 27vw, 13rem); }
  .hero-image img { object-position: 54% 48%; }
  .sector-rail ul { display: block; padding-block: .2rem; }
  .sector-rail li:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--line); }
  .sector-rail a, .sector-rail li:first-child a { padding: .66rem 0; min-height: 2.6rem; }
  .service-cards, .team-inner, .service-layout, .sector-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .service-cards { margin-top: 1.3rem; }
  .team-inner { gap: .9rem; }
  .team-inner > .anchor { margin-bottom: -.9rem; }
  .service-intro, .service-detail { padding-inline: var(--gutter); }
  .sector-nav { grid-row: 2; border-right: 0; border-top: 1px solid var(--line); padding: 1rem 0 0; }
  .sector-overview { grid-template-columns: minmax(0, 1fr); }
  .contact-band .wrap { align-items: flex-start; flex-direction: column; }
  .contact-layout { gap: 1.25rem; }
}
@media (max-width: 425px) {
  form { grid-template-columns: minmax(0, 1fr); }
}
