/* Text sits on the photograph; the current copy remains unchanged. */
[data-home-art="r02"] .company-hero{position:relative;display:block;isolation:isolate;height:calc(100svh - 70px);min-height:720px;max-height:1120px;background:#1a272a;color:#fff;overflow:hidden}
[data-home-art="r02"] .family-hero{position:absolute;inset:0;z-index:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:center 55%;mask-image:none}
[data-home-art="r02"] .hero-shade{display:block;position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#142024e6 0%,#142024ba 28%,#14202438 56%,#14202400 80%),linear-gradient(0deg,#101a1d66,transparent 48%);pointer-events:none}
[data-home-art="r02"] .hero-content{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;height:100%;min-height:0;gap:0;padding-block:60px 74px;grid-template-columns:1fr}
[data-home-art="r02"] .hero-content h1{max-width:670px;color:#fff;font-size:clamp(56px,5.7vw,88px);line-height:1.13;letter-spacing:-.05em}
[data-home-art="r02"] .hero-content h1 span{color:#d9e6d8}
[data-home-art="r02"] .hero-description{max-width:590px;margin-top:28px;color:#e8ece9;font-size:18px;line-height:1.9}

/* The offset is the width of four Han characters with the inherited tracking.
   This puts 也 under the comma, rather than under the first 关. */
[data-home-art="r02"] .caring-headline{display:grid;grid-template-columns:3.82em max-content;row-gap:.14em;line-height:1.35;letter-spacing:-.045em;overflow:visible}
.caring-line{display:block;white-space:nowrap;min-width:0}
.caring-line-first{grid-column:1 / -1}
.caring-line-second{grid-column:2}
.caring-word{position:relative;display:inline-block;isolation:isolate}
.caring-ring{position:absolute;left:-.18em;top:-.05em;width:calc(100% + .36em);height:1.3em;fill:none;stroke:#dc4e59;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;overflow:visible;transform:rotate(-5deg);pointer-events:none}
.caring-ring-second{transform:rotate(5deg)}

.viloo-doodles{position:absolute;inset:0;z-index:3;pointer-events:none;user-select:none}
.viloo-sketch{position:absolute;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;overflow:visible;pointer-events:none}
.sketch-heart-one{width:58px;right:30px;top:84px;stroke:#dd6170;transform:rotate(-14deg)}
.sketch-ribbon{width:76px;left:25px;top:216px;stroke:#af779f;transform:rotate(9deg)}
.sketch-heart-two{width:32px;right:18px;top:223px;stroke:#dd6170;transform:rotate(13deg)}
.sketch-spark{width:32px;left:120px;top:75px;stroke:#629c78;transform:rotate(8deg)}

@media(max-width:1100px) and (min-width:761px){
 [data-home-art="r02"] .hero-content h1{font-size:clamp(50px,5.7vw,65px);max-width:550px}
 [data-home-art="r02"] .hero-description{font-size:16px}
 .sketch-ribbon{left:5px}.sketch-heart-one{right:15px;width:49px}.sketch-spark{left:75px}
}
@media(max-width:1000px) and (min-width:761px){
 /* A landscape photo cannot cover a narrow, tall frame without losing a
    family member. Extend its quiet curtain area and retain the people below. */
 [data-home-art="r02"] .company-hero{height:760px;min-height:760px}
 [data-home-art="r02"] .company-hero:before{content:"";position:absolute;inset:0;z-index:0;background-image:url('/assets/hero-family-indoor-r01.webp');background-size:auto 180%;background-position:left top;background-repeat:no-repeat}
 [data-home-art="r02"] .family-hero{inset:auto 0 0;height:auto;aspect-ratio:1.55;object-position:right center;mask-image:linear-gradient(to bottom,transparent 0%,#000 15%,#000 100%)}
 [data-home-art="r02"] .hero-shade{background:linear-gradient(180deg,#14202499 0%,#14202466 27%,#14202405 65%,#101a1d22 100%)}
 [data-home-art="r02"] .hero-content{justify-content:flex-start;padding-block:44px 0}
 [data-home-art="r02"] .hero-content h1{font-size:50px}
 [data-home-art="r02"] .hero-description{margin-top:22px}
}
@media(max-width:760px){
 /* The curtain crop extends the same photo behind the mobile copy. The sharp
    lower image keeps all four people, instead of hard-cropping a wide photo. */
 [data-home-art="r02"] .company-hero{height:min(590px,calc(100svh - 99px));min-height:540px;max-height:none}
 [data-home-art="r02"] .company-hero:before{content:"";position:absolute;inset:0;z-index:0;background-image:url('/assets/hero-family-indoor-r01.webp');background-size:auto 100%;background-position:left top;background-repeat:no-repeat}
 [data-home-art="r02"] .family-hero{inset:auto 0 0;height:auto;aspect-ratio:1.35;object-position:right center;mask-image:linear-gradient(to bottom,transparent 0%,#000 15%,#000 100%)}
 [data-home-art="r02"] .hero-shade{background:linear-gradient(180deg,#0c181b99 0%,#13222580 34%,#13222505 68%,#10191a22 100%)}
 [data-home-art="r02"] .hero-content{justify-content:flex-start;padding-block:52px 0}
 [data-home-art="r02"] .hero-content h1{font-size:clamp(34px,9.5vw,54px);line-height:1.2;max-width:100%}
 [data-home-art="r02"] .hero-description{font-size:14px;line-height:1.8;margin-top:24px;max-width:340px}
 [data-home-art="r02"] .caring-headline{line-height:1.4;row-gap:.16em}
 .caring-ring{stroke-width:3.2}
 .sketch-heart-one{width:42px;right:26px;top:20px}
 .sketch-ribbon{width:54px;left:25px;top:145px}
 .sketch-heart-two{width:27px;right:16px;top:103px}
 .sketch-spark{width:25px;left:91px;top:16px}
}
@media(max-width:360px){[data-home-art="r02"] .hero-content{padding-top:38px}[data-home-art="r02"] .hero-content h1{font-size:32px}[data-home-art="r02"] .hero-description{font-size:13px;max-width:286px}.sketch-ribbon{left:13px}}
@media(prefers-contrast:more){[data-home-art="r02"] .hero-description{color:#fff}[data-home-art="r02"] .hero-shade{background:linear-gradient(90deg,#0c171aed,#0c171a70 70%,#0c171a20)}}
@media print{[data-home-art="r02"] .company-hero{height:700px;print-color-adjust:exact}[data-home-art="r02"] .caring-headline{break-inside:avoid}}
