/* Home only. Content remains visible and usable without JavaScript. */
body[data-page="home"] { --home-ease:cubic-bezier(.2,.7,.2,1); }
body[data-page="home"] .home-progress { position:fixed;inset:0 0 auto;height:2px;z-index:105;pointer-events:none;background:linear-gradient(90deg,#c6ad9a,#f2d18a);transform:scaleX(var(--page-progress,0));transform-origin:left; }
body[data-page="home"] .hero { min-height:620px;padding-bottom:100px;background:#381d15;border-color:#d6c28a66;box-shadow:0 28px 90px #180b0766,inset 0 1px #fbefbc33; }
body[data-page="home"] .hero-scene { position:absolute;inset:-12px;z-index:-3;pointer-events:none;background:url('assets/home-webp/hero-dog.webp') center/cover;transform:translate3d(var(--scene-x,0px),var(--scene-y,0px),0) scale(1.015);transition:transform 1.2s var(--home-ease); }
body[data-page="home"] .hero::before { content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(90deg,#31170fef 0%,#381a11d1 23%,#3a1b1265 47%,#3a1b1200 73%),linear-gradient(0deg,#2a140dd9,transparent 40%); }
body[data-page="home"] .hero::after { content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at var(--light-x,72%) var(--light-y,30%),#ffe7a918,transparent 52%); }
body[data-page="home"] .hero__content { position:relative;z-index:1;max-width:57%; }
body[data-page="home"] .hero h1 { text-wrap:balance;font-size:clamp(44px,4.7vw,66px);line-height:1.035;letter-spacing:-.055em;text-shadow:0 4px 28px #190c0855; }
body[data-page="home"] .hero__lead { max-width:420px;line-height:1.65; }
body[data-page="home"] .hero__badges { z-index:1; }
body[data-page="home"] .hero__badges>div { border-color:#e6d5a76b;background:linear-gradient(130deg,#796352a6,#422117a6);box-shadow:inset 0 1px #fff3,0 12px 28px #25110b33; }
body[data-page="home"] .hero__caption { bottom:86px;opacity:.8; }
.hero-atmosphere { position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none; }
.hero-atmosphere__light { position:absolute;left:46%;top:-25%;width:63%;height:110%;transform:rotate(-17deg);background:conic-gradient(from 170deg at 50% 0%,transparent 0deg,#ffe3a91c 9deg,transparent 20deg,#f9dd9e13 30deg,transparent 45deg);opacity:.65; }
.hero-atmosphere__mote { position:absolute;width:3px;height:3px;border-radius:50%;background:#ffedb6;box-shadow:0 0 10px 3px #eac56c55;opacity:.35; }
.hero-atmosphere__mote:nth-child(2){left:48%;top:64%;--mote-delay:-2s;--mote-time:11s}
.hero-atmosphere__mote:nth-child(3){left:78%;top:69%;--mote-delay:-6s;--mote-time:15s;width:2px;height:2px}
.hero-atmosphere__mote:nth-child(4){left:60%;top:38%;--mote-delay:-9s;--mote-time:17s}
.hero-atmosphere__mote:nth-child(5){left:91%;top:53%;--mote-delay:-4s;--mote-time:13s;width:2px;height:2px}
.hero-atmosphere__mote:nth-child(6){left:37%;top:22%;--mote-delay:-1s;--mote-time:19s;width:2px;height:2px}
.hero-atmosphere__mote:nth-child(7){left:69%;top:84%;--mote-delay:-8s;--mote-time:14s}
.hero-explore { position:absolute;bottom:24px;left:42px;display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:11px;letter-spacing:.03em;color:#ece5e0;z-index:2; }
.hero-explore__arrow { display:grid;place-items:center;width:37px;height:37px;border:1px solid #e1d2a55e;border-radius:50%;background:#3d1e1580;color:#f0d28d;font-size:20px; }
.motion-toggle { position:absolute;bottom:24px;right:28px;z-index:2;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 13px;border:1px solid #e5dad140;border-radius:30px;background:#3d1e15a6;backdrop-filter:blur(12px);color:#e9e1da;font-size:10px; }
.motion-toggle svg { width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round; }
.motion-toggle .motion-play,.motion-toggle[aria-pressed="false"] .motion-pause { display:none; }
.motion-toggle[aria-pressed="false"] .motion-play { display:block; }
.motion-toggle:disabled { opacity:.6; }
.home-shortcuts { display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;padding:12px 18px;border-bottom:1px solid #e6dad12b; }
.home-shortcuts__intro { display:flex;align-items:center;gap:10px;color:#cec1b8;font-size:11px; }
.home-shortcuts__intro::before { content:"";width:6px;height:6px;border-radius:50%;background:#dec17c;box-shadow:0 0 13px #eac86b66; }
.home-shortcuts__links { display:flex;align-items:center;gap:5px; }
.home-shortcuts a { display:flex;align-items:center;gap:11px;min-height:44px;padding:10px 17px;border-radius:30px;border:1px solid transparent;color:#e0d6cf;font-size:12px;transition:background .25s,border-color .25s,color .25s; }
.home-shortcuts a span { color:#b4a091;font-size:9px; }
.home-shortcuts a[aria-current],.home-shortcuts a:hover { border-color:#e0c58155;background:#dfca7f12;color:#f3dc9b; }
body[data-page="home"] #categories,body[data-page="home"] #choice { scroll-margin-top:105px; }
body[data-page="home"] .section-heading .eyebrow { color:#d8c68e; }
body[data-page="home"] .section-heading h2 { text-wrap:balance; }
body[data-page="home"] .category-card { min-height:255px;border-color:#e2d3c755;box-shadow:0 12px 30px #210f0a45; }
body[data-page="home"] .category-card::before { transition:transform .75s var(--home-ease),filter .75s var(--home-ease); }
body[data-page="home"] .category-card::after { background:linear-gradient(0deg,#29130cf5 0%,#341810b8 22%,#34181028 66%,#34181005); }
body[data-page="home"] .category-card__label { font-size:25px; }
body[data-page="home"] .category-card__cta { opacity:1;transform:none;color:#edd299; }
body[data-page="home"] .category-card i { display:none; }
body[data-page="home"] .category-card__count { border-color:#e0d2c83d;background:#341c15ba; }
body[data-page="home"] .product-card { transition:box-shadow .35s,border-color .35s,transform .35s var(--home-ease); }
body[data-page="home"] .product-card__image img { transition:transform .65s var(--home-ease); }
body[data-page="home"] .need-card,body[data-page="home"] .customer-card,body[data-page="home"] .steps-grid article { transition:background .3s,border-color .3s,box-shadow .3s; }
body[data-page="home"] .need-card i { transition:transform .3s; }
body[data-page="home"] .steps-grid { position:relative; }
body[data-page="home"] .steps-grid article>span { color:#efd69a;border-color:#d9bb7180;background:radial-gradient(circle at 25% 10%,#d3b86b22,#4b2e25); }
body[data-page="home"] .trust-section { background-image:linear-gradient(100deg,#3c1f16f2,#63463dd9),url('assets/home-webp/hero-dog.webp'); }
body[data-page="home"] .guide-grid:has(>.guide-card:only-child) { grid-template-columns:1fr; }
body[data-page="home"] .guide-card:only-child { display:grid;grid-template-columns:42% 1fr;grid-template-rows:auto 1fr auto;min-height:280px;border-radius:26px; }
body[data-page="home"] .guide-card:only-child .guide-image { grid-row:1/4;height:100%;min-height:280px;background-image:url('assets/home-webp/hero-dog.webp');background-position:74% 35%;background-size:auto 115%;transition:background-size .8s var(--home-ease); }
body[data-page="home"] .guide-card:only-child .guide-meta { margin:30px 32px 15px; }
body[data-page="home"] .guide-card:only-child>b { align-self:center;margin:0 32px;max-width:660px;font-size:clamp(23px,2.8vw,37px);text-wrap:balance; }
body[data-page="home"] .guide-card:only-child .guide-arrow { margin:24px 32px 30px; }
body[data-page="home"] .button { position:relative;overflow:hidden; }
body[data-page="home"] .button--gold::after { content:"";position:absolute;inset:-50% auto -50% -50%;width:30%;transform:skewX(-20deg);background:linear-gradient(90deg,transparent,#fff5,transparent);pointer-events:none; }
body[data-page="home"] .text-link { text-underline-offset:5px;text-decoration-color:#d7c17e77; }
body[data-page="home"] .text-link:hover { text-decoration:underline; }
.home-motion-enabled .hero-atmosphere__light { animation:home-sunlight 14s ease-in-out infinite alternate; }
.home-motion-enabled .hero-atmosphere__mote { animation:home-mote var(--mote-time,14s) ease-in-out var(--mote-delay,0s) infinite; }
.home-motion-enabled .hero__content>* { animation:home-enter .9s var(--home-ease) both; }
.home-motion-enabled .hero__content>*:nth-child(2){animation-delay:70ms}
.home-motion-enabled .hero__content>*:nth-child(3){animation-delay:140ms}
.home-motion-enabled .hero__content>*:nth-child(4){animation-delay:210ms}
.home-motion-enabled .hero__content>*:nth-child(5){animation-delay:280ms}
.home-motion-paused .hero-atmosphere *, .home-motion-paused .hero__content>* { animation-play-state:paused; }
@media(hover:hover) and (pointer:fine){
  body[data-page="home"].home-motion-enabled .category-card:is(:hover,:focus-visible){transform:translateY(-6px);border-color:#e0c580;box-shadow:0 22px 40px #1b0d0866,0 0 0 1px #d5bb7026}
  body[data-page="home"].home-motion-enabled .category-card:is(:hover,:focus-visible)::before{transform:scale(1.065);filter:brightness(1.08) saturate(1.08)}
  body[data-page="home"].home-motion-enabled .product-card:hover{transform:translateY(-5px);box-shadow:0 20px 42px #1b0d0866;border-color:#e5d399}
  body[data-page="home"].home-motion-enabled .need-card:hover i{transform:translate(3px,-3px)}
  body[data-page="home"].home-motion-enabled .guide-card:hover .guide-image{background-size:auto 122%}
  body[data-page="home"].home-motion-enabled .button--gold:is(:hover,:focus-visible)::after{animation:home-sheen .7s ease-out}
  body[data-page="home"] .need-card:hover,body[data-page="home"] .customer-card:hover,body[data-page="home"] .steps-grid article:hover{border-color:#d4bc7280;background-color:#e0c9b70c;box-shadow:inset 0 1px #ead8cb18}
}
body[data-page="home"]:not(.home-motion-enabled) .hero-scene { transform:none;transition:none; }
body[data-page="home"]:not(.home-motion-enabled) :is(.category-card,.product-card,.button):hover { transform:none; }
body[data-page="home"]:not(.home-motion-enabled) :is(.category-card::before,.product-card__image img) { transform:none;transition:none; }
@keyframes home-enter{from{opacity:.3;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}
@keyframes home-sunlight{from{opacity:.4;transform:rotate(-17deg) translateX(-3%)}to{opacity:.85;transform:rotate(-12deg) translateX(3%)}}
@keyframes home-mote{0%,100%{opacity:0;transform:translate3d(0,12px,0)}35%{opacity:.55}75%{opacity:.3;transform:translate3d(17px,-28px,0)}}
@keyframes home-sheen{from{left:-50%}to{left:140%}}
@media(max-width:980px){
  body[data-page="home"] .hero{min-height:590px;padding-top:42px;padding-bottom:100px}
  body[data-page="home"] .hero__content{max-width:68%}
  body[data-page="home"] .hero h1{font-size:clamp(40px,5.4vw,54px)}
  .hero-explore{left:32px}.home-shortcuts__intro{display:none}.home-shortcuts{justify-content:center}
  body[data-page="home"] .category-card{min-height:235px}.hero-atmosphere__mote:nth-child(n+5){display:none}
}
@media(max-width:700px){
  body[data-page="home"] .hero{min-height:660px;padding:30px 22px 156px}
  body[data-page="home"] .hero-scene{background-position:62% center;inset:0;transform:none}
  body[data-page="home"] .hero::before{background:linear-gradient(90deg,#371a11d9,#34181055 63%,#34181015),linear-gradient(0deg,#371a11e8,transparent 70%)}
  body[data-page="home"] .hero__content{max-width:100%}
  body[data-page="home"] .hero h1{font-size:clamp(32px,8.5vw,43px);max-width:350px;line-height:1.07}
  body[data-page="home"] .hero__lead{max-width:310px;font-size:13px;line-height:1.7}
  body[data-page="home"] .hero__badges{bottom:77px;top:auto;left:20px;right:20px;flex-direction:row}
  body[data-page="home"] .hero__badges>div{width:auto;flex:1;padding:11px 9px}
  body[data-page="home"] .hero__caption{display:none}
  .hero-explore{bottom:20px;left:22px;font-size:10px}.hero-explore__arrow{width:33px;height:33px}
  .motion-toggle{bottom:20px;right:20px;width:44px;padding:10px}.motion-toggle [data-motion-label]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .home-shortcuts{margin-top:12px;padding:8px 0;justify-content:flex-start;overflow:auto;scrollbar-width:none}.home-shortcuts__links{width:100%;justify-content:space-between;gap:2px}.home-shortcuts a{padding:9px 11px;font-size:11px;white-space:nowrap}.home-shortcuts a span{display:none}
  body[data-page="home"] .category-card{min-height:220px;padding:13px}.category-card__summary{font-size:11px}
  body[data-page="home"] .category-card__label{font-size:19px}
  body[data-page="home"] .guide-card:only-child{grid-template-columns:1fr;grid-template-rows:190px auto auto auto}
  body[data-page="home"] .guide-card:only-child .guide-image{grid-row:1;min-height:190px;background-size:cover;background-position:75% 30%}
  body[data-page="home"] .guide-card:only-child .guide-meta{margin:20px 22px 13px}
  body[data-page="home"] .guide-card:only-child>b{font-size:25px;margin:0 22px}
  body[data-page="home"] .guide-card:only-child .guide-arrow{margin:22px}
}
@media(max-width:380px){body[data-page="home"] .hero{padding-inline:17px;min-height:690px}body[data-page="home"] .category-card{min-height:195px}body[data-page="home"] .category-card__label{font-size:16px}.home-shortcuts a{padding-inline:8px}.hero-explore{left:17px}.hero-explore__arrow{display:none}}
@media(max-width:980px) and (max-height:560px) and (orientation:landscape){
  body[data-page="home"] .hero{min-height:330px;padding:22px 26px 69px}
  body[data-page="home"] .hero__content{max-width:65%}
  body[data-page="home"] .hero h1{font-size:clamp(27px,4.5vw,38px);max-width:500px}
  body[data-page="home"] .hero__lead{font-size:11px;max-width:420px;margin:12px 0}
  body[data-page="home"] .hero__badges,body[data-page="home"] .hero__proof,body[data-page="home"] .hero__caption{display:none}
  .hero-explore,.motion-toggle{bottom:12px}.hero-explore{left:26px}
}
@media(prefers-reduced-motion:reduce){
  body[data-page="home"] .hero-scene{transform:none!important;transition:none!important}
  body[data-page="home"] :is(.category-card,.category-card::before,.product-card,.product-card__image img,.button,.need-card i):hover{transform:none!important}
  .hero-atmosphere *,body[data-page="home"] .hero__content>*{animation:none!important}
}

@media (max-width: 760px), (max-width: 980px) and (pointer: coarse) {
  body[data-page="home"] :is(.hero-atmosphere, .motion-toggle) { display: none; }
}

@media (max-width: 760px), (max-width: 980px) and (pointer: coarse) {
  .home-shortcuts a { transition: none; }
}
