@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/assets/donk-koppen.woff2') format('woff2');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #24313b;
  --muted: #47555d;
  --orange: #ff995a;
  --peach: #f9ecdf;
  --mint: #e5f1eb;
  --paper: #f9f7ef;
  --line: #cec9be;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: .85rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.55 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .21em; text-decoration-thickness: .08em; }
img { max-width: 100%; height: auto; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
h1 { max-inline-size: 20ch; font-size: clamp(2.55rem, 1.4rem + 4.5vw, 5.75rem); }
h2 { font-size: clamp(1.7rem, 1.15rem + 1.35vw, 2.7rem); }
:focus-visible { outline: 3px solid #1d6582; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 2rem), 76rem); margin-inline: auto; }
.skip { position: absolute; top: -10rem; left: 1rem; z-index: 5; padding: .5rem .75rem; color: var(--ink); background: white; }
.skip:focus { top: .5rem; }
.sr-only { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }

.site-header { background: white; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: clamp(.55rem, 2vw, 1.5rem); min-height: 5rem; position: relative; }
.brand { margin-inline-end: auto; line-height: 1; }
.brand img { display: block; width: 5.25rem; height: 5.25rem; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 2rem); font-size: .94rem; font-weight: 650; }
.desktop-nav a, .small-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
nav a:hover, nav a[aria-current] { text-decoration: underline; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  width: fit-content;
  min-height: 44px;
  padding: .6rem .95rem;
  border: 1px solid transparent;
  border-radius: .42rem;
  color: white;
  background: var(--ink);
  font: inherit;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #364956; }
.contact-button { color: var(--ink); background: var(--orange); white-space: nowrap; }
.contact-button:hover { background: #ffb482; }
.small-nav { display: none; }
.action-arrow { line-height: 1; }
@media (prefers-reduced-motion: no-preference) {
  .action-arrow { transition: transform 140ms ease-out; }
  .button:is(:hover, :focus-visible) .action-arrow { transform: translateX(.18rem); }
}

.page { display: grid; gap: clamp(1rem, 2.5vw, 2rem); padding-block: clamp(1.25rem, 3vw, 2.65rem) clamp(2rem, 6vw, 5rem); }
.hero {
  display: grid;
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(1rem, 3.4vw, 3.1rem);
  border-block: 1px solid var(--line);
}
.hero:has(.portrait), .method:has(.portrait) { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.hero > div { display: grid; gap: 1rem; min-width: 0; }
.hero p { max-inline-size: 51ch; color: var(--muted); font-size: clamp(1rem, .92rem + .45vw, 1.24rem); }
.hero-home {
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: .85rem;
  color: white;
  background: #202f3a;
}
.hero-home:has(.portrait) { grid-template-columns: minmax(0, 1fr) clamp(16rem, 33vw, 23rem); }
.hero-home .hero-copy {
  gap: clamp(.85rem, 1.8vw, 1.3rem);
  justify-items: start;
  padding: clamp(1.2rem, 4vw, 3.65rem);
}
.hero-professionals h1 { color: #a5411b; }
.hero-home h1 { max-inline-size: 17ch; font-size: clamp(2.5rem, 1.25rem + 4.4vw, 4.75rem); }
.headline-accent { display: block; color: #ffb88c; }
.hero-home p { color: #e6ebee; }
.hero-home .text-link { border-bottom: 1px solid #a9b4ba; text-decoration: none; }
.hero-home .text-link:hover { color: #ffb88c; border-color: currentColor; }
.hero-home :focus-visible { outline-color: #ffb88c; }

.portrait { display: block; width: auto; max-height: 25rem; margin-inline: auto; object-fit: contain; border-radius: .3rem; }
.feature-media:not(:has(img)) { display: none; }
.feature-media {
  display: flex;
  align-items: center;
  align-self: stretch;
  border-inline-start: .65rem solid var(--orange);
  background: #33434e;
}
.feature-media .portrait { width: 100%; max-height: none; border-radius: 0; }

.routes, .article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.routes { gap: clamp(.75rem, 1.5vw, 1.2rem); }
.route, .panel { display: grid; align-content: start; gap: .72rem; min-width: 0; padding: clamp(1rem, 2.7vw, 2.1rem); }
.route {
  grid-template-rows: auto 1fr auto;
  border: 1px solid var(--line);
  border-block-start: .24rem solid #e1844f;
  border-radius: .65rem;
  background: var(--peach);
}
.route-professional { border-block-start-color: #57917e; background: var(--mint); }
.route p, .panel p { max-inline-size: 54ch; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1rem; }
.text-link { display: inline-flex; align-items: center; gap: .45rem; width: fit-content; min-height: 44px; font-weight: 700; }
.text-link:hover { text-decoration-thickness: .13em; }
.article-grid { gap: .8rem; }
.panel { border: 1px solid var(--line); background: white; }
.method { align-items: center; gap: clamp(1rem, 3vw, 2.4rem); background: var(--mint); }
.method p { margin-top: .65rem; }
.method .portrait { max-height: 19rem; }
.about { background: var(--peach); }
.home-method { background: #e0ede5; }

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 1rem clamp(1rem, 3vw, 3rem);
  align-items: start;
  padding: clamp(1rem, 2.7vw, 2rem);
  border: 1px solid var(--line);
  border-inline-start: .28rem solid var(--orange);
  background: white;
  border-radius: .65rem;
}
.contact-copy h2 { font-size: clamp(2rem, 1.5rem + 2.6vw, 3.8rem); }
.contact-copy p { max-inline-size: 36ch; margin-block: .65rem .15rem; color: var(--muted); }
.contact-panel > div:nth-child(2) { padding: clamp(.75rem, 2vw, 1.4rem); background: #f5f6f3; border-radius: .45rem; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .58rem .85rem; }
.wide { grid-column: 1 / -1; }
label { display: block; margin-bottom: .18rem; font-weight: 650; }
input:not([type="hidden"]), select, textarea {
  width: 100%;
  min-height: 44px;
  padding: .5rem .55rem;
  border: 1px solid #76818b;
  border-radius: .35rem;
  color: var(--ink);
  background: white;
  font: inherit;
}
textarea { display: block; resize: vertical; }
fieldset[disabled] :is(input, select, textarea) { color: var(--muted); background: #f8f6f2; opacity: 1; }
button:disabled { color: var(--ink); background: #e8e6e1; cursor: default; }
.form-note, .error { font-size: .9rem; margin-bottom: .5rem; }
.error { color: #8c201c; }
[aria-invalid="true"] { border-color: #8c201c; }
.alert { margin-bottom: 1rem; padding: .5rem .75rem; border-inline-start: .25rem solid #547768; background: var(--mint); }

.site-footer { border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.25rem; padding-block: .85rem; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.footer-row a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 815px) {
  .desktop-nav { display: none; }
  .small-nav { display: block; }
  .small-nav summary { display: flex; align-items: center; min-height: 44px; padding-inline: .7rem; border: 1px solid var(--line); border-radius: .42rem; font-weight: 700; cursor: pointer; }
  .small-nav nav { display: grid; position: absolute; inset: calc(100% + 1px) 0 auto; z-index: 2; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: .4rem; background: white; }
  .small-nav:not([open]) nav { display: none; }
}
@media (max-width: 700px) {
  .routes, .article-grid, .contact-panel, .hero:has(.portrait), .method:has(.portrait) { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: .9rem; }
  .hero > div { gap: .62rem; }
  .hero-home:has(.portrait) { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .portrait, .method .portrait { max-height: 16rem; }
  .feature-media { border-inline-start: 0; border-block-start: .3rem solid var(--orange); }
  .feature-media .portrait { width: auto; max-height: 15rem; }
}
@media (max-width: 440px) {
  .fields { grid-template-columns: minmax(0, 1fr); }
  .actions { gap: .1rem .65rem; }
}

.home-services { display: grid; gap: .85rem; }
.home-section-heading { display: grid; gap: .5rem; }
.home-section-heading p { max-inline-size: 63ch; color: var(--muted); }
.home-services .article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-services h3 { font-size: clamp(1.18rem, 1.05rem + .6vw, 1.5rem); line-height: 1.15; }

.vacancies { overflow: hidden; color: white; background: #202f3a; border-radius: .75rem; }
.vacancies-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .85rem 1.35rem;
  padding: clamp(1rem, 3vw, 2rem);
}
.vacancies-copy h2 { color: #ffb88c; font-size: clamp(1.8rem, 1.2rem + 1.9vw, 3.1rem); }
.vacancies-copy p { max-inline-size: 60ch; margin-top: .55rem; color: #e6ebee; }
.vacancies-action { color: var(--ink); background: var(--orange); }
.vacancies-action:hover { color: var(--ink); background: #ffb482; }
.vacancies :focus-visible { outline-color: #ffb88c; }
.vacancies-photos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: center; gap: .25rem; background: #33434e; }
.vacancies-photos:not(:has(img)) { display: none; }
.vacancies-photos:has(> :nth-child(3)) { grid-template-columns: minmax(0, 9fr) minmax(0, 4fr) minmax(0, 9fr); }
.vacancies-photos .portrait { width: 100%; max-height: 21rem; border-radius: 0; }
.vacancies-photos:has(> :nth-child(3)) .portrait { max-height: none; }
@media (max-width: 700px) {
  .home-services .article-grid { grid-template-columns: minmax(0, 1fr); }
}
