/* Home page slider, design "A — gilded frame" (see public/js/home-slider.js). */
.home-slider{position:relative;overflow:hidden;color:#fff3d6;background:radial-gradient(ellipse at 75% 40%,#5a0c18 0%,#2c050c 45%,#120205 100%);touch-action:pan-y}
.home-slider:before{content:'';position:absolute;inset:0;opacity:.07;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M32 4c8 10 8 18 0 28c-8-10-8-18 0-28zM32 60c8-10 8-18 0-28c-8 10-8 18 0 28zM4 32c10-8 18-8 28 0c-10 8-18 8-28 0zM60 32c-10-8-18-8-28 0c10 8 18 8 28 0z' fill='none' stroke='%23e9c66b'/%3E%3Ccircle cx='32' cy='32' r='3' fill='%23e9c66b'/%3E%3Ccircle cx='0' cy='0' r='2' fill='%23e9c66b'/%3E%3Ccircle cx='64' cy='64' r='2' fill='%23e9c66b'/%3E%3C/svg%3E");background-size:64px 64px}
.home-slider:after{content:'';position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,transparent,#f0cf78,transparent);pointer-events:none}
.hs-inner{position:relative;--hs-edge:calc(max(50px,(100% - 1380px) / 2) + 5%);padding:0 var(--hs-edge)}
@media(max-width:1100px){.hs-inner{--hs-edge:calc(24px + 5%)}}
.hs-stage{display:grid}
.hs-slide{grid-area:1/1;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:56px;align-items:center;padding:48px 0 108px;opacity:0;visibility:hidden;transition:opacity .8s ease,visibility 0s linear .8s}
.hs-slide.is-active{opacity:1;visibility:visible;transition:opacity .8s ease}
.hs-gold{background:linear-gradient(180deg,#fff1c4 0%,#f0cf78 45%,#b8862f 100%);-webkit-background-clip:text;background-clip:text;color:transparent;padding:.12em 0 .22em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
/* Thai marks above and below letters (ุ ู ิ ี ่ ้) need room inside the gradient box, otherwise they are cut off. */
.hs-kicker{display:inline-flex;align-items:center;gap:10px;color:#f0cf78;font-size:15px;font-weight:600;letter-spacing:.5px}
.hs-kicker i{display:block;width:28px;height:1px;background:#f0cf78}
.hs-title{margin:10px 0 12px;padding-top:.08em;font-size:clamp(40px,4.4vw,62px);line-height:1.45;font-weight:700}
.hs-title.hs-long{font-size:clamp(34px,3.3vw,48px)}
.hs-title.hs-brand{color:#fff3d6;font-size:clamp(36px,3.8vw,52px)}
.hs-sub{margin:0;font-size:20px;line-height:1.55;color:#f3e2c6;font-weight:400;max-width:560px}
.hs-cards{display:flex;flex-wrap:wrap;gap:14px;margin-top:26px}
.hs-card{min-width:120px;border:1px solid #f0cf7899;background:linear-gradient(160deg,#ffffff1f,#ffffff08);border-radius:14px;padding:12px 20px;text-align:center;box-shadow:inset 0 1px 0 #ffffff30,0 10px 30px #0006}
.hs-card small{display:block;font-size:14px;color:#f6dea0}
.hs-card b{display:block;font-size:34px;line-height:1.25;font-weight:700;color:#fff3d6}
.hs-card b.hs-gold{color:transparent}
.hs-card b span{font-size:16px;font-weight:500}
.hs-card b.hs-now{font-size:22px;line-height:1.9}
.hs-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.hs-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 30px;border:0;border-radius:999px;background:linear-gradient(180deg,#fbe3a0,#d9a948);color:#3b0a10;font:inherit;font-weight:700;font-size:17px;text-decoration:none;box-shadow:0 8px 24px #d9a94844,inset 0 1px 0 #fff8;cursor:pointer}
.hs-btn:hover{filter:brightness(1.06);color:#3b0a10}
.hs-btn.hs-ghost{background:#ffffff0d;color:#f6dea0;border:1px solid #f0cf78;box-shadow:none}
.hs-btn:focus-visible,.hs-arrow:focus-visible,.hs-dot:focus-visible,.hs-pause:focus-visible{outline:3px solid #fff1c4;outline-offset:3px}
.hs-frame{position:relative;padding:10px;border:1px solid #d9b25a;background:linear-gradient(135deg,#2a0409,#140205);aspect-ratio:9/7}
.hs-frame:before{content:'';position:absolute;inset:5px;border:1px solid #d9b25a55;pointer-events:none}
.hs-pic{position:relative;height:100%;overflow:hidden;border:2px solid #f0cf78}
.hs-pic img{display:block;width:100%;height:100%;object-fit:cover}
.hs-corner{position:absolute;width:34px;height:34px;fill:none;stroke:#f0cf78;stroke-width:2;z-index:1}
.hs-corner .hs-thin{stroke:#b8862f;stroke-width:1}
.hs-corner .hs-gem{fill:#f0cf78;stroke:none}
.hs-c1{left:-6px;top:-6px}.hs-c2{right:-6px;top:-6px;transform:rotate(90deg)}.hs-c3{right:-6px;bottom:-6px;transform:rotate(180deg)}.hs-c4{left:-6px;bottom:-6px;transform:rotate(270deg)}
.hs-controls{position:absolute;left:var(--hs-edge);bottom:30px;display:flex;align-items:center;gap:14px;z-index:2}
.hs-arrow{width:52px;height:52px;border-radius:50%;border:1px solid #f0cf78;background:#ffffff0d;color:#f6dea0;font-size:26px;line-height:1;display:grid;place-items:center;cursor:pointer;padding:0 0 3px}
.hs-arrow:hover{background:#f0cf7822}
.hs-dots{display:flex;gap:4px}
/* Page numbers: faint until chosen; the gold line under the current number fills up until the next slide. */
.hs-dot{position:relative;min-width:48px;height:48px;padding:0 6px;border:0;background:none;cursor:pointer;color:#f0cf7866;font:inherit;font-size:17px;letter-spacing:2px;transition:color .3s}
.hs-dot b{font-weight:600}
.hs-dot:hover{color:#f0cf78cc}
.hs-dot[aria-current]{color:#fff1c4}
.hs-dot:before{content:'';position:absolute;left:10px;right:10px;bottom:8px;height:2px;border-radius:1px;background:#f0cf7833}
.hs-dot span{position:absolute;left:10px;right:10px;bottom:8px;height:2px;border-radius:1px;background:linear-gradient(90deg,#fbe3a0,#d9a948);transform-origin:left;transform:scaleX(0)}
.hs-dot[aria-current]:before{background:#f0cf7855}
.is-paused .hs-dot[aria-current] span{transform:scaleX(1)}
.hs-pause{margin-left:6px;min-height:46px;border:1px solid #f0cf7888;background:none;color:#f6dea0;border-radius:999px;padding:0 18px;font:inherit;font-size:15px;cursor:pointer}
.hs-pause em{font-style:normal}
.hs-count{display:none;position:absolute;right:5%;bottom:42px;font-size:14px;letter-spacing:3px;color:#f0cf78aa}
.hs-count b{color:#f0cf78;font-weight:600}

/* Entrance of the active slide (plays on its own, no scrolling needed). */
@keyframes hs-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes hs-zoom{from{transform:scale(1.1)}to{transform:scale(1)}}
@keyframes hs-glow{0%,100%{box-shadow:0 0 0 0 #f0cf7800}50%{box-shadow:0 0 34px 2px #f0cf7833}}
.hs-slide.is-active .hs-kicker{animation:hs-rise .7s ease both .15s}
.hs-slide.is-active .hs-title{animation:hs-rise .7s ease both .3s}
.hs-slide.is-active .hs-sub{animation:hs-rise .7s ease both .42s}
.hs-slide.is-active .hs-cards{animation:hs-rise .7s ease both .55s}
.hs-slide.is-active .hs-actions{animation:hs-rise .7s ease both .7s}
.hs-slide.is-active .hs-pic img{animation:hs-zoom 8.5s ease-out both}
.hs-slide.is-active .hs-frame{animation:hs-glow 4s ease-in-out infinite 1s}

@media(min-width:1600px){
 .hs-slide{gap:72px;padding:56px 0 116px}
 .hs-title{font-size:68px}.hs-title.hs-long{font-size:54px}.hs-title.hs-brand{font-size:58px}
 .hs-sub{font-size:22px}.hs-kicker{font-size:16px}
}
@media(max-width:900px){
 .hs-slide{grid-template-columns:1fr;grid-template-rows:auto 1fr;gap:20px;padding:20px 0 8px}
 .hs-copy{align-self:center}
 .hs-frame-link{order:-1}
 .hs-frame{aspect-ratio:4/3;padding:7px}
 .hs-frame:before{inset:3px}
 .hs-corner{width:26px;height:26px}
 .hs-copy{text-align:center}
 .hs-cards,.hs-actions{justify-content:center}
 .hs-sub{margin:0 auto}
 .hs-controls{position:static;justify-content:center;gap:10px;padding:8px 0 24px}
 .hs-count{display:none}
}
@media(max-width:700px){
 .hs-inner{--hs-edge:16px}
 .hs-title{font-size:32px;margin:8px 0 4px}
 .hs-title.hs-long{font-size:clamp(34px,3.3vw,48px)}
.hs-title.hs-brand{font-size:29px}
 .hs-kicker{font-size:13.5px}.hs-kicker i{width:18px}
 .hs-sub{font-size:16px}
 .hs-cards{gap:10px;margin-top:16px}
 .hs-card{min-width:0;padding:8px 14px}
 .hs-card b{font-size:26px}
 .hs-actions{margin-top:18px}
 .hs-btn{min-height:50px;padding:0 22px;font-size:16px;flex:1 1 auto}
 .hs-arrow{width:46px;height:46px}
 .hs-pause{padding:0 14px}
 .hs-pause em{display:none}
}
@media(max-width:360px){.hs-dot{min-width:40px;font-size:15px}.hs-controls{gap:6px}}
@media(prefers-reduced-motion:reduce){
 .hs-slide,.hs-slide.is-active{transition:none}
 .hs-slide.is-active *{animation:none!important}
 .hs-slide.is-active .hs-frame{animation:none}
}
.hs-frame-link{display:block;color:inherit}
/* Many slides (6–10): numbers stay on computers; phones show "03 / 10" between the arrows instead. */
.hs-mcount{display:none;min-width:84px;text-align:center;font-size:17px;letter-spacing:2px;color:#f0cf78aa}
.hs-mcount b{color:#fff1c4;font-weight:600}
.hs-many .hs-dot{min-width:42px;padding:0 3px}
@media(max-width:700px){.hs-many .hs-dots{display:none}.hs-many .hs-mcount{display:block}}
