/* Home view. Everything is scoped under #view-home. */
#view-home{position:relative;overflow-x:clip}
#view-home.h-paused *{animation-play-state:paused !important}
#view-home .h-cursor{position:fixed;z-index:1;left:0;top:0;width:360px;height:360px;margin:-180px 0 0 -180px;border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side,color-mix(in srgb,var(--pink) 9%,transparent),transparent);opacity:0;transition:opacity .4s}
#view-home .h-cursor.on{opacity:1}
@media (pointer:coarse){#view-home .h-cursor{display:none}}

/* hero */
#view-home .h-hero{position:relative;min-height:min(86vh,760px);display:grid;align-items:end;padding:64px 24px 56px;overflow:hidden;border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,var(--hero-a) 0%,var(--hero-b) 100%)}
#view-home #h-fx{position:absolute;inset:0;width:100%;height:100%}
#view-home .h-hero::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:repeating-linear-gradient(0deg,var(--scan) 0 1px,transparent 1px 4px)}
#view-home .h-hero-in{position:relative;z-index:2;max-width:1120px;width:100%;margin:0 auto;display:grid;gap:18px}
#view-home .h-title{font-family:var(--gothic);font-weight:400;font-size:clamp(46px,10.5vw,132px);line-height:.92;margin:0;letter-spacing:-.005em;text-wrap:balance}
#view-home .h-title span{display:inline-block;animation:h-rise .9s cubic-bezier(.2,.8,.2,1) backwards;animation-delay:calc(var(--i) * 110ms)}
/* round seal beside the title, the one pink mark in the hero */
#view-home .h-hero-logo{position:absolute;z-index:1;right:max(24px,calc((100% - 1120px) / 2));top:50%;width:clamp(240px,28vw,360px);aspect-ratio:1;transform:translateY(-54%);pointer-events:none;
  filter:drop-shadow(0 0 28px color-mix(in srgb,var(--pink) 35%,transparent))}
#view-home .h-hero-logo .h-seal-ink{display:none}
:root:not([data-tone="dark"]) #view-home .h-hero-logo{filter:none;opacity:.92}
:root:not([data-tone="dark"]) #view-home .h-hero-logo .h-seal-pink{display:none}
:root:not([data-tone="dark"]) #view-home .h-hero-logo .h-seal-ink{display:block}
#view-home .h-hero-logo img{width:100%;height:100%;display:block;animation:h-seal 80s linear infinite}
@keyframes h-seal{to{transform:rotate(360deg)}}
@media (max-width:900px){#view-home .h-hero-logo{width:150px;top:26px;right:16px;transform:none;opacity:.9}}
#view-home .h-sub{font-size:clamp(16px,2vw,20px);max-width:44ch;margin:0;color:var(--soft)}
/* a word of the title blushes pink under the pointer */
#view-home .h-title span{transition:color .45s,text-shadow .45s}
#view-home .h-title span:hover{color:var(--pink);text-shadow:0 0 30px color-mix(in srgb,var(--pink) 45%,transparent)}
#view-home .h-cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
#view-home .h-cta-main{min-height:52px;padding:10px 26px;font-size:16px;font-weight:600;position:relative;overflow:hidden}
#view-home .h-cta-main span{transition:transform .25s}
#view-home .h-cta-main:hover span{transform:translateX(5px)}
#view-home .h-cta-main::before{content:"";position:absolute;top:0;bottom:0;width:40%;left:-60%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.45),transparent);animation:h-shine 3.4s ease-in-out infinite}
#view-home .h-cta .btn-ghost{min-height:52px;padding:10px 22px;font-size:15px}
#view-home .h-brandline{margin:18px 0 0;font-family:var(--display);font-size:12px;letter-spacing:.24em;color:var(--muted)}

/* marquee */
#view-home .h-marquee{overflow:hidden;background:var(--marq-bg);color:var(--marq-text);border-bottom:1px solid var(--line)}
#view-home .h-marquee-track{display:flex;align-items:center;gap:26px;width:max-content;padding:11px 0;font-family:var(--display);font-size:14px;letter-spacing:.14em;white-space:nowrap;animation:h-scroll 38s linear infinite}
#view-home .h-marquee-track i{font-style:normal;color:var(--pink)}

/* sections */
#view-home .h-sec{position:relative;z-index:2;max-width:1168px;margin:0 auto;padding:72px 24px}
#view-home .h-head{display:grid;gap:10px;margin-bottom:34px;max-width:62ch}
#view-home .h-head p{margin:0}
#view-home .h-display{font-family:var(--display);font-weight:400;text-transform:uppercase;line-height:1.05;font-size:clamp(26px,4.4vw,48px);margin:0;text-wrap:balance}
#view-home .h-rv.h-in{animation:h-up .7s cubic-bezier(.2,.8,.2,1) backwards;animation-delay:var(--d,0ms)}

/* product cards */
#view-home .h-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
#view-home .h-tee{display:grid;gap:12px;align-content:start}
#view-home .h-flip{position:relative;display:block;width:100%;aspect-ratio:1/1.02;padding:0;border:1px solid var(--line);background:radial-gradient(circle at 50% 38%,var(--card-a),var(--card-b) 70%);
  perspective:900px;overflow:hidden;transition:border-color .25s,box-shadow .25s}
#view-home .h-flip:hover{border-color:var(--pink);box-shadow:0 0 0 1px var(--pink),0 18px 50px color-mix(in srgb,var(--pink) 22%,transparent)}
#view-home .h-flip-in{position:absolute;inset:7%;transform-style:preserve-3d;transition:transform .7s cubic-bezier(.2,.8,.2,1);transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg))}
#view-home .h-flip[aria-pressed="true"] .h-flip-in{transform:rotateX(var(--rx,0deg)) rotateY(calc(180deg + var(--ry,0deg)))}
#view-home .h-face{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;backface-visibility:hidden;-webkit-backface-visibility:hidden;filter:drop-shadow(0 16px 22px rgba(0,0,0,.45))}
#view-home .h-back{transform:rotateY(180deg)}
#view-home .h-side{position:absolute;left:10px;bottom:10px;font-size:11px;font-weight:600;letter-spacing:.08em;padding:2px 8px;background:var(--chip-bg);border:1px solid var(--line);color:var(--muted)}
#view-home .h-tee-meta{display:grid;gap:4px}
#view-home .h-tee-meta p{margin:0}
#view-home .h-tee-meta h3{margin:0;font-size:17px;font-weight:600}
#view-home .h-tee-meta .muted{font-size:13px}
#view-home .h-after{margin:34px 0 0}

/* steps */
#view-home .h-steps-sec{border-top:1px solid var(--line)}
#view-home .h-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:0;border:1px solid var(--line)}
#view-home .h-step{padding:24px 22px 26px;border-right:1px solid var(--line);margin-right:-1px;border-bottom:1px solid var(--line);margin-bottom:-1px;display:grid;gap:8px;align-content:start;background:var(--panel);transition:background .25s}
#view-home .h-step:hover{background:var(--panel-2)}
#view-home .h-num{font-family:var(--display);font-size:34px;line-height:1;color:transparent;-webkit-text-stroke:1px var(--stroke)}
#view-home .h-step:hover .h-num{color:var(--pink)}
#view-home .h-step h3{margin:6px 0 0;font-size:18px;font-weight:600}
#view-home .h-step p{margin:0;font-size:14px}

/* about */
#view-home .h-about{display:grid;grid-template-columns:minmax(180px,300px) 1fr;gap:48px;align-items:center;border-top:1px solid var(--line)}
/* round logo in a circular frame: a pink light runs round the ring */
#view-home .h-about-mark{aspect-ratio:1;display:grid;place-items:center;border-radius:50%;position:relative;overflow:hidden;background:var(--line);margin:0}
#view-home .h-about-mark::before{content:"";position:absolute;inset:-20%;background:conic-gradient(from 0deg,transparent 0 62%,var(--pink) 82%,transparent 92%);animation:h-spin 7s linear infinite}
#view-home .h-about-mark::after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--panel)}
#view-home .h-about-mark img{position:relative;z-index:1;width:84%;height:84%;object-fit:contain;border-radius:50%;box-shadow:0 0 0 6px var(--panel),0 0 46px color-mix(in srgb,var(--pink) 40%,transparent);transition:transform .6s cubic-bezier(.2,.8,.2,1)}
#view-home .h-about-mark:hover img{transform:rotate(-8deg) scale(1.03)}
#view-home .h-about p{margin:0}
#view-home .h-about .h-display{margin:10px 0 16px}
#view-home .h-about-body{font-size:17px;max-width:60ch;color:var(--soft);white-space:pre-line}

/* contact */
#view-home .h-contact{border-top:1px solid var(--line)}
#view-home .h-contacts{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
#view-home .h-contacts div{border:1px solid var(--line);background:var(--panel);padding:14px 16px;display:grid;gap:4px}
#view-home .h-contacts dt{font-size:12px;font-weight:600;color:var(--muted);letter-spacing:.06em}
#view-home .h-contacts dd{margin:0;font-size:16px;white-space:pre-line;overflow-wrap:anywhere}
#view-home .h-contacts .h-empty{border-style:dashed;background:transparent}
#view-home .h-contacts .h-empty dt{color:var(--muted)}
#view-home .h-contacts .h-empty dd{color:var(--muted);font-size:14px}
#view-home .h-fill{margin:14px 0 0;font-size:13px}
#view-home .h-fill a{color:var(--text)}

/* footer */
#view-home .h-foot{position:relative;z-index:2;border-top:1px solid var(--line);padding:26px 24px 34px;display:flex;gap:16px 32px;justify-content:space-between;align-items:center;flex-wrap:wrap;max-width:1168px;margin:0 auto}
#view-home .h-foot div{display:grid;gap:2px}
#view-home .h-foot strong{font-family:var(--display);font-weight:400;letter-spacing:.06em}
#view-home .h-foot span{font-size:13px}
#view-home .h-foot nav{display:flex;gap:18px;flex-wrap:wrap}
#view-home .h-foot a{font-size:14px;color:var(--muted);text-decoration:none}
#view-home .h-foot a:hover{color:var(--text);text-decoration:underline;text-underline-offset:4px}

@keyframes h-rise{from{opacity:0;transform:translateY(40px) skewY(4deg)}}
@keyframes h-up{from{opacity:0;transform:translateY(22px)}}
@keyframes h-scroll{to{transform:translateX(-25%)}}
@keyframes h-shine{0%,55%{left:-60%}100%{left:130%}}
@keyframes h-spin{to{transform:rotate(360deg)}}

@media (max-width:900px){
  #view-home .h-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #view-home .h-about{grid-template-columns:1fr;gap:26px}
  #view-home .h-about-mark{max-width:240px}
}
@media (max-width:520px){
  #view-home .h-hero{padding:44px 16px 40px;min-height:74vh}
  #view-home .h-sec{padding:52px 16px}
  #view-home .h-grid{gap:12px}
  #view-home .h-tee-meta h3{font-size:15px}
  #view-home .h-cta .btn{flex:1 1 auto}
  #view-home .h-foot{padding:22px 16px 30px}
}
@media (prefers-reduced-motion:reduce){
  #view-home *{animation:none !important;transition:none !important}
}
