/* Align the text chapters and the closing photograph to the workbench grid. */
body[data-page="home"] main :is(.tt-tasks,.tt-process,.tt-faq) .tt-home-inner {
  width: min(100% - var(--gutter) * 2, 1376px);
  max-width: none;
  padding-inline: 0;
}
body[data-page="home"] main :is(.tt-tasks,.tt-process,.tt-faq) {
  padding-block: clamp(2.75rem,5.3vw,5rem);
}

.tt-quayside {
  --quay-ink: #0b2038;
  background: var(--quay-ink);
  color: #fff8eb;
}
.tt-quayside * { box-sizing: border-box; }
.tt-quayside__plate { isolation: isolate; position: relative; }
.tt-quayside__picture {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  background: #1a3347;
}
.tt-quayside__picture > img,
.tt-quayside__picture figure,
.tt-quayside__picture figure img,
.tt-quayside__picture .media-focus,
.tt-quayside__picture .media-crop {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}
.tt-quayside__picture img { object-fit: cover; object-position: 56% 49%; }
.tt-quayside__picture [data-fit="contain"] img { object-fit: contain; }
.tt-quayside__picture [data-position="top"] img { object-position: center top; }
.tt-quayside__picture [data-position="bottom"] img { object-position: center bottom; }
.tt-quayside__picture figcaption {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  max-width: 45%;
  padding: .3rem .6rem;
  background: #10273e;
  color: #fff;
  font-size: .9rem;
}
.tt-quayside__picture::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,#081a30fa 0%,#091c32e8 27%,#091c32ba 48%,#091c3226 76%);
}
.tt-quayside__inner { width: min(100% - var(--gutter) * 2, 1376px); padding-inline: 0; margin-inline: auto; }
.tt-quayside__copy {
  min-height: clamp(22rem,32vw,32rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.1rem;
  padding-block: clamp(2rem,5vw,4.5rem);
}
.tt-quayside .tt-quayside__copy h2 {
  color: #fff7e9;
  margin: 0;
  max-width: 14ch;
  font: 540 clamp(2.25rem,4.6vw,4.6rem)/1.06 "Unbounded",sans-serif;
  letter-spacing: -.045em;
  overflow-wrap: break-word;
}
.tt-quayside .tt-quayside__copy p { max-width: min(46ch,46%); margin: 0; font-size: 1.065rem; line-height: 1.5; color: #e6eef5; }
.tt-quayside .tt-quayside__copy .tt-quayside__label { font-size: .875rem; }
.tt-quayside__rail { background: #102944; }
.tt-quayside__rail > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.45rem; }
.tt-quayside__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.65rem; }
.tt-quayside__rail a {
  color: #fff9f1;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  justify-content: space-between;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 600;
}
.tt-quayside__rail a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.tt-quayside__rail .tt-quayside__send { background: #c71531; padding: .72rem 1.2rem; border-radius: 4px; }
@media(hover:hover) {
  .tt-quayside__send:hover { background: #a9142a; }
  .tt-quayside__consult:hover { text-decoration: underline; text-underline-offset: .3em; }
}
.tt-quayside__rail small { flex: 1 1 15rem; max-width: 35ch; color: #b9cbdc; font-size: .82rem; line-height: 1.45; }
@media(max-width: 700px) {
  .tt-quayside__picture { height: clamp(11rem,48vw,18rem); z-index: auto; position: relative; }
  .tt-quayside__picture::after { background: linear-gradient(0deg,var(--quay-ink),transparent 24%); }
  .tt-quayside__picture figcaption { bottom: .75rem; max-width: 80%; z-index: 1; }
  .tt-quayside .tt-quayside__copy p { max-width: 40ch; }
  .tt-quayside__copy { min-height: auto; padding: .5rem 0 1.55rem; gap: .75rem; }
  .tt-quayside .tt-quayside__copy h2 { font-size: clamp(1.8rem,6.8vw,2.8rem); max-width: 19ch; }
  .tt-quayside .tt-quayside__copy p { font-size: 1rem; }
  .tt-quayside__rail > div { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .tt-quayside__rail small { flex: initial; max-width: 48ch; }
}
@media(max-width:430px) {
  .tt-quayside__actions { display: grid; justify-items: start; gap: .15rem; }
}
