/* The dock uses the same wordmark, hit targets, icons and tooltips as the purchase cards. */
.studio-dock.website-offer-view{--name-footer-brand-color:white;position:relative;display:block;isolation:isolate;flex:none;height:auto;min-height:72px;color:white;background:transparent;z-index:3;padding-bottom:env(safe-area-inset-bottom,0px)}
.studio-dock.website-offer-view>.name-footer{position:absolute;inset:auto 0 13px;transform:none;width:auto;height:24px;min-height:24px;margin:0;border:none;background:none}
.studio-dock .studio-byline{position:absolute;bottom:40px;left:50%;transform:translateX(-50%);white-space:nowrap;font:500 11px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--name-footer-brand-color)}
/* The logo switcher supplies the tray, plus tile, spacing, and scrolling strip. */
.studio-dock:has(.studio-alternatives){display:flex;flex-direction:column;align-items:center;min-width:0;padding:2px 12px calc(68px + env(safe-area-inset-bottom,0px))}
.studio-alternatives.name-si-logo-switcher{width:max-content;max-width:min(100%,35.5rem);margin:0;justify-content:flex-start;gap:0;padding:0 0 0 4px;background:rgb(23 24 30 / 35%);color:white}
.studio-tile{position:relative;flex:none;display:grid;justify-items:center;align-content:center;gap:5px;min-width:50px;min-height:66px;padding:4px 5px 8px;box-sizing:border-box;border-radius:11px;color:inherit;text-decoration:none;font:600 11px/1.15 NameSiInter,Inter,system-ui,sans-serif;scroll-snap-align:start}
.studio-tile img{object-fit:cover}
.studio-tile[aria-current]::after{content:"";position:absolute;bottom:1px;width:16px;height:2px;border-radius:2px;background:currentColor}
.studio-tile:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media(hover:hover){.studio-tile:hover{background:rgba(125,125,135,.22)}}
@media(forced-colors:active){.studio-alternatives.name-si-logo-switcher{background:Canvas;color:LinkText}.studio-tile[aria-current]::after{background:Highlight;forced-color-adjust:none}}

@media(max-width:720px){.studio-dock.website-offer-view>.name-footer{bottom:calc(17px + env(safe-area-inset-bottom,0px))}.studio-dock .studio-byline{bottom:calc(44px + env(safe-area-inset-bottom,0px))}}

/* Keep one moving picture through the last row. Fade the copy scrim before
   the footer so the film remains visible beneath the white and yellow wordmark. */
.sol-home>.hero:has(>.studio-dock){
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr auto;align-items:stretch;width:100%;min-height:max(540px,100svh)
}
.sol-home .mast{align-self:start;background:transparent;z-index:1}
.sol-home .hero-copy{align-self:end}

.sol-home .generate{font-family:NameSiInter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-weight:700;gap:10px;padding-inline:12px 17px}
.sol-home .film-control{bottom:calc(var(--dock-height,72px) + 16px)}
.stage:has(>.studio-dock){min-height:100svh;grid-template-rows:auto 1fr auto auto}
.stage:has(>.studio-dock)>#scene{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;mask-image:none}
.stage:has(>.studio-dock)>footer{min-height:46px;height:46px}
.stage:has(>.studio-dock)>.shade,.sol-home .hero:has(>.studio-dock)::after{
  mask-image:linear-gradient(to bottom,#000 calc(100% - var(--dock-height,72px) - 38px),transparent calc(100% - var(--dock-height,72px) + 6px))
}
.stage:has(>.studio-dock)>.top{position:relative;isolation:isolate}
.studio-dock .studio-byline{text-shadow:0 1px 3px #000d,0 0 6px #0007}
.studio-dock :is(a.name-footer-brand,.name-footer-tld){text-shadow:var(--name-si-wordmark-shadow)}
.studio-dock .name-footer a:focus-visible{outline-color:var(--name-footer-brand-color)}
@media(max-width:700px){
  .sol-home .film-control{top:calc(64px + 16px);bottom:auto}
}
@media(forced-colors:active){
  .studio-dock :is(.studio-byline,a.name-footer-brand,.name-footer-tld){text-shadow:none}
  .studio-dock .name-footer a:focus-visible{outline-color:Highlight}
}

/* Only placement differs from the Logo View button. The wrapper lets both
   surfaces use the same light, dark, pressed, focus and forced-color rules. */
.name-si-logo-view.studio-close-host{display:contents}
.studio-close-host .studio-close{position:static;flex:none;white-space:nowrap;text-decoration:none;border-radius:12px}
.mast:has(.studio-close){padding-inline-end:max(24px,env(safe-area-inset-right))}
.stage>.top:has(.studio-close){margin-inline-end:max(24px,env(safe-area-inset-right));flex-wrap:wrap-reverse;align-content:center;row-gap:4px}
.stage>.top:has(.studio-close)>.lockup{min-width:min-content}
.stage>.top .studio-close{margin-inline-start:auto}
@media(max-width:600px){
  .mast:has(.studio-close){min-width:0;column-gap:10px;padding-inline:max(16px,env(safe-area-inset-left)) max(16px,env(safe-area-inset-right))}
  .mast:has(.studio-close) .brand{min-width:0}
  .mast:has(.studio-close) .brand img{max-width:100%;object-fit:contain}
  .stage>.top:has(.studio-close){margin-inline-end:max(16px,env(safe-area-inset-right));padding-block:12px}
}

/* Both page templates put their identity on the moving picture. */
.sol-home .mast{height:50px;min-height:50px;padding-block:0;padding-inline-start:max(env(safe-area-inset-left),clamp(10px,2.42vw,50.6px))}
.sol-home .mast .brand{min-inline-size:44px;min-height:44px}
.sol-home .mast .brand img{width:clamp(46.2px,3.96vw,64.9px);filter:brightness(0) invert(1) drop-shadow(0 1px 2px #171014cc)}
.sol-home .mast .brand strong{font-size:13.2px;color:white;text-shadow:0 1px 3px #171014}
.stage:has(>.studio-dock)>.top{background:transparent}
.stage:has(>.studio-dock)>.top .lockup{--header-ink:white;--header-shadow:#15151ac9;color:white;text-shadow:0 1px 3px #15151acc}
.stage:has(>.studio-dock)>.top .lockup::before{content:none}
.stage:has(>.studio-dock)>.top .lockup :is(.wordmark,.suffix){color:white}
@media(max-width:700px){.sol-home .hero .film-control{top:59px;left:max(16px,env(safe-area-inset-left));right:auto}}
.studio-preview-notice{position:fixed;z-index:2147483646;left:50%;bottom:46px;transform:translateX(-50%);width:min(360px,calc(100vw - 32px));box-sizing:border-box;padding:14px 16px 15px;border:1px solid rgba(255,213,46,.24);border-radius:8px;background:rgba(5,5,5,.94);color:white;font:650 13px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:0 18px 44px #0005;pointer-events:none}
.studio-preview-notice:empty{display:none}
.studio-preview-notice strong{display:block;margin:0 0 7px;font-size:16px;font-weight:950;line-height:1}
.studio-preview-notice strong span{color:#ffd52e}
@media(forced-colors:active){.sol-home .generate,.studio-preview-notice{border:1px solid ButtonText}}

/* Each film keeps its type and palette when the featured selection changes. */
.sol-home {--preview-tint:#ffcf62}
.sol-home.sunpath {--preview-tint:#edcfdf}
.sol-home.rooftop {--preview-tint:#d6edb6}
.stage .hero {--preview-tint:var(--title-ink,var(--accent,#edf1fa));min-width:0}
.sol-home .hero-copy h1,.stage .hero h1#headline {
  font-family:var(--preview-heading),Arial,sans-serif;font-weight:var(--preview-weight);
  color:color-mix(in srgb,var(--preview-tint) 14%,white);
}
.stage .hero #headline span {color:inherit}
.emphasis-first .stage .hero #headline span:first-child,
.emphasis-second .stage .hero #headline span:last-child,
.galaxydrift .stage .hero #headline span:last-child {
  color:color-mix(in srgb,var(--title-highlight,var(--accent)) 58%,white);
}
.sol-home .hero-copy>p,.stage .hero .offer>p {
  font:inherit;font-family:var(--preview-body),Arial,sans-serif;font-weight:400;
  font-size:clamp(1rem,1.25vw,1.45rem);line-height:1.45;letter-spacing:-.012em;
  color:color-mix(in srgb,var(--preview-tint) 23%,#f9f8f7);
  text-shadow:0 1px 4px #16131d70;
}
.stage .hero .offer {min-width:0}
/* Saved commissions and new films use the same reading order and margins as SOL. */
.stage:has(>.studio-dock){--site-gutter:clamp(22px,4.4vw,92px)}
.stage:has(>.studio-dock)>.top{
  height:50px;min-height:50px;margin:0;padding:0 max(24px,env(safe-area-inset-right)) 0 max(env(safe-area-inset-left),clamp(10px,2.42vw,50.6px));
  align-items:center;align-content:center;
}
.stage>.top .lockup{min-height:44px}
.stage>.top .lockup>:not(.wordmark){display:none}
.stage>.top .lockup .wordmark{
  font-size:clamp(15px,1.35vw,21px);line-height:1;font-style:normal;font-weight:700;
  letter-spacing:-.06em;text-transform:none;color:white;overflow-wrap:anywhere;white-space:normal;
}
.stage>.top:has(.studio-close)>.lockup{min-width:0;max-width:100%}
.stage>.top .studio-sol-brand [hidden]{display:none}
.stage:has(>.studio-dock)>.hero{
  margin:0;align-self:end;display:flex;flex-direction:column;align-items:flex-start;
  gap:22px;padding:clamp(36px,6.5svh,90px) var(--site-gutter);max-width:min(61%,78rem);
}
.stage:has(>.studio-dock) .hero h1#headline{
  font-size:clamp(54px,min(6.5vw,10.5svh),128px);line-height:.96;
  letter-spacing:-.055em;max-width:100%;overflow-wrap:break-word;text-wrap:balance;
}
.stage:has(>.studio-dock) .hero .offer{display:flex;flex-direction:column;align-items:flex-start;gap:26px;padding:0;max-width:100%}
.stage:has(>.studio-dock) .hero .offer>p{max-width:35ch;margin:0}
.stage:has(>footer>.motion:only-child){grid-template-rows:auto 1fr auto}
.stage:has(>.studio-dock)>footer:has(>.motion:only-child){display:contents}
.stage:has(>.studio-dock)>footer>.motion{
  bottom:calc(var(--dock-height,72px) + 16px);right:var(--site-gutter);left:auto;background:#201e19a8;color:white
}
@media(max-width:900px){
  .stage:has(>.studio-dock)>.hero{max-width:min(100%,40rem)}
}
@media(max-width:700px){
  .stage:has(>.studio-dock)>.top{padding-inline-end:max(16px,env(safe-area-inset-right))}
  .stage:has(>.studio-dock)>.hero{max-width:100%;gap:14px;padding:44px var(--site-gutter) 31px}
  .stage:has(>.studio-dock) .hero h1#headline{font-size:clamp(40px,11vw,74px)}
  .stage:has(>.studio-dock) .hero .offer{gap:18px}
  .stage:has(>.studio-dock)>footer>.motion{top:59px;left:max(16px,env(safe-area-inset-left));right:auto;bottom:auto}
}
@media(max-height:520px){
  .stage:has(>.studio-dock)>.hero{padding-block:18px;gap:10px}
  .stage:has(>.studio-dock) .hero h1#headline{font-size:clamp(34px,8svh,52px)}
  .stage:has(>.studio-dock) .hero .offer{gap:12px}
}

/* Size the actual control so nearby content reserves the same space the button uses. */
.sol-home .hero-copy {--pill-base:clamp(13px,1.02vw,16px);--pill-height:52px;--pill-icon:30px;--pill-left:12px;--pill-right:17px}
.stage .hero {--pill-base:clamp(.97rem,1.12vw,1.25rem);--pill-height:49px;--pill-icon:20px;--pill-left:16px;--pill-right:21px}
.art-directed .stage .hero {--pill-base:clamp(.92rem,1.05vw,1.11rem)}
@media(max-width:700px){.sol-home .hero-copy{--pill-height:48px}}
@media(max-width:760px){.stage .hero{--pill-height:45px}}
:is(.sol-home .hero-copy .generate,#open-guide.primary) {
  display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
  width:fit-content;max-width:100%;min-height:calc(var(--pill-height) * var(--preview-scale));
  padding:calc(8px * var(--preview-scale)) calc(var(--pill-right) * var(--preview-scale))
    calc(8px * var(--preview-scale)) calc(var(--pill-left) * var(--preview-scale));
  gap:calc(10px * var(--preview-scale));border:0;border-radius:999px;
  background:var(--studio-fill);color:var(--studio-ink);box-shadow:none;text-decoration:none;
  font-size:calc(var(--pill-base) * var(--preview-scale));font-weight:700;line-height:1.16;
  letter-spacing:-.025em;white-space:nowrap;text-align:center;cursor:pointer;
}
/* Center a text-only label. Authored action icons use the leading inset above. */
:is(.sol-home .hero-copy .generate,#open-guide.primary):not([data-action-icon]){
  padding-inline:calc(var(--pill-right) * var(--preview-scale));
}
:is(.sol-home .hero-copy .generate,#open-guide.primary)>:is(img,svg){
  display:block;flex:none;width:calc(var(--pill-icon) * var(--preview-scale));height:auto;aspect-ratio:1;object-fit:contain;
}
:is(.sol-home .hero-copy .generate,#open-guide.primary)>span{min-width:0;white-space:nowrap}
:is(.sol-home .hero-copy .generate,#open-guide.primary):hover{background:color-mix(in srgb,var(--studio-fill) 95%,black);filter:none}
:is(.sol-home .hero-copy .generate,#open-guide.primary):focus-visible{outline:3px solid white;outline-offset:4px;border-radius:999px}
@media(forced-colors:active){
  :is(.sol-home .hero-copy .generate,#open-guide.primary){background:ButtonFace;color:ButtonText;border:1px solid ButtonText}
  :is(.sol-home .hero-copy .generate,#open-guide.primary):focus-visible{outline-color:Highlight}
}

/* Inline emphasis belongs to the headline. Movie playback never restarts it. */
.studio-word {font:inherit;letter-spacing:inherit;color:inherit}
.studio-word[data-effect="ink"] {color:var(--studio-fill)}
.studio-word[data-effect="highlight"] {
  color:var(--studio-ink);background:var(--studio-fill);border-radius:.09em;
  box-decoration-break:clone;-webkit-box-decoration-break:clone;
}
.studio-word:is([data-effect="underline"],[data-effect="sweep"]) {
  background-image:linear-gradient(var(--studio-fill),var(--studio-fill));background-repeat:no-repeat;
  background-position:0 100%;background-size:100% .06em;padding-bottom:.04em;
  box-decoration-break:clone;-webkit-box-decoration-break:clone;
}
.studio-word[data-effect="sweep"] {
  background-image:radial-gradient(ellipse 58% 110% at 48% 120%,transparent 65%,var(--studio-fill) 69% 96%,transparent 100%);
  background-size:100% .13em;
}
@keyframes studio-underline-reveal{from{background-size:0 var(--stroke)}to{background-size:100% var(--stroke)}}
@media(prefers-reduced-motion:no-preference){
  .studio-word:is([data-effect="underline"],[data-effect="sweep"]){
    --stroke:.06em;animation:studio-underline-reveal .65s cubic-bezier(.16,.76,.25,1) .12s 1 both;
  }
  .studio-word[data-effect="sweep"]{--stroke:.13em}
}
@media(forced-colors:active){.studio-word[data-effect]{color:CanvasText;background:none;text-decoration:underline}}

@media(max-width:760px){
  .sol-home .hero-copy,.stage .hero {--preview-scale:var(--preview-mobile-scale)}
  :is(.sol-home .hero-copy .generate,#open-guide.primary){max-inline-size:100%}
}

/* The film is the page background. Only the copy changes position when it
   would cover a reviewed feature of the shot. */
.stage:has(>.studio-dock)>video[data-studio-keep-clear] {
  object-position:var(--film-x,50%) var(--film-y,50%);
}
.stage:has(>video[data-studio-keep-clear])>.shade {
  background:linear-gradient(to bottom,#08090b63,transparent 16%,transparent 77%,#08090b70);
  mask-image:none;
}
.stage:has(>video[data-studio-keep-clear])>.hero {
  position:relative;isolation:isolate;justify-self:start;align-self:end;top:var(--copy-lift,0px);
  width:100%;box-sizing:border-box;
}
.stage:has(>video[data-studio-keep-clear])>.hero::before {
  content:"";position:absolute;inset:-10% -10% -12% -30%;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse at 48% 50%,#08090bbf 10%,#08090b96 49%,transparent 72%);
}
.stage[data-copy-side="right"]:has(>.studio-dock)>.hero {justify-self:end}
.stage[data-copy-side="right"]:has(>.studio-dock)>.hero::before {inset-inline:-15% -22%}
@media(max-height:600px) and (max-width:700px) {
  .stage:has(>video[data-studio-keep-clear])>.hero {padding-block:18px;gap:10px}
}
@media(max-height:520px) and (orientation:landscape) {
  .stage:has(>video[data-studio-keep-clear])>.hero {max-width:85%;padding-block:8px;gap:8px;--preview-scale:var(--preview-mobile-scale)}
  .stage:has(>video[data-studio-keep-clear]) h1#headline>span {display:inline}
  .stage:has(>video[data-studio-keep-clear]) .hero .offer {gap:8px}
  .stage:has(>video[data-studio-keep-clear]) .hero .offer>p {max-width:60ch}
}
