/* REV-34: a single scene, one directional overlay and independent foreground text.
   Portrait fit preserves chandelier/mirrors/floor instead of cropping to landscape.
   The media layer spans the section; unused portrait width sits behind protected copy. */
body[data-page="home"] .about.about-scene {
  --about-scene-height:clamp(700px,62.5vw,1120px);
  --about-photo-width:calc(var(--about-scene-height) * .8002853067);
  --about-protected-width:max(0px,calc(100% - var(--about-photo-width)));
  --about-fade-width:clamp(140px,16vw,240px);
  --about-shade-direction:to right;
  position:relative; display:flex; align-items:center; isolation:isolate;
  min-height:var(--about-scene-height); overflow:hidden; background:#071b30; color:#fff;
}
body[data-page="home"] .about-scene-media,
body[data-page="home"] .about-scene-shade {
  position:absolute; inset:0; pointer-events:none;
}
body[data-page="home"] .about-scene-media { z-index:0; }
body[data-page="home"] .about-scene-media img {
  display:block; width:100%; height:100%; object-fit:contain; object-position:right center;
  transform:none; transform-origin:right center;
}
body[data-page="home"] .about-scene-shade {
  z-index:1;
  background:linear-gradient(var(--about-shade-direction),
    #071b30 0 var(--about-protected-width),
    rgb(7 27 48 / .85) calc(var(--about-protected-width) + var(--about-fade-width) * .25),
    rgb(7 27 48 / .45) calc(var(--about-protected-width) + var(--about-fade-width) * .55),
    rgb(7 27 48 / .12) calc(var(--about-protected-width) + var(--about-fade-width) * .8),
    rgb(7 27 48 / 0) calc(var(--about-protected-width) + var(--about-fade-width)));
}
body[data-page="home"] .about-scene .about-copy {
  position:relative; z-index:2; width:46%; margin:0; margin-inline-start:auto;
  padding:clamp(32px,5vw,96px); background:transparent;
}
body[data-page="home"] .about-scene .text-link { display:inline-flex; align-items:center; min-height:44px; }
body[data-page="home"] .about-scene .text-link:focus-visible { outline:2px solid var(--copper2); outline-offset:5px; }
html[dir="ltr"] body[data-page="home"] .about.about-scene { --about-shade-direction:to left; }
html[dir="ltr"] body[data-page="home"] .about-scene-media img { object-position:left center; transform-origin:left center; }
/* Reuse the existing copy reveal state; no new observer or continuous animation. */
body[data-page="home"] .about-scene:has(.about-copy.is-revealed) .about-scene-media img {
  animation:about-scene-settle 1600ms cubic-bezier(.22,.61,.36,1) both;
}
@keyframes about-scene-settle { from{transform:scale(1.01)} to{transform:none} }
@media(max-width:1100px) {
  body[data-page="home"] .about-scene .about-copy { width:48%; padding:32px; }
  body[data-page="home"] .about-scene .about-copy h2 { font-size:clamp(38px,5vw,56px); }
}
@media(max-width:768px) {
  body[data-page="home"] .about.about-scene {
    --about-photo-height:calc(100vw * 1.2495543672);
    display:block; min-height:0;
  }
  body[data-page="home"] .about-scene-media img,
  html[dir="ltr"] body[data-page="home"] .about-scene-media img {
    height:var(--about-photo-height); object-position:center top; transform-origin:center top;
  }
  body[data-page="home"] .about-scene-shade {
    background:linear-gradient(to bottom,
      rgb(7 27 48 / 0) 0 calc(var(--about-photo-height) * .82),
      rgb(7 27 48 / .12) calc(var(--about-photo-height) * .9),
      rgb(7 27 48 / .7) calc(var(--about-photo-height) * .97),
      #071b30 var(--about-photo-height),#071b30 100%);
  }
  body[data-page="home"] .about-scene .about-copy {
    width:100%; padding:calc(var(--about-photo-height) + 16px) 24px 48px;
  }
  body[data-page="home"] .about-scene .about-copy h2 { font-size:clamp(38px,7vw,56px); line-height:1.15; }
}
@media(max-width:375px) {
  body[data-page="home"] .about-scene .about-copy { padding-inline:22px; }
  body[data-page="home"] .about-scene .about-copy p { font-size:18px; }
}
@media(prefers-reduced-motion:reduce) {
  body[data-page="home"] .about-scene-media img,
  body[data-page="home"] .about-scene:has(.about-copy.is-revealed) .about-scene-media img {
    animation:none!important; transition:none!important; transform:none!important;
  }
}
