/* Cellifix editorial system. Scoped to public pages, using existing brand tokens. */
html.cfx-editorial{--disp:var(--sans);scroll-padding-top:100px}
html.cfx-editorial body{font-family:var(--sans);letter-spacing:-.015em;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}
html.cfx-editorial :is(h1,h2,h3,h4){font-family:var(--sans);letter-spacing:-.045em;line-height:1.06;text-wrap:balance}
html.cfx-editorial h1{font-size:clamp(2.5rem,6vw,5.5rem);font-weight:700}
html.cfx-editorial h2{font-size:clamp(2rem,4.4vw,3.75rem);font-weight:650}
html.cfx-editorial h3{font-size:clamp(1.25rem,2.3vw,2rem)}
html.cfx-editorial .rail{width:calc(100% - 64px);max-width:1200px;margin-inline:auto;padding-inline:0}
html.cfx-editorial :is(.eyebrow,.cfx-kicker){font-family:var(--sans);font-size:.75rem;font-weight:650;letter-spacing:.1em;color:var(--muted)}
html.cfx-editorial :is(.eyebrow::before,.eyebrow::after){display:none}
html.cfx-editorial .shine{background:none;color:var(--text);-webkit-text-fill-color:currentColor;animation:none}
html.cfx-editorial .hero h1 em{background:none;color:var(--red-ink);-webkit-text-fill-color:currentColor;animation:none}
html.cfx-editorial .hero h1 em::after{display:none}
html.cfx-editorial body>header{background:var(--header-bg-scroll);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);box-shadow:none;border-bottom:1px solid var(--header-line)}
html.cfx-editorial .nav{min-height:64px;padding-block:8px}
html.cfx-editorial .nav-links{gap:1.35rem}
html.cfx-editorial .nav-links>a,html.cfx-editorial .nav-dd>button{font-family:var(--sans);font-size:.82rem;font-weight:500;letter-spacing:-.015em}
html.cfx-editorial .brand-logo{height:32px;width:auto}
html.cfx-editorial .nav-dd-menu{border-radius:18px;box-shadow:var(--shadow-lg)}
html.cfx-editorial :is(.btn,.cfx-button){border-radius:999px;font-family:var(--sans);font-size:.95rem;font-weight:500;letter-spacing:-.01em;padding:.9rem 1.4rem;min-height:44px;box-shadow:none;animation:none;text-decoration:none}
html.cfx-editorial .btn::after{animation:none;display:none}
html.cfx-editorial :is(.btn-red,.cfx-button){display:inline-flex;align-items:center;justify-content:center;background:var(--red);color:var(--text-on-accent);border:1px solid var(--red)}
html.cfx-editorial :is(.btn-red,.cfx-button):hover{background:var(--red-ink);border-color:var(--red-ink);transform:none;box-shadow:none}
html.cfx-editorial .btn-gold{background:transparent;color:var(--red-ink);border-color:var(--line-2)}
html.cfx-editorial .btn-wa{background:var(--wa);color:var(--text-on-accent);box-shadow:none}
html.cfx-editorial :is(.sect-line,.sect-alt){padding-block:100px;border:0}
html.cfx-editorial .sect-alt{background:var(--bg-2)!important}
html.cfx-editorial .hero::before{display:none}
html.cfx-editorial .sect-head{margin-bottom:44px;max-width:840px}
html.cfx-editorial .sect-head p{font-size:1.125rem;line-height:1.6;max-width:60ch;color:var(--body-c)}
html.cfx-editorial :is(.svc,.step,.plan,.loc,.prod,.faq,.card){border-radius:26px;border:1px solid var(--line);background:var(--card);box-shadow:none}
html.cfx-editorial :is(.svc,.step,.plan,.loc,.prod){transition:transform .35s ease,box-shadow .35s ease}
html.cfx-editorial :is(.svc,.step,.plan,.loc,.prod):hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:var(--line-2)}
html.cfx-editorial :is(.svc::before,.plan::before,.plan::after,.sect-alt::after){display:none}
html.cfx-editorial .svc-icon{animation:none;border-radius:18px;background:var(--bg-2);color:var(--red-ink)}
html.cfx-editorial :is(input,textarea,select){font-family:var(--sans);border-radius:12px}
html.cfx-editorial .reveal{opacity:1;transform:none;transition:none}
html.cfx-editorial .marquee{display:none}
html.cfx-editorial .rep-track{animation:none;overflow-x:auto;max-width:100%;scroll-snap-type:x mandatory}
html.cfx-editorial .rep-item{scroll-snap-align:start;flex-shrink:0}
html.cfx-editorial .rep-item[aria-hidden="true"]{display:none}
html.cfx-editorial .rep-foto::before,html.cfx-editorial .rep-foto::after{animation:none}
html.cfx-editorial .car-wrap{border-radius:30px;box-shadow:none}
html.cfx-editorial footer{padding-block:60px;font-family:var(--sans);font-size:.8rem}
html.cfx-editorial .cfx-consent{font-family:var(--sans)}
html.cfx-editorial .cfx-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html.cfx-editorial :is(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid var(--red-ink);outline-offset:4px}

/* The opening scene: native scrolling, no scroll interception or heavy libraries. */
html.cfx-editorial .cfx-cinema{height:auto;position:relative;background:var(--bg);margin-top:64px;padding:0}
html.cfx-editorial.cfx-motion .cfx-cinema{height:185svh}
html.cfx-editorial .cfx-cinema-frame{height:calc(100svh - 64px);min-height:730px;max-height:1100px;position:sticky;top:64px;overflow:clip;isolation:isolate}
html.cfx-editorial .cfx-cinema-copy{position:relative;z-index:2;text-align:center;padding:56px 24px 0;opacity:var(--cfx-copy-opacity,1);transform:translateY(var(--cfx-copy-y,0px));will-change:transform,opacity}
html.cfx-editorial .cfx-cinema h1{font-size:clamp(3.5rem,7vw,7.25rem);line-height:1.01;margin:16px auto 18px;font-weight:700;letter-spacing:-.06em}
html.cfx-editorial .cfx-cinema-lede{font-size:clamp(1rem,1.8vw,1.35rem);color:var(--body-c);line-height:1.4;margin:0}
html.cfx-editorial .cfx-actions{display:flex;justify-content:center;align-items:center;gap:26px;margin-top:24px;flex-wrap:wrap}
html.cfx-editorial .cfx-text-link{display:inline-flex;gap:8px;align-items:center;min-height:44px;color:var(--red-ink);font-size:1rem;text-decoration:none}
html.cfx-editorial .cfx-text-link:hover{text-decoration:underline}
html.cfx-editorial .cfx-cinema-visual{position:absolute;inset:365px 0 0;display:flex;align-items:flex-start;justify-content:center;pointer-events:none;z-index:1}
html.cfx-editorial .cfx-cinema-phone{width:clamp(340px,47vw,650px);height:auto;max-width:none;transform-origin:50% 55%;transform:translate3d(0,var(--cfx-phone-y,40px),0) scale(var(--cfx-phone-scale,1.17)) rotate(var(--cfx-phone-angle,-12deg));will-change:transform;filter:drop-shadow(0 22px 25px var(--line));}
html.cfx-editorial .cfx-cinema-caption{position:absolute;top:110px;left:24px;right:24px;text-align:center;font-size:clamp(2rem,4.5vw,4.5rem);font-weight:650;line-height:1.06;letter-spacing:-.05em;max-width:780px;margin:auto;opacity:var(--cfx-caption-opacity,0);transform:translateY(var(--cfx-caption-y,24px));pointer-events:none;z-index:2}
html.cfx-editorial .cfx-scene-tools{position:absolute;bottom:48px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;z-index:4;background:var(--header-bg-scroll);backdrop-filter:blur(20px);border:1px solid var(--line-2);border-radius:999px;padding:6px 8px 6px 20px;white-space:nowrap}
html.cfx-editorial .cfx-scene-tools>a{display:flex;align-items:center;gap:16px;text-decoration:none;color:var(--text);font-size:.8rem;min-height:36px}
html.cfx-editorial .cfx-scene-tools svg,html.cfx-editorial .cfx-gallery-controls svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
html.cfx-editorial :is(.cfx-motion-toggle,.cfx-gallery-controls button){display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:0;background:var(--bg-2);color:var(--text);cursor:pointer}
html.cfx-editorial .cfx-motion-toggle[aria-pressed="true"]{color:var(--red-ink);background:var(--red-soft)}

/* Large photographic cards with touch scroll and explicit keyboard controls. */
html.cfx-editorial .cfx-highlights{background:var(--bg-2);padding:110px 0 70px;overflow:hidden}
html.cfx-editorial .cfx-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:48px}
html.cfx-editorial .cfx-section-heading h2{margin:0}
html.cfx-editorial .cfx-section-heading>p{color:var(--body-c);font-size:1.1rem;max-width:260px;margin:0;line-height:1.5}
html.cfx-editorial .cfx-highlight-track{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-left:max(32px,calc((100vw - 1200px)/2));padding:0 max(32px,calc((100vw - 1200px)/2)) 24px;scrollbar-width:thin}
html.cfx-editorial .cfx-feature-card{position:relative;flex:0 0 min(70vw,760px);height:560px;overflow:hidden;border-radius:32px;scroll-snap-align:start;background:var(--card)}
html.cfx-editorial .cfx-feature-card>img{width:100%;height:100%;object-fit:cover;transition:transform .8s ease}
html.cfx-editorial .cfx-feature-card:hover>img{transform:scale(1.035)}
html.cfx-editorial .cfx-feature-copy{position:absolute;inset:auto 0 0;padding:28px 32px;background:var(--header-bg-scroll);backdrop-filter:blur(20px);border-top:1px solid var(--line)}
html.cfx-editorial .cfx-feature-copy .cfx-kicker{margin:0 0 10px}
html.cfx-editorial .cfx-feature-copy h3{font-size:clamp(1.8rem,3vw,2.7rem);margin:0 0 18px}
html.cfx-editorial .cfx-feature-copy a{display:flex;justify-content:space-between;align-items:center;color:var(--red-ink);min-height:44px;text-decoration:none;font-size:.95rem}
html.cfx-editorial .cfx-gallery-controls{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:16px}
html.cfx-editorial .cfx-gallery-hint{font-size:.8rem;color:var(--muted);margin-right:auto}
html.cfx-editorial .cfx-enter{opacity:1;transform:none}
html.cfx-editorial.cfx-motion .cfx-enter.cfx-pending{opacity:0;transform:translateY(28px)}
html.cfx-editorial.cfx-motion .cfx-enter{transition:opacity .65s ease,transform .65s cubic-bezier(.2,.7,.2,1)}
@media(min-width:980px){html.cfx-editorial .cfx-cinema-copy h1 br{display:none}html.cfx-editorial .cfx-cinema h1{font-size:clamp(4.5rem,6.5vw,6.5rem)}}
@media(min-width:980px){html.cfx-editorial .cfx-cinema-visual{top:415px}}
@media(max-width:760px){
  html.cfx-editorial .rail{width:calc(100% - 40px)}
  html.cfx-editorial :is(.sect-line,.sect-alt){padding-block:64px}
  html.cfx-editorial .cfx-cinema-frame{min-height:720px;max-height:none}
  html.cfx-editorial .cfx-cinema-copy{padding-top:38px}
  html.cfx-editorial .cfx-cinema h1{font-size:clamp(3.2rem,13vw,5rem);margin-block:20px}
  html.cfx-editorial .cfx-cinema .cfx-kicker{font-size:.62rem;letter-spacing:.085em}
  html.cfx-editorial .cfx-actions{gap:12px;margin-top:22px}
  html.cfx-editorial .cfx-actions .cfx-button{font-size:.85rem;padding:.8rem 1rem}
  html.cfx-editorial .cfx-text-link{font-size:.85rem}
  html.cfx-editorial .cfx-cinema-visual{top:345px}
  html.cfx-editorial .cfx-cinema-phone{width:350px}
  html.cfx-editorial .cfx-cinema-caption{top:80px;font-size:2.35rem}
  html.cfx-editorial .cfx-scene-tools{bottom:48px;padding-left:14px;gap:6px}
  html.cfx-editorial .nav{gap:10px}
  html.cfx-editorial .nav .brand-logo{height:28px}
  html.cfx-editorial .nav-cta{gap:8px}
  html.cfx-editorial .cfx-scene-tools>a{font-size:.68rem;gap:8px}
  html.cfx-editorial .cfx-highlights{padding-block:70px 44px}
  html.cfx-editorial .cfx-section-heading{display:block;margin-bottom:30px}
  html.cfx-editorial .cfx-section-heading>p{margin-top:20px;font-size:1rem}
  html.cfx-editorial .cfx-highlight-track{gap:16px;padding-inline:20px;scroll-padding-left:20px}
  html.cfx-editorial .cfx-feature-card{flex-basis:86vw;height:490px;border-radius:24px}
  html.cfx-editorial .cfx-feature-copy{padding:22px}
}
@media(prefers-reduced-motion:reduce){html.cfx-editorial{scroll-behavior:auto}html.cfx-editorial *,html.cfx-editorial *::before,html.cfx-editorial *::after{animation:none!important;transition:none!important}html.cfx-editorial .cfx-cinema{height:auto}html.cfx-editorial .cfx-cinema-frame{position:relative;top:0}html.cfx-editorial .cfx-enter.cfx-pending{opacity:1;transform:none}html.cfx-editorial .cfx-cinema-caption{display:none}}

/* Revision: the original animated circuit is part of Cellifix's identity. */
html.cfx-editorial,html.cfx-editorial body{overflow-x:clip;overflow-y:visible}
html.cfx-editorial body>header{transform:none!important}
html.cfx-editorial #cfx-circuit{position:fixed;inset:0;width:100%;height:100svh;z-index:0;pointer-events:none;opacity:.9}
html.cfx-editorial body>main,html.cfx-editorial body>.wrap,html.cfx-editorial body>footer{position:relative;z-index:1}
html.cfx-editorial .cfx-cinema{background:transparent}
html.cfx-editorial .cfx-cinema-frame{min-height:700px;perspective:1400px}
html.cfx-editorial .cfx-cinema-copy{position:absolute;top:15%;left:max(32px,calc((100vw - 1200px)/2));text-align:left;padding:0;width:44%;z-index:3}
html.cfx-editorial .cfx-cinema-copy h1{font-size:clamp(3.6rem,6vw,6rem);line-height:1.02;margin:20px 0 24px;letter-spacing:-.065em}
html.cfx-editorial .cfx-cinema-copy h1 br{display:block}
html.cfx-editorial .cfx-cinema-lede{font-size:clamp(1rem,1.4vw,1.2rem);line-height:1.6}
html.cfx-editorial .cfx-actions{justify-content:flex-start;gap:20px;margin-top:30px}
html.cfx-editorial .cfx-cinema-visual{inset:9% 4% 8% 47%;align-items:center;transform:translateX(calc(var(--cfx-progress,0) * -22vw));}
html.cfx-editorial .cfx-cinema-phone{position:relative;z-index:2;width:min(38vw,530px);max-height:100%;object-fit:contain;filter:drop-shadow(0 30px 28px var(--line));transform:translateY(var(--cfx-phone-y,0px)) scale(var(--cfx-phone-scale,1.04)) rotate(var(--cfx-phone-angle,-7deg));}
html.cfx-editorial .cfx-phone-wing{position:absolute;top:50%;left:50%;width:min(33vw,460px);height:auto;max-height:100%;object-fit:contain;opacity:var(--cfx-wing-opacity,0);will-change:transform,opacity;filter:drop-shadow(0 20px 18px var(--line));}
html.cfx-editorial .cfx-phone-left{transform:translate(calc(-50% - var(--cfx-spread,0px)),-45%) scale(.84) rotate(-12deg)}
html.cfx-editorial .cfx-phone-right{transform:translate(calc(-50% + var(--cfx-spread,0px)),-45%) scale(.84) rotate(12deg)}
html.cfx-editorial .cfx-cinema-caption{top:35px;font-size:clamp(2rem,4vw,3.7rem);max-width:850px}
html.cfx-editorial .cfx-scene-tools{bottom:46px;background:var(--card);box-shadow:var(--shadow-sm)}
html.cfx-editorial .cfx-finishes{display:flex;gap:8px;margin-top:32px}
html.cfx-editorial .cfx-finishes button{border:1px solid var(--line-2);border-radius:999px;background:var(--card);color:var(--body-c);font-size:.75rem;min-height:36px;padding:6px 14px;cursor:pointer}
html.cfx-editorial .cfx-finishes button[aria-pressed="true"]{border-color:var(--red-ink);color:var(--red-ink);background:var(--red-soft)}
html.cfx-editorial .cfx-model-note{font-size:.68rem;line-height:1.5;color:var(--muted);margin-top:12px;max-width:350px}
html.cfx-editorial .cfx-highlights{background:var(--bg-2)}
html.cfx-editorial .cfx-feature-copy{background:var(--card);backdrop-filter:none}
html.cfx-editorial .cfx-feature-card{box-shadow:var(--shadow-sm)}
html.cfx-editorial :is(.svc,.plan,.loc,.prod){box-shadow:var(--shadow-sm)}
@media(max-width:760px){
 html.cfx-editorial .cfx-cinema-frame{min-height:740px;height:calc(100svh - 64px)}
 html.cfx-editorial .cfx-cinema-copy{top:32px;left:24px;right:24px;width:auto;text-align:center}
 html.cfx-editorial .cfx-cinema-copy h1{font-size:clamp(2.9rem,12vw,4rem);margin:18px 0}
 html.cfx-editorial .cfx-cinema-lede{font-size:.9rem;line-height:1.55}
 html.cfx-editorial .cfx-actions{justify-content:center;margin-top:18px;gap:16px}
 html.cfx-editorial .cfx-finishes{justify-content:center;margin-top:18px}
 html.cfx-editorial .cfx-model-note{font-size:.6rem;margin:9px auto 0}
 html.cfx-editorial .cfx-cinema-visual{inset:380px 0 85px;transform:none}
 html.cfx-editorial .cfx-cinema-phone{width:285px}
 html.cfx-editorial .cfx-phone-wing{width:220px}
 html.cfx-editorial .cfx-phone-left{transform:translate(calc(-50% - var(--cfx-spread,0px)*.48),-45%) scale(.84) rotate(-12deg)}
 html.cfx-editorial .cfx-phone-right{transform:translate(calc(-50% + var(--cfx-spread,0px)*.48),-45%) scale(.84) rotate(12deg)}
 html.cfx-editorial .cfx-cinema-caption{top:115px;font-size:2.25rem}
 html.cfx-editorial .cfx-scene-tools{bottom:40px}
}
