:root {
--bg: #1a1d24;
--bg-2: #21252e;
--panel: #272c36;
--ink: #eef1f6;
--muted: #9aa1ad;
--line: rgba(238,241,246,0.14);
--red: #e8443d;
--red-deep: #b02a26;
--font-display: 'Archivo Black', 'Archivo', sans-serif;
--font-body: 'Space Grotesk', 'Segoe UI', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: initial; }
html, body { background: var(--bg); color: var(--ink); font-family: var(--font-body); overflow-x: hidden; }
::selection { background: var(--red); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #3a4150; border-radius: 5px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* grain */
.grain { position: fixed; inset: -50%; width: 200%; height: 200%; pointer-events: none; z-index: 200; opacity: 0.035;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
animation: grain 8s steps(10) infinite; }
@keyframes grain { 0%,100%{transform:translate(0,0)} 10%{transform:translate(-5%,-10%)} 20%{transform:translate(-15%,5%)} 30%{transform:translate(7%,-25%)} 40%{transform:translate(-5%,25%)} 50%{transform:translate(-15%,10%)} 60%{transform:translate(15%,0)} 70%{transform:translate(0,15%)} 80%{transform:translate(3%,25%)} 90%{transform:translate(-10%,10%)} }

/* cursor */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; border-radius: 50%; z-index: 300; }
.cursor-dot { width: 8px; height: 8px; background: var(--red); transform: translate(-50%,-50%); }
.cursor-ring { width: 36px; height: 36px; border: 1px solid rgba(224,50,44,0.5); transform: translate(-50%,-50%); transition: width .25s, height .25s, border-color .25s; }
.cursor-ring.is-hover { width: 64px; height: 64px; border-color: rgba(242,239,233,0.8); }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* preloader */
#preloader { position: fixed; inset: 0; background: var(--bg); z-index: 500; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px; }
#preloader .pre-mark { font-family: var(--font-display); font-size: 15px; letter-spacing: 6px; color: var(--muted); }
#preloader .pre-count { font-family: var(--font-display); font-size: clamp(64px, 12vw, 160px); line-height: 1; color: var(--ink); }
#preloader .pre-bar { width: min(320px, 60vw); height: 1px; background: var(--line); position: relative; overflow: hidden; }
#preloader .pre-bar i { position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(20px, 4vw, 56px); mix-blend-mode: normal; transition: background .4s, backdrop-filter .4s; }
.nav.scrolled { background: rgba(26,29,36,0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 8px clamp(20px, 4vw, 56px)}
.nav .logo { display: flex; align-items: center; gap: 13px; font-family: var(--font-display); letter-spacing: 2.2px; font-size: 19px; }
.nav .logo .mark { width: 50px; height:50px; background: var(--red); display: grid; place-items: center; font-size:21px; color: #fff; }
.nav .links { display: flex; gap: clamp(16px, 3vw, 20px); align-items:center; font-size:clamp(0.65rem, 0.35rem + 0.52vw, 1.1rem); letter-spacing: 1.3px; text-align:center; text-transform: uppercase; color: var(--muted); }
.nav .links a { position: relative; padding: 4px 0; transition: color .3s; }
.nav .links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .35s cubic-bezier(.65,0,.35,1); }
.nav .links a:hover { color: var(--ink); }
.nav .links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .gem-chip { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 6px; padding: 8px 14px; }
.nav .gem-chip img { height: 34px; }

/* --- Mobile Menu Styles --- */
.nav-actions { display: flex; align-items: center; gap: 16px; }
.menu-btn { display: none; flex-direction: column; justify-content: space-between; width: 28px; height: 20px; background: transparent; border: none; cursor: pointer; z-index: 150; }
.menu-btn span { display: block; width: 100%; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; } .menu-btn.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-btn.active span:nth-child(2) { transform: translateY(-9px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; background: rgba(26,29,36,0.94); backdrop-filter: blur(16px); z-index: 110; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .35s cubic-bezier(.65,0,.35,1); margin-top: 50px;}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu-links { display: flex; flex-direction: column; align-items: center; gap: 28px; font-family: var(--font-display); font-size: 22px; text-transform: uppercase; letter-spacing: 1.4px; padding-bottom:100px}
.mobile-menu-links a { color: var(--ink); transition: color .3s; }
.mobile-menu-links a:hover { color: var(--red); }  
@media (max-width: 760px) { .menu-btn { display: flex; } }

@media (max-width: 900px) {
.nav { padding: 12px 16px; }
.nav .logo { font-size: 13px; letter-spacing: 1.4px; gap: 9px; padding: 7px 0; }
.nav .logo .mark { width: 31px; height: 31px; font-size: 12px; }
.nav .links { gap: 16px; font-size: 11.5px; letter-spacing: 1px; }
.nav .gem-chip { padding: 5px 9px; }
.nav .gem-chip img { height: 23px; }
}
@media (max-width: 760px) { .nav .links { display: none; } }
@media (max-width: 360px) {
.nav .logo  {flex-wrap: wrap; align-items: start;}
.nav .logo span.long {flex-basis: 100%;
  margin: -25px 0 0 34px;}
}


/* hero */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 110px clamp(20px, 4vw, 56px) 60px; overflow: hidden; }
#webgl { position: absolute; inset: 0; z-index: 1; }
/* ambient aurora behind the 3D scene */
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.hero::before { width: 62vw; height: 62vw; right: -12vw; top: -18vw; background: radial-gradient(circle, rgba(232,68,61,0.16), transparent 66%); filter: blur(70px); animation: auroraA 20s ease-in-out infinite alternate; }
.hero::after { width: 48vw; height: 48vw; left: 24vw; bottom: -20vw; background: radial-gradient(circle, rgba(99,216,245,0.13), transparent 68%); filter: blur(80px); animation: auroraB 26s ease-in-out infinite alternate; }
@keyframes auroraA { from { transform: translate(0,0) scale(1); } to { transform: translate(-7%, 9%) scale(1.18); } }
@keyframes auroraB { from { transform: translate(0,0) scale(1.12); } to { transform: translate(9%, -7%) scale(0.94); } }
@media (prefers-reduced-motion: reduce) { .hero::before, .hero::after { animation: none; } }
.hero .hero-inner { position: relative; z-index: 2; }
.hero .kicker { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 3vh; }
.hero .kicker::before { content: ""; width: 44px; height: 1px; background: var(--red); }
.hero h1 { font-family: var(--font-display); font-size: clamp(38px, 7.5vw, 108px); line-height: 0.96; text-transform: uppercase; letter-spacing: -0.01em; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: inline-block; will-change: transform; }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.hero h1 .red { color: var(--red); }
.hero .hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-top: 5vh; flex-wrap: wrap; }
.hero .hero-sub { max-width: 420px; color: var(--muted); font-size: 13.5px; line-height: 1.7; font-weight: 300; }
.hero .hero-sub b { color: var(--ink); font-weight: 500; }
.hero .cta-row { display: flex; gap: 16px; align-items: center; }
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; overflow: hidden; transition: border-color .3s; }
.btn .fill { position: absolute; inset: 0; background: var(--red); border-radius: inherit; transform: scaleY(0); transform-origin: bottom; transition: transform .45s cubic-bezier(.65,0,.35,1); z-index: 0; }
.btn span { position: relative; z-index: 1; }
.btn:hover .fill { transform: scaleY(1); }
.btn:hover { border-color: var(--red); }
.btn { color: var(--ink); }
.btn.solid { background: var(--red); border-color: var(--red); color: #fff; }
.btn.solid .fill { background: var(--ink); }
.btn.solid:hover span { color: #fff; }
.btn:not(.solid):hover span { color: #fff; }
.scroll-hint { position: absolute; right: clamp(20px, 4vw, 56px); bottom: 60px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-hint .wheel { width: 1px; height: 56px; background: var(--line); position: relative; overflow: hidden; }
.scroll-hint .wheel i { position: absolute; left: 0; top: -30%; width: 100%; height: 30%; background: var(--red); animation: drop 1.8s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes drop { to { top: 130%; } }
@media (max-width: 900px) { .scroll-hint { display: none; } }

/* marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: var(--bg-2); }
.marquee .track { display: flex; gap: 64px; width: max-content; animation: scrollX 30s linear infinite; }
.marquee .track span { font-family: var(--font-display); font-size: 13px; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 64px; }
.marquee .track span::after { content: "?"; color: var(--red); font-size: 12px; }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* sections */
section { position: relative; }
.wrap { padding: clamp(80px, 12vh, 160px) clamp(20px, 4vw, 56px); max-width: 1600px; margin: 0 auto; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 6vh, 80px); flex-wrap: wrap; }
.sec-head .idx { font-size: 13px; letter-spacing: 3px; color: var(--red); }
.sec-head h2 { font-family: var(--font-display); font-size: clamp(28px, 4.6vw, 68px); text-transform: uppercase; line-height: 0.98; }
.sec-head h2 .outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.sec-head .note { max-width: 360px; color: var(--muted); font-size: 12.5px; line-height: 1.7; font-weight: 300; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stat { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); }
.stat .num { font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 76px); line-height: 1; color: var(--ink); }
.stat .num em { font-style: normal; color: var(--red); }
.stat .lbl { margin-top: 14px; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }

/* horizontal showcase */
#machines { background: var(--bg-2); }
.hwrap { overflow: hidden; }
.htrack { display: flex; gap: clamp(24px, 3vw, 48px); padding: 0 clamp(20px, 4vw, 56px); width: max-content; align-items: stretch; }
.mcard { width: clamp(300px, 34vw, 520px); flex-shrink: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--panel); box-shadow: 0 12px 30px rgba(0,0,0,0.25); transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s, border-color .4s; display: flex; flex-direction: column; }
.mcard:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(0,0,0,0.4); border-color: rgba(232,68,61,0.45); }
.mcard .mimg { aspect-ratio: 4/3; overflow: hidden; background: #fff; display: grid; place-items: center; }
.mcard .mimg img { width: 82%; height: 82%; object-fit: contain; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.mcard:hover .mimg img { transform: scale(1.08); }
.mcard .mbody { padding: 24px 26px 28px; border-top: 1px solid var(--line); }
.mcard .mno { font-size: 12px; letter-spacing: 3px; color: var(--red); }
.mcard h3 {display: inline; font-family: var(--font-display); font-size: clamp(17px, 1.6vw, 23px); text-transform: uppercase; margin: 10px 0 8px; }
.mcard p { color: var(--muted); font-size: 12.5px; line-height: 1.65; font-weight: 300; }
.mcard .mtag { display: inline-block; margin-top: 14px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.hend { display: flex; align-items: center; padding: 0 8vw; }
.hend .hend-in { font-family: var(--font-display); font-size: clamp(22px, 2.5vw, 38px); text-transform: uppercase; line-height: 1.1; color: transparent; -webkit-text-stroke: 1.5px var(--ink); white-space: nowrap; }
/* mobile: swipeable carousel instead of a very long pinned scroll */
@media (max-width: 899px) {
.hwrap { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.hwrap::-webkit-scrollbar { display: none; }
.htrack { padding-bottom: 34px; }
.mcard { width: min(78vw, 330px); scroll-snap-align: center; }
.hend { padding: 0 6vw 0 2vw; }
.hend .hend-in { white-space: normal; }
}
/* --- Machines Section Desktop Grid Override (Without changing HTML) --- */
@media (min-width: 900px) {
  #machines .hwrap {
	overflow: visible !important;
  }
  #machines .htrack {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	width: 100% !important;
	padding: 0 clamp(20px, 4vw, 56px) !important;
	transform: none !important;
  }
  #machines .mcard {
	width: 100% !important;
  }
  #machines .hend {
	display: none !important; /* Hide the trailing text card on desktop grid view */
  }
}


/* partners */
.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 900px) { .partners-grid { grid-template-columns: 1fr; } }
.pcard { background: var(--panel); padding: clamp(32px, 4vw, 64px); position: relative; overflow: hidden; }
.pcard::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.65,0,.35,1); }
.pcard:hover::before { transform: scaleX(1); }
.pcard .prole { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--red); }
.pcard h3 { font-family: var(--font-display); font-size: clamp(21px, 2.4vw, 34px); text-transform: uppercase; margin: 16px 0; line-height: 1.05; }
.pcard p { color: var(--muted); font-size: 13px; line-height: 1.75; font-weight: 300; max-width: 52ch; }
.pcard .plist { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.pcard .plist span { font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; color: var(--ink); }

/* products list */
.plist-rows { border-top: 1px solid var(--line); }
.prow { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 24px; padding: clamp(22px, 3vh, 36px) 0px; border-bottom: 1px solid var(--line); position: relative; transition: padding-left .4s cubic-bezier(.65,0,.35,1); }
.prow:hover { padding-left: 28px; }
.prow .pno { font-size: 13px; letter-spacing: 2px; color: var(--muted); }
.prow h3 { font-family: var(--font-display); font-size: clamp(17px, 2.3vw, 30px); text-transform: uppercase; transition: color .3s; }
.prow:hover h3 { color: var(--red); }
.prow .pbrands { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); text-align: right; max-width: 320px; }
.hover-img { position: fixed; top: 0; left: 0; width: 260px; height: 200px; pointer-events: none; z-index: 90; opacity: 0; transform: translate(-50%, -50%) scale(0.8); background: #fff; display: grid; place-items: center; border-radius: 4px; overflow: hidden; }
.hover-img img { width: 86%; height: 86%; object-fit: contain; position: absolute; opacity: 0; transition: opacity .25s; }
.hover-img img.on { opacity: 1; }

/* --- Our Clients Section Styles --- */
#clients { background: var(--bg); border-top: 1px solid var(--line); }
.clients-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.client-card { background: var(--panel); padding: 40px 32px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; transition: background .3s; }
.client-card:hover { background: var(--bg-2); } 
.client-card h3 { font-family: var(--font-display); font-size: 18px; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.client-card span { font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--red); } 

/* cta / footer */
.cta { background: var(--red); color: #fff; }
.cta .wrap { padding-top: clamp(80px, 14vh, 180px); padding-bottom: clamp(80px, 14vh, 180px); text-align: center; }
.cta .small { font-size: 13px; letter-spacing: 4px; text-transform: uppercase; opacity: 0.8; margin-bottom: 26px; }
.cta h2 { font-family: var(--font-display); font-size: clamp(32px, 5.6vw, 88px); text-transform: uppercase; line-height: 0.98; }
.cta h2 .outline { color: transparent; -webkit-text-stroke: 2px #fff; }
.cta .btn { border-color: rgba(255,255,255,0.4); margin-top: 44px; }
.cta .btn .fill { background: #0b0b0d; }
footer { border-top: 1px solid var(--line); background: var(--bg-2); }
footer .wrap { padding-top: 60px; padding-bottom: 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.foot-grid .big { font-family: var(--font-display); font-size: clamp(20px, 2.5vw, 32px); text-transform: uppercase; line-height: 1.08; }
.foot-grid .big em { font-style: normal; color: var(--red); }
.foot-grid ul { list-style: none; }
.foot-grid li { color: var(--muted); font-size: 14px; line-height: 2.1; font-weight: 300; }
.foot-grid li b { color: var(--ink); font-weight: 500; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; letter-spacing: 1px; flex-wrap: wrap; }
.foot-bottom .gem { display: flex; align-items: center; gap: 10px; background: #fff; padding: 6px 12px; border-radius: 4px; }
.foot-bottom .gem img { height: 24px; }

/* exploded view */
#exploded { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.exp-stage { height: 100vh; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; padding: 96px clamp(20px, 4vw, 56px) 34px; }
.exp-head { position: absolute; top: 92px; left: clamp(20px, 4vw, 56px); right: clamp(20px, 4vw, 56px); display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; z-index: 3; pointer-events: none; }
.exp-head h2 { font-family: var(--font-display); font-size: clamp(20px, 3vw, 40px); text-transform: uppercase; line-height: 1; }
.exp-head h2 span { color: var(--red); }
.exp-head .exp-note { max-width: 240px; text-align: right; color: var(--muted); font-size: 11.5px; line-height: 1.6; font-weight: 300; }
.exp-canvas-wrap { position: relative; margin: 0 auto; aspect-ratio: 16 / 9; height: min(calc(100vh - 230px), 49.5vw); width: auto; }
#expCanvas, .exp-fallback { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 16px; box-shadow: 0 24px 60px rgba(22,24,29,0.16); }
.exp-fallback { object-fit: cover; display: none; }
.anim-off #expCanvas { display: none; }
.anim-off .exp-fallback { display: block; }
.exp-label { position: absolute; z-index: 4; opacity: 0; pointer-events: none; max-width: 190px; }
.exp-label .el-no { font-family: var(--font-display); font-size: 10px; letter-spacing: 2px; color: var(--red); }
.exp-label .el-no { font-family: var(--font-display); font-size: 10px; letter-spacing: 2px; color: #ff6b63; }
.exp-label .el-t { font-family: var(--font-display); font-size: clamp(11px, 1.05vw, 14px); text-transform: uppercase; color: #ffffff; margin-top: 2px; text-shadow: 0 1px 10px rgba(0,0,0,0.55); }
.exp-label .el-d { font-size: 10.5px; color: rgba(255,255,255,0.75); font-weight: 300; line-height: 1.5; margin-top: 3px; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.exp-label::before { content: ""; position: absolute; top: 6px; width: 26px; height: 1px; background: rgba(255,107,99,0.9); }
.exp-label.el-left { text-align: left; } .exp-label.el-left::before { right: -34px; }
.exp-label.el-right { text-align: right; } .exp-label.el-right::before { left: -34px; }
.anim-off .exp-label { opacity: 1 !important; }
.exp-progress { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 10px; letter-spacing: 3px; text-transform: uppercase; z-index: 3; }
.exp-progress .bar { width: 110px; height: 1px; background: var(--line); position: relative; }
.exp-progress .bar i { position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; }
@media (max-width: 1100px) { .exp-label { display: none; } }
@media (max-width: 760px) { .exp-head .exp-note { display: none; } }

/* --- Back to Top --- */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px; background: var(--panel); border: 1px solid var(--line); color: var(--ink); border-radius: 50%; display: grid; place-items: center; cursor: pointer; z-index: 95; opacity: 0; pointer-events: none; transform: translateY(20px); transition: opacity .3s, transform .3s, background .3s, border-color .3s;}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--red); border-color: var(--red); color: #fff; }


[data-reveal] { opacity: 0; transform: translateY(60px); }
.no-js [data-reveal], .anim-off [data-reveal] { opacity: 1 !important; transform: none !important; }
