/* Original photographic glaze, composed at a fixed physical scale. */
#philosophy .glaze-study {mask:none;-webkit-mask:none;}
#philosophy .glaze-macro,
#philosophy .glaze-macro.material-background-ready {
  width:78%;height:100%;opacity:1;
  filter:none;mask:none;-webkit-mask:none;
}
#philosophy .philosophy-background-transport {
  position:absolute;inset:0;width:100%;height:100%;
  transform:none;pointer-events:none;
}
#philosophy .glaze-macro .philosophy-background-transport > img {
  transform:none;object-fit:cover;object-position:50% 63%;
  filter:none;opacity:.16;
}
#philosophy .glaze-macro.material-background-ready .philosophy-background-transport > img {opacity:0;}
#philosophy .material-background-ready .philosophy-background-cache {
  position:absolute;inset:0;display:block;width:100%;height:100%;
  max-width:none;object-fit:fill;opacity:.34;pointer-events:none;
}
#philosophy .texture-frame.material-plate-ready > .philosophy-plate-cache,
#philosophy .texture-frame:not(.material-plate-ready) > img {opacity:var(--material-plate-exposure,.86);}
@media(max-width:760px){
  #philosophy .glaze-macro,
  #philosophy .glaze-macro.material-background-ready {width:82%;}
  #philosophy .material-background-ready .philosophy-background-cache {opacity:.35;}
}

/* The second original-photo layer reveals fine glaze; no added glow or fog. */
#philosophy .philosophy-detail-reveal {
  position:absolute;inset:0;width:100%;height:100%;pointer-events:none;
  --glaze-sweep:-25%;--glaze-angle:116deg;opacity:0;
  mask-image:linear-gradient(var(--glaze-angle),transparent calc(var(--glaze-sweep) - 38%),rgba(0,0,0,.08) calc(var(--glaze-sweep) - 27%),rgba(0,0,0,.42) calc(var(--glaze-sweep) - 13%),rgba(0,0,0,.92) var(--glaze-sweep),rgba(0,0,0,.56) calc(var(--glaze-sweep) + 13%),rgba(0,0,0,.12) calc(var(--glaze-sweep) + 28%),transparent calc(var(--glaze-sweep) + 39%));
  -webkit-mask-image:linear-gradient(var(--glaze-angle),transparent calc(var(--glaze-sweep) - 38%),rgba(0,0,0,.08) calc(var(--glaze-sweep) - 27%),rgba(0,0,0,.42) calc(var(--glaze-sweep) - 13%),rgba(0,0,0,.92) var(--glaze-sweep),rgba(0,0,0,.56) calc(var(--glaze-sweep) + 13%),rgba(0,0,0,.12) calc(var(--glaze-sweep) + 28%),transparent calc(var(--glaze-sweep) + 39%));
}
#philosophy .philosophy-detail-cache {
  position:absolute;inset:0;display:block;width:100%;height:100%;
  max-width:none;pointer-events:none;
}
@media(prefers-reduced-motion:reduce){
  #philosophy .philosophy-detail-reveal {mask-image:none;-webkit-mask-image:none;}
}

/* Photographic clearcoat: bowed reflection, translucent refraction, quiet edges. */
#philosophy .has-optical-glaze .philosophy-detail-reveal {
  opacity:1!important;mask:none!important;-webkit-mask:none!important;
}
#philosophy .has-optical-glaze .philosophy-detail-cache {opacity:0;}
#philosophy .philosophy-optical-canvas {display:block;max-width:none;}

/* The same side-by-side material study, composed for a narrow viewport. */
@media(max-width:760px){
  #philosophy .philosophy-stage {
    display:grid;
    grid-template-columns:minmax(0,.43fr) minmax(0,.57fr);
    grid-template-rows:18px minmax(0,1fr);
    grid-template-areas:'header header' 'copy plate';
    align-items:center;align-content:normal;
    height:clamp(360px,55svh,470px);min-height:360px;max-height:none;
    padding:26px 6vw 32px;gap:22px 8px;
    background:#090c0a;
  }
  #philosophy .philosophy-stage::before {
    content:'';position:absolute;inset:0;z-index:1;pointer-events:none;
    background:linear-gradient(90deg,#090c0a66,transparent 72%);
  }
  #philosophy .philosophy-header {
    display:flex;grid-area:header;align-items:center;gap:10px;
    width:100%;font-size:10px;line-height:1.6;letter-spacing:.02em;
  }
  #philosophy .philosophy-header .eyebrow {font-size:10px;line-height:1.6;}
  #philosophy .philosophy-header > span {
    display:block;font-size:9px;line-height:1.6;max-width:none;white-space:nowrap;
  }
  #philosophy .philosophy-copy {
    grid-area:copy;align-self:center;width:100%;max-width:none;
    margin:0;padding:0;z-index:2;
  }
  #philosophy .philosophy-copy h2 {
    font-size:clamp(26px,7.15vw,34px);line-height:1.48;letter-spacing:.035em;
  }
  #philosophy .philosophy-copy h2 br {display:block;}
  #philosophy .philosophy-copy p {
    max-width:132px;margin-top:18px;font-size:13px;line-height:1.9;color:#c1c8c0;
  }
  #philosophy .philosophy-copy p > span {display:block;}
  #philosophy .philosophy-copy .line-link {
    gap:16px;margin-top:23px;min-height:44px;padding:6px 0;
    font-size:12px;line-height:1.6;color:#e5e3da;
  }
  #philosophy .philosophy-copy .line-link svg {width:20px;height:20px;}
  #philosophy .philosophy-stage > .texture-frame {
    grid-area:plate;justify-self:end;align-self:center;
    width:min(50vw,294px);max-width:none;min-height:0;height:auto;
    margin:0;aspect-ratio:1;z-index:2;
  }
  #philosophy + .glaze-reading-chapter {padding-top:20px;}
}
@media(max-width:360px){
  #philosophy .philosophy-stage {padding-inline:20px;gap:18px 6px;}
  #philosophy .philosophy-header > span {font-size:8px;}
  #philosophy .philosophy-copy h2 {font-size:25px;}
  #philosophy .philosophy-copy p {font-size:11px;}
}
@media(max-width:760px) and (orientation:landscape){
  #philosophy .philosophy-stage {height:360px;}
  #philosophy .philosophy-stage > .texture-frame {width:min(42vw,250px);}
}

@supports(animation-timeline:scroll(root block)) and (animation-range:0px 100px){
  #philosophy .texture-frame.material-native-zoom {
    animation:material-native-approach 1s linear both;
    animation-timeline:scroll(root block);
    animation-range:var(--material-zoom-start,0px) var(--material-zoom-end,500px);
    transform-origin:100% 50%;
  }
  #philosophy .philosophy-copy.material-native-copy {
    animation:material-copy-approach 1s linear both;
    animation-timeline:scroll(root block);
    animation-range:var(--material-zoom-start,0px) var(--material-zoom-end,500px);
    transform-origin:0% 50%;will-change:transform;
  }
}
@keyframes material-native-approach {
  0% {opacity:0;transform:translate3d(0,18px,0) rotate(-2deg) scale(.76);}
  28% {opacity:1;}
  90%,100% {transform:translate3d(0,0,0) rotate(0deg) scale(var(--material-zoom-scale,1.12));}
  100% {opacity:1;}
}
@keyframes material-copy-approach {
  0% {opacity:0;transform:translate3d(-8px,14px,0) scale(.88);}
  35% {opacity:1;}
  90%,100% {transform:translate3d(0,0,0) scale(1.04);}
  100% {opacity:1;}
}
@media(max-width:360px){#philosophy .texture-frame {--material-zoom-scale:1.10;}}
@media(prefers-reduced-motion:reduce){
  #philosophy .texture-frame.material-native-zoom,
  #philosophy .philosophy-copy.material-native-copy {animation:none;transform:none;opacity:1;will-change:auto;}
}


