/* Cabinet Dentaire Frigui — shared styles
   Palette (Behance "Dentalcare+" direction):
     cream   #F6EFE0   surface light  #EFE2BF / #EEDFC4 / #F3E6CB
     rust    #A8361C   (hover #8C2B15 / #7E2612)
     espresso#2E211B   (near-black #120C09)
     gold    #D9BA72 / #B08A3E / #8E6A26
     warm    #7D4B37 / #4A3328 / #CDB083
   Fonts: Schibsted Grotesk (headings), DM Sans (body) */

/* ---------- base ---------- */
body{margin:0;background:#F6EFE0;color:#2E211B;font-family:'DM Sans',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:#A8361C}a:hover{color:#7E2612}
[hidden]{display:none!important}
html,body{overflow-x:clip}
.r *{box-sizing:border-box}
.r h1,.r h2,.r h3,.r h4{font-family:'Schibsted Grotesk',system-ui,sans-serif;letter-spacing:-0.025em;margin:0;font-weight:600;line-height:1.05}
.r p{margin:0;line-height:1.65}
.wrap{max-width:1240px;margin:0 auto;padding:0 32px}
.photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}

/* ---------- header ---------- */
.hdr{position:sticky;top:0;z-index:50;padding:14px 0}
.nav{background:#EFE2BF;border-radius:14px;display:flex;align-items:center;gap:16px;padding:8px 8px 8px 18px;box-shadow:0 8px 28px rgba(46,33,27,.07)}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:#2E211B;font-family:'Schibsted Grotesk',sans-serif;font-size:21px;font-weight:600;letter-spacing:-.03em}
.logo:hover{color:#2E211B}
.logo em{font-style:normal;color:#8E6A26;font-weight:500}
/* header logo shared with the other pages (site.css .hdr .logo) */
.logo--fd{display:inline-flex;gap:8px;font-size:23px;font-weight:500;letter-spacing:-.05em;color:#231A15}
.logo--fd svg{width:22px;height:22px;color:#A83A18;flex:none}
.mk{width:34px;height:34px;border-radius:10px;background:#A8361C;color:#F6EFE0;display:grid;place-items:center;flex:none}
.navlinks{margin-left:auto;display:flex;gap:4px}
.navlinks a{color:#5A4639;text-decoration:none;font-size:14px;padding:12px;border-radius:10px}
.navlinks a:hover{color:#2E211B;background:rgba(255,255,255,.5)}
.navlinks a.on{color:#2E211B;font-weight:600}
.burger{display:none;margin-left:auto;width:44px;height:44px;border:0;border-radius:10px;background:#2E211B;color:#F6EFE0;align-items:center;justify-content:center;cursor:pointer}
.mmenu{margin-top:8px;background:#EFE2BF;border-radius:14px;padding:8px;display:none;flex-direction:column}
.mmenu.open{display:flex}
@media (min-width:861px){.mmenu.open{display:none}}
.mmenu a{padding:14px 12px;color:#2E211B;text-decoration:none;font-weight:500;border-radius:10px}
.mmenu a:hover{background:rgba(255,255,255,.55)}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 24px;border-radius:999px;background:#A8361C;color:#fff;text-decoration:none;font-weight:600;font-size:13px;letter-spacing:.07em;text-transform:uppercase;border:0;cursor:pointer;font-family:inherit;transition:transform .25s,background .25s}
.btn:hover{background:#8C2B15;color:#fff;transform:translateY(-2px)}
.btn.dark{background:#2E211B}.btn.dark:hover{background:#120C09;color:#fff}
.btn.gold{background:#D9BA72;color:#2E211B}.btn.gold:hover{background:#E6C985;color:#2E211B}
.btn.sm{min-height:44px;padding:0 18px;font-size:12px}

/* ---------- typography / layout utils ---------- */
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;margin-bottom:18px}
.eyebrow svg{color:#A8361C}
.sec{padding:110px 0}
.h1{font-size:clamp(42px,6vw,80px);line-height:.98}
.h2{font-size:clamp(34px,4.4vw,58px)}
.lead{font-size:17px;color:#5A4639;max-width:520px}
.g2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px;align-items:center}
.g3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.g4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.ph{position:relative;overflow:hidden;background:#E5D0A8;display:flex;align-items:flex-end;padding:18px}
.phl{position:relative;z-index:2;display:inline-flex;align-items:center;gap:8px;background:rgba(246,239,224,.94);color:#4A3A30;font-size:12px;font-weight:600;padding:8px 12px;border-radius:999px}
.cta{background:#A8361C;color:#F6EFE0;border-radius:28px;padding:64px;display:flex;justify-content:space-between;align-items:center;gap:32px;flex-wrap:wrap}

/* ---------- footer ---------- */
.ft{background:#2E211B;color:#E9DCC6;padding:90px 0 36px}
.ft .logo{color:#F6EFE0}.ft .logo em{color:#D9BA72}
.ft a{color:#E9DCC6;text-decoration:none}.ft a:hover{color:#D9BA72}
.ftg{display:grid;grid-template-columns:2fr 1fr 1fr 1.4fr;gap:40px}
.ft h4{font-size:14px;color:#D9BA72;margin-bottom:16px;letter-spacing:0}
.ft ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px;font-size:15px}
.ftb{border-top:1px solid rgba(233,220,198,.18);margin-top:60px;padding-top:24px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:13px;color:#BFAE95}

/* ========== HOME ========== */
.stats{margin-top:-90px;position:relative;z-index:3;margin-left:auto;width:calc(50% - 28px);background:#A8361C;border-radius:24px;padding:20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.stat{background:#F3E6CB;border-radius:14px;padding:18px;min-height:150px;display:flex;flex-direction:column;justify-content:space-between;gap:12px}
a.stat{text-decoration:none}
.heroImg{height:680px;border-radius:32px 32px 32px 140px;background:#D9BA72}
.heroBadge{position:absolute;top:28px;right:28px;z-index:2;background:#2E211B;color:#F6EFE0;border-radius:999px;padding:10px 16px;font-size:13px;font-weight:600;display:flex;gap:8px;align-items:center}
.who{background:#EFE2BF;border-radius:28px;padding:56px}
.whoImg{height:560px;border-radius:20px;background:#CDB083}
.tiny{width:130px;height:150px;border-radius:26px 26px 26px 60px;background:#B08A3E;margin:28px auto;transform:rotate(-5deg)}
.show{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 56px;perspective:1400px}
.t1{height:290px;border-radius:14px;background:#A8361C}
.t2{height:290px;border-radius:14px;background:#A8361C;display:grid;place-items:center}
.t3{height:330px;border-radius:24px 24px 60px 60px;background:#B08A3E;display:grid;place-items:center;margin-top:-24px}
.smile{height:330px;border-radius:30px;background:#7D4B37;transform:rotate(-4deg);margin-top:40px}
.vid{height:540px;border-radius:18px;background:#4A3328;flex-direction:column;align-items:center;justify-content:space-between;padding:18px}
.cal{border-radius:18px;background:#A8361C;color:#F6EFE0;padding:22px 6px 6px}
.days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;font-size:13px;gap:6px;padding:0 10px}
.d{height:36px;display:grid;place-items:center;font-weight:600}
.d.sel{background:#F6EFE0;color:#A8361C;border-radius:50%;width:36px;margin:0 auto}
.slots{background:#fff;border-radius:14px;margin-top:16px;color:#2E211B}
.slot{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid #EEE3D2;text-decoration:none;color:#2E211B}
.slot:last-child{border-bottom:0}
.slot:hover{color:#A8361C}
.doc{margin-top:14px;background:#fff;border-radius:16px;padding:10px;display:flex;align-items:center;gap:14px}
.doc .av{width:62px;height:62px;border-radius:12px;background:#D9BA72;flex:none}
.pin{background:#2E211B;color:#F6EFE0;height:2400px;view-timeline-name:--pin;position:relative}
.pinIn{position:sticky;top:0;height:820px;display:flex;align-items:center;overflow:hidden}
.stage{height:560px;display:grid;place-items:center;perspective:1500px;position:relative}
.cube{--h:150px;width:300px;height:300px;position:relative;transform-style:preserve-3d;transform:rotateX(-18deg) rotateY(-32deg)}
.face{position:absolute;inset:0;border-radius:22px;display:flex;flex-direction:column;justify-content:space-between;padding:28px;font-family:'Schibsted Grotesk',sans-serif;font-size:26px;font-weight:600;letter-spacing:-.02em;line-height:1.1}
.face small{font-family:'DM Sans',sans-serif;font-size:13px;font-weight:500;letter-spacing:0;opacity:.8}
.f1{background:#D9BA72;color:#2E211B;transform:translateZ(var(--h))}
.f2{background:#A8361C;color:#F6EFE0;transform:rotateY(90deg) translateZ(var(--h))}
.f3{background:#F6EFE0;color:#2E211B;transform:rotateY(180deg) translateZ(var(--h))}
.f4{background:#B08A3E;color:#1E150F;transform:rotateY(-90deg) translateZ(var(--h))}
.f5{background:#EFE2BF;color:#2E211B;transform:rotateX(90deg) translateZ(var(--h))}
.f6{background:#7D4B37;color:#F6EFE0;transform:rotateX(-90deg) translateZ(var(--h))}
.ring{position:absolute;width:480px;height:480px;border:1.5px solid rgba(217,186,114,.55);border-radius:50%;transform:rotateX(72deg)}
.ring.b{width:560px;height:560px;border-color:rgba(217,186,114,.25);transform:rotateX(72deg) rotateY(14deg)}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin:30px 0 34px}
.chip{border:1px solid rgba(239,226,191,.35);border-radius:999px;padding:10px 16px;font-size:14px;color:#EFE2BF}
.val{background:#EEDFC4;border-radius:8px;padding:22px;height:400px;display:flex;flex-direction:column;justify-content:space-between}
.num{font-family:'Schibsted Grotesk',sans-serif;font-size:42px;font-weight:500;color:#DCC8A5}
.vimg{width:76px;height:86px;border-radius:14px 14px 14px 30px;position:relative;overflow:hidden}
.val h3{font-size:22px;margin-bottom:10px}
.val p{font-size:14px;color:#5A4639}
.philo{background:#2E211B;color:#F6EFE0}
.philoImg{height:520px;border-radius:18px;background:#6B4A3A}
.philoImg .in{position:absolute;inset:0;background:#6B4A3A}
/* reel ("video") */
.cubeSm{display:grid;place-items:center}
.morph{width:120px;height:120px;background:#F6EFE0;border-radius:34px;box-shadow:0 20px 40px rgba(0,0,0,.18);animation:morph 6s ease-in-out infinite}
@keyframes morph{0%,100%{border-radius:34px;transform:rotate(0deg)}33%{border-radius:50%;transform:rotate(45deg) scale(.9)}66%{border-radius:60px 60px 22px 22px;transform:rotate(0deg) scale(1.05)}}
.swing{transform-origin:50% 8%;animation:swing 3.4s ease-in-out infinite}
@keyframes swing{0%,100%{transform:rotate(-7deg)}50%{transform:rotate(7deg)}}
.floaty{animation:floaty 5s ease-in-out infinite}
@keyframes floaty{0%,100%{transform:translateY(0) scale(1.04)}50%{transform:translateY(-10px) scale(1.04)}}
.d.sel{animation:pulse 2s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(246,239,224,.7)}70%{box-shadow:0 0 0 12px rgba(246,239,224,0)}100%{box-shadow:0 0 0 0 rgba(246,239,224,0)}}
.reel{position:absolute;inset:0;overflow:hidden;border-radius:18px}
.scene{position:absolute;inset:0;opacity:0;animation:sceneFade 12s linear infinite}
.scene img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;animation:kb 12s linear infinite}
.scene .shade{position:absolute;inset:0;background:rgba(30,20,15,.30)}
.scene:nth-child(2),.scene:nth-child(2) img,.scene:nth-child(2) .cap{animation-delay:3s}
.scene:nth-child(3),.scene:nth-child(3) img,.scene:nth-child(3) .cap{animation-delay:6s}
.scene:nth-child(4),.scene:nth-child(4) img,.scene:nth-child(4) .cap{animation-delay:9s}
@keyframes sceneFade{0%{opacity:0}4%{opacity:1}25%{opacity:1}29%{opacity:0}100%{opacity:0}}
@keyframes kb{0%{transform:scale(1.18) translateY(10px)}29%{transform:scale(1) translateY(0)}100%{transform:scale(1)}}
.cap{position:absolute;left:24px;right:24px;top:63%;text-align:center;color:#F6EFE0;font-family:'Schibsted Grotesk',sans-serif;font-size:26px;font-weight:600;letter-spacing:-.02em;line-height:1.1;text-shadow:0 2px 18px rgba(0,0,0,.35);opacity:0;animation:capIn 12s ease-out infinite}
@keyframes capIn{0%,5%{opacity:0;transform:translateY(24px)}10%,23%{opacity:1;transform:none}27%,100%{opacity:0;transform:translateY(-10px)}}
.segs{display:flex;gap:6px;width:100%;position:relative;z-index:3}
.seg{flex:1;height:3px;background:rgba(246,239,224,.3);border-radius:2px;overflow:hidden}
.seg i{display:block;height:100%;background:#F6EFE0;transform-origin:left;transform:scaleX(0);animation:linear 12s infinite}
.seg i.s1{animation-name:sg1}.seg i.s2{animation-name:sg2}.seg i.s3{animation-name:sg3}.seg i.s4{animation-name:sg4}
@keyframes sg1{0%{transform:scaleX(0)}25%,100%{transform:scaleX(1)}}
@keyframes sg2{0%,25%{transform:scaleX(0)}50%,100%{transform:scaleX(1)}}
@keyframes sg3{0%,50%{transform:scaleX(0)}75%,100%{transform:scaleX(1)}}
@keyframes sg4{0%,75%{transform:scaleX(0)}100%{transform:scaleX(1)}}
.play{width:64px;height:64px;border-radius:50%;border:0;background:rgba(18,12,9,.85);color:#fff;display:grid;place-items:center;cursor:pointer;position:relative;z-index:3}
.vid.paused *{animation-play-state:paused!important}

/* ========== CABINET ========== */
.phero{padding:70px 0 40px}
.banner{height:520px;border-radius:32px;background:#7D4B37;margin-top:56px}
.banner .in{position:absolute;inset:0;background:#7D4B37}
.tl{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.tl::before{content:"";position:absolute;left:0;right:0;top:27px;height:2px;background:#D9BA72}
.step{position:relative}
.dot{width:56px;height:56px;border-radius:50%;background:#F6EFE0;border:2px solid #D9BA72;display:grid;place-items:center;font-family:'Schibsted Grotesk',sans-serif;font-weight:600;color:#8E6A26;margin-bottom:22px}
.eq{background:#EEDFC4;border-radius:22px;padding:30px;display:flex;flex-direction:column;gap:16px;min-height:300px}
.ico{width:54px;height:54px;border-radius:16px;background:#A8361C;color:#F6EFE0;display:grid;place-items:center}
.gal{display:grid;grid-template-columns:1.2fr 1fr 1fr;grid-template-rows:260px 260px;gap:20px;perspective:1400px}
.gal .ph{border-radius:20px}
.goldbox{background:#EFE2BF;border-radius:28px;padding:64px}

/* ========== EQUIPE ========== */
.dr{background:#EFE2BF;border-radius:30px;padding:18px;display:flex;flex-direction:column;transition:transform .5s cubic-bezier(.2,.7,.2,1),box-shadow .5s}
.dr:hover{transform:perspective(1200px) rotateY(-6deg) rotateX(4deg) translateY(-6px);box-shadow:0 30px 60px rgba(46,33,27,.16)}
.drImg{height:520px;border-radius:22px}
.drBody{padding:26px 14px 14px}
.tag{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border-radius:999px;font-size:12px;font-weight:600;background:#F6EFE0;color:#8E6A26}
.dip{list-style:none;padding:0;margin:20px 0 0;display:flex;flex-direction:column;gap:10px;font-size:14px;color:#4A3A30}
.dip li{display:flex;gap:10px}
.quote{background:#2E211B;color:#F6EFE0;border-radius:30px;padding:80px 64px;text-align:center}
.mem{background:#EEDFC4;border-radius:22px;padding:14px;display:flex;flex-direction:column;gap:14px}
.mem .ph{height:300px;border-radius:16px}

/* ========== SOINS ========== */
.stack{display:flex;flex-direction:column;gap:28px}
.card{position:sticky;top:110px;border-radius:28px;padding:40px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;min-height:430px;box-shadow:0 -10px 40px rgba(46,33,27,.10)}
.card .ph{border-radius:20px;min-height:340px}
.cnum{font-family:'Schibsted Grotesk',sans-serif;font-size:15px;font-weight:600}
.card h3{font-size:clamp(30px,3.4vw,44px);margin:14px 0 18px}
.card ul{margin:22px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px;font-size:15px}
.card li{display:flex;gap:10px;align-items:center}
.c1{background:#EFE2BF}.c2{background:#A8361C;color:#F6EFE0}.c3{background:#EEDFC4}.c4{background:#2E211B;color:#F6EFE0}.c5{background:#D9BA72}.c6{background:#F3E6CB}.c7{background:#7D4B37;color:#F6EFE0}
.c2 p,.c4 p,.c7 p{color:#F3E6CB}
.c2 a.lk,.c4 a.lk,.c7 a.lk{color:#F6EFE0}
.lk{font-weight:600;text-decoration:underline;text-underline-offset:4px;margin-top:24px;display:inline-flex;min-height:44px;align-items:center}
.pstep{background:#EEDFC4;border-radius:20px;padding:28px;min-height:250px;display:flex;flex-direction:column;justify-content:space-between}
.pstep .n{width:44px;height:44px;border-radius:50%;background:#A8361C;color:#F6EFE0;display:grid;place-items:center;font-weight:700}
.faq{border-top:1px solid #DCC8A5}
.qbtn{width:100%;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 0;background:none;border:0;border-bottom:1px solid #DCC8A5;cursor:pointer;text-align:left;font-family:'Schibsted Grotesk',sans-serif;font-size:20px;font-weight:600;color:#2E211B;min-height:44px}
.qbtn:hover{color:#A8361C}
.sign{width:36px;height:36px;border-radius:50%;background:#EFE2BF;display:grid;place-items:center;flex:none;font-size:20px;color:#8E6A26}
.ans{padding:18px 0 26px;color:#5A4639;max-width:760px;border-bottom:1px solid #DCC8A5;display:none}
.faq-item.open .ans{display:block}

/* ========== CONTACT ========== */
.lay{display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start}
.form{flex:999 1 560px;min-width:0;background:#fff;border-radius:28px;padding:40px;box-shadow:0 20px 60px rgba(46,33,27,.08)}
.side{flex:1 1 340px;min-width:0;display:flex;flex-direction:column;gap:18px}
.fg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.fld{display:flex;flex-direction:column;gap:8px}
.fld label,.lbl{font-size:13px;font-weight:600;color:#4A3A30}
.fld input,.fld select,.fld textarea{font:inherit;font-size:15px;color:#2E211B;background:#F8F2E6;border:1px solid #E3D3B6;border-radius:12px;padding:13px 14px;min-height:48px;width:100%}
.fld input:focus,.fld select:focus,.fld textarea:focus{outline:2px solid #D9BA72;outline-offset:1px;border-color:#B08A3E}
.pills{display:flex;flex-wrap:wrap;gap:10px}
.pill{min-height:44px;padding:0 16px;border-radius:12px;border:1px solid #E3D3B6;background:#F8F2E6;color:#2E211B;font:inherit;font-size:14px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.pill:hover{border-color:#B08A3E}
.pill.on{background:#A8361C;border-color:#A8361C;color:#fff}
.day{flex-direction:column;justify-content:center;gap:2px;min-width:64px;padding:8px 10px;min-height:64px}
.day small{font-size:11px;font-weight:500;opacity:.8}
.blk{margin-top:28px}
.chk{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#5A4639;margin-top:24px}
.chk input{width:20px;height:20px;accent-color:#A8361C;margin-top:2px;flex:none}
.info{background:#EFE2BF;border-radius:22px;padding:26px;display:flex;flex-direction:column;gap:18px}
.irow{display:flex;gap:14px;align-items:flex-start}
.irow a{color:#4A3A30;text-decoration:none}.irow a:hover{color:#A8361C}
.ii{width:44px;height:44px;border-radius:12px;background:#A8361C;color:#F6EFE0;display:grid;place-items:center;flex:none}
.hrs{background:#2E211B;color:#F6EFE0;border-radius:22px;padding:26px}
.hrs div.row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid rgba(246,239,224,.14);font-size:15px}
.hrs div.row:last-child{border-bottom:0}
.map{width:100%;height:280px;border:0;border-radius:22px;display:block}
.ok{background:#EFE2BF;border-radius:20px;padding:28px;display:flex;gap:16px;align-items:flex-start;margin-top:28px;animation:pop .5s cubic-bezier(.2,.8,.2,1)}
@keyframes pop{from{opacity:0;transform:scale(.9)}to{opacity:1;transform:none}}

/* ========== scroll / reveal animations ========== */
@keyframes rvUp{from{opacity:0;transform:translateY(70px)}to{opacity:1;transform:none}}
@keyframes rvTilt{from{opacity:0;transform:perspective(1000px) rotateX(30deg) translateY(90px) scale(.94)}to{opacity:1;transform:perspective(1000px) rotateX(0deg) translateY(0) scale(1)}}
@keyframes rvZoom{from{transform:scale(1.2)}to{transform:scale(1)}}
@keyframes flipIn{from{opacity:0;transform:perspective(900px) rotateY(-70deg)}to{opacity:1;transform:perspective(900px) rotateY(0deg)}}
@keyframes grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes fromL{from{opacity:0;transform:perspective(1200px) rotateY(35deg) translateX(-120px)}to{opacity:1;transform:none}}
@keyframes fromR{from{opacity:0;transform:perspective(1200px) rotateY(-35deg) translateX(120px)}to{opacity:1;transform:none}}
@keyframes wordIn{from{letter-spacing:.2em;opacity:.15}to{letter-spacing:-.025em;opacity:1}}
@keyframes cardIn{from{transform:perspective(1400px) rotateX(-22deg) translateY(120px) scale(.92)}to{transform:perspective(1400px) rotateX(0deg) translateY(0) scale(1)}}
@keyframes spinSm{from{transform:perspective(600px) rotateY(-200deg) rotateX(40deg)}to{transform:perspective(600px) rotateY(160deg) rotateX(-20deg)}}
@keyframes cubeSpin{0%{transform:rotateX(-20deg) rotateY(20deg)}35%{transform:rotateX(-20deg) rotateY(-160deg)}70%{transform:rotateX(70deg) rotateY(-270deg)}100%{transform:rotateX(-20deg) rotateY(-340deg)}}
@keyframes ringSpin{from{transform:rotateX(72deg) rotateZ(0deg)}to{transform:rotateX(72deg) rotateZ(360deg)}}
@keyframes heroFloat{from{transform:perspective(1200px) rotateY(0deg) translateY(0)}to{transform:perspective(1200px) rotateY(-14deg) translateY(-60px)}}
@supports (animation-timeline: view()){
.rv{animation:rvUp linear both;animation-timeline:view();animation-range:entry 0% cover 28%}
.rv-tilt{animation:rvTilt linear both;animation-timeline:view();animation-range:entry 0% cover 40%}
.rv-zoom{animation:rvZoom linear both;animation-timeline:view();animation-range:entry 0% exit 100%}
.rv-flip{animation:flipIn linear both;animation-timeline:view();animation-range:entry 0% cover 40%}
.inL{animation:fromL linear both;animation-timeline:view();animation-range:entry 0% cover 35%}
.inR{animation:fromR linear both;animation-timeline:view();animation-range:entry 0% cover 35%}
.qt{animation:wordIn linear both;animation-timeline:view();animation-range:entry 10% cover 50%}
.card{animation:cardIn linear both;animation-timeline:view();animation-range:entry 0% entry 90%;transform-origin:center top}
.tl::before{transform-origin:left;animation:grow linear both;animation-timeline:view();animation-range:entry 20% cover 55%}
.cubeSm{animation:spinSm linear both;animation-timeline:view()}
.cube{animation:cubeSpin linear both;animation-timeline:--pin;animation-range:contain 0% contain 100%}
.ring{animation:ringSpin linear both;animation-timeline:--pin;animation-range:contain 0% contain 100%}
.heroImg{animation:heroFloat linear both;animation-timeline:view();animation-range:cover 50% exit 100%}
}

/* ========== responsive ========== */
@media (max-width:980px){.g4{grid-template-columns:repeat(2,minmax(0,1fr))}.ftg{grid-template-columns:1fr 1fr}.tl{grid-template-columns:repeat(2,minmax(0,1fr))}.tl::before{display:none}}
@media (max-width:860px){
.navlinks,.navcta{display:none}.burger{display:inline-flex}
.g2,.g3,.show,.card{grid-template-columns:minmax(0,1fr);gap:36px}
.sec{padding:72px 0}.wrap{padding:0 18px}
.heroImg{height:440px}.stats{margin-top:20px;width:100%;grid-template-columns:minmax(0,1fr)}
.who{padding:22px}.whoImg{height:380px}
.t3{margin-top:0}.smile{margin-top:0}.vid{height:460px}
.pin{height:2000px}.pinIn{height:900px}.stage{height:380px}
.cube{--h:100px;width:200px;height:200px}.face{font-size:19px;padding:18px}
.ring{width:320px;height:320px}.ring.b{width:380px;height:380px}
.val{height:320px}.philoImg{height:360px}.cta,.goldbox{padding:36px 24px}
.banner{height:320px}
.gal{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:200px 200px 200px}
.gal .big{grid-column:span 2}
.drImg{height:380px}.quote{padding:48px 22px}
.card{padding:24px;top:90px}.card .ph{min-height:200px}
.qbtn{font-size:17px}
.form{padding:22px}.fg{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:540px){.g4,.ftg,.tl{grid-template-columns:minmax(0,1fr)}}

@media (prefers-reduced-motion:reduce){
.morph,.swing,.floaty,.d.sel,.scene,.scene img,.cap,.seg i,
.rv,.rv-tilt,.rv-zoom,.rv-flip,.inL,.inR,.qt,.card,.tl::before,.cubeSm,.cube,.ring,.heroImg,.ok{animation:none!important}
.reel .scene:first-child,.reel .scene:first-child .cap{opacity:1}
}
