/* Stationary glass, relit through the photographed specular surfaces. */
.glass-field {
  position:absolute;inset:0;z-index:0;overflow:hidden;contain:paint;pointer-events:none;
  --glass:url('/assets/editorial/polished-fold.webp');
  --shine:url('/assets/editorial/polished-fold-shine.webp');
  --size:cover;--position:50% 50%;
}
.glass-exposure,.glass-specular {
  position:absolute;inset:0;background-position:var(--position);
  background-size:var(--size);background-repeat:no-repeat;
}
.glass-exposure {background-image:var(--glass);isolation:isolate}
.glass-specular {
  background-image:var(--shine);mix-blend-mode:screen;opacity:.75;
  mask-image:linear-gradient(114deg,transparent 29%,#0006 43%,#000 50%,#0009 57%,transparent 71%);
  mask-size:240% 100%;mask-position:55% 50%;
}
@media (prefers-reduced-motion:no-preference) {
  .glass-specular {animation:turn-reflection 9.8s ease-in-out infinite alternate paused}
  .illuminated .glass-specular {animation-play-state:running}
  @keyframes turn-reflection {from {mask-position:0% 50%} to {mask-position:100% 50%}}
}
#in-house.ed-close,#products.idea-gallery,#services.services-folio,#better-tools.build-section {position:relative}
.chrome-hero-inner,.chrome-fork-heading,.chrome-choice,.ed-work>.ed-measure,#products>.idea-inner,
#in-house>.ed-table,#services>.sf-workroom,#better-tools>.build-inner,#contact>.contact-layout {position:relative;z-index:1}

.glass-entrance {
  --position:55% 58%;
  mask-image:linear-gradient(#000 51%,#000e 66%,#0008 83%,transparent);
}
.glass-entrance .glass-exposure {inset:0 0 0 auto;width:min(100%,1680px)}
.glass-entrance picture,.glass-entrance img {display:block;width:100%;height:100%}
.glass-entrance img {object-fit:cover;object-position:var(--position)}
.glass-entrance .glass-exposure {background-image:none;mask-image:linear-gradient(90deg,transparent,#000 14%)}
.glass-entrance::after {
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,#0c0e0ff7 0%,#0d1011e8 24%,#101213a6 42%,transparent 68%);
}
.glass-source {
  --glass:url('/assets/editorial/polished-focus.webp');--shine:url('/assets/editorial/polished-focus-shine.webp');
  --size:100% auto;--position:center bottom;
  inset:auto 0 0;z-index:-1;mix-blend-mode:screen;opacity:.59;
  mask-image:linear-gradient(to bottom,transparent,transparent 9%,#0006 37%,#000c 69%,#000 91%);
}
body.chrome-story #contact.final-spread .final-engraving.optic-fan,
body.chrome-story .final-footer :is(.optic-feed,.sg-echo) {display:none}
/* The page reflection meets the top edge of the inquiry link. */
.footer-invitation {position:relative;display:grid;justify-items:center;isolation:isolate}
body.chrome-story .final-footer .end-light {
  --optic-point-y:100%;
  height:clamp(25px,3vw,38px);width:min(78%,460px);
}
body.chrome-story .final-footer .end-light::before {
  display:block;top:0;height:100%;width:2px;left:calc(50% - 1px);
  background:linear-gradient(transparent,#b2cbb646 54%,#e9f6bfa6);
}
body.chrome-story .final-footer .end-light::after {
  display:block;top:calc(100% - 3px);height:6px;border-radius:50%;pointer-events:none;
  background:radial-gradient(ellipse at center,#ffffd9 0%,#e2f5a7d9 20%,#d2e9a685 48%,#b0dc9e26 70%,transparent 76%);
  transform:scaleX(var(--release-width,.025));opacity:var(--release-opacity,0);
}
body.chrome-story .final-footer .footer-project {
  display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:8px 25px;
  border:1px solid #b9ce8c91;border-radius:32px;background:#182522;color:#ebf7d0;
  font:620 1rem/1.4 var(--sans);text-decoration:none;
}
body.chrome-story .final-footer .footer-project:hover {border-color:#def6a8;background:#26372c}
@media (prefers-reduced-motion:reduce) {
  body.chrome-story .final-footer .end-light::after {transform:scaleX(.38);opacity:.28}
}
@media (forced-colors:active) {body.chrome-story .final-footer .footer-project {border-color:LinkText;color:LinkText}}
body.chrome-story .final-footer .end-light i {
  width:9px;height:9px;border-radius:50%;background:radial-gradient(circle,#fffff5 25%,#fff8cc 56%,#d3d08b 85%);
  box-shadow:0 0 5px 1px #ffefbdba,0 0 15px 3px #e4e99b4a;
}
body.chrome-story .final-footer .end-light i::before {animation:none;opacity:0}
@media (prefers-reduced-motion:no-preference) {
  .glass-source .glass-specular {
    animation:closing-reflection 8s ease-in-out alternate infinite paused;
    mask-image:linear-gradient(90deg,transparent 22%,#000 48%,transparent 76%);
  }
  .glass-source.illuminated .glass-specular {animation-play-state:running}
  @keyframes closing-reflection {from {mask-position:8% 0} to {mask-position:92% 0}}
  .journey-arrived:not(.light-ready) .final-footer .end-light i {animation:glass-release 2s ease-out both}
  @keyframes glass-release {
    0%,100% {transform:translate(-50%,-50%) scale(1)}
    22% {transform:translate(-50%,-50%) scale(1.18);box-shadow:0 0 6px 2px #fff3c7ef,0 0 18px 5px #e4e99b75}
  }
}
/* The halo receives the same pulse that is reaching the end of the beam. */
body.chrome-story.light-ready .final-footer .end-light i::before {
  content:"";position:absolute;inset:-16px;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,#ffefb2dd 2%,#e5f0a45c 32%,transparent 70%);
  box-shadow:none;filter:none;
  opacity:var(--arriving-light,0);
  transform:none;
}
@media (prefers-reduced-motion:reduce) {
  body.chrome-story.light-ready .final-footer .end-light i::before {opacity:0}
}
@media (max-width:700px) {
  .glass-entrance {--position:50% 48%;--shine:url('/assets/editorial/polished-fold-mobile-shine.webp')}
  .glass-entrance::after {background:linear-gradient(90deg,#0d10114d,transparent 88%),linear-gradient(180deg,#10111228 12%,#10111170 32%,#0d1011c7 64%,#0d1011ef)}
  .glass-source {
    --glass:url('/assets/editorial/polished-focus-mobile.webp');
    --shine:url('/assets/editorial/polished-focus-mobile-shine.webp');
  }
}
@media (forced-colors:active),print {.glass-field {display:none}}

/* One continuous reflection under the paper, smoked glass and chrome surfaces. */
.light-stage {position:relative;isolation:isolate}
.page-light {display:none}
.chrome-story .light-stage {
  --crossing-exposure:linear-gradient(90deg,#e1e8dfd9,#dce3d8cf 39%,#b7c6bc94 48%,#66747737 56%,#10192138 82%);
  background:#0b1215;
}
.light-ready .page-light {
  display:block;position:fixed;inset:0;z-index:-1;width:100%;height:100%;
  pointer-events:none;
}
body.chrome-story #top.chrome-hero {background:transparent}
/* Carry the same exposure from the hero through the crossing into the portfolio. */
.chrome-story .chrome-opening-flow {
  --opening-rise:clamp(360px,54svh,625px);
  --opening-fade:clamp(510px,74svh,830px);
  --crossing-fade:clamp(164px,18vw,280px);
  --crossing-spill:clamp(54px,6.5vw,96px);
  display:flow-root;
  z-index:2;
  background:transparent;
}
.chrome-story .chrome-opening-flow::before {
  content:"";
  position:absolute;inset:0 0 calc(-1 * var(--crossing-spill));z-index:-1;pointer-events:none;
  background:var(--crossing-exposure);
  mask-image:linear-gradient(to bottom,transparent var(--opening-rise),
    #0002 calc(var(--opening-rise) + var(--opening-fade) * .22),
    #0007 calc(var(--opening-rise) + var(--opening-fade) * .51),
    #000d calc(var(--opening-rise) + var(--opening-fade) * .79),
    #000 calc(var(--opening-rise) + var(--opening-fade)),
    #000 calc(100% - var(--crossing-fade)),#000b calc(100% - var(--crossing-fade) * .68),
    #0004 calc(100% - var(--crossing-fade) * .32),transparent);
}
.chrome-story .chrome-fork::before {
  background:radial-gradient(ellipse 71% 52% at 50% 47%,#10191dc7 18%,#10191d94 58%,transparent 94%);
}
.chrome-story .chrome-fork::after,
.chrome-story .chrome-bridge-floor,
.light-ready .chrome-crossing {display:none}
.chrome-story .crossing-frame {
  mask-image:linear-gradient(transparent,#0003 clamp(17px,2vw,36px),#000 clamp(75px,9vw,148px));
}
.chrome-story .crossing-silver {
  background:linear-gradient(103deg,#f6f6ebc7,#e8efe7a6 29%,#b9c9c34d 52%,#1e2b2b33 90%);
}
.chrome-story .ed-work {
  background:radial-gradient(ellipse 120% 48% at 28% 50%,#16242a91,transparent);
}
.chrome-story .ed-receipt-lead {border-block:0}
.chrome-story .ed-receipt + .ed-receipt {border-block-start:0}
.chrome-story .ed-receipt + .ed-receipt::before {display:none}
.chrome-story #products.idea-gallery {
  --paper-rise:clamp(76px,9vw,144px);
  --paper-fall:clamp(86px,10vw,154px);
  isolation:isolate;
  background:transparent;
  padding-block:var(--paper-rise) var(--paper-fall);
}
.chrome-story #products.idea-gallery::before {
  content:"";display:block;
  inset:0;height:auto;transform:none;z-index:-1;
  background:linear-gradient(108deg,#f5f1e2de,#ebeddfc9 57%,#f5f1e2d9);
  mask-image:
    linear-gradient(to bottom,transparent,#0001 calc(var(--paper-rise) * .24),
      #0007 calc(var(--paper-rise) * .61),#000 var(--paper-rise),
      #000 calc(100% - var(--paper-fall)),#0009 calc(100% - var(--paper-fall) * .59),
      #0002 calc(100% - var(--paper-fall) * .24),transparent),
    radial-gradient(ellipse 69% var(--paper-rise) at 72% var(--paper-rise),#000,#000b 46%,#0003 73%,transparent),
    radial-gradient(ellipse 67% var(--paper-fall) at 27% calc(100% - var(--paper-fall)),#000,#000a 46%,#0003 76%,transparent);
}
.chrome-story #products.idea-gallery::after {display:none}
.chrome-story .ed-services {background:transparent;color:#e6ebdf}
.chrome-story .ed-services>summary {
  background:transparent;
}
.chrome-story .ed-services>summary:focus-visible {outline-color:#dce9af}
.chrome-story .ed-services>div {
  background:
    radial-gradient(ellipse 64% 25% at 21% 27%,#0d171c9c,transparent),
    radial-gradient(ellipse 110% 49% at 76% 50%,#16262b76,transparent);
}
.chrome-story.light-ready .tool-selector {background:#13202ad1}
.chrome-story.light-ready .tool-stage {background:linear-gradient(133deg,#deebe3cb,#f0f2e8d9)}
.chrome-story.light-ready #products .ed-look {background:#e4dbcd96}
.chrome-story.light-ready #products .idea-sample {background:#f5f1e2aa}
body.softcore-editorial.tedi-pov.chrome-story :is(#services.services-folio,#better-tools.build-section) {
  background:transparent;
  border-block:0;
}
.chrome-story #services.services-folio::before {display:none}
.chrome-story main #in-house.ed-close {
  background:radial-gradient(ellipse 69% 48% at 75% 50%,#111a1c4d,transparent);
}
body.softcore-editorial.tedi-pov.chrome-story #main #contact.final-spread {
  background:radial-gradient(ellipse 67% 48% at 19% 50%,#0d171a8c,transparent);
}
body.chrome-story .site-footer.final-footer {
  background:transparent;
  border-block-start:0;
}
body.chrome-story .final-footer .end-glass {
  background:linear-gradient(146deg,#263b41e8,#13232ae8 54%,#1c3237d9);
  box-shadow:inset 0 0 0 1px #c4d9d450,0 12px 28px -22px #03080a;
}
body.chrome-story .final-footer .sg-foot-optics::before {opacity:.56}
body.chrome-story .final-footer .sg-foot-optics::after {opacity:.6}
@media (prefers-reduced-transparency:reduce) {
  body.chrome-story .final-footer .end-glass {background:#17292f}
}
@media (forced-colors:active) {
  body.chrome-story .final-footer .end-glass {background:Canvas}
}
@media (max-width:850px) {
  .chrome-story .chrome-fork::before {
    background:linear-gradient(transparent,#10191dd9 24%,#10191dd9 57%,transparent 91%);
    height:310px;
  }
  .chrome-story .chrome-answer-day::before {background:linear-gradient(112deg,#edf0e7d9,#dbe4dcb5)}
  .chrome-story .chrome-answer-night::before {background:linear-gradient(112deg,#263640c9,#10191f99)}
}
@media (forced-colors:active),print {.light-ready .page-light {display:none}}
@media (forced-colors:active) {.chrome-story .light-stage {background:Canvas}}
