/* Iris Aerial — field-led engineering, with the scale of an enterprise brand. */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/barlow-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/barlow-700-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/space-grotesk-latin.woff2") format("woff2");
}
:root {
  --ak-ink: #10251d;
  --ak-surface: #162e24;
  --ak-green: #28583d;
  --ak-muted: #c5d4c9;
  --ak-line: #3b5848;
  --ak-lime: #a0e66d;
  --navy: #081d36;
  --navy2: #163f78;
  --cyan: #1959d1;
  --cyan2: #1249af;
  --accent: #a8ccff;
  --mist: #f3f6fb;
  --paper: #ffffff;
  --white: #ffffff;
  --ink: #14243b;
  --muted: #58677c;
  --line: #dce3ed;
  --success: #21634e;
  --danger: #b42318;
  --on-dark: #d8e3f4;
  --dark-line: #3e5575;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --font-display: "Barlow", "Segoe UI", sans-serif;
  --font-technical: "Space Grotesk", "Segoe UI", sans-serif;
  --people-surface: var(--mist);
  --button-radius: 6px;
  --r: 8px;
  --card-radius: 8px;
  --header: 84px;
  --gutter: 56px;
  --section-space: 96px;
  --content: 1240px;
  --shadow: 0 12px 40px #0a293b0a;
  --scroll-thumb: #8b9ea9;
  --scroll-track: var(--mist);
  --scroll-hover: #586c77;
  --scroll-active: var(--cyan);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}
*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
*::-webkit-scrollbar-track {
  background: var(--scroll-track);
}
*::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border: 3px solid var(--scroll-track);
  border-radius: 6px;
}
*::-webkit-scrollbar-thumb:hover {
  background: var(--scroll-hover);
}
*::-webkit-scrollbar-thumb:active {
  background: var(--scroll-active);
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 24px);
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
body.menu-open {
  overflow: hidden;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
label[for="resume"] {
  cursor: pointer;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-underline-offset: 5px;
  transition: color 0.18s;
}
a:hover {
  color: var(--cyan2);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure,
blockquote {
  margin: 0;
}
h1,
h2,
h3,
h4,
p {
  margin: 0 0 20px;
}
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: pretty;
}
h1 {
  font-size: clamp(44px, 5.3vw, 72px);
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.3vw, 46px);
  line-height: 1.1;
}
h3 {
  font: 600 28px/1.15 var(--font-display);
  letter-spacing: -0.025em;
  text-wrap: pretty;
}
p {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--cyan2);
  outline-offset: 5px;
}
h1:focus,
h2[tabindex="-1"]:focus {
  outline: none;
}
::selection {
  background: var(--cyan);
  color: var(--white);
}
.shell {
  width: min(var(--content), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.section {
  padding-block: var(--section-space);
}
.copy {
  max-width: 510px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 72px;
  margin-bottom: 46px;
}
.section-head > div {
  max-width: 670px;
}
.section-head .heading {
  margin-bottom: 0;
}
.section-head > p {
  flex: 0 1 420px;
  margin-bottom: 2px;
  font-size: 17px;
}
.skip {
  position: fixed;
  z-index: 100;
  top: -100px;
  left: 16px;
  padding: 12px 20px;
  background: var(--cyan);
  color: var(--white);
}
.skip:focus {
  top: 16px;
}

/* One navigation and action language across every route. */
.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px #0a293b0e;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: var(--header);
}
.brand {
  flex-shrink: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.brand img {
  width: 148px;
  height: auto;
}
.brand:hover {
  opacity: 0.82;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nav-button {
  position: relative;
  padding: 16px 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.nav-button::after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.nav-button:hover,
.nav-button[aria-current="page"] {
  color: var(--cyan);
}
.nav-button:hover::after,
.nav-button[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav-button:active {
  color: var(--navy);
}
.header-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 48px;
  border: 1px solid var(--cyan);
  border-radius: var(--button-radius);
  padding: 10px 20px;
  background: var(--cyan);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.header-contact:hover {
  background: var(--navy2);
  border-color: var(--navy2);
}
.header-contact:active {
  background: var(--navy2);
}
.menu-toggle,
.mobile-nav {
  display: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 50px;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: var(--button-radius);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  transition:
    background 0.18s,
    border-color 0.18s,
    color 0.18s,
    box-shadow 0.18s;
}
.primary,
.ak-primary {
  background: var(--cyan);
  color: var(--white);
}
.primary:hover,
.ak-primary:hover {
  background: var(--navy2);
  color: var(--white);
}
.primary:active,
.ak-primary:active {
  background: var(--navy);
}
.secondary,
.ak-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--cyan);
}
.secondary:hover,
.ak-secondary:hover {
  background: var(--mist);
  border-color: var(--cyan);
  color: var(--cyan);
}
.secondary:active,
.ak-secondary:active {
  background: var(--line);
}
.light {
  background: var(--white);
  color: var(--navy);
}
.light:hover {
  background: var(--mist);
  color: var(--cyan);
}
.light:active {
  background: var(--line);
}
button:disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.5;
}
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--cyan);
  background: transparent;
  color: var(--cyan);
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.text-link:hover {
  color: var(--cyan2);
  border-color: var(--cyan2);
}
.text-link:active {
  color: var(--navy);
}
.arrow,
.header-contact > span,
.text-link > span {
  display: inline-block;
  font-weight: 400;
  transition: transform 0.18s;
}
.button:hover .arrow,
.header-contact:hover > span,
.text-link:hover > span {
  transform: translateX(3px);
}

.application {
  padding: 36px;
  margin-top: 28px;
  scroll-margin-top: 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--cyan);
  border-radius: var(--card-radius);
  background: var(--mist);
}
.application-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
}
.application-head h3 {
  font-size: 30px;
  margin-bottom: 12px;
}
.application-head p {
  font-size: 16px;
}
.close-app {
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  font-size: 24px;
  line-height: 1;
}
.close-app:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.close-app:active {
  background: var(--line);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 22px;
}
.field {
  min-width: 0;
}
.field.full {
  grid-column: 1 / -1;
}
.field > label,
.field > .field-help {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.required {
  color: var(--danger);
}
.field input:not([type="file"]),
.field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #a8bac4;
  border-radius: var(--r);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  transition: border-color 0.18s;
}
.field input:hover,
.field textarea:hover {
  border-color: var(--cyan);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
.field textarea {
  min-height: 112px;
  resize: none;
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--cyan2);
  outline-offset: 2px;
}
.field [aria-invalid="true"] {
  border-color: var(--danger) !important;
}
.field-error {
  display: block;
  min-height: 22px;
  margin-top: 5px;
  color: var(--danger);
  font-size: 14px;
}
.field-help {
  color: var(--muted);
  font-size: 14px;
}
.upload-zone {
  display: block;
  padding: 28px 20px;
  border: 1px dashed #a8bac4;
  border-radius: var(--r);
  background: var(--white);
  text-align: center;
  cursor: pointer;
}
.upload-zone:hover,
.upload-zone.dragging,
.field:has(#resume:focus-visible) .upload-zone {
  outline: 2px solid var(--cyan2);
  outline-offset: 2px;
  border-color: var(--cyan);
  background: var(--white);
}
.upload-zone strong,
.upload-zone .field-help {
  display: block;
}
.upload-zone strong {
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 8px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.file-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  font-size: 15px;
}
.file-name {
  overflow-wrap: anywhere;
}
.remove-file {
  min-height: 44px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--danger);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.remove-file:hover {
  background: var(--white);
}
.remove-file:active {
  color: var(--ink);
}
.form-footer {
  margin-top: 16px;
}
.form-footer p {
  font-size: 14px;
}
.form-success {
  margin-top: 24px;
  padding: 22px;
  border-left: 3px solid var(--success);
  background: var(--white);
  color: var(--success);
  font-size: 16px;
}
.form-success a {
  color: var(--success);
}
.toast {
  position: fixed;
  z-index: 40;
  bottom: 24px;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 16px 24px;
  border-radius: var(--r);
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 18px #0a293b20;
  font-size: 16px;
  visibility: hidden;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.18s;
}
.toast.show {
  visibility: visible;
  opacity: 1;
}

/* The footer is the shared anchor for company, contact, and navigation. */
.site-footer {
  --on-dark: var(--muted);
  --accent: var(--cyan);
  --dark-line: var(--line);
  padding: 44px 0 18px;
  border-top: 2px solid var(--cyan);
  background: linear-gradient(118deg, #ffffff 0%, #f3f6fb 48%, #dce8f8 100%);
  color: var(--ink);
  font-size: 15px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.65fr 1.25fr;
  gap: 60px;
}
.footer-associations {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(160px, 0.24fr) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}
.footer-brand img {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
  border: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  margin-bottom: 24px;
}
.footer-brand p {
  max-width: 285px;
  color: var(--on-dark);
  font-size: 15px;
}
.footer-col h3 {
  font: 600 15px/1.4 var(--font-body);
  margin: 0 0 24px;
  color: var(--navy);
}
.footer-links {
  display: grid;
  gap: 9px;
}
.footer-link {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--on-dark);
  font-size: 15px;
  text-align: left;
}
.footer-links a {
  color: var(--on-dark);
  text-decoration: none;
}
.footer-link:hover,
.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.footer-link:active,
.footer-links a:active {
  color: var(--white);
}
.footer-links .address {
  color: var(--on-dark);
  padding-top: 6px;
}
.socials {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  font-size: 13px;
}
.footer-top > .footer-col:nth-of-type(4) .socials {
  margin-top: 0;
}
.socials a {
  color: var(--on-dark);
  text-decoration: none;
}
.socials a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.footer-bottom-band {
  --on-dark: var(--white);
  --accent: var(--white);
  --dark-line: rgba(255, 255, 255, 0.28);
  margin-bottom: -20px;
  padding-bottom: 20px;
  background: var(--cyan);
  color: var(--on-dark);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  margin-top: 22px;
  border-top: 1px solid var(--dark-line);
  color: var(--on-dark);
  font-size: 13px;
}
.footer-bottom-band .footer-bottom {
  margin-top: 0;
}

/* Reusable media controls and full-image inspection. */
.atlas-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--button-radius);
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  line-height: 1;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.atlas-control:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--white);
}
.atlas-control:active {
  transform: scale(0.96);
}
.atlas-control:nth-of-type(3) {
  min-width: 68px;
}
.atlas-dots {
  display: flex;
  margin-left: auto;
}
.atlas-dot {
  position: relative;
  width: 30px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}
.atlas-dot::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  top: 19px;
  left: 12px;
  border-radius: 50%;
  background: var(--line);
  transition:
    transform 0.2s,
    background 0.2s;
}
.atlas-dot.active::before {
  background: var(--cyan);
  transform: scale(1.5);
}
.atlas-dot:hover::before {
  background: var(--cyan);
}
.image-open {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  overflow: hidden;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
}
.image-open img {
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.image-open::after {
  content: "⤢";
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font: 22px/1 var(--font-body);
  opacity: 0.85;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.image-open:hover::after {
  opacity: 1;
  transform: rotate(-8deg);
}
.image-open:hover img {
  transform: scale(1.025);
}
.image-open:active::after {
  transform: scale(0.94);
}
.image-open:focus-visible {
  outline-offset: -5px;
  box-shadow: inset 0 0 0 7px var(--white);
}
.image-viewer {
  width: min(1240px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100svh - 40px);
  margin: auto;
  padding: 64px 24px 20px;
  border: 1px solid var(--dark-line);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 50% 0%, #16486b 0%, transparent 55%),
    var(--navy);
  color: var(--white);
  box-shadow: 0 28px 100px #0008;
  overflow: auto;
}
.image-viewer[open] {
  animation: viewer-open 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.image-viewer::backdrop {
  background: #061a27e6;
}
.image-viewer figure {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 0;
}
.image-viewer img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100svh - 190px);
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 16px 48px #0006;
}
.image-viewer figcaption {
  width: min(100%, 70ch);
  min-height: 28px;
  color: var(--on-dark);
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
  margin-inline: auto;
}
.image-viewer-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  margin: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--dark-line);
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 26px;
  line-height: 1;
}
.image-viewer-close:hover {
  background: var(--white);
  color: var(--navy);
}
.image-viewer-close:active {
  background: var(--accent);
}
.image-viewer-close:focus-visible {
  outline-color: var(--accent);
}
@keyframes viewer-open {
  from {
    opacity: 0.4;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Shared responsive shell; page-specific compositions live in pages.css. */
@media (max-width: 1200px) {
  :root {
    --gutter: 40px;
    --section-space: 72px;
  }
  .header-inner {
    gap: 28px;
  }
  .desktop-nav {
    gap: 22px;
  }
  .brand img {
    width: 154px;
  }
  .header-contact {
    gap: 16px;
    padding-inline: 16px;
  }
  .footer-top {
    gap: 40px;
  }
}
@media (max-width: 1000px) {
  :root {
    --header: 80px;
    --gutter: 32px;
    --section-space: 64px;
  }
  .desktop-nav {
    display: none;
  }
  .header-contact {
    margin-left: auto;
  }
  .menu-toggle {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
  }
  .menu-toggle span,
  .menu-toggle span::after {
    display: block;
    position: absolute;
    width: 18px;
    height: 2px;
    top: 16px;
    left: 12px;
    background: var(--ink);
    transition: transform 0.2s;
  }
  .menu-toggle span::after {
    content: "";
    top: 8px;
    left: 0;
  }
  .menu-toggle[aria-expanded="true"] span {
    top: 21px;
    transform: rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span::after {
    top: 0;
    transform: rotate(90deg);
  }
  .menu-toggle:hover {
    border-color: var(--cyan);
    background: var(--mist);
  }
  .menu-toggle:active {
    background: var(--line);
  }
  .mobile-nav.open,
  .mobile-nav.closing {
    display: flex;
    flex-direction: column;
    position: absolute;
    inset: 100% 0 auto;
    padding: 16px var(--gutter) 28px;
    max-height: calc(100dvh - var(--header));
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 24px 24px;
    background: var(--white);
    box-shadow: 0 18px 28px #0a293b16;
  }
  .mobile-nav.open {
    animation: menu-open 0.3s ease-out;
  }
  .mobile-nav.closing {
    animation: menu-close 0.2s ease-in forwards;
  }
  .mobile-nav .nav-button {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font: 600 26px/1.4 var(--font-display);
  }
  .mobile-nav .nav-button::after {
    bottom: -1px;
    width: 42px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr 1.3fr;
    gap: 36px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 40px;
  }
  .footer-brand img,
  .footer-brand p {
    margin-bottom: 0;
  }
  .footer-brand p {
    max-width: 480px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  :root {
    --gutter: 24px;
    --section-space: 64px;
  }
  body {
    font-size: 17px;
  }
  h1 {
    font-size: 48px;
  }
  h2 {
    font-size: 38px;
  }
  .header-inner {
    gap: 18px;
  }
  .brand img {
    width: 142px;
  }
  .header-contact {
    min-height: 44px;
    padding-inline: 14px;
    gap: 16px;
    font-size: 15px;
  }
  .section-head {
    display: block;
    margin-bottom: 36px;
  }
  .section-head > p {
    max-width: 540px;
    margin-top: 22px;
  }
  .section-head .text-link {
    margin-top: 22px;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px 28px;
  }
  .footer-brand {
    display: block;
  }
  .footer-brand img {
    margin-bottom: 24px;
  }
  .footer-top > .footer-col:nth-last-child(2) {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    align-items: start;
    flex-direction: column;
    gap: 10px;
    margin-top: 40px;
  }
}
@media (max-width: 520px) {
  :root {
    --gutter: 20px;
    --header: 76px;
    --section-space: 56px;
  }
  h1 {
    font-size: 44px;
  }
  h2 {
    font-size: 34px;
  }
  .header-inner {
    gap: 12px;
  }
  .brand img {
    width: 126px;
  }
  .header-contact {
    padding-inline: 12px;
    gap: 12px;
    font-size: 14px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .application {
    padding: 24px 20px;
  }
  .application-head h3 {
    font-size: 27px;
  }
  .upload-zone {
    padding: 24px 16px;
  }
  .footer-top {
    gap: 36px 24px;
  }
  .site-footer {
    padding-top: 32px;
  }
  .footer-bottom {
    font-size: 12px;
  }
  .image-viewer {
    width: calc(100vw - 24px);
    max-height: calc(100svh - 24px);
    padding: 64px 12px 16px;
  }
  .image-viewer img {
    max-height: calc(100svh - 200px);
  }
}
@media (max-width: 360px) {
  :root {
    --gutter: 16px;
  }
  .header-inner {
    gap: 8px;
  }
  .brand img {
    width: 112px;
  }
  .header-contact {
    font-size: 13px;
    padding-inline: 10px;
    gap: 8px;
  }
}
@keyframes menu-open {
  from {
    opacity: 0.4;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes menu-close {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="full"]) {
    scroll-behavior: auto;
  }
  html:not([data-motion="full"]) *,
  html:not([data-motion="full"]) *::before,
  html:not([data-motion="full"]) *::after {
    animation: none !important;
    transition: none !important;
  }
}
html[data-motion="reduce"] {
  scroll-behavior: auto;
}
html[data-motion="reduce"] *,
html[data-motion="reduce"] *::before,
html[data-motion="reduce"] *::after {
  animation: none !important;
  transition: none !important;
}
@media (forced-colors: active) {
  * {
    scrollbar-color: auto;
  }
  .menu-toggle span,
  .menu-toggle span::after {
    background: ButtonText;
    forced-color-adjust: none;
  }
  .button,
  .header-contact,
  .menu-toggle,
  .atlas-control,
  .image-viewer-close {
    border: 1px solid ButtonText;
  }
  .atlas-dot::before {
    background: ButtonText;
    forced-color-adjust: none;
  }
  .atlas-dot.active::before {
    background: Highlight;
  }
  .image-open::after {
    background: Canvas;
    color: CanvasText;
    border: 1px solid CanvasText;
  }
  .image-viewer {
    background: Canvas;
    color: CanvasText;
  }
  .image-viewer figcaption {
    color: CanvasText;
  }
}

/* Compact footer; social destinations retain accessible names. */
.site-footer {
  font-size: 14px;
  line-height: 1.5;
}
.footer-brand p,
.footer-link {
  font-size: 14px;
}
.footer-brand img {
  margin-bottom: 14px;
}
.footer-col h3 {
  margin-bottom: 14px;
}
.footer-bottom {
  padding-top: 16px;
}
.socials {
  gap: 8px;
  margin-top: 14px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--dark-line);
  border-radius: 50%;
}
.socials a:hover {
  color: var(--navy);
  background: var(--accent);
  border-color: var(--accent);
}
.socials svg {
  display: block;
}

/* Incubation and association marks share a full-width footer row. */
.association-group {
  min-width: 0;
}
.association-label {
  min-height: 20px;
  margin: 0 0 8px;
  color: var(--on-dark);
  font: 700 14px/1.4 var(--font-body);
}
.incubation-group {
  text-align: left;
}
.partner-group {
  text-align: center;
}
.association-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 100%;
}
.incubation-group .association-list {
  justify-content: flex-start;
}
.partner-group .association-list {
  justify-content: center;
}
.association-link {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 4px;
  border-radius: var(--button-radius);
  background: var(--white);
  cursor: pointer;
}
.association-link img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 36px;
  margin: 0;
  padding: 0;
  border-radius: 0;
  object-fit: contain;
}
.association-link-wordmark { width: 96px; }
.association-link-wide { width: 132px; }
.association-link:hover { outline: 2px solid var(--accent); outline-offset: 2px; }
.association-link:active { opacity: .8; }
@media (max-width: 1000px) {
  .footer-associations {
    grid-template-columns: minmax(140px, 0.28fr) minmax(0, 1fr);
    gap: 20px;
  }
  .association-list { gap: 8px; }
  .association-link { width: 42px; height: 42px; }
  .association-link-wordmark { width: 84px; }
  .association-link-wide { width: 116px; }
}
@media (max-width: 760px) {
  .footer-associations {
    grid-template-columns: minmax(112px, 0.32fr) minmax(0, 1fr);
    gap: 12px;
  }
}
@media (max-width: 520px) {
  .footer-associations {
    grid-template-columns: minmax(100px, 0.34fr) minmax(0, 1fr);
    gap: 8px;
  }
  .association-label { min-height: 2.8em; }
  .association-list { flex-wrap: wrap; gap: 4px; }
  .association-link { width: 30px; height: 34px; padding: 3px; }
  .association-link-wordmark { width: 54px; }
  .association-link-wide { width: 72px; }
  .association-link img { max-height: 26px; }
}

@media (min-width: 1001px) {
  .footer-brand {
    grid-column: 1;
    grid-row: 1;
  }
  .footer-top > .footer-col:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
  }
  .footer-top > .footer-col:nth-of-type(3) {
    grid-column: 3;
    grid-row: 1;
  }
  .footer-top > .footer-col:nth-of-type(4) {
    grid-column: 4;
    grid-row: 1;
  }
  .footer-associations {
    grid-column: 1 / 4;
    grid-row: 1;
    align-self: end;
  }
}
@media (max-width: 1000px) {
  .footer-associations {
    grid-column: 1 / -1;
    grid-row: auto;
    align-self: start;
  }
}
@media (max-width: 760px) {
  .footer-associations {
    grid-column: 1 / -1;
    grid-row: auto;
    align-self: start;
  }
  .footer-top > .footer-col:nth-of-type(2),
  .footer-top > .footer-col:nth-of-type(3) {
    grid-column: auto;
    grid-row: auto;
  }
  .footer-top > .footer-col:nth-of-type(4) {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}
