/* Responsive page layout. Process rules are maintained together below. */
@media(max-width:900px){
  .cinema-hero.hero{display:grid;grid-template-columns:minmax(0,1fr);gap:30px;min-height:0;height:auto;max-height:none;padding:125px 24px 0!important;overflow:hidden}
  .cinema-hero-content{grid-row:1;max-width:680px;width:100%;margin:0 auto}
  .cinema-hero.hero h1{font-size:clamp(36px,6.5vw,56px);line-height:1.16;letter-spacing:-1.2px;overflow-wrap:break-word}
  .cinema-hero.hero p{font-size:17px;line-height:1.65;max-width:600px}
  .cinema-hero-media{position:relative;inset:auto;z-index:auto;width:calc(100% + 48px);margin-left:-24px;height:auto;aspect-ratio:16/9}
  .cinema-hero-media img{position:static;display:block;width:100%;height:100%;object-fit:cover;object-position:65% center;transform:none!important;animation:none}
  .cinema-hero-actions{flex-direction:row;flex-wrap:wrap;align-items:center;gap:14px 24px}
  .cinema-hero-actions .btn-primary{min-height:50px}
  .hero-service-note{font-size:14px}
  .service-ribbon{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;font-size:13px;padding:22px 24px}
  #bookingForm:not([hidden]){grid-template-columns:minmax(0,1fr)}
  .booking-container{min-width:0;width:100%;max-width:680px}
  .booking-container .form-group,.booking-submit-area{min-width:0}
  .ozone-feature{grid-template-columns:minmax(0,1fr);padding:0!important}
  .ozone-photo{min-height:0;height:auto;aspect-ratio:3/2}
  .ozone-photo img{display:block;width:100%;height:100%;object-fit:cover}
  .ozone-feature-copy{padding:36px 24px}
  .ozone-feature-copy p{max-width:650px}
  .service-card .desc{min-height:0}
  .section-title{overflow-wrap:break-word}
}
@media(max-width:400px){
  .cinema-hero.hero{padding-inline:20px!important;gap:26px}
  .cinema-hero-media{width:calc(100% + 40px);margin-left:-20px}
  .cinema-hero.hero h1{font-size:clamp(33px,9.5vw,38px)}
  .cinema-hero-actions .btn-primary{font-size:14px;padding-inline:16px}
  .service-ribbon{font-size:12px;padding-inline:20px;gap:12px}
}

/* A continuous scroll story: the equipment removes the lettering as it works. */
.cinema-process { background:#f3f7fc; height:auto; --process:0; --ozone:0; }
.cinema-process-sticky {
  position:relative; top:auto; width:100%; max-width:1320px; height:auto; max-height:none;
  min-height:0; margin:auto; padding:32px 5vw 24px; display:flex; flex-direction:column;
}
.cinema-process-heading { display:flex; flex-wrap:wrap; align-items:end; justify-content:space-between; gap:8px 28px; margin:0 0 20px; flex-shrink:0; }
.cinema-process-heading .section-label { flex-basis:100%; font-size:12px; margin:0 0 3px; }
.cinema-process-heading h2 { font-size:clamp(28px,3vw,40px); line-height:1.2; margin:0; }
.cinema-process-heading>p { display:block; color:#435671; font-size:14px; line-height:1.5; }
.cinema-scene-layout { display:flex; flex:1; min-height:0; min-width:0; background:transparent; border:0; overflow:visible; }
.cinema-visual-column { display:flex; flex-direction:column; width:100%; min-width:0; min-height:0; }
.cinema-scene-label { position:static; display:flex; justify-content:space-between; gap:15px; padding:0 0 10px; color:#435671; font-size:13px; line-height:1.5; letter-spacing:0; flex-shrink:0; }
.cinema-scene-label span:last-child { white-space:nowrap; }
.cinema-scene-layout .cinema-scenes { width:100%; height:440px; min-height:0; max-height:none; border:1px solid #c6d5e4; border-radius:9px; }
.cinema-scenes .photo-nozzle { width:52%; left:50%; z-index:4; }
.fabric-surface { filter:brightness(.64); }
.fabric-clean-track { left:31%; width:38%; }
.extraction-lettering { position:absolute; left:31%; top:32%; width:38%; color:#fff; font-family:var(--font-display); font-size:clamp(28px,4.3vw,56px); font-weight:700; letter-spacing:-1.2px; line-height:1.12; text-align:center; z-index:2; text-shadow:0 2px 18px #0008; will-change:clip-path; }
.ozone-lettering { position:absolute; left:63%; top:52%; width:35%; color:#fff; font-family:var(--font-display); font-size:clamp(17px,3.1vw,42px); font-weight:700; line-height:1.15; letter-spacing:-.6px; z-index:3; text-shadow:0 2px 18px #000c; }
.ozone-word { display:block; white-space:nowrap; }
.ozone-letter { display:inline-block; will-change:transform,opacity; }
.photo-ozone>img { object-fit:contain; object-position:0% 0%; transform:none; will-change:auto; }
.photo-ozone { background:#112534; isolation:isolate; }
.photo-ozone:before { content:''; position:absolute; inset:-30px; background:linear-gradient(90deg,#11253455,#112534dd),url('/ozone-equipment-v2.webp') center/cover; filter:blur(24px); opacity:.5; pointer-events:none; }
.photo-ozone>img { position:absolute; z-index:1; left:0; top:0; width:80%; height:auto; mask-image:linear-gradient(90deg,transparent,#000 8%,#000 80%,transparent),linear-gradient(180deg,transparent,#000 15%,#000 80%,transparent); mask-composite:intersect; -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 80%,transparent),linear-gradient(180deg,transparent,#000 15%,#000 80%,transparent); -webkit-mask-composite:source-in; }
.photo-ozone:after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,#06172499,transparent 64%); pointer-events:none; z-index:1; }
.ozone-airflow { z-index:2; }
.cinema-scene-layout .cinema-scene-shade { background:none; pointer-events:none; }
.process-scene-description { margin:12px 0 0; min-height:48px; font-size:17px; line-height:1.5; color:#294668; flex-shrink:0; }
.process-visual-note { margin:5px 0 0; font-size:13px; line-height:1.5; color:#435671; flex-shrink:0; }
.process-transcript { padding:24px 5vw; max-width:950px; margin:auto; }
.process-transcript h3 { font-size:24px; margin:0 0 12px; }
.process-transcript p { font-size:17px; margin:0 0 24px; }
.has-scroll-process .cinema-process { height:360svh; }
.has-scroll-process .cinema-process-sticky { position:sticky; top:100px; height:calc(100svh - 100px); justify-content:flex-start; }
.has-scroll-process .cinema-scene-layout .cinema-scenes { height:auto; flex:1; }
.has-scroll-process .process-transcript { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.viewing-process .chatbot-launch { opacity:0; visibility:hidden; pointer-events:none; }
@media(max-width:900px) {
  .has-scroll-process .cinema-process-sticky { top:90px; height:calc(100svh - 90px); }
  .cinema-process-sticky { padding:22px 24px 18px; }
  .cinema-process-heading { margin-bottom:16px; }
  .cinema-process-heading h2 { font-size:30px; }
  .cinema-process-heading>p { display:none; }
  .extraction-lettering { left:24%; width:52%; font-size:clamp(25px,5.5vw,44px); top:34%; letter-spacing:-.7px; }
  .cinema-scenes .photo-nozzle { width:72%; left:50%; }
  .fabric-clean-track { left:24%; width:52%; }
  .ozone-lettering { font-size:clamp(17px,3.1vw,28px); letter-spacing:-.4px; }
  .process-scene-description { font-size:16px; min-height:48px; }
}
@media(max-width:600px) {
  .cinema-process-sticky { padding:18px 20px 16px; }
  .cinema-process-heading h2 { font-size:28px; letter-spacing:-.5px; }
  .cinema-process-heading .section-label { font-size:12px; }
  .cinema-scene-label { font-size:12px; }
  .process-scene-description { min-height:72px; }
  .process-visual-note { font-size:12px; }
  .ozone-photo>span { font-size:11px; line-height:1.5; letter-spacing:.5px; }
  .ozone-feature-copy h2 { font-size:30px; line-height:1.3; }
  .ozone-feature-copy p { font-size:17px; line-height:1.7; }
  .cinema-eyebrow { font-size:12px; letter-spacing:.3px; }
  .cinema-hero-actions .cinema-text-link { font-size:16px; }
  .service-ribbon { font-size:14px; }
  .hero-service-note { font-size:15px; }
  .form-group label, .booking-container .form-group label { font-size:15px!important; }
}
@media(max-width:360px) {
  .cinema-process-sticky { padding:16px; }
  .cinema-process-heading h2 { font-size:25px; }
  .extraction-lettering { font-size:24px; }
  .ozone-lettering { font-size:17px; }
}
@media(max-height:500px) {
  .cinema-process-sticky { padding:10px 24px; }
  .cinema-process-heading { margin-bottom:8px; }
  .cinema-process-heading h2 { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .cinema-process-heading>p { display:none; }
  .cinema-process-heading .section-label { margin:0; }
  .cinema-scenes .photo-nozzle { width:36%; }
  .extraction-lettering { left:37%; width:26%; top:20%; font-size:24px; }
  .fabric-clean-track { left:37%; width:26%; }
  .ozone-lettering { font-size:clamp(17px,3vw,28px); }
  .process-scene-description { min-height:24px; margin-top:8px; }
  .process-visual-note { font-size:12px; }
}
@media(prefers-reduced-motion:reduce) {
  .has-scroll-process .cinema-process { height:auto; }
  .has-scroll-process .cinema-process-sticky { position:relative; top:auto; height:auto; }
  .has-scroll-process .cinema-scene-layout .cinema-scenes { flex:auto; height:330px; }
  .has-scroll-process .process-transcript { position:static; width:auto; height:auto; padding:24px; margin:auto; overflow:visible; clip-path:none; white-space:normal; }
  .extraction-lettering { will-change:auto; }
}

/* The original photograph remains the loading/error/reduced-motion fallback. */
.hero-extraction-canvas { position:absolute; inset:0; z-index:2; width:100%; height:100%; opacity:0; pointer-events:none; transition:opacity .45s ease; }
.is-extraction-ready .hero-extraction-canvas { opacity:1; }
@media(prefers-reduced-motion:reduce) { .hero-extraction-canvas { display:none; transition:none; } }
