@font-face {
  font-family: Manrope;
  src: url("manrope-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+1E00-1E9F;
}
@font-face {
  font-family: Manrope;
  src: url("manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #132d34;
  --muted: #486064;
  --dark: #112e34;
  --deep: #0b252a;
  --teal: #165655;
  --paper: #fbfaf6;
  --cream: #f4eee3;
  --mint: #dbeae3;
  --line: #cbdcd6;
  --peach: #f8b68e;
  --white: #fff;
  --gap: clamp(1.15rem, 5vw, 5.5rem);
  --section: clamp(3.5rem, 8vw, 8rem);
  font: 16px/1.65 Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ac4d21; outline-offset: 4px; }
section { scroll-margin-top: 1rem; }
h1, h2, h3 { font-weight: 800; line-height: 1.05; letter-spacing: -.042em; text-wrap: balance; }
h2 { font-size: clamp(2.35rem, 4.4vw, 4.8rem); }
h3 { font-size: clamp(1.15rem, 1.65vw, 1.55rem); letter-spacing: -.026em; line-height: 1.22; }
p + p { margin-top: 1rem; }
.wrap { width: min(1260px, 100% - 2 * var(--gap)); margin-inline: auto; }
.lead { font-size: clamp(1.05rem, 1.48vw, 1.26rem); line-height: 1.65; }
.skip { position: fixed; top: -6rem; left: 1rem; z-index: 8; padding: .7rem 1rem; background: white; border-radius: .6rem; }
.skip:focus { top: 1rem; }

.header { position: relative; z-index: 6; background: white; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand { flex: 0 0 auto; }
.brand img { width: clamp(116px, 13vw, 154px); height: auto; }
.header nav { display: flex; align-items: center; gap: .1rem; }
.header nav a, .about-nav summary, .menu-toggle {
  display: inline-flex; align-items: center; min-height: 44px; padding: .45rem .62rem; border-radius: .65rem;
  font-size: .875rem; font-weight: 750; line-height: 1.2; text-decoration: none; white-space: nowrap;
}
.header nav a:hover, .about-nav summary:hover, .about-nav[open] summary { background: #edf5f1; }
.header nav > a[href="#enquire"] { margin-inline-start: .65rem; padding-inline: 1rem; background: var(--teal); color: white; }
.header nav > a[href="#enquire"]:hover { background: var(--deep); }
.menu-toggle {
  gap: .55rem; padding-inline: .8rem; border: 1px solid #b6cbc5; background: white; color: var(--ink);
}
.menu-toggle[aria-expanded="true"] { background: #edf5f1; }
.menu-toggle::before {
  content: ""; width: 14px; height: 10px; border-block: 1.5px solid currentColor;
  background: linear-gradient(currentColor,currentColor) center / 100% 1.5px no-repeat;
}
.about-nav { position: relative; }
.about-nav summary { gap: .42rem; cursor: pointer; list-style: none; }
.about-nav summary::-webkit-details-marker { display: none; }
.about-nav summary::after {
  content: ""; width: .43rem; height: .43rem; border-bottom: 1.5px solid; border-right: 1.5px solid;
  transform: translateY(-.1rem) rotate(45deg);
}
.about-nav[open] summary::after { transform: translateY(.1rem) rotate(225deg); }
.about-links {
  position: absolute; top: calc(100% + .4rem); left: 0; display: grid; min-width: 11rem;
  padding: .35rem; border: 1px solid var(--line); border-radius: .85rem; background: white;
  box-shadow: 0 .6rem 1.6rem #132d341c;
}
.learner-resources { margin-top: 1.25rem; }
.learner-resources summary { cursor: pointer; font-weight: 800; }
.learner-resources ul, .training-card ul { padding-inline-start: 1.25rem; }
.learner-resources a { color: var(--teal); }
.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 49px;
  padding: .62rem 1.2rem; border: 1px solid transparent; border-radius: 999px;
  background: var(--teal); color: white; text-decoration: none; text-align: center;
  font-weight: 800; font-size: .93rem; line-height: 1.3;
}
.button:hover { background: var(--deep); }
.button.secondary { background: transparent; color: var(--teal); border-color: #8ba5a0; }
.button.secondary:hover { background: var(--mint); }
.button:disabled { cursor: default; opacity: .5; }
.actions { display: flex; gap: .7rem 1rem; flex-wrap: wrap; align-items: center; margin-top: 1.65rem; }
.text-link { color: var(--teal); font-weight: 800; }
.text-link:hover { text-decoration-thickness: 2px; }

.hero { background: var(--dark); color: white; }
.slide { isolation: isolate; position: relative; }
.slide::after {
  position: absolute; z-index: -1; inset: 0; content: "";
  background: linear-gradient(90deg, var(--dark) 29%, #112e34f0 37%, #112e3499 49%, transparent 69%);
}
.slide-image { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 73%; height: 100%; object-fit: cover; object-position: 66% top; }
#controls-slide .slide-image { object-position: 88% center; }
.slide-inner { display: flex; align-items: center; min-height: clamp(530px, 42vw, 695px); }
.slide-copy { padding-block: clamp(2.8rem, 6vw, 7rem); width: min(51%, 620px); }
.slide-copy h1, .slide-copy h2 { max-width: 14ch; font-size: clamp(3rem, 5.4vw, 6rem); text-wrap: initial; }
.slide-copy p { font-size: clamp(1.02rem, 1.4vw, 1.24rem); max-width: 33ch; margin-top: 1.25rem; color: #e5eeeb; }
.hero .button { background: var(--peach); color: var(--deep); }
.hero .button:hover { background: #ffd3b7; }
.hero .glass { background: #10282d55; border-color: #d0e1db; color: white; }
.hero .glass:hover { background: var(--deep); }
.hero :focus-visible { outline-color: var(--peach); }
.hero-bar { background: var(--deep); border-top: 1px solid #527075; }
.hero-bar-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; }
.slide-select { display: flex; gap: .25rem; }
.slide-select button, .rotation { background: none; color: #e8f3f1; border: 0; }
.slide-select button { min-height: 62px; padding: .55rem clamp(.5rem, 1.7vw, 1.4rem); font-size: .95rem; line-height: 1.25; font-weight: 750; }
.slide-select button[aria-pressed="true"] { color: var(--peach); box-shadow: inset 0 -3px var(--peach); }
.slide-select button:hover, .rotation:hover { background: #204349; }
.slide-select button:focus-visible, .rotation:focus-visible { outline-offset: -5px; }
.rotation { width: 3.3rem; display: grid; place-items: center; }
.rotation span { font-size: 0; }
.rotation span::before {
  content: ""; display: block; width: 0; height: 0;
  border-block: .42rem solid transparent; border-left: .62rem solid currentColor;
}
.rotation[data-playing="true"] span::before {
  width: .62rem; height: .8rem;
  border: 0; border-inline: .19rem solid currentColor;
}

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); padding-block: var(--section); }
.feature-copy > p { margin-top: 1.2rem; color: var(--muted); }
.feature-image { overflow: hidden; border-radius: 2rem; min-width: 0; background: var(--mint); }
.feature-image img { width: 100%; height: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; object-position: 54% center; }
.freedom .feature-image { border-top-left-radius: clamp(2rem, 9vw, 8.5rem); }
.routes { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.routes article { border-left: 3px solid #8bb8aa; padding-left: 1rem; }
.routes p { margin-top: .3rem; color: var(--muted); }
.area { font-size: .94rem; font-weight: 800; }
.klaus .feature-image { border-bottom-right-radius: clamp(2rem, 8vw, 7.5rem); }
.klaus .feature-image img { aspect-ratio: 5 / 4; }

.adaptations { padding-block: var(--section); background: var(--mint); }
.adapt-heading { display: grid; grid-template-columns: 1.12fr .88fr; gap: 1.2rem 4rem; align-items: end; }
.adapt-heading p { max-width: 48ch; color: var(--muted); }
.adapt-gallery {
  --gallery-gap: clamp(1rem, 3vw, 2.6rem);
  --photo-width: calc((100% - var(--gallery-gap)) * .585);
  position: relative;
  display: grid;
  grid-template-columns: var(--photo-width) minmax(0, 1fr);
  align-items: start;
  gap: var(--gallery-gap);
  margin: 2rem 0 1.1rem;
}
.adapt-gallery::before { content: ""; aspect-ratio: 1.55; }
.control-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--photo-width);
  aspect-ratio: 1.55;
  overflow: hidden;
  border-radius: 1.6rem;
  background: #1c3036;
}
.control-photo img { width: 100%; height: 100%; object-fit: cover; }
#control-push-pull img { object-position: 65% center; }
#control-remote-control img { object-position: right center; }
#control-remote-steering-ball img { object-position: center 52%; }
.control-options { display: grid; gap: .44rem; }
.control-option { border-radius: 1rem; background: #f2f8f4; }
.control-option:has(button[aria-expanded="true"]) { background: white; }
.control-option button {
  min-height: 53px; display: flex; width: 100%; justify-content: space-between; gap: .7rem; align-items: center;
  padding: .65rem .9rem; border: 0; border-radius: 1rem; color: var(--ink); background: transparent; font-weight: 800; text-align: left;
}
.control-option button:hover { background: #f9fdf9; }
.control-option button:focus-visible { outline-offset: -5px; }
.control-option button span { width: .72rem; height: .72rem; border: solid var(--teal); border-width: 0 2px 2px 0; transform: translateY(-.15rem) rotate(45deg); flex-shrink: 0; }
.control-option button[aria-expanded="true"] span { transform: translateY(.15rem) rotate(225deg); }
.control-option p { margin: 0; padding: 0 1rem .85rem; color: var(--muted); }

.stories { background: var(--cream); padding-block: var(--section); }
.stories h2 { max-width: 19ch; text-wrap: initial; }
.story-grid, .other-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.story-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.story-grid article, .other-grid article { display: flex; flex-direction: column; align-items: start; border-radius: 1.55rem; padding: clamp(1.2rem,2.5vw,2rem); background: var(--white); }
.story-grid article { border-top: 4px solid #d29c7d; }
.story-grid p, .other-grid p { color: var(--muted); margin: .85rem 0 1.1rem; }
.story-author, .other-grid a { margin-top: auto; color: var(--teal); font-size: .94rem; font-weight: 800; }
.other { padding-block: clamp(3rem, 5vw, 5rem); }
.other h2 { font-size: clamp(2rem, 3.3vw, 3.3rem); }
.other-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.other-grid article { background: #edf3ef; scroll-margin-top: 1rem; }
.training-card ul { margin: 0 0 1.25rem; color: var(--muted); }
.training-card li + li { margin-top: .5rem; }
.adapt-note, .vacancies p { max-width: 68ch; margin-bottom: 1rem; color: var(--muted); }
.vacancies p { margin-top: 1rem; }

.enquiry { background: var(--dark); padding-block: var(--section); color: white; }
.enquiry-inner { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: clamp(1.6rem,6vw,6rem); }
.enquiry-intro p { margin: 1.1rem 0 1.25rem; color: #e3ebe8; }
.enquiry-intro a { display: block; width: fit-content; color: var(--peach); font-weight: 800; margin-top: .3rem; }
.form-area { min-width: 0; background: var(--paper); color: var(--ink); padding: clamp(1rem, 2.95vw, 2.35rem); border-radius: 2.25rem; }
.steps { display: grid; grid-template-columns: 1.17fr 1fr .76fr; gap: .27rem; background: #e5eee9; padding: .28rem; border-radius: 1.3rem; margin-bottom: 1.3rem; }
.steps button { min-height: 44px; border: 0; border-radius: 1.1rem; padding: .3rem .38rem; background: transparent; color: var(--ink); font-weight: 800; font-size: .83rem; line-height: 1.2; }
.steps button[aria-current] { background: var(--teal); color: white; }
.steps button:hover:not([aria-current]) { background: white; }
.form-window { display: flex; align-items: start; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.form-window::-webkit-scrollbar { display: none; }
.panel { border: 0; min-width: 0; flex: 0 0 100%; margin: 0; padding: .3rem .15rem .35rem; scroll-snap-align: start; }
.panel legend { color: var(--ink); font-size: clamp(1.1rem, 2vw, 1.55rem); font-weight: 800; line-height: 1.25; padding: .2rem .15rem .7rem; }
.choices { display: grid; gap: .52rem; }
.choice { display: flex; align-items: center; gap: .7rem; border-radius: .9rem; padding: .55rem .7rem; border: 1px solid var(--line); background: white; cursor: pointer; }
.choice:has(input:checked) { background: #e1f0e9; border-color: var(--teal); }
.choice input { accent-color: var(--teal); flex: 0 0 auto; width: 1.05rem; height: 1.05rem; margin: 0; }
.choice strong, .choice small { display: block; line-height: 1.3; }
.choice strong { font-size: .93rem; }
.choice small, .panel small { color: var(--muted); font-size: .81rem; }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.fields label, .panel label:has(textarea) { display: block; line-height: 1.3; font-size: .94rem; font-weight: 750; }
.panel input:not([type=radio]), .panel textarea {
  display: block; width: 100%; margin-top: .3rem; border: 1px solid #8aa39c; border-radius: .8rem; padding: .49rem .6rem; background: white; color: var(--ink);
}
.panel input:not([type=radio]) { min-height: 44px; }
.panel textarea { resize: vertical; }
#summary { margin-bottom: .75rem; color: var(--muted); overflow-wrap: anywhere; }
#message-help { display: block; margin: .65rem 0 0; line-height: 1.4; }
#form-status:not(:empty) { margin: .55rem .12rem; font-weight: 750; font-size: .91rem; }
.form-controls { display: flex; justify-content: space-between; gap: .5rem; margin-top: .92rem; }
.invalid { outline: 2px solid #ab3626; }
.draft-note { display: flex; align-items: center; justify-content: space-between; gap: .3rem .75rem; flex-wrap: wrap; margin-top: .9rem; color: var(--muted); font-size: .82rem; }
.draft-note button { border: 0; padding: .35rem .2rem; min-height: 40px; background: none; color: var(--teal); font-weight: 800; text-decoration: underline; }

.contact-dock {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 5; display: grid; grid-template-columns: repeat(5, auto); gap: .15rem;
  padding: .32rem; border: 1px solid #b7cec5; border-radius: 1.45rem; background: white; box-shadow: 0 8px 32px #0b252a2a;
}
.contact-dock a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; min-width: 4.25rem; min-height: 58px;
  padding: .28rem .52rem; background: #eef4ef; border-radius: 1.1rem; color: var(--deep); text-decoration: none; font-size: .76rem; font-weight: 800; line-height: 1.2;
}
.contact-dock a[href="#enquire"] { background: var(--teal); color: white; }
.contact-dock a:hover { background: var(--mint); color: var(--deep); }
.contact-dock a:focus-visible { outline-offset: -3px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem 1.5rem; padding-block: 1.4rem; font-size: .85rem; color: var(--muted); }

@media (min-width: 768px) {
  .enquiry-intro a {
    max-width: 100%;
    font-size: clamp(1.25rem, 1.9vw, 1.7rem);
    overflow-wrap: anywhere;
  }
}

@media (max-width: 850px) {
  .slide { display: grid; }
  .slide::after { display: none; }
  .slide-image { position: static; width: 100%; height: auto; aspect-ratio: 16 / 9; object-position: center; }
  .slide-inner { align-items: start; min-height: 0; }
  .slide-copy { width: 100%; min-height: 255px; padding-block: 1.35rem 1.55rem; }
  .slide-copy h1, .slide-copy h2 { max-width: 20ch; font-size: clamp(2.25rem, 6.7vw, 4.1rem); }
  .slide-copy p { max-width: 40ch; margin-top: .7rem; }
  .actions { margin-top: 1rem; }
  .split { gap: 2rem; }
  .enquiry-inner, .adapt-heading { grid-template-columns: 1fr; }
  .enquiry-intro h2 { max-width: 15ch; }
  .enquiry-intro p { max-width: 45ch; }
}
@media (max-width: 740px) {
  .adapt-gallery { display: block; }
  .adapt-gallery::before { display: none; }
  .control-option { scroll-margin-top: .6rem; }
  .control-photo {
    position: static;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin-bottom: .85rem;
    border-radius: 0;
  }
}
@media (max-width: 640px) {
  .hero-bar-inner { width: 100%; }
  .slide-select { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .slide-select button { padding-inline: .33rem; font-size: .8rem; }
  .rotation { width: 2.55rem; }
  .split, .story-grid { grid-template-columns: 1fr; }
  .klaus .feature-image { grid-row: 2; }
  .feature-image img { aspect-ratio: 4 / 3; }
  .form-area { border-radius: 1.65rem; }
  .contact-dock {
    right: auto; left: 50%; bottom: max(.4rem,env(safe-area-inset-bottom)); transform: translateX(-50%);
    width: min(calc(100% - 1rem), 28rem); grid-template-columns: repeat(5,minmax(0,1fr)); border-radius: 1.2rem;
  }
  .contact-dock a { min-width: 0; min-height: 51px; border-radius: .9rem; padding-inline: .16rem; font-size: .7rem; }
  .contact-dock svg { width: 20px; height: 20px; }
}
@media (max-width: 370px) {
  .slide-copy { min-height: 315px; }
  .fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

html { scroll-padding-bottom: 6rem; }
.credentials { margin: 1.1rem 0 0; padding-inline-start: 1.2rem; color: var(--ink); font-weight: 750; }
.credentials li + li { margin-top: .35rem; }
@media (max-width: 640px) {
  body:has(.fields input:focus, .panel textarea:focus) .contact-dock { visibility: hidden; }
}

/* The dock is fixed to the viewport, so leave room for it below the wordmark. */
body > footer.abi-site-credit {
  padding-bottom: calc(8rem + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 1050px) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 68px; }
  .menu-toggle { grid-column: 2; justify-self: end; }
  .header nav { grid-column: 1 / -1; display: grid; gap: 0; padding: 0 0 .85rem; }
  .header nav > a, .about-nav summary { width: 100%; padding-inline: .7rem; }
  .about-nav summary { justify-content: space-between; }
  .about-links { position: static; padding: 0 0 .25rem 1rem; border: 0; background: transparent; box-shadow: none; }
  .header nav > a[href="#enquire"] { width: fit-content; margin: .4rem 0 0 .7rem; }
}
@media (max-width: 760px) {
  .other-grid { grid-template-columns: 1fr; }
}

@media (width > 640px) {
  html { scroll-padding-bottom: 7rem; }
  .contact-dock { gap: .3rem; padding: .4rem; }
  .contact-dock a {
    min-width: 5.25rem;
    min-height: 4.5rem;
    gap: .35rem;
    padding: .4rem .65rem;
    font-size: .875rem;
  }
  .contact-dock svg { width: 26px; height: 26px; }
  body > footer.abi-site-credit {
    padding-bottom: calc(9rem + env(safe-area-inset-bottom, 0px));
  }
}
