/* The photo and ribbon share the first viewport. Content can grow at large
   text zoom or exceptionally short heights rather than becoming clipped. */
html#afterglow-site {--studio-opening-header:97px}
html#afterglow-site body.page-id-12394 {padding-top:var(--studio-opening-header)!important}
#afterglow-site #article-12394 .studio-opening {
  --opening-ribbon-height:clamp(104px,17svh,184px);
  --opening-overlap:calc(var(--opening-ribbon-height)*.25);
  display:flex;flex-direction:column;min-height:calc(100svh - var(--studio-opening-header));
}
html#afterglow-site body #article-12394 .studio-opening > .after-hero {
  flex:1;display:grid;align-items:end;height:auto!important;min-height:0;
}
#afterglow-site #article-12394 .studio-opening .after-hero-copy {
  position:relative;inset:auto;box-sizing:border-box;width:100%;
  padding:clamp(105px,22svh,280px) 5.5vw calc(var(--opening-overlap) + 28px);
}
#afterglow-site #article-12394 .studio-opening > .studio-ribbon {
  flex:none;height:var(--opening-ribbon-height);min-height:0;
  margin-top:calc(-1*var(--opening-overlap));align-content:center;
}
#afterglow-site #article-12394 .studio-opening .studio-ribbon-track {padding:0!important}
#afterglow-site #article-12394 .studio-opening .studio-ribbon-group {
  height:var(--opening-ribbon-height);width:auto;
}
@media(max-width:820px){html#afterglow-site{--studio-opening-header:83px}}
@media(max-width:760px){
  #afterglow-site #article-12394 .studio-opening {--opening-ribbon-height:clamp(90px,14svh,118px)}
  html#afterglow-site body #article-12394 .studio-opening > .after-hero {display:flex;flex-direction:column;align-items:stretch}
  #afterglow-site #article-12394 .studio-opening .after-hero > .after-prism-cover {
    position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:56% 33%;
  }
  #afterglow-site #article-12394 .studio-opening :is(.studio-hero-pearl,.studio-hero-ambient) {height:100%;bottom:0}
  #afterglow-site #article-12394 .studio-opening .after-hero-copy {
    margin-top:auto;display:grid;grid-template-columns:1fr;gap:14px;
    padding:clamp(120px,24svh,260px) 24px calc(var(--opening-overlap) + 24px);
    background:linear-gradient(transparent 2%,#19201e88 24%,#19201ee6 90%)!important;
    color:#fff4e6!important;
  }
  #afterglow-site #article-12394 .studio-opening .after-hero-copy :is(p,h1,span) {color:#fff4e6!important;-webkit-text-fill-color:#fff4e6!important}
  #afterglow-site #article-12394 .studio-opening .after-hero-copy .alt-kicker {margin:0 0 8px!important}
  #afterglow-site #article-12394 .studio-opening .studio-hero-logo {width:210px;max-width:76%}
  #afterglow-site #article-12394 .studio-opening .studio-hero-wordmark {display:block}
  #afterglow-site #article-12394 .studio-opening .studio-name-history {margin:8px 0 0!important}
  #afterglow-site #article-12394 .studio-opening .after-hero-copy .alt-actions {flex-wrap:nowrap;gap:8px;margin-top:14px}
  #afterglow-site #article-12394 .studio-opening .alt-actions a {flex:1;min-width:0;padding-inline:10px!important}
}
@layer studioTypography {
  @media(max-width:760px){
    html#afterglow-site body #article-12394 .studio-opening .after-hero-copy p {font-size:17px!important;line-height:1.4!important}
    html#afterglow-site body #article-12394 .studio-opening .after-hero-copy .alt-kicker {font-size:15px!important}
    html#afterglow-site body #article-12394 .studio-opening .after-hero-copy .studio-name-history {font-size:12px!important}
    html#afterglow-site body #article-12394 .studio-opening .after-hero-copy .studio-starting-price {font-size:18px!important}
  }
}
@layer studioActions {
  @media(max-width:760px){
    html#afterglow-site body #article-12394 .studio-opening .after-hero-copy .alt-actions a {font-size:15px!important;min-height:46px!important;padding:10px!important;line-height:1.2!important}
  }
}
@media(max-height:700px) and (max-width:760px){
  #afterglow-site #article-12394 .studio-opening .after-hero-copy {padding-top:100px;gap:10px;padding-inline:20px}
  #afterglow-site #article-12394 .studio-opening .studio-hero-logo {width:180px}
}
@media(max-height:600px) and (max-width:760px){
  #afterglow-site #article-12394 .studio-opening .after-hero-copy {padding-top:30px;padding-bottom:calc(var(--opening-overlap) + 14px)}
  #afterglow-site #article-12394 .studio-opening .studio-hero-logo {width:150px}
  #afterglow-site #article-12394 .studio-opening .after-hero-copy > div:last-child > p {margin:0 0 10px!important}
}
@media(max-height:500px) and (min-width:761px){
  #afterglow-site #article-12394 .studio-opening {--opening-ribbon-height:80px}
  #afterglow-site #article-12394 .studio-opening .after-hero-copy {grid-template-columns:1fr 1.25fr;gap:24px;padding:16px 4vw calc(var(--opening-overlap) + 12px)}
  #afterglow-site #article-12394 .studio-opening .studio-hero-logo {width:210px}
  #afterglow-site #article-12394 .studio-opening .after-hero-copy p {margin:0 0 10px!important}
  #afterglow-site #article-12394 .studio-opening .after-hero-copy .studio-name-history {margin:8px 0 0!important}
  #afterglow-site #article-12394 .studio-opening .after-hero-copy .alt-actions {margin-top:10px;gap:8px;flex-wrap:nowrap}
}
@layer studioTypography {
  @media(max-height:600px) and (max-width:760px){
    html#afterglow-site body #article-12394 .studio-opening .after-hero-copy p {font-size:16px!important;line-height:1.35!important}
    html#afterglow-site body #article-12394 .studio-opening .after-hero-copy .alt-kicker {font-size:13px!important}
    html#afterglow-site body #article-12394 .studio-opening .after-hero-copy .studio-name-history {font-size:11px!important}
    html#afterglow-site body #article-12394 .studio-opening .after-hero-copy .studio-starting-price {font-size:16px!important}
  }
  @media(max-height:500px) and (min-width:761px){
    html#afterglow-site body #article-12394 .studio-opening .after-hero-copy p {font-size:15px!important;line-height:1.35!important}
    html#afterglow-site body #article-12394 .studio-opening .after-hero-copy .alt-kicker {font-size:14px!important}
    html#afterglow-site body #article-12394 .studio-opening .after-hero-copy .studio-name-history {font-size:12px!important}
  }
}
@layer studioActions {
  @media(max-height:600px){
    html#afterglow-site body #article-12394 .studio-opening .after-hero-copy .alt-actions a {height:auto!important;min-height:44px!important;padding:10px!important;font-size:14px!important;line-height:1.2!important}
  }
}
