/* Shared phone layout. Portrait uses outpainted photos; landscape uses the
   original wide photos. Desktop remains outside these media queries. */
@media (max-width:600px), (max-width:1024px) and (max-height:600px) and (orientation:landscape) {
  html.csh-snap{scroll-behavior:auto;scroll-snap-type:y mandatory;scroll-padding:0!important}
  html.csh-snap body.responsive-site main>section[data-module]{scroll-snap-align:start;scroll-snap-stop:normal;scroll-margin:0!important}
  html.csh-snap body.responsive-site :is(header.header,header.site-header,footer[data-module]){scroll-snap-align:start;scroll-snap-stop:normal;scroll-margin:0!important}
  html.csh-snap body.cinema-page main>section[data-module]{scroll-snap-align:none}
  html.csh-snap .cinema-phone-stage{scroll-snap-align:start;scroll-snap-stop:normal;scroll-margin:0!important}
  html.csh-mobile body.responsive-site header.header{position:relative;top:auto}
  html.csh-mobile body.responsive-site main>section[data-module]{min-height:100svh;height:auto;max-height:none}
  /* Editorial and interactive modules may grow; never clip their content. */
  html.csh-mobile body.responsive-site main>section[data-module]:not(.portrait-scene){align-content:start}

  /* The portrait source is a continuous photograph, not a faded landscape strip. */
  html.csh-mobile body.responsive-site .portrait-scene{
    position:relative;isolation:isolate;display:flex;flex-direction:column;
    min-height:100svh;height:auto;max-height:none;overflow:visible;
    background:#111915;
    color:#f3eee3;
  }
  html.csh-mobile body.responsive-site .portrait-scene-image{
    position:absolute!important;inset:0!important;
    transform:none!important;display:block;width:100%!important;max-width:none!important;
    height:100%!important;min-height:100%!important;max-height:none!important;aspect-ratio:auto!important;
    object-fit:cover!important;object-position:center!important;z-index:-2;animation:none!important;
    -webkit-mask-image:none!important;mask-image:none!important;
  }
  html.csh-mobile body.responsive-site :is(.hero-shade,.lighting-hero-shade,.music-hero-shade,.chapter-shade,.closing-shade,.lighting-closing-shade){
    display:block;position:absolute;inset:0;z-index:-1;pointer-events:none;
    background:linear-gradient(180deg,#040b08a6 0%,#040b0866 25%,#040b080d 47%,#040b0814 68%,#040b0873 100%);
  }
  html.csh-mobile body.responsive-site :is(.hero-content,.hero-copy,.lighting-hero-copy,.music-hero-copy,.chapter-copy,.closing-copy,.lighting-closing-copy){
    position:relative;inset:auto;order:0;display:flex;flex-direction:column;align-items:flex-start;
    width:100%;max-width:none;min-height:100svh;margin:0;padding:40px 24px max(40px,env(safe-area-inset-bottom));
    color:#f3eee3;
  }
  html.csh-mobile body.responsive-site .portrait-scene :is(h1,h2){font-size:clamp(34px,9.6vw,46px);line-height:1.08;letter-spacing:-.035em;max-width:18ch;color:#f7f2e8;text-wrap:balance;margin:0}
  html.csh-mobile body.responsive-site .portrait-scene :is(h1,h2) em{color:#e3d2b4}
  html.csh-mobile body.responsive-site .portrait-scene :is(h1,h2) br{display:none}
  html.csh-mobile body.responsive-site .portrait-scene .section-eyebrow{--section-accent:#d4bb8e;color:#e8dfcb;font-size:12px;line-height:1.65;margin:0 0 24px}
  html.csh-mobile body.responsive-site .portrait-scene :is(.hero-description,.hero-introduction,.chapter-description){font:20px/1.5 var(--serif,Georgia,serif);max-width:30ch;margin:22px 0 0;color:#e4e2d7}
  html.csh-mobile body.responsive-site .portrait-scene :is(.hero-subtitle,.closing-copy>p:not(.section-eyebrow),.lighting-closing-copy>p:not(.section-eyebrow)){font:18px/1.55 var(--serif,Georgia,serif);letter-spacing:normal;color:#e4e2d7;margin:22px 0 0;max-width:30ch}
  html.csh-mobile body.responsive-site .portrait-scene :is(.breadcrumb,.music-breadcrumb,.gold-rule){display:none}
  html.csh-mobile body.responsive-site .portrait-scene :is(.hero-content,.lighting-hero-copy,.closing-copy,.lighting-closing-copy)>a{
    margin-top:auto;max-width:100%;min-width:0;min-height:48px;font-size:16px;
  }
  html.csh-mobile body.responsive-site .portrait-scene :is(.button,.button-dark,.button-light){background:#c7ae7e;color:#111914;border-color:#c7ae7e}
  html.csh-mobile body.responsive-site .portrait-scene .lighting-text-link{color:#e8d5af}
  html.csh-mobile body.responsive-site .hero-content{padding-bottom:105px}
  html.csh-mobile body.responsive-site .hero-bottom{position:absolute;inset:auto 24px 25px;padding:0;font-size:10px;line-height:1.6;gap:12px;color:#bfc3b8}
  html.csh-mobile body.responsive-site .portrait-scene .hero-index{display:none}

  /* A solutions chapter is one screen: links sit over the lower photograph. */
  html.csh-mobile body.responsive-site .chapter{display:grid;grid-template-columns:minmax(0,1fr);padding:0;margin:0;isolation:isolate}
  html.csh-mobile body.responsive-site .chapter>.chapter-scene{grid-area:1/1;min-height:100svh!important}
  html.csh-mobile body.responsive-site .chapter .chapter-copy{padding:36px 24px 230px!important;min-height:100svh!important}
  html.csh-mobile body.responsive-site .chapter>.solution-links{
    grid-area:1/1;align-self:end;z-index:2;display:grid;grid-template-columns:1fr;gap:0;
    padding:12px 24px max(22px,env(safe-area-inset-bottom));margin:0;min-height:0;
    background:linear-gradient(0deg,#06110ee6,#06110e70 85%,transparent);color:#f3eee3;
  }
  html.csh-mobile body.responsive-site .chapter .solution-link{min-height:52px;padding:10px 0;gap:17px;border:0;border-top:1px solid #d4bb8e66;color:#f3eee3}
  html.csh-mobile body.responsive-site .chapter .solution-link>.icon{width:27px;height:30px;color:#d4bb8e}
  html.csh-mobile body.responsive-site .chapter .solution-name{font-size:18px;line-height:1.3}
  html.csh-mobile body.responsive-site .chapter .solution-name br{display:none}
  html.csh-mobile body.responsive-site .chapter .explore{font-size:13px;color:#e2ca9f}

  /* Image-led interior chapters follow the same portrait reading experience. */
  html.csh-mobile body.responsive-site main>.mobile-story-section{display:block!important;padding:0!important;margin:0!important;min-height:0!important;border:0!important;scroll-snap-align:none!important}
  html.csh-snap .mobile-story-stage{scroll-snap-align:start;scroll-snap-stop:normal;scroll-margin:0!important}
  .mobile-story-stage{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;min-height:100svh;padding:36px 24px max(28px,env(safe-area-inset-bottom));box-sizing:border-box;color:#f7f1e5;background:#111915;text-align:left;overflow:hidden}
  .mobile-story-stage::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#030c08a6,#030c0873 24%,#030c080a 48%,#030c0819 70%,#030c0899)}
  html.csh-mobile body.responsive-site .mobile-story-image{position:absolute!important;inset:0!important;z-index:-2;display:block;width:100%!important;max-width:none!important;height:100%!important;min-height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center!important;transform:none!important;mask-image:none!important}
  html.csh-mobile body.responsive-site .mobile-story-copy{position:relative;width:100%;max-width:none;margin:0;padding:0}
  html.csh-mobile body.responsive-site .mobile-story-copy .section-eyebrow{--section-accent:#d4bb8e;display:flex;justify-content:flex-start;width:100%;max-width:none;margin:0 0 23px;color:#eee2cb;font-size:12px;line-height:1.65;letter-spacing:.12em}
  html.csh-mobile body.responsive-site .mobile-story-copy h2{font:clamp(34px,9.3vw,45px)/1.08 var(--serif,Georgia,serif);max-width:18ch;width:100%;margin:0;letter-spacing:-.035em;color:#faf5ec;text-align:left;text-wrap:balance}
  html.csh-mobile body.responsive-site .mobile-story-copy h2 br{display:none}
  html.csh-mobile body.responsive-site .mobile-story-copy h2 em{color:#e9d8b6;white-space:normal}
  html.csh-mobile body.responsive-site .mobile-story-caption{font:20px/1.5 var(--serif,Georgia,serif);max-width:29ch;margin:22px 0 0;color:#f1e9da;text-align:left}
  html.csh-mobile body.responsive-site .mobile-story-open{position:relative;display:flex;justify-content:space-between;align-items:center;gap:15px;min-height:54px;width:100%;margin:220px 0 0;padding:16px 0 0;border:0;border-top:1px solid #d4bb8e99;border-radius:0;background:transparent;color:#f5e6c9;font:15px/1.5 var(--sans,Arial,sans-serif);text-align:left;text-decoration:none}
  .mobile-story-open::after{content:"";width:24px;height:24px;flex:none;background:#c7ae7e;-webkit-mask:url("/assets/icons/arrow-up-right.svg") center/contain no-repeat;mask:url("/assets/icons/arrow-up-right.svg") center/contain no-repeat}
  html.csh-mobile body.responsive-site .mobile-story-detail{position:relative;display:block;width:100%;max-width:none;margin:0;padding:32px 24px!important;min-height:0;height:auto;overflow:visible;text-align:left}
  html.csh-mobile body.responsive-site .mobile-story-detail[hidden]{display:none!important}
  html.csh-mobile body.responsive-site .mobile-story-detail :is(.section-heading,.section-header,.music-section-heading,.personalization-copy,.air-copy,.professional-copy){width:100%;max-width:none;margin:0;padding:0}
  html.csh-mobile body.responsive-site .mobile-story-detail :is(.professional-image,.personalization-figure,.air-figure){width:100%;max-width:100%;margin:24px 0}
  html.csh-mobile body.responsive-site .mobile-story-detail :is(.professional-image img,.personalization-figure img,.air-figure img){position:relative;inset:auto;width:100%;height:auto;object-fit:contain}
  html.csh-mobile body.responsive-site .mobile-story-close{display:block;width:100%;min-height:50px;margin:30px 0 0;padding:15px 0;border:0;border-top:1px solid currentColor;color:inherit;font:15px/1.5 var(--sans,Arial,sans-serif);text-align:left;background:none}

  /* Each live cinema gallery uses its matching portrait photograph. */
  html.csh-mobile .cinema-phone-cover{background:#111915}
  html.csh-mobile body.cinema-phone .cinema-phone-cover img{
    position:absolute!important;inset:0!important;
    width:100%!important;max-width:none!important;height:100%!important;min-height:100%!important;aspect-ratio:auto!important;
    object-fit:cover!important;object-position:center!important;transform:none!important;
    -webkit-mask-image:none!important;mask-image:none!important;
  }
  html.csh-mobile .cinema-phone-stage::after{background:linear-gradient(180deg,#080d0b88,transparent 42%,transparent 65%,#080d0baa)}
  html.csh-mobile #your-cinema .cinema-phone-stage::after,
  html.csh-mobile #cinema-consultation .cinema-phone-stage::after{background:linear-gradient(180deg,#080d0b99,transparent 48%,transparent 65%,#080d0bc9)}
  html.csh-mobile body.cinema-phone #arrival .cinema-phone-stage{min-height:100svh}
}

/* A rotated phone uses the same chapter nodes with the original wide photograph.
   Shorter type and controls fit the landscape viewport; longer content can grow. */
@media (max-width:1024px) and (max-height:600px) and (orientation:landscape) {
  /* Dense editorial sections need a short-screen composition too. */
  html.csh-mobile body.responsive-site main>section[data-module]:not(.mobile-story-section):not(.cinema-phone-chapter):not(.portrait-scene):not(.chapter){padding-block:24px;align-content:start}
  html.csh-mobile body.responsive-site main>section[data-module]>h2{font-size:clamp(28px,3.8vw,36px);line-height:1.08;margin:0}
  html.csh-mobile body.responsive-site main>section[data-module]>.section-eyebrow{font-size:12px;margin-bottom:14px}
  html.csh-mobile body.responsive-site main>section[data-module]>.section-intro{font-size:16px;line-height:1.4;margin:12px 0 0}
  html.csh-mobile body.responsive-site .systems-section .section-rule{margin-bottom:16px}
  html.csh-mobile body.responsive-site .lighting-systems{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:20px 0 0;padding:0}
  html.csh-mobile body.responsive-site .lighting-systems li{grid-column:auto;max-width:none;padding:0 12px;border:0;border-right:1px solid #bba47766;justify-self:stretch}
  html.csh-mobile body.responsive-site .lighting-systems li:first-child{padding-left:0}
  html.csh-mobile body.responsive-site .lighting-systems li:last-child{border:0;padding-right:0}
  html.csh-mobile body.responsive-site .lighting-systems .icon{width:32px;height:32px;margin-bottom:8px}
  html.csh-mobile body.responsive-site .lighting-systems h3{font-size:16px;line-height:1.2}
  html.csh-mobile body.responsive-site .lighting-systems p{font-size:14px;line-height:1.35;margin:7px 0 0}
  html.csh-mobile body.responsive-site{--pad:max(24px,env(safe-area-inset-left));--lighting-pad:var(--pad);--music-pad:var(--pad)}
  html.csh-mobile body.responsive-site :is(.header,.site-header){position:relative;inset:auto;min-height:64px;height:auto;padding:10px max(24px,env(safe-area-inset-left))}
  html.csh-mobile body.responsive-site :is(.header,.site-header) .brand{width:155px;max-width:35%}
  html.csh-mobile body.responsive-site .header-cta{display:none}
  html.csh-mobile body.responsive-site :is(.mobile-story-stage,.cinema-phone-stage){min-height:100svh;padding:22px max(26px,env(safe-area-inset-left));gap:16px}
  html.csh-mobile body.responsive-site :is(.mobile-story-copy,.cinema-phone-copy){width:51%;max-width:480px}
  html.csh-mobile body.responsive-site :is(.hero-content,.hero-copy,.lighting-hero-copy,.music-hero-copy,.chapter-copy,.closing-copy,.lighting-closing-copy){width:55%;max-width:540px;min-height:100svh;padding:24px max(26px,env(safe-area-inset-left)) 26px!important;gap:0}
  html.csh-mobile body.responsive-site :is(.portrait-scene,.mobile-story-copy,.cinema-phone-copy) :is(h1,h2){font-size:clamp(27px,4.1vw,38px)!important;line-height:1.06;max-width:20ch;letter-spacing:-.035em}
  html.csh-mobile body.responsive-site :is(.portrait-scene,.mobile-story-copy,.cinema-phone-copy) .section-eyebrow{font-size:10px!important;line-height:1.4;letter-spacing:.08em;margin-bottom:13px}
  html.csh-mobile body.responsive-site :is(.mobile-story-caption,.cinema-caption,.cinema-hero-caption,.hero-description,.hero-introduction,.chapter-description,.hero-subtitle){font-size:16px!important;line-height:1.4!important;margin:15px 0 0!important;max-width:36ch}
  html.csh-mobile body.responsive-site .portrait-scene :is(.closing-copy,.lighting-closing-copy)>p:not(.section-eyebrow){font-size:16px;line-height:1.4;margin-top:15px}
  html.csh-mobile body.responsive-site .mobile-story-open{width:49%;max-width:430px;min-height:44px;margin-top:35px;padding-top:10px;font-size:13px}
  html.csh-mobile body.responsive-site .cinema-phone-bottom{width:49%;max-width:450px;padding-top:28px;gap:10px}
  html.csh-mobile body.responsive-site .cinema-phone-copy .cinema-body{font-size:14px;line-height:1.5;margin-top:13px}
  html.csh-mobile body.responsive-site .cinema-phone-more{font-size:13px;min-height:44px;padding-top:10px}
  html.csh-mobile body.responsive-site .cinema-phone-photo-label{font-size:18px}
  html.csh-mobile body.responsive-site .cinema-phone-bottom :is(.cinema-button,.cinema-lighting-controls button){min-height:42px;padding:10px 14px;font-size:13px}
  html.csh-mobile body.responsive-site .cinema-phone-bottom .cinema-arrow{width:40px;height:40px;min-height:40px}
  html.csh-mobile body.responsive-site .cinema-phone-room-notes{min-height:0}
  html.csh-mobile body.responsive-site .cinema-phone-room-notes h3{font-size:21px;margin-bottom:6px}
  html.csh-mobile body.responsive-site .cinema-phone-room-notes figcaption p{font-size:14px;line-height:1.4}
  html.csh-mobile body.responsive-site .cinema-phone-lighting-caption{font-size:16px}
  html.csh-mobile body.responsive-site .portrait-scene :is(.button,.button-light,.button-dark,.lighting-text-link){font-size:14px;min-height:44px;padding:10px 15px;margin-top:22px}
  html.csh-mobile body.responsive-site .hero-bottom{display:none}
  html.csh-mobile body.responsive-site .chapter .chapter-copy{width:55%;min-height:100svh!important;padding:24px max(26px,env(safe-area-inset-left)) 26px!important}
  html.csh-mobile body.responsive-site .chapter>.solution-links{align-self:end;justify-self:end;width:42%;margin:20px 24px 20px 0;padding:10px 16px;background:#07100cbd}
  html.csh-mobile body.responsive-site .chapter .solution-link{min-height:49px;padding:9px 0}
  html.csh-mobile body.responsive-site .chapter .solution-name{font-size:15px}
  html.csh-mobile body.responsive-site .chapter .explore{font-size:12px}
  html.csh-mobile body.responsive-site :is(.hero-shade,.lighting-hero-shade,.music-hero-shade,.chapter-shade,.closing-shade,.lighting-closing-shade),
  html.csh-mobile .mobile-story-stage::after,html.csh-mobile .cinema-phone-stage::after,
  html.csh-mobile #your-cinema .cinema-phone-stage::after,html.csh-mobile #cinema-consultation .cinema-phone-stage::after{background:linear-gradient(90deg,#030a07d9 0%,#030a07a6 35%,#030a0726 67%,#030a0733 100%)}
  html.csh-mobile body.responsive-site :is(.mobile-story-detail,.cinema-phone-detail){padding:28px max(26px,env(safe-area-inset-left))!important}
  html.csh-mobile body.responsive-site :is(.mobile-story-detail,.cinema-phone-detail) h3{font-size:28px;line-height:1.2}
}
