/* Genkai hero: a clean canvas, then horizontal ink carried by a gust. */
.hero-section { position:relative; isolation:isolate; overflow:hidden; background:var(--charcoal); }
.hero-section .entry { position:relative; z-index:1; }
.hero-contours { position:absolute; pointer-events:none; z-index:0; overflow:visible; stroke-linecap:round; }
.contours-top,.contours-bottom { width:100%; left:0; height:clamp(58px,7vw,105px); }
.contours-top { top:0; }
.contours-bottom { bottom:0; }
.contours-vertical { display:none; top:clamp(64px,7.5vw,113px); right:0; width:clamp(120px,13vw,222px); height:30%; }
.contour-line { stroke:#F5F2EC; stroke-width:1.08; stroke-dasharray:1 1; stroke-dashoffset:0; opacity:.41; }
.contour-beat-0 { --beat:0s; }
.contour-beat-1 { --beat:.08s; }
.contour-beat-2 { --beat:.17s; }
.contour-beat-3 { --beat:.25s; }
.contour-beat-4 { --beat:.32s; }
.contour-beat-5 { --beat:.40s; }
.contour-beat-6 { --beat:.49s; }
.contour-beat-7 { --beat:.56s; }
.contour-beat-8 { --beat:.64s; }
.contours-top { --edge-delay:.13s; }
.contours-bottom { --edge-delay:0s; }
.contours-vertical { --edge-delay:.17s; }
.contour-follow { --group-delay:.20s; }
.contour-echo { --group-delay:.31s; }
/* The paths extend beyond the hero clip, leaving no exposed tips. */
.hero-section.reveal .hero-contours { animation:clear-contours .32s step-end both; }
.hero-section.reveal .contour-line { animation:contour-trace 2.65s cubic-bezier(.30,.12,.41,.97) calc(.34s + var(--beat) + var(--edge-delay) + var(--group-delay, 0s)) both; }
@keyframes clear-contours { from { opacity:0; } to { opacity:1; } }
@keyframes contour-trace {
  0% { stroke-dashoffset:1; opacity:0; }
  12% { opacity:.41; }
  100% { stroke-dashoffset:0; opacity:.41; }
}
@media (min-width:1450px) { .contours-vertical { display:block; } }
@media (max-width:768px) {
  .contours-top,.contours-bottom { height:47px; opacity:.65; }
}
@media (prefers-reduced-motion:reduce) {
  .hero-section.reveal :is(.hero-contours,.contour-line) { animation:none!important; }
}
.hero-motion-control {
 position:absolute;z-index:2;inset:auto clamp(.8rem,1.8vw,1.6rem) .42rem auto;
 width:2rem;height:2rem;align-items:center;justify-content:center;
 color:#F5F2EC;background:var(--charcoal);border:1px solid #f5f2ec32;border-radius:50%;
 cursor:pointer;opacity:.78;
}
.hero-motion-control:not([hidden]){display:grid}
.hero-motion-control:hover,.hero-motion-control:focus-visible{opacity:1;border-color:#F5F2EC}
.hero-motion-control svg{width:.85rem;height:.85rem}
.hero-motion-control svg > *{display:none}
.hero-motion-control[data-action="pause"] .motion-icon-pause,
.hero-motion-control[data-action="resume"] .motion-icon-play,
.hero-motion-control[data-action="replay"] .motion-icon-replay{display:block}
@media(max-width:768px),(prefers-reduced-motion:reduce){.hero-motion-control:not([hidden]){display:none}}

/* Editorial rhythm shared with the Genkai newsletter. */
.hero-section .entry { padding-block:clamp(3.2rem,6vw,6rem) clamp(3.6rem,6vw,5.5rem); gap:clamp(1.8rem,5vw,4.5rem) }
.hero-section .entry h1 { font-size:clamp(2.4rem,6.25vw,5.8rem);line-height:1.03;text-wrap:balance }
.hero-section .entry .hero-deck { max-width:35ch;margin:1.2rem 0 0;color:#ebe7df;font-size:clamp(1rem,1.55vw,1.2rem);line-height:1.55 }
.hero-section .entry .hero-extras { justify-content:flex-start;margin-top:.95rem;padding:0 }
.hero-section .hero-extras .hero-newsletter-link { background:none;border:none;box-shadow:none;padding:.35rem 0;color:var(--ivory);border-radius:.12rem;font-size:.94rem;font-weight:600;text-decoration:underline;text-decoration-color:#93ae9f;text-underline-offset:.25em }
.hero-section .hero-extras .hero-newsletter-link:hover { text-decoration-thickness:2px }
.hero-section .hero-newsletter-link:focus-visible { outline:2px solid currentColor;outline-offset:.26rem }
.hero-section .entry .start { padding:clamp(1.2rem,2.35vw,2.2rem);border-radius:.75rem;border:1px solid #d8d6cd }
@media (min-width: 769px) {
 .hero-section .entry .start { inline-size:100%;max-inline-size:27.5rem;justify-self:end;box-sizing:border-box }
}
.hero-section .start-heading h2 { text-wrap:pretty;font-size:clamp(1.45rem,2.5vw,2.25rem);letter-spacing:-.045em;line-height:1.14 }
.hero-section .entry .start > a { border-top-color:#d2d3c8;padding-block:.8rem }
.hero-section .entry .start > a:last-child { padding-bottom:.15rem }
.hero-section .entry .start > a > span { line-height:1.45 }
.hero-section .hero-motion-control { width:auto;min-height:2rem;padding-inline:.56rem;gap:.28rem;grid-auto-flow:column;border-radius:.35rem;font:600 .8rem var(--sans);inset-block-end:.55rem }
.route-life .offer-list .offer-summary,.route-business .offer-list .offer-summary { border-top-width:2px }
.route-life .offer-list .offer-summary,.route-business .offer-list .offer-summary,.letter-invite .letter-invite-inner { border-radius:.65rem }
@media(max-width:768px) {
 .hero-section .entry { grid-template-columns:1fr;padding-block:2.8rem 2.4rem }
 .hero-section .entry h1 { font-size:clamp(2.4rem,8.7vw,4.25rem) }
}
@media(forced-colors:active) {
 .hero-section .hero-extras .hero-newsletter-link { color:LinkText;text-decoration-color:LinkText }
}

/* Banner-inspired wayfinding mark: charcoal core, ivory hairline for contrast. */
.hero-dotted-route { stroke:#F5F2EC; stroke-width:1.48; stroke-dasharray:0 7.5; stroke-linecap:round; opacity:.55; vector-effect:non-scaling-stroke; }
.hero-route-dot { fill:#121212; stroke:#F5F2EC; stroke-opacity:.77; stroke-width:1.08; }
.trail-clip { transform-box:fill-box; transform-origin:left center; }
