/* =====================================================================
   thejundi.com hero (2026-11-26): the copy alone, with generous white space,
   on a very light teal + violet wash that drifts slowly (loaded after home.css)
   ===================================================================== */

.hero--wash { isolation: isolate; }
.hero--wash .hero__in { padding-block: clamp(40px, 7vw, 120px) clamp(48px, 7vw, 128px); }
.hero--wash .hero__title b { font-weight: 700; }
.hero--wash .hero__lead { max-width: 38rem; }

/* the wash: full-bleed behind the copy, two soft colour fields, faded out before the works strip */
.hero__wash {
  position: absolute; z-index: -1; pointer-events: none; overflow: hidden;
  inset-block: calc(-1 * clamp(28px, 3.4vw, 56px)) 0; inset-inline: calc(50% - 50vw);
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent);
          mask-image: linear-gradient(to bottom, #000 62%, transparent);
}
.hero__wash::before, .hero__wash::after { content: ""; position: absolute; aspect-ratio: 1; border-radius: 50%; will-change: transform; }
/* teal: the stronger field, on the side away from the text */
.hero__wash::before {
  width: clamp(420px, 62vw, 980px); inset-inline-end: -14%; top: -38%;
  background: radial-gradient(closest-side, rgb(80 200 198 / .26), rgb(80 200 198 / .10) 55%, rgb(80 200 198 / 0));
}
/* violet: wider and fainter, below the teal on the same side */
.hero__wash::after {
  width: clamp(460px, 70vw, 1100px); inset-inline-end: -30%; top: 4%;
  background: radial-gradient(closest-side, rgb(96 25 180 / .15), rgb(96 25 180 / .06) 55%, rgb(96 25 180 / 0));
}
@media (prefers-reduced-motion: no-preference) {
  .hero__wash::before { animation: wash-teal 30s ease-in-out infinite alternate; }
  .hero__wash::after  { animation: wash-violet 38s ease-in-out infinite alternate; }
}
@keyframes wash-teal   { from { transform: translate(0, 0) scale(1); }    to { transform: translate(-16%, 18%) scale(1.14); } }
@keyframes wash-violet { from { transform: translate(0, 0) scale(1.06); } to { transform: translate(14%, -10%) scale(.94); } }

/* round 3 (2026-11-26): the navy copy sits on plain white, so the colour stays on the far side (away from the text)
   and fades out before it; his name text logo replaces the typed eyebrow; a smaller display size for the longer title */
.hero__wash {
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent), linear-gradient(to left, transparent 34%, #000 78%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to bottom, #000 62%, transparent), linear-gradient(to left, transparent 34%, #000 78%);
          mask-composite: intersect;
}
.en .hero__wash {
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent), linear-gradient(to right, transparent 34%, #000 78%);
          mask-image: linear-gradient(to bottom, #000 62%, transparent), linear-gradient(to right, transparent 34%, #000 78%);
}
.hero__name { display: block; width: auto; height: clamp(24px, 1.2rem + .9vw, 36px); max-width: 100%; }
.hero--wash .hero__eyebrow { gap: 16px; }
.hero--wash .hero__title { font-size: clamp(2rem, .95rem + 3.7vw, 4.375rem); text-wrap: balance; }
@media (max-width: 759px) {
  .home .hero--wash .hero__title { font-size: min(2.75rem, 8.4vw); }
  .home .hero--wash .hero__line { display: inline; }
}
/* EN: the longer Latin title wraps naturally inside a measure that stays clear of the colour side */
.en .hero--wash .hero__title { max-width: 15em; font-size: clamp(2rem, .8rem + 2.9vw, 3.5rem); line-height: 1.16; }
.en .hero--wash .hero__line { display: inline; }
