html:not(.ph) .ph-hero { display: none; }
html.ph body.page-home .home-hero, html.ph body.page-home .r6-hero { display: none; }
html.ph body.page-home .jobs-sec::before { display: none; }

.ph-hero { position: relative; z-index: 1; background: #0b0f15; color: #f7f9fb;
  --ar: .46667;
  --pW: max(100vw, calc(100lvh * var(--ar)));
  --pH: calc(var(--pW) / var(--ar));
  --pT: clamp(calc(100lvh - var(--pH)), calc(100svh - .8688 * var(--pH)), 0px);
  --pL: calc((100vw - var(--pW)) * .5);
  --sill: calc(var(--pT) + .2900 * var(--pH));
  --desk: calc(var(--pT) + .8146 * var(--pH));
  --gx: clamp(18px, 5vw, 40px);
  --fs-h: clamp(34px, 9.6vw, 60px);
  --fs-c: clamp(50px, 14.4vw, 96px);
  --fs-l: clamp(13px, 3.4vw, 18px);
  --fs-s: clamp(16px, 4.1vw, 20px);
  --gap: clamp(10px, 1.9svh, 22px);
}
@media (min-width: 700px) { .ph-hero { --ar: .74667; --gx: clamp(48px, 8vw, 104px); } }

html.ph-a .ph-scroller { position: relative; height: 100lvh; overflow-x: hidden; overflow-y: auto; overscroll-behavior-x: none;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; }
html.ph-a .ph-scroller::-webkit-scrollbar { display: none; }
.ph-track { position: relative; }
html.ph-a .ph-track { height: calc(var(--run, 405svh) + 100lvh); }
.ph-stage { position: relative; height: 100lvh; overflow: hidden; contain: strict; background: #15181d url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCAA8ABwDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDitD8Hz6vaJdrMFjYkEcZGPrWunw8kH/Lwf/Ha2/A8Ft/wj8JnaYFi2NkjKOp7A11C2dg2CJp+f+nhv8aHJLctQbOCHw/lH/Lwf/HaX/hX8v8Az8n/AMdr0D7BY9rib/wKb/GoW0yMtlb6RR6eeT/Wl7WI1TbPF47idECJNIqjoAxwKlW6uf8An4k/76NVwKeK0RkT/a7n/n4k/wC+jSG8uf8An4k/77NRUhpiGinZqMGl3Uhj80wtzSFveoy3PWmB08NvbbGDWkLMejHjFTW1pGqgSWlrIfU5Gf0qvG5xVmJ2zWEWzZotCygO0paW8LKwIKjdnnp0qb+zrE8mztyT1/diohI3FS+Y1WSf/9k=') center top / cover no-repeat; }
html.ph-a .ph-stage { position: sticky; top: 0; }
.ph-room { position: absolute; inset: 0; }
.ph-room { pointer-events: none; }
.ph-pic { position: absolute; left: var(--pL); top: var(--pT); width: var(--pW); height: var(--pH); }
.ph-pic img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; }
.ph-pic img.ph-k0 { opacity: 0; transition: opacity .4s cubic-bezier(.3, .6, .3, 1); }
.ph-pic img.ph-k0.in { transition: none; }
.ph-pic img.on { will-change: opacity; }
.ph-grain { position: absolute; inset: 0; opacity: .055; mix-blend-mode: overlay; background-image: url('../img/hero-r6/grain.svg'); }

.ph-col { position: absolute; left: max(var(--gx), env(safe-area-inset-left, 0px)); right: max(var(--gx), env(safe-area-inset-right, 0px));
  top: calc(var(--sill) + var(--gap)); max-width: 620px; }
.ph-lab { display: flex; align-items: center; gap: 10px; margin: 0; height: 14px; font: 500 12px/1 var(--mono); letter-spacing: .12em;
  text-transform: uppercase; color: rgba(247, 249, 251, .62); white-space: nowrap; }
.ph-lab i { width: 7px; height: 7px; background: rgba(247, 249, 251, .45); flex: none; }
.ph-pause { margin-left: auto; padding: 12px 0 12px 16px; margin-top: -12px; margin-bottom: -12px; border: 0; background: none; cursor: pointer;
  font: inherit; letter-spacing: inherit; text-transform: inherit; color: rgba(247, 249, 251, .78); }
.ph-pause[hidden] { display: none; }

.ph-clock { position: relative; display: flex; align-items: flex-start; height: 1em; margin-top: calc(var(--gap) * .7);
  font: 200 var(--fs-c)/1 var(--sans); letter-spacing: -.04em; color: #f7f9fb; font-variant-numeric: tabular-nums; }
.ph-clock .d { position: relative; display: block; width: .61em; height: 1em; overflow: hidden; }
.ph-clock .d b { position: absolute; left: 0; right: 0; top: 0; height: 1em; font-weight: inherit; text-align: center; will-change: transform; }
.ph-clock .c { display: block; width: .3em; text-align: center; transform: translateY(-.04em); }

.ph-mid { position: relative; margin-top: calc(var(--gap) * 1.2); }
.ph-hero h1 { margin: 0; font: 300 var(--fs-h)/1.0 var(--sans); letter-spacing: -.035em; font-stretch: 97%; color: #f7f9fb;
  transition: opacity .3s cubic-bezier(.3, .6, .3, 1) .2s; }
.ph-hero.done h1 { transition: opacity .2s linear 0s; }
.ph-hero h1 .ln { display: block; }
.ph-pay { position: absolute; left: 0; top: 0; margin: 0; display: flex; align-items: baseline; gap: .16em; white-space: nowrap;
  font: 300 var(--fs-h)/1.0 var(--sans); letter-spacing: -.035em; color: #f7f9fb; opacity: 0; transform: translateY(.18em);
  transition: opacity .2s linear, transform .2s linear; }
.ph-hero.done .ph-pay { transition: opacity .45s cubic-bezier(.3, .6, .3, 1) .2s, transform .7s cubic-bezier(.2, .7, .15, 1) .2s; }
.ph-pay i { display: inline-block; width: .19em; height: .19em; background: #087a8e; opacity: 0; transition: opacity .25s linear .2s; flex: none; }
.ph-hero.done h1 { opacity: 0; }
.ph-hero.done .ph-pay, .ph-hero.done .ph-pay i { opacity: 1; transform: none; }

.ph-swap { position: relative; margin-top: calc(var(--gap) * 1.1); transition: transform .8s cubic-bezier(.3, .6, .25, 1); }
.ph-hero.done .ph-swap { transform: translateY(calc(-1 * var(--lift, 0px))); }
html.ph-a .ph-act, html.ph-a .ph-log, html.ph-b .ph-act, html.ph-b .ph-log { will-change: opacity; }
.ph-act { position: absolute; left: 0; right: 0; top: 0; z-index: 1; }
.ph-sub { margin: 0; font: 400 var(--fs-s)/1.42 var(--sans); letter-spacing: -.005em; color: rgba(247, 249, 251, .74); text-wrap: pretty; max-width: 30em; }
.ph-hero .btn { margin-top: calc(var(--gap) * 1.15); background: #f7f9fb; color: #0e151e; }
.ph-hero .btn > i { border-left-color: rgba(14, 21, 30, .18); }
.ph-cue { display: flex; align-items: center; gap: 10px; margin: calc(var(--gap) * 1.1) 0 0; font: 500 12px/1 var(--mono); letter-spacing: .14em;
  text-transform: uppercase; color: rgba(247, 249, 251, .62); }
.ph-cue i { display: inline-block; width: 22px; height: 1px; background: rgba(247, 249, 251, .5); }
html.ph-b .ph-cue { display: none; }

.ph-log { margin: 0; padding: 0; list-style: none; font-size: var(--fs-l); }
html.ph-a .ph-log, html.ph-b .ph-log { opacity: 0; }
.ph-log li { position: relative; display: grid; grid-template-columns: 3.15em 1fr; column-gap: .95em; align-items: baseline; padding: .2em 0 .26em; }
.ph-log .tm { font: 400 max(12px, .84em)/1.35 var(--mono); letter-spacing: .02em; color: var(--tc, #98a2ae); transition: color .1s linear; }
.ph-log .mk { position: absolute; left: calc(3.15em + .36em); top: .98em; width: 5px; height: 5px; margin-top: -2.5px; background: transparent; }
.ph-log li.f .mk { background: var(--mc, #087a8e); }
.ph-log li.ld .mk { width: 8px; height: 8px; margin: -4px 0 0 -1.5px; background: var(--lc, #6ac7dc); }
.ph-log .tx, .ph-log .txb { grid-column: 2; grid-row: 1; font: 400 1em/1.3 var(--sans); letter-spacing: -.008em; color: #f7f9fb; text-wrap: balance; }
.ph-log .tm { grid-column: 1; grid-row: 1; }
.ph-log .tx { opacity: 0; transition: opacity .1s linear, color .1s linear; }
.ph-log .txb { opacity: .2; filter: blur(3.5px); will-change: opacity; transition: opacity .1s linear; pointer-events: none; }
.ph-log li.f .tx { opacity: 1; }
.ph-log li.f .txb { opacity: 0; }
.ph-log li.ld .tx { color: var(--lc, #6ac7dc); }
.ph-hero .ph-btn2 { visibility: hidden; opacity: 0; transform: translateY(8px); margin-top: calc(var(--gap) * 1.1);
  transition: opacity .45s cubic-bezier(.3, .6, .3, 1) .25s, transform .7s cubic-bezier(.2, .7, .15, 1) .25s, visibility 0s linear .7s; }
.ph-hero.done .ph-btn2 { visibility: visible; opacity: 1; transform: none; transition-delay: .25s, .25s, 0s; }
html.ph-open .ph-lab, html.ph-open .ph-clock, html.ph-open .ph-mid, html.ph-open .ph-act { animation: phIn .62s cubic-bezier(.3, .55, .35, 1) both; }
html.ph-open .ph-lab { animation-delay: .05s; } html.ph-open .ph-clock { animation-delay: .1s; } html.ph-open .ph-mid { animation-delay: .16s; } html.ph-open .ph-act { animation-delay: .26s; }
@keyframes phIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

html.ph-rm.ph-a .ph-track { height: auto; }
html.ph-flow .ph-stage { height: auto; min-height: 100lvh; contain: none; overflow: visible;
  background-size: 100% 100lvh; background-color: #0b0f15; }
html.ph-flow .ph-room { position: absolute; inset: 0 0 auto 0; height: 100lvh; overflow: hidden; }
html.ph-flow .ph-col { position: relative; left: auto; right: auto; top: auto; margin: 0 var(--gx); padding: calc(var(--sill) + var(--gap)) 0 clamp(40px, 8svh, 80px); }
html.ph-flow .ph-act { display: none; }
html.ph-flow .ph-hero h1 { opacity: 1 !important; }
html.ph-flow .ph-pay { position: relative; margin-top: calc(var(--gap) * 1.2); opacity: 1; transform: none; white-space: normal; text-wrap: balance; display: block; }
html.ph-flow .ph-hero h1 .ln { display: inline; }
html.ph-flow .ph-hero h1 { text-wrap: balance; }
html.ph-flow .ph-room::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11, 15, 21, 0) 40%, rgba(11, 15, 21, .82) 74%, #0b0f15 100%); }
html.ph-flow .ph-swap { transform: none !important; }
html.ph-flow .ph-mid { min-height: 0; }
html.ph-rm.ph-a .ph-scroller { height: auto; overflow: visible; }
html.ph-rm.ph-a .ph-stage { position: relative; }
html.ph-rm .ph-swap, html.ph-rm .ph-log .tx, html.ph-rm .ph-pay, html.ph-rm .ph-pay i, html.ph-rm .ph-hero h1, html.ph-rm .ph-btn2, html.ph-rm .ph-act, html.ph-rm .ph-log { transition: none !important; }
html.ph-rm .ph-cue { display: none; }

@media (orientation: landscape) and (max-height: 520px) {
  .ph-hero { --ar: .74667; --fs-h: clamp(24px, 6svh + .8vw, 34px); --fs-c: clamp(36px, 10svh, 52px); --fs-l: 12px; --gap: 7px;
    --pT: calc(var(--head, 64px) + 46px - .29 * var(--pH)); }
  .ph-log li { padding: .12em 0 .16em; }
  .ph-col { max-width: none; display: grid; grid-template-columns: 1fr 1.05fr; column-gap: 32px; align-items: start; }
  .ph-lab { grid-column: 2; grid-row: 1; }
  .ph-clock { grid-column: 2; grid-row: 2; }
  .ph-mid { grid-column: 1; grid-row: 1 / span 2; margin-top: 0; }
  .ph-swap { display: contents; }
  .ph-act { grid-column: 1; grid-row: 3; position: static !important; opacity: 1 !important; visibility: visible !important; }
  .ph-log { grid-column: 2; grid-row: 3; margin-top: calc(var(--gap) * 1.2); opacity: 1 !important; }
  .ph-hero .btn { margin-top: 4px; }
  .ph-sub, .ph-cue, .ph-btn2 { display: none !important; }
  html.ph-flow .ph-hero { --fs-l: clamp(13px, 3.4vw, 18px); }
  html.ph-flow .ph-col { display: block; }
  html.ph-flow .ph-mid { margin-top: calc(var(--gap) * 1.6); }
  html.ph-flow .ph-log { margin-top: calc(var(--gap) * 2.2); }
  html.ph-flow .ph-hero .ph-btn2 { display: inline-flex !important; margin-top: calc(var(--gap) * 2.6); }
}

html.ph body.page-home .mini-scr, html.ph body.page-home .ring3, html.ph body.page-home .pair3,
html.ph body.page-home .jobs-sec .job3__pic img { will-change: transform; }

html.ph-wide .ph-hero { --ar: 1.77778; --fs-l: 20px; }
html.ph-wide .ph-pic { width: max(100vw, calc(100lvh * 1.77778)); height: calc(max(100vw, calc(100lvh * 1.77778)) / 1.77778);
  left: calc((100vw - max(100vw, calc(100lvh * 1.77778))) * .5); top: 0; }
html.ph-wide .ph-col { position: absolute; left: 0; right: auto; top: 0; width: 1920px; height: 1080px; max-width: none; transform-origin: 0 0;
  transform: translate(var(--wx, 0px), var(--wy, 0px)) scale(var(--ws, .6)); }
html.ph-wide .ph-lab { position: absolute; left: 1188px; top: 258px; height: 13px; font-size: max(13px, calc(12px / var(--ws, .6))); gap: 10px; width: 612px; }
html.ph-wide .ph-lab i { width: 8px; height: 8px; }
html.ph-wide .ph-pause { font-size: max(13px, calc(12px / var(--ws, .6))); }
html.ph-wide .ph-clock { position: absolute; left: 1188px; top: 293px; margin: 0; font-size: 150px; }
html.ph-wide .ph-mid { position: static; margin: 0; }
html.ph-wide .ph-hero h1 { position: absolute; left: 120px; top: 276px; font-size: 94px; white-space: nowrap; }
html.ph-wide .ph-hero.done h1 { opacity: 1; }
html.ph-wide .ph-hero.done .ph-pay { transition-delay: 0s, 0s; }
html.ph-wide .ph-pay { left: 118px; top: 108px; font-size: 105px; gap: 20px; }
html.ph-wide .ph-pay i { width: 18px; height: 18px; }
html.ph-wide .ph-swap { position: static; margin: 0; transform: none !important; }
html.ph-wide .ph-act { position: static !important; opacity: 1 !important; visibility: visible !important; }
html.ph-wide .ph-sub { position: absolute; left: 122px; top: 624px; width: 720px; max-width: none; font-size: 25px; line-height: 1.5; }
html.ph-wide .ph-hero .btn { position: absolute; left: 122px; top: 748px; margin: 0; height: 64px; font-size: 20px; }
html.ph-wide .ph-hero .btn > span { padding: 0 28px; }
html.ph-wide .ph-hero .btn > i { width: 62px; }
html.ph-wide .ph-cue { position: absolute; left: 122px; top: 1004px; margin: 0; font-size: max(12px, calc(12px / var(--ws, .6))); }
html.ph-wide .ph-log { position: absolute; left: 1188px; top: 477px; width: 672px; max-width: none; margin: 0; opacity: 1 !important; }
html.ph-wide .ph-log { --tmw: calc(max(15px, calc(12px / var(--ws, .6))) * 3.02); }
html.ph-wide .ph-log li { grid-template-columns: calc(var(--tmw) + 25px) 1fr; column-gap: 16px; height: 53px; padding: 0; align-content: center; }
html.ph-wide .ph-log .tm { font-size: max(15px, calc(12px / var(--ws, .6))); }
html.ph-wide .ph-log .mk { left: calc(var(--tmw) + 8px); top: 50%; }
html.ph-wide .ph-log li.ld .mk { width: 10px; height: 10px; margin: -5px 0 0 -2px; }
html.ph-wide .ph-log .tx, html.ph-wide .ph-log .txb { white-space: nowrap; }
html.ph-wide .ph-btn2 { display: none !important; }
