/* HAOVEX V38 homepage, "cinematic dark" direction (Impeccable bolder/overdrive, user-approved 2026-11-19).
   Brand kept: deep green, champagne gold, warm white, logo. Faces: Cormorant Garamond + system sans. */
body.home-cinema{
  --hc-night:#06120e; --hc-deep:#0b1f19; --hc-green:#10291f; --hc-gold:#dec89f; --hc-gold-deep:#a8854a;
  --hc-ivory:#f4efe5; --hc-mist:rgba(244,239,229,.72); --hc-line:rgba(222,200,159,.22);
  --hc-ease:cubic-bezier(.16,1,.3,1);
  background:var(--hc-night);
}
.hc-main{background:var(--hc-night);color:var(--hc-ivory);overflow-x:clip}
.hc-main h1,.hc-main h2{color:var(--hc-ivory)}
.hc-gold{color:var(--hc-gold)}
.hc-wrap,.hc-hero,.hc-chapter-stage,.hc-film,.hc-rail-head{padding-left:max(24px,calc((100vw - 1280px)/2));padding-right:max(24px,calc((100vw - 1280px)/2))}

/* hero */
.hc-hero{position:relative;min-height:calc(100svh - 90px);display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:32px;padding-top:48px;padding-bottom:48px;
  background:radial-gradient(60% 70% at 72% 52%,rgba(222,200,159,.16),transparent 62%),radial-gradient(120% 90% at 10% 110%,#0f2a21 0,transparent 60%),var(--hc-night)}
.hc-brand{font-size:15px!important;font-weight:600!important;color:var(--hc-gold)!important;margin:0 0 28px!important}
.hc-hero h1{font-size:clamp(56px,7.2vw,124px)!important;line-height:.95!important;letter-spacing:-.022em!important;font-weight:500!important;max-width:11ch;margin:0!important}
.hc-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:44px}
.hc-actions .button{min-height:54px;padding:0 30px;display:inline-flex;align-items:center;font-size:16px!important;transition:transform .5s var(--hc-ease),background .3s}
.hc-actions .button:hover{transform:translateY(-2px)}
.hc-ghost{display:inline-flex;align-items:center;min-height:54px;padding:0 28px;border:1px solid rgba(222,200,159,.45);color:var(--hc-ivory)!important;text-decoration:none!important;font-weight:600;font-size:16px;transition:border-color .3s,background .3s}
.hc-ghost:hover{border-color:var(--hc-gold);background:rgba(222,200,159,.08)}
.hc-hero-object{position:relative;display:flex;justify-content:center;align-items:center;height:100%}
.hc-halo{position:absolute;inset:8% 6%;border-radius:50%;background:radial-gradient(closest-side,rgba(222,200,159,.28),rgba(222,200,159,.06) 55%,transparent 72%);filter:blur(10px);pointer-events:none}
.hc-hero-lock{position:relative;height:min(78svh,820px);width:auto;max-width:100%;object-fit:contain;filter:drop-shadow(0 40px 60px rgba(0,0,0,.55)) drop-shadow(0 0 1px rgba(222,200,159,.4))}
/* the one entrance: from already visible, exponential ease-out */
.hc-hero-copy,.hc-hero-lock{transition:opacity 1.4s var(--hc-ease),transform 1.6s var(--hc-ease),filter 1.6s var(--hc-ease)}
html:not(.hc-in) .hc-hero-copy{opacity:.35;transform:translateY(18px)}
html:not(.hc-in) .hc-hero-lock{opacity:.4;transform:translateY(40px) scale(.97)}

/* SENSE AI chapter */
.hc-chapter{position:relative;background:linear-gradient(180deg,var(--hc-night),var(--hc-deep) 40%,var(--hc-deep));}
.hc-chapter-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center;padding-top:96px;padding-bottom:96px}
.hc-chapter h2{font-size:clamp(40px,4.6vw,72px)!important;line-height:1!important;max-width:12ch;margin:0 0 48px!important}
.hc-steps{list-style:none;margin:0;padding:0;display:grid;gap:28px}
.hc-step{border-top:1px solid var(--hc-line);padding-top:20px;max-width:440px}
.hc-step h3{color:var(--hc-ivory)!important;font-size:22px!important;margin:0 0 8px!important}
.hc-step p{color:var(--hc-mist)!important;margin:0!important}
.hc-link{display:inline-block;margin-top:36px;color:var(--hc-gold)!important;font-weight:600;font-size:16px;text-decoration:none!important;border-bottom:1px solid rgba(222,200,159,.5);padding-bottom:6px;transition:border-color .3s}
.hc-link:hover{border-color:var(--hc-gold)}
.hc-chapter-visual{position:relative;display:grid;place-items:center;min-height:70svh}
.hc-face{grid-area:1/1;height:min(74svh,760px);width:auto;max-width:100%;object-fit:contain;filter:drop-shadow(0 40px 50px rgba(0,0,0,.6))}
.hc-face-in{opacity:.0001}
.hc-progress{display:none}

html.hc-live .hc-chapter{height:320svh}
html.hc-live .hc-chapter-stage{position:sticky;top:0;height:100svh;padding-top:0;padding-bottom:0}
html.hc-live .hc-steps{position:relative;display:block;min-height:150px}
html.hc-live .hc-step{position:absolute;inset:0 auto auto 0;opacity:0;transform:translateY(22px);transition:opacity .7s var(--hc-ease),transform .9s var(--hc-ease)}
html.hc-live .hc-step.is-active{opacity:1;transform:none}
html.hc-live .hc-step h3{font-family:var(--v38-serif)!important;font-weight:500!important;font-size:clamp(34px,3vw,46px)!important;line-height:1.05!important}
html.hc-live .hc-progress{display:block;position:relative;margin-top:40px;width:220px;height:1px;background:var(--hc-line)}
html.hc-live .hc-progress span{position:absolute;inset:0;background:var(--hc-gold);transform-origin:left;transform:scaleX(var(--p,0))}
html.hc-live .hc-face-out{transform:scale(calc(1 + var(--p,0)*.12)) translateY(calc(var(--p,0)*-2%));transition:opacity .8s var(--hc-ease)}
html.hc-live .hc-face-in{transition:opacity .8s var(--hc-ease),transform 1s var(--hc-ease);transform:scale(.96)}
html.hc-live .hc-chapter.is-inside .hc-face-out{opacity:.0001}
html.hc-live .hc-chapter.is-inside .hc-face-in{opacity:1;transform:none}
html:not(.hc-live) .hc-chapter-visual{grid-template-columns:1fr 1fr;gap:12px}
html:not(.hc-live) .hc-face{grid-area:auto;height:min(60svh,560px)}
html:not(.hc-live) .hc-face-in{opacity:1}

/* film */
.hc-film{background:var(--hc-night);padding-top:120px;padding-bottom:120px}
.hc-film-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:32px}
.hc-film-head h2{font-size:clamp(40px,4.6vw,72px)!important;margin:0!important}
.hc-film-head p{color:var(--hc-mist)!important;font-size:14px!important;max-width:34ch;margin:0!important}
.hc-film .hc-film-frame{position:relative;margin:0;max-width:none;width:100%}
.hc-film .hc-film-frame video{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border:1px solid rgba(222,200,159,.18);background:#000}
.hc-film .hero-film-toolbar{display:flex;gap:24px;align-items:center;margin-top:14px;color:var(--hc-mist)}
.hc-film .hero-film-toolbar span{margin-right:auto}
.hc-film .hero-film-toolbar button,.hc-film .hero-film-fallback button{background:none;border:0;color:var(--hc-ivory);font-weight:600;cursor:pointer;min-height:44px;padding:0 4px}
.hc-film .hero-film-toolbar button:hover{color:var(--hc-gold)}

/* seven-model rail */
.hc-rail{position:relative;background:linear-gradient(180deg,var(--hc-night),var(--hc-deep))}
.hc-rail-stage{padding-top:96px;padding-bottom:96px}
.hc-rail-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:40px}
.hc-rail-head h2{font-size:clamp(40px,4.6vw,72px)!important;margin:0!important}
.hc-rail-head .hc-link{margin-top:0}
.hc-rail-window{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-left:max(24px,calc((100vw - 1280px)/2));padding-bottom:12px}
.hc-track{list-style:none;margin:0;padding:0 24px 0 0;display:flex;gap:20px;width:max-content}
.hc-model{scroll-snap-align:start;width:clamp(280px,26vw,380px);flex:none}
.hc-model-link{display:flex;flex-direction:column;height:100%;text-decoration:none!important;color:inherit!important;border:1px solid rgba(222,200,159,.16);background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,0));transition:border-color .4s,transform .6s var(--hc-ease)}
.hc-model-link:hover{border-color:rgba(222,200,159,.55);transform:translateY(-4px)}
.hc-model-stage{position:relative;display:grid;place-items:center;height:clamp(320px,46svh,460px);background:radial-gradient(60% 50% at 50% 60%,rgba(222,200,159,.14),transparent 70%)}
.hc-model-stage img{height:86%;width:auto;max-width:80%;object-fit:contain;filter:drop-shadow(0 24px 30px rgba(0,0,0,.55));transition:transform .8s var(--hc-ease)}
.hc-model-link:hover .hc-model-stage img{transform:translateY(-6px) scale(1.03)}
.hc-model-copy{display:flex;flex-direction:column;gap:8px;padding:22px 22px 26px;border-top:1px solid rgba(222,200,159,.12);flex:1}
.hc-model-name{font-family:var(--v38-serif)!important;font-size:38px;line-height:1;color:var(--hc-ivory);font-variant-numeric:lining-nums}
.hc-model-series{font-size:13px;font-weight:600;color:var(--hc-gold)}
.hc-model-desc{font-size:15px;line-height:1.5;color:var(--hc-mist)}
.hc-model-facts{display:flex;flex-direction:column;gap:4px;font-size:14px;color:rgba(244,239,229,.86);margin-top:4px}
.hc-model-facts span::before{content:"";display:inline-block;width:12px;height:1px;background:var(--hc-gold);vertical-align:middle;margin-right:10px}
.hc-model-cta{margin-top:auto;padding-top:14px;font-weight:600;font-size:15px;color:var(--hc-gold)}
html.hc-live .hc-rail-stage{position:sticky;top:0;height:100svh;display:flex;flex-direction:column;justify-content:center;padding-top:0;padding-bottom:0}
html.hc-live .hc-rail-window{overflow:visible}
html.hc-live .hc-track{will-change:transform}

/* existing sections: rhythm on the cinematic page */
body.home-cinema .home-business{background:var(--hc-ivory)!important;color:#14382f}
body.home-cinema .home-business h2,body.home-cinema .home-business h3{color:#14382f!important}
body.home-cinema .home-business p,body.home-cinema .home-business li,body.home-cinema .home-business summary{color:#40564d!important}
body.home-cinema .home-business .sample-details p,body.home-cinema .home-business .sample-details li{color:#40564d!important}
body.home-cinema .home-business a:not(.button){color:#14382f!important}
body.home-cinema .home-business h2{font-size:clamp(40px,4.6vw,72px)!important;line-height:1!important}
body.home-cinema .home-business article,body.home-cinema .home-business details{border-color:rgba(20,56,47,.18)!important}
body.home-cinema .home-sourcing{background:var(--hc-green)!important}
body.home-cinema .home-sourcing h2{color:var(--hc-ivory)!important;font-size:clamp(40px,4.6vw,72px)!important;line-height:1!important}
body.home-cinema .home-sourcing p{color:var(--hc-mist)!important}
body.home-cinema .home-projects{background:var(--hc-ivory)!important}
body.home-cinema .home-projects h2{font-size:clamp(40px,4.6vw,72px)!important;line-height:1!important}
body.home-cinema .brand-purpose{background:var(--hc-night)!important;padding-top:140px!important;padding-bottom:140px!important}
body.home-cinema .brand-purpose h2{font-size:clamp(52px,6.4vw,108px)!important;line-height:.95!important;color:var(--hc-gold)!important}
body.home-cinema footer{background:var(--hc-night)!important;border-top:1px solid rgba(222,200,159,.12)}

/* small screens: static, stacked, swipeable rail */
@media (max-width:959px){
  .hc-hero{grid-template-columns:1fr;min-height:auto;padding-top:40px;padding-bottom:64px}
  .hc-hero h1{font-size:clamp(46px,12vw,72px)!important}
  .hc-hero-lock{height:min(62svh,520px)}
  .hc-chapter-stage{grid-template-columns:1fr;padding-top:72px;padding-bottom:72px}
  .hc-chapter-visual{min-height:0}
  .hc-film{padding-top:72px;padding-bottom:72px}
  .hc-film-head{flex-direction:column;align-items:flex-start}
  .hc-rail-stage{padding-top:72px;padding-bottom:72px}
  .hc-rail-head{flex-direction:column;align-items:flex-start}
  .hc-model{width:78vw}
  body.home-cinema .brand-purpose{padding-top:96px!important;padding-bottom:96px!important}
}
@media (max-width:600px){
  .hc-wrap,.hc-hero,.hc-chapter-stage,.hc-film,.hc-rail-head{padding-left:20px;padding-right:20px}
  .hc-rail-window{padding-left:20px}
  html:not(.hc-live) .hc-chapter-visual{grid-template-columns:1fr 1fr}
  html:not(.hc-live) .hc-face{height:min(52svh,420px)}
}
@media (prefers-reduced-motion:reduce){
  .hc-hero-copy,.hc-hero-lock,.hc-model-link,.hc-model-stage img{transition:none!important}
  html:not(.hc-in) .hc-hero-copy,html:not(.hc-in) .hc-hero-lock{opacity:1;transform:none}
}
body.home-cinema .hc-main h1 *,body.home-cinema .hc-main h2 *{font-family:inherit!important;font-size:inherit!important;letter-spacing:inherit!important}
body.home-cinema .hc-model-stage{height:clamp(240px,34svh,360px)!important;overflow:hidden}
body.home-cinema .hc-model-stage img{height:88%!important;width:auto!important;max-width:78%!important;max-height:none!important;object-fit:contain!important;position:static!important}
body.home-cinema .hc-hero-lock{max-height:none!important}
body.home-cinema .hc-face{max-height:none!important;width:auto!important}
html.hc-live .hc-rail-head{margin-bottom:28px}
body.home-cinema .hc-model-stage img{height:calc(clamp(240px,34svh,360px)*.86)!important}
@media (max-width:959px){body.home-cinema .hc-model-stage{height:340px!important}body.home-cinema .hc-model-stage img{height:292px!important}}
body.home-cinema .home-projects h2,body.home-cinema .home-projects h3,body.home-cinema .home-projects a{color:#14382f!important}
body.home-cinema .home-projects p{color:#40564d!important}
body.home-cinema .hc-film .hero-film-fallback{color:var(--hc-ivory)!important;margin-top:12px}
body.home-cinema .hc-film .hero-film-toolbar span{color:rgba(244,239,229,.78)!important}

body.home-cinema .hc-actions .hero-quote{background:var(--hc-gold)!important;color:#10291f!important;border:1px solid var(--hc-gold)!important}
body.home-cinema .hc-actions .hero-quote:hover{background:#e8d6b2!important}
.hc-rail-window{padding-left:0!important;scroll-padding-left:max(24px,calc((100vw - 1280px)/2))}
.hc-track{padding-left:max(24px,calc((100vw - 1280px)/2))!important}
@media (max-width:600px){.hc-rail-window{scroll-padding-left:20px}.hc-track{padding-left:20px!important}}
html.hc-live .hc-chapter-stage,html.hc-live .hc-rail-stage{top:90px!important;height:calc(100svh - 90px)!important}
html.hc-live .hc-face{height:min(66svh,700px)!important}
html.hc-live .hc-face-out{transform:scale(calc(1 + var(--p,0)*.06))}
html.hc-live .hc-rail-stage{justify-content:flex-start!important;padding-top:clamp(20px,4svh,48px)!important}
html.hc-live body.home-cinema .hc-model-stage{height:clamp(220px,30svh,340px)!important}
html.hc-live body.home-cinema .hc-model-stage img{height:calc(clamp(220px,30svh,340px)*.86)!important}
body.home-cinema .hc-main>.hc-chapter,body.home-cinema .hc-main>.hc-rail{padding-top:0!important;padding-bottom:0!important;margin:0!important}
/* vertical brand film */
.hc-film-vertical{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:64px;align-items:center}
.hc-film-vertical .hc-film-copy h2{font-size:clamp(40px,4.6vw,72px)!important;line-height:1!important;margin:0 0 20px!important}
.hc-film-vertical .hc-film-copy p{color:var(--hc-mist)!important;max-width:44ch}
.hc-film-vertical .hc-film-note{font-size:13px!important;color:rgba(244,239,229,.7)!important;margin-top:18px!important}
.hc-film-vertical .hc-film-frame{width:auto!important}
.hc-film-vertical .hc-film-frame video{height:min(78svh,760px)!important;width:auto!important;aspect-ratio:9/16!important;object-fit:cover;border:1px solid rgba(222,200,159,.25);box-shadow:0 40px 80px rgba(0,0,0,.5),0 0 120px rgba(222,200,159,.08)}
.hc-film-vertical .hero-film-toolbar{justify-content:center}
@media(max-width:959px){.hc-film-vertical{grid-template-columns:1fr;gap:32px}.hc-film-vertical .hc-film-frame{justify-self:center}.hc-film-vertical .hc-film-frame video{height:min(72svh,620px)!important}}
body.home-cinema .film-dialog video{max-height:82vh;width:auto;max-width:100%;aspect-ratio:9/16;margin:0 auto;display:block}
/* 45-second landscape film: shown at a moderate size so the 720p master stays sharp */
.hc-film-wide{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.5fr);gap:56px;align-items:center}
.hc-film-wide .hc-film-copy h2{font-size:clamp(40px,4.4vw,68px)!important;line-height:1!important;margin:0 0 20px!important}
.hc-film-wide .hc-film-copy p{color:var(--hc-mist)!important;max-width:40ch}
.hc-film-wide .hc-film-note{font-size:13px!important;color:rgba(244,239,229,.7)!important;margin-top:16px!important}
.hc-film-wide .hc-film-frame{max-width:820px;justify-self:end;width:100%}
.hc-film-wide .hc-film-frame video{width:100%!important;height:auto!important;aspect-ratio:16/9;object-fit:cover;border:1px solid rgba(222,200,159,.25);box-shadow:0 40px 80px rgba(0,0,0,.5)}
@media(max-width:959px){.hc-film-wide{grid-template-columns:1fr;gap:28px}.hc-film-wide .hc-film-frame{justify-self:stretch}}
body.home-cinema .film-dialog video{aspect-ratio:auto!important;max-height:none;width:100%}
.hc-film-wide .hero-film-toolbar{display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:8px 24px!important;justify-content:flex-end!important;align-items:center;margin-top:12px}.hc-film-wide .hero-film-toolbar button{width:auto!important;min-height:44px}
/* keep the 720p master at or below native size on high-density screens */
.hc-film-wide{grid-template-columns:minmax(0,1fr) minmax(0,640px)!important;justify-content:space-between}
.hc-film-wide .hc-film-frame{max-width:640px!important;justify-self:end}
@media(max-width:959px){.hc-film-wide{grid-template-columns:1fr!important}.hc-film-wide .hc-film-frame{max-width:640px!important;justify-self:start}}
.hc-film-fine{font-size:12px!important;line-height:1.4!important;color:rgba(244,239,229,.62)!important;margin:10px 0 0!important;max-width:none!important}body.home-cinema .hc-film-fine{color:rgba(244,239,229,.64)!important}
