/* One home-page type scale, independent of individual section templates. */
.home-page{--home-h1:56px;--home-h2:56px;--home-h3:28px;--home-body:16px;--home-lead:18px;font-family:Pretendard,Arial,sans-serif}
.home-page.home-page h1{font-family:inherit;font-size:var(--home-h1);font-weight:500;line-height:1.08;letter-spacing:-.045em}
.home-page.home-page h2,body:has(.home-page)>.contact-band h2{font-family:Pretendard,Arial,sans-serif;font-size:var(--home-h2,56px);font-weight:500;line-height:1.12;letter-spacing:-.04em}
.home-page.home-page h3{font-family:inherit;font-size:var(--home-h3);font-weight:500;line-height:1.25;letter-spacing:-.03em}
.home-page.home-page p{font-family:inherit;font-size:var(--home-body);line-height:1.7;font-weight:400;letter-spacing:0}
.home-page.home-page .lead,.home-page.home-page .hero-aside>p{font-size:var(--home-lead);line-height:1.7}
.home-page.home-page :is(.home-number-source,.metric-survey-note,.numbers-partner-scope){font-size:12px;line-height:1.65}
.home-page.home-page .partner-strip-heading h3{font-size:12px;line-height:1.5;letter-spacing:.06em;font-weight:600}
.home-page.home-page .text-link,.home-page.home-page .motion-product-cta{font-family:inherit;font-size:13px;font-weight:500;line-height:1.5}
@media(max-width:1020px){.home-page{--home-h1:46px;--home-h2:44px;--home-h3:26px}body:has(.home-page)>.contact-band h2{font-size:44px}}
@media(max-width:700px){.home-page{--home-h1:34px;--home-h2:36px;--home-h3:24px;--home-body:16px;--home-lead:17px}body:has(.home-page)>.contact-band h2{font-size:36px}}

/* The original brand film leads; the retained H1 stays live HTML text. */
.home-page .hero{padding:0}
.home-page .hero-photo{height:clamp(540px,70svh,820px);position:relative;isolation:isolate;background:#10131f;margin:0;overflow:hidden}
.home-page .home-hero-video{display:block;width:100%;height:100%;object-fit:cover}
.home-page .hero-photo:after{z-index:0;pointer-events:none;background:linear-gradient(90deg,#080d20a6,#080d2040),linear-gradient(0deg,#080d2070,transparent 70%)}
.home-page .hero-photo>.hero-copy{position:absolute;z-index:1;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:70px 8%;color:#fff;text-align:center}
.home-page.home-page .hero-copy h1{max-width:1000px;font-size:clamp(34px,3.5vw,52px);line-height:1.17;font-weight:500;letter-spacing:-.035em;margin:0;text-wrap:balance}
.home-page .hero-explore{font-size:13px;line-height:1.5;margin-top:32px;padding-bottom:8px;border-bottom:1px solid #ffffff70;display:inline-flex;gap:28px;align-items:center}
.home-page .hero-motion-toggle{position:absolute;z-index:2;bottom:24px;right:4%;border:1px solid #ffffff55;border-radius:0;background:#0c13234d;color:#fff;font-size:11px;padding:10px 14px;cursor:pointer}
.home-page .hero-motion-toggle[hidden]{display:none}
.home-page .hero-motion-toggle span{margin-left:12px}
.home-page .sensor-intro{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:7%;padding-top:100px;padding-bottom:100px}
.home-page .sensor-intro-copy{min-width:0}
.home-page.home-page .sensor-eyebrow{font-size:10px;letter-spacing:.12em;color:#676b73;margin-bottom:24px}
.home-page.home-page .sensor-intro h2{font-size:clamp(36px,4vw,56px);margin-bottom:26px}
.home-page.home-page .sensor-intro .lead{font-size:18px;max-width:500px;margin-bottom:18px}
.home-page.home-page .sensor-example{font-size:14px;line-height:1.7;color:#676b73;max-width:470px;margin:0 0 28px}
.home-page .sensor-demo{margin:0;background:#efefeb;min-width:0}
.home-page .sensor-demo>img{width:100%;aspect-ratio:1.15;object-fit:cover;object-position:center}
.home-page .sensor-demo figcaption{display:flex;justify-content:space-between;gap:15px;padding:16px 18px;font-size:11px;line-height:1.5;color:#676b73;border-top:1px solid #25255c22}
.home-page .sensor-demo figcaption span{color:#25255c;font-weight:500}
@media(max-width:700px){
 .home-page .hero-photo{height:600px;height:76svh;min-height:480px;max-height:720px}
 .home-page .hero-photo>.hero-copy{padding:60px 7%}
 .home-page.home-page .hero-copy h1{font-size:32px;line-height:1.18}
 .home-page .hero-explore{font-size:11px;gap:16px;margin-top:26px}
 .home-page .hero-motion-toggle{bottom:18px;right:6%;font-size:10px}
 .home-page .sensor-intro{grid-template-columns:1fr;gap:32px;padding-top:60px;padding-bottom:60px}
 .home-page .sensor-demo>img{aspect-ratio:1.15}
 .home-page .sensor-demo figcaption{font-size:10px;padding:14px}
}

/* Match the photo-led cards on the Smart Textiles overview. */
.home-page .motion-products{background:#f5f5f1;color:#25255c}
.home-page .motion-products .section-heading h2{font-weight:500}
.home-page .motion-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;overflow:visible;margin:0;padding:0;scroll-snap-type:none}
.home-page .motion-product-card{width:auto;min-width:0;padding:0;border:1px solid #25255c22;border-radius:0;background:#f5f5f1;color:#25255c;transition:transform .2s,box-shadow .2s}
.home-page .motion-product-card:hover{transform:translateY(-3px);box-shadow:0 8px 22px #25255c12}
.home-page .motion-product-image{aspect-ratio:1.45;background:#14171d}
.home-page .motion-product-image img{transition:transform .3s}
.home-page .motion-product-card:hover img{transform:scale(1.045)}
.home-page .motion-product-image>span{left:auto;right:14px;bottom:14px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;padding:0;background:#d9eb86;color:#25255c;font-size:20px;letter-spacing:0}
.home-page .motion-product-body{padding:24px;min-width:0}
.home-page .home-product-index{font-size:10px;line-height:1.5;letter-spacing:.08em}
.home-page.home-page .motion-product-body h3{font-size:var(--home-h3);font-weight:500;margin:18px 0 16px;color:#25255c}
.home-page.home-page .motion-product-body>p{font-size:15px;line-height:1.7;color:#656579;min-height:0;margin:0 0 28px}
.home-page .motion-product-cta{display:block;align-self:flex-start;margin-top:auto;padding:0 0 5px;border-bottom:1px solid #25255c88;color:#25255c;font-weight:500}
@media(min-width:701px) and (max-width:1000px){.home-page .motion-product-grid{gap:16px}.home-page .motion-product-body{padding:18px}.home-page .home-product-index{font-size:8px}}
@media(max-width:700px){.home-page .motion-product-grid{grid-template-columns:1fr;gap:24px}.home-page .motion-product-body{padding:22px}.home-page .motion-product-image{aspect-ratio:1.45}}
@media(prefers-reduced-motion:reduce){.home-page .motion-product-card,.home-page .motion-product-image img{transition:none}.home-page .motion-product-card:hover,.home-page .motion-product-card:hover img{transform:none}}

/* Product identities shared with the brand and material overview pages. */
.home-page .motion-product-card:nth-child(1){--product-accent:#d9eb86}
.home-page .motion-product-card:nth-child(2){--product-accent:#bebaff}
.home-page .motion-product-card:nth-child(3){--product-accent:#a3d9f4}
.home-page .motion-product-card{background:#fafaf8;border-color:#25255c22}
.home-page .motion-product-image>span{background:var(--product-accent)}
.home-page .home-product-index{display:flex;align-items:center;gap:8px}

.home-page .home-product-index:before{content:"";width:8px;height:8px;flex:none;background:var(--product-accent);border-radius:50%}
.home-page .motion-product-card:nth-child(3) .motion-product-image img{object-position:75% 40%}

/* Transparent 3D sleeve animation, framed around the arm rather than its export margins. */
.home-page .sensor-demo-3d{background:transparent}
.home-page .sensor-3d-stage{position:relative;aspect-ratio:1.24;overflow:hidden;background:transparent}
.home-page .sensor-3d-stage>img{position:absolute;width:144%;max-width:none;height:100%;left:-22%;top:0;object-fit:contain}
.home-page .sensor-motion-toggle{position:absolute;bottom:12px;right:12px;padding:7px 10px;border:1px solid #25255c33;background:#fafaf8dd;color:#25255c;font:inherit;font-size:10px;cursor:pointer}
.home-page .sensor-motion-toggle[hidden]{display:none}

.home-page .hero-key-phrase{color:#d9eb86;text-decoration:none}

/* On phones the motion example follows its headline, before the supporting copy. */
@media(max-width:700px){
.home-page .sensor-intro{grid-template-columns:minmax(0,1fr);gap:16px;padding-top:44px;padding-bottom:44px}
.home-page .sensor-intro-copy{display:contents}
.home-page .sensor-intro .sensor-eyebrow{grid-column:1;grid-row:1;margin:0}
.home-page.home-page .sensor-intro h2{grid-column:1;grid-row:2;margin:0}
.home-page .sensor-intro .sensor-demo{grid-column:1;grid-row:3;margin:0}
.home-page .sensor-intro .sensor-3d-stage{aspect-ratio:1.35}
.home-page.home-page .sensor-intro .lead{grid-column:1;grid-row:4;font-size:16px;line-height:1.65;margin:0}
.home-page .sensor-intro .text-link{grid-column:1;grid-row:5;justify-self:start;margin:0}
}
