:root {
  color-scheme: light;
  --ink: #0c1728;
  --muted: #576474;
  --accent: #087c3e;
  --line: #dce4e2;
  --surface: #f2f6f4;
  --max-width: 1200px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
section[id], article[id], main { scroll-margin-top: 24px; }
.container { width: min(var(--max-width), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; left: 20px; top: -100px; padding: 12px 20px; background: #fff; }
.skip-link:focus { top: 8px; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 120px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; line-height: 1; }
.brand img { width: 88px; height: 88px; }
.brand-name { color: #080e20; font-size: 52px; font-weight: 800; letter-spacing: -.04em; }
.site-header nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.sign-in { display: inline-flex; align-items: center; justify-content: center; padding: 9px 16px; min-height: 44px; border: 1px solid var(--line); font-weight: 600; }
.sign-in:hover { border-color: var(--accent); color: var(--accent); }
.site-header nav > a:not(.button):hover { color: var(--accent); }
.nav-dropdown { position: relative; }
.nav-dropdown summary { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; cursor: pointer; font-weight: 400; list-style: none; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::marker { content: ""; }
.nav-dropdown summary:hover { color: var(--accent); }
.nav-caret { display: inline-block; color: var(--accent); font-size: 12px; }
.nav-dropdown[open] > summary { color: var(--accent); }
.nav-dropdown[open] .nav-caret { transform: rotate(90deg); }
.nav-dropdown-links { position: absolute; z-index: 10; top: 100%; left: 50%; display: grid; min-width: 232px; padding: 8px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(12, 23, 40, .1); transform: translateX(-50%); }
.nav-dropdown-links a { padding: 11px 14px; font-size: 14px; font-weight: 600; }
.nav-dropdown-links a:hover { color: var(--accent); background: var(--surface); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.footer-links a:not(.text-link) { font-size: 14px; font-weight: 600; }
.footer-links a:not(.text-link):hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 20px; min-height: 52px; border: 0; color: #fff; background: var(--accent); font-size: 14px; font-weight: 700; line-height: 1.4; text-align: left; }
.button:not(:disabled):hover { background: #056332; }
.button-small { padding: 12px 17px; min-height: 46px; }
.button > span[aria-hidden] { font-size: 20px; font-weight: 400; line-height: 1; }
.menu-toggle { display: none; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; line-height: 1.5; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.hero-copy { position: relative; z-index: 1; align-self: center; padding: 69px 40px 69px 0; }
.hero-copy .eyebrow { margin-bottom: 17px; }
h1 { max-width: 640px; font-size: clamp(38px, 3.8vw, 56px); font-weight: 700; line-height: 1.07; letter-spacing: -.035em; }
.hero-description { max-width: 500px; margin-top: 22px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.brand-promise { margin-top: 24px; color: var(--accent); font-size: 18px; font-weight: 700; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; font-size: 14px; font-weight: 700; }
.text-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.text-link span { color: var(--accent); font-size: 20px; }
.hero-fieldwork { position: relative; display: flex; min-width: 0; margin-right: min(-32px, calc(600px - 50vw)); flex-direction: column; justify-content: center; overflow: hidden; }
.hero-fieldwork::before { position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: 18%; content: ""; background: linear-gradient(to right, #fff, transparent); pointer-events: none; }
.hero-fieldwork img { width: 100%; height: 100%; min-height: 442px; max-height: 580px; object-fit: cover; object-position: center; }
.hero-fieldwork picture { display: contents; }
.accreditation-preview { min-height: 5vh; padding-block: 22px; border-block: 1px solid var(--line); background: #fff; }
.accreditation-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; justify-items: center; gap: 24px; width: 100%; max-width: 900px; margin-inline: auto; }
.accreditation-slots > * { min-width: 0; max-width: 100%; }
.accreditation-slots img { width: auto; max-width: min(100%, 190px); max-height: 56px; object-fit: contain; }
.accreditation-slots img:first-child { max-height: 70px; }
.section { padding-block: 78px; }
h2 { font-size: clamp(30px, 3.25vw, 46px); font-weight: 700; line-height: 1.12; letter-spacing: -.035em; }
h3 { font-size: 21px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
.section-heading { margin-bottom: 30px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading > p:not(.eyebrow), .section-heading > div > p:not(.eyebrow) { margin-top: 10px; color: var(--muted); font-size: 17px; }
.services { background: var(--surface); }
.service { display: grid; grid-template-columns: 45px minmax(190px, 1.15fr) minmax(0, 1.25fr) minmax(160px, .8fr); align-items: center; gap: 22px; padding-block: 19px; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service-number { color: var(--accent); font-weight: 700; font-size: 20px; }
.service h3 { font-size: 20px; }
.service > p { min-height: 44px; padding-left: 24px; border-left: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.service-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding-left: 22px; border-left: 1px solid var(--line); color: var(--accent); font-size: 14px; font-weight: 700; }
.service-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.service-link span { font-size: 20px; font-weight: 400; }
.fieldwork-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.fieldwork-item { min-width: 0; }
.fieldwork-item img { width: 100%; height: auto; aspect-ratio: 1.85; object-fit: cover; }
.fieldwork-item figcaption h3 { margin-top: 13px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 20px; }
.fieldwork-item figcaption p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.about { background: var(--surface); }
.about-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.about-inner > * { min-width: 0; }
.about-inner > div:first-child .eyebrow { margin-bottom: 12px; }
.about-details { min-width: 0; padding-left: 32px; border-left: 1px solid var(--line); color: var(--muted); overflow-wrap: anywhere; }
.about-details > p + p { margin-top: 12px; }
.company-purpose { margin-top: 16px; }
.company-purpose summary { color: var(--ink); cursor: pointer; font-weight: 700; }
.purpose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 18px; }
.purpose-grid .eyebrow { margin-bottom: 6px; }
.purpose-grid p:not(.eyebrow) { font-size: 16px; }
.software .section-heading { margin-bottom: 34px; }
.software-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.software-item { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 16px; padding: 10px 20px; text-align: center; }
.software-item + .software-item { border-left: 1px solid var(--line); }
.software-item img { width: 112px; height: 112px; object-fit: contain; }
.software-item figcaption { font-size: 17px; font-weight: 700; }
.contact { color: #fff; background: #004a34; }
.contact :focus-visible { outline-color: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr); gap: 50px; }
.contact .eyebrow { color: #fff; }
.contact h2 { margin-top: 12px; color: #fff; }
.contact-intro { max-width: 680px; margin-block: 16px 22px; color: #f0f8f4; font-size: 16px; }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.contact-actions > * { min-width: 0; }
.contact-actions .button { min-height: 52px; gap: 12px; }
.contact-actions .contact-email { color: #006b38; background: #fff; }
.contact-actions .contact-email:hover { background: #e5f2e9; }
.contact-actions .contact-messenger, .contact-actions .contact-viber { color: #fff; background: transparent; }
.contact-actions .contact-messenger { padding-inline: 12px; border-right: 1px solid #86b5a0; }
.contact-actions .contact-messenger:hover { background: #096343; }
.contact-actions .contact-viber { padding-inline: 12px; color: #e0f1e9; cursor: not-allowed; }
.contact-icon { width: 25px; height: 25px; flex-shrink: 0; }
.messenger-icon { color: #58a6ff; }
.contact-actions .contact-label { font-size: 14px; font-weight: 700; line-height: 1.25; }
.contact-actions .contact-note { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; line-height: 1.3; }
.contact-actions .contact-arrow { margin-left: auto; }
.contact-details { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 27px 0 0; font-size: 16px; }
.contact-details > div { display: flex; min-width: 0; flex-wrap: wrap; gap: 6px; align-items: baseline; overflow-wrap: anywhere; }
.contact-details dt { font-weight: 700; }
.contact-details dd { margin: 0; }
.contact-details a { text-decoration: underline; text-underline-offset: 4px; }
.inquiry-guide { padding-left: 32px; border-left: 1px solid #86b5a0; }
.inquiry-guide h3 { margin-top: 8px; color: #fff; font-size: 20px; }
.inquiry-guide ol { padding: 0; margin: 14px 0 0; list-style: none; counter-reset: inquiry; }
.inquiry-guide li { position: relative; padding: 12px 0 12px 42px; border-top: 1px solid #86b5a0; counter-increment: inquiry; }
.inquiry-guide li::before { position: absolute; left: 0; top: 12px; content: "0" counter(inquiry); color: #8cf3bc; font-size: 15px; font-weight: 700; }
.inquiry-guide li > span { font-size: 16px; font-weight: 700; }
.inquiry-guide li p { margin-top: 2px; color: #e5f4ed; font-size: 16px; }
.offices { background: #f8faf9; }
.offices h2 { margin-bottom: 30px; }
.offices-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.office { min-width: 0; padding: 0 30px; border-left: 1px solid var(--line); }
.office:first-child { padding-left: 0; border-left: 0; }
.office-type { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.office-type svg { width: 20px; height: 20px; flex-shrink: 0; }
.office h3 { margin-bottom: 9px; }
.office address { color: var(--muted); font-size: 16px; font-style: normal; overflow-wrap: anywhere; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; font-size: 14px; }
.site-footer > p:first-child { font-size: 28px; font-weight: 800; }
.site-footer > p:nth-child(2) { color: var(--muted); }
.site-footer .text-link { font-size: 14px; }
@media (max-width: 1000px) {
  .hero-copy { padding-block: 52px; }
  .contact-grid { gap: 32px; }
  .service { grid-template-columns: 40px minmax(160px, 1.1fr) minmax(0, 1fr) minmax(135px, .8fr); gap: 16px; }
}
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; gap: 0; min-height: 92px; }
  .brand img { width: 64px; height: 64px; }
  .brand-name { font-size: 38px; }
  .menu-toggle:not([hidden]) { display: flex; align-items: center; gap: 20px; min-height: 44px; padding: 8px 0 8px 16px; color: var(--ink); background: transparent; border: 0; cursor: pointer; font-size: 14px; }
  .menu-symbol { width: 18px; font-size: 24px; line-height: 1; }
  .site-header nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-block: 12px 20px; }
  .site-header nav > a { padding-block: 12px; }
  .site-header nav > .button { margin-top: 10px; }
  .nav-enhanced .site-header nav { display: none; }
  .nav-enhanced .site-header nav.is-open { display: flex; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown summary { justify-content: space-between; padding-block: 12px; }
  .nav-dropdown-links { position: static; min-width: 0; margin: 0 0 10px 16px; padding: 0 0 0 14px; border: 0; border-left: 2px solid var(--line); box-shadow: none; transform: none; }
  .nav-dropdown-links a { padding: 10px 0; }
  .footer-links { width: 100%; }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .office { padding-inline: 16px; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { min-width: 0; padding: 44px 0 35px; }
  .hero-copy h1, .hero-description { max-width: 100%; overflow-wrap: anywhere; }
  .hero-fieldwork { margin-right: 0; }
  .hero-description { margin-top: 19px; font-size: 16px; }
  .hero-fieldwork img { min-height: 0; max-height: none; aspect-ratio: 25 / 18; }
  .hero-fieldwork::before { display: none; }
  .section { padding-block: 56px; }
  .section-heading, .service > *, .office > *, .contact-copy > *, .site-footer > * { min-width: 0; }
  .section-heading > p, .service > p, .purpose-grid p, .contact-intro { overflow-wrap: anywhere; }
  .section-heading { margin-bottom: 24px; }
  .service { grid-template-columns: 36px minmax(0, 1fr); align-items: start; gap: 6px 12px; padding-block: 20px; }
  .service-number { grid-column: 1; grid-row: 1; }
  .service h3 { grid-column: 2; font-size: 19px; }
  .service > p { grid-column: 2; min-height: 0; padding: 0; border: 0; }
  .service-link { grid-column: 2; justify-content: flex-start; padding: 0; border: 0; }
  .fieldwork-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-inner { grid-template-columns: 1fr; gap: 22px; }
  .about-details { padding-left: 0; border-left: 0; }
  .purpose-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .purpose-grid > div { min-width: 0; overflow-wrap: anywhere; }
  .software-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .software-item { gap: 12px; padding: 18px 12px; }
  .software-item:nth-child(3) { border-left: 0; }
  .software-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .software-item img { width: 100px; height: 100px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .contact-actions .contact-viber, .contact-actions .contact-messenger { justify-content: flex-start; padding-inline: 10px; border-right: 0; }
  .contact-actions .contact-email { grid-column: 1 / -1; justify-content: space-between; }
  .contact-details { gap: 12px; font-size: 15px; }
  .contact-details > div { gap: 4px; }
  .inquiry-guide { padding: 26px 0 0; border-top: 1px solid #86b5a0; border-left: 0; }
  .offices-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .office, .office:first-child { padding: 0 0 22px; border: 0; border-bottom: 1px solid var(--line); }
  .office:last-child { padding-bottom: 0; border-bottom: 0; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } .nav-caret { transition: transform 180ms ease; } }
@media (max-width: 600px) {
  .accreditation-preview { padding-block: 16px; }
  .accreditation-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .accreditation-slots img { max-height: 38px; }
  .accreditation-slots img:first-child { max-height: 42px; }
}

/* Opportunities application pages */
.application-page { padding-block: 32px 78px; background: var(--surface); }
.application-shell { width: min(680px, calc(100% - 40px)); margin-inline: auto; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--accent); font-size: 14px; font-weight: 700; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.application-heading { margin-top: 14px; }
.application-heading .eyebrow { margin-bottom: 8px; }
.application-heading h1 { font-size: clamp(32px, 4.4vw, 46px); }
.application-intro { margin-top: 10px; color: var(--muted); font-size: 17px; }
.application-card { margin-top: 26px; padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 20px 44px rgba(12, 23, 40, .05); }
.field { display: grid; gap: 8px; margin-bottom: 22px; }
.ojt-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.ojt-dates .field, .ojt-dates input { min-width: 0; }
@media (max-width: 560px) { .ojt-dates { grid-template-columns: 1fr; gap: 0; } }
.field > label, .field > legend { font-size: 15px; font-weight: 700; }
.required { color: var(--accent); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #cbd6d1; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.field input::placeholder, .field textarea::placeholder { color: #8a97a3; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b42318; }
.field textarea { min-height: 104px; resize: vertical; }
.field-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }
.field-error { color: #b42318; font-size: 14px; font-weight: 600; }
[hidden] { display: none !important; }
.cv-field { min-width: 0; padding: 0; border: 0; }
.cv-dropzone { position: relative; display: flex; align-items: center; gap: 18px; padding: 22px; border: 2px dashed #c7d3ce; border-radius: 6px; background: #fbfdfc; }
.cv-dropzone:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.cv-dropzone svg { width: 34px; height: 34px; flex-shrink: 0; color: var(--accent); }
.cv-actions { display: grid; gap: 6px; }
.cv-choose { width: fit-content; min-height: 40px; padding: 9px 16px; border: 1px solid var(--accent); color: var(--accent); background: #fff; font-size: 14px; font-weight: 700; }
.cv-hint { color: var(--muted); font-size: 13px; }
.cv-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.cv-selected { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; font-size: 14px; }
.cv-filename { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.cv-remove { min-height: 36px; padding: 0 8px; border: 0; background: transparent; color: var(--accent); cursor: pointer; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.checkbox-field { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.checkbox-field input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.checkbox-field label { font-size: 15px; font-weight: 400; }
.checkbox-field label a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.checkbox-field .field-error { grid-column: 2; }
.form-message { margin-bottom: 18px; padding: 12px 14px; border-left: 4px solid #b42318; background: #fef3f2; color: #7a271a; font-size: 15px; font-weight: 600; }
.application-submit { width: 100%; justify-content: center; gap: 12px; }
.application-submit:disabled { cursor: wait; opacity: .75; }
.application-note { margin-top: 12px; color: var(--muted); font-size: 13px; text-align: center; }
.application-success { padding: 34px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 6px; }
.application-success h2 { font-size: clamp(26px, 3vw, 34px); }
.application-success p { margin-top: 12px; color: var(--muted); }
.application-reference { font-size: 14px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-field { margin-bottom: 18px; }
.privacy-copy > p:first-child { color: var(--muted); font-size: 14px; }
.privacy-copy h2 { margin-top: 26px; font-size: 22px; }
.privacy-copy p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.privacy-copy a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 700px) {
  .application-page { padding-block: 18px 56px; }
  .application-card, .application-success { padding: 22px 18px; }
}
