/* One crisp, consistent arrow for links. Direction follows the destination. */
body svg.link-arrow{display:inline-block;vertical-align:-.18em;flex:0 0 21px;width:21px;height:21px;margin-left:12px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;overflow:visible;transform:none;transition:transform .18s ease}
body a:hover>svg.link-arrow-out{transform:translate(2px,-2px)}
body a:hover>svg.link-arrow-down{transform:translateY(2px)}
body a:hover>svg.link-arrow-up{transform:translateY(-2px)}
.home-page .method-route .hp-link,.home-page .offer-actions .hp-link,
body .hp-link,body .text-link,body .brand-cta,body .contact-primary{width:fit-content;max-width:100%;gap:0;justify-content:center}
.home-page .method-route{align-items:stretch}
.home-page .method-route article{height:auto;min-height:0}
.home-page .method-route h3{font-size:clamp(27px,2.5vw,33px);text-wrap:balance}
.home-page .method-route article>p{flex:1}
.home-page .method-route .hp-link{margin-top:auto}
/* Distinct editorial sections give art and stories their own space. */
.home-page .home-art{background:#f3f0e9}
.home-page .home-logbook{background:#fff}
.home-page .home-editorial{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7%;align-items:center}
.home-page .home-editorial>*{min-width:0}
.home-page .home-editorial figure{margin:0}
.home-page .home-editorial figure>img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.home-page .home-art .carry-art-photo{object-position:50% 24%}
.home-page .home-logbook .carry-logbook-photo{object-position:60% center}
.home-page .editorial-copy h2{font-size:clamp(40px,4.2vw,63px);margin:18px 0 24px;text-wrap:balance}
.home-page .editorial-copy>p:not(.hp-kicker){font-size:23px;line-height:1.45;max-width:630px;margin:0 0 26px}
.home-page .editorial-copy>.hp-link{font-size:19px;margin-top:20px}
.home-page .editorial-photo{position:relative}
.home-page .art-visitor{position:absolute;width:clamp(130px,16vw,225px);right:-25px;bottom:14px;pointer-events:none;transform:rotate(-8deg);filter:brightness(0) saturate(100%) invert(77%) sepia(26%) saturate(955%) hue-rotate(314deg) brightness(103%) contrast(101%)}
.home-page .editorial-stories{margin-top:30px}
.home-page .carry-story{align-items:center;font-size:22px}
.home-page .carry-story>.link-arrow{margin-left:auto}
@media(max-width:1100px){
 .home-page .method-route{gap:28px}
 .home-page .method-route article>p{flex:none}
 .home-page .method-route .hp-link{margin-top:0}
 .home-page .home-editorial{gap:5%}
 .home-page .editorial-copy h2{font-size:42px}
 .home-page .editorial-copy>p:not(.hp-kicker){font-size:21px}
}
@media(max-width:760px){
 .home-page .method-route{align-items:start;grid-auto-rows:auto;gap:32px}
 .home-page .method-route article{display:block;min-height:0;height:auto}
 .home-page .method-route h3{font-size:31px;max-width:100%}
 .home-page .method-route article>p{margin-bottom:20px}
 .home-page .method-route .hp-link{display:inline-flex;width:fit-content;max-width:100%;min-height:50px}
 .home-page .home-editorial{grid-template-columns:1fr;gap:38px}
 .home-page .home-art .editorial-photo{order:2}
 .home-page .editorial-copy h2{font-size:42px;line-height:1.08;margin:16px 0 24px}
 .home-page .editorial-copy>p:not(.hp-kicker){font-size:21px}
 .home-page .editorial-copy>.hp-link{font-size:18px;margin-top:8px}
 .home-page .art-visitor{width:150px;right:-8px;bottom:18px}
 .home-page .carry-story{font-size:21px}
}
@media(prefers-reduced-motion:reduce){body svg.link-arrow{transition:none}body a:hover>svg.link-arrow{transform:none}}

.home-art .art-photo-stack {
  display: grid;
  grid-template-columns: 48% 27% 25%;
  grid-template-rows: auto auto;
  align-items: end;
  isolation: isolate;
}
.home-art .art-photo-stack img {
  display: block;
  height: auto;
  width: 100%;
  object-fit: cover;
}
.home-art .art-photo-stack .carry-art-photo {
  grid-area: 1 / 1 / 3 / 3;
  align-self: start;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: clamp(16px, 3vw, 34px);
}
.home-art .art-photo-stack .uhzinhos-in-hand {
  grid-area: 1 / 2 / 3 / 4;
  aspect-ratio: 1600 / 1142;
  object-fit: contain;
  z-index: 1;
  box-sizing: border-box;
  border: 3px solid #f3f0e9;
}

body.home-page main .home-art {
  position: relative;
  padding-block: clamp(24px, 3.5vw, 48px);
}
.home-art .art-edge-mermaid {
  position: absolute;
  top: 0;
  right: var(--pad, 6%);
  width: min(54%, clamp(195px, 32vw, 400px));
  height: auto;
  transform: translateY(-35%);
  filter: brightness(0) saturate(100%) invert(77%) sepia(26%) saturate(955%) hue-rotate(314deg) brightness(103%) contrast(101%);
  pointer-events: none;
}
.home-art .hp-label { margin-bottom: clamp(16px, 2vw, 26px); }
.home-page .home-art .editorial-copy > p:not(.hp-kicker) { margin-bottom: 16px; }
.home-page .home-art .editorial-copy > .hp-link { margin-top: 0; }

/* Let the mermaid cross the colour boundary without covering either chapter. */
body.home-page main .home-shore { padding-bottom: clamp(70px, 7vw, 94px); }
body.home-page main .home-art { padding-top: clamp(84px, 9vw, 132px); }
