/* Scene: a website or portal we built (keys karunko and bmg). See website.js. */
.website { padding: 18px 16px 16px; font-family: var(--sans); }
.website.w-freeze, .website.w-freeze * { transition: none !important; }
.website svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.500; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.website-win { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.w-open .website-win { opacity: 1; transform: none; }
.website-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 12px; background: #F1EEEA; border-bottom: 1px solid #E2DDD6; }
.website-dots { display: flex; gap: 6px; }
.website-dots i { width: 9px; height: 9px; border-radius: 50%; background: #D5CFC7; }
.website-url { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 24px; margin-right: 42px; border-radius: 7px; background: #fff; border: 1px solid #E2DDD6; font: 500 11.5px/1 var(--mono); color: #4A443F; letter-spacing: -.01em; }
.website-url svg { width: 11px; height: 11px; color: #1F9D5B; }
.website-prog { height: 2px; background: #F1EEEA; }
.website-prog i { display: block; height: 100%; width: 0; background: var(--grad); transition: width 1.6s var(--ease), opacity .5s .2s; }
.w-go .website-prog i { width: 100%; }
.w-page .website-prog i { opacity: 0; }

/* the page image is 640 x 2200; --max is how far it can travel inside the window at any card width */
.website-view { position: relative; --vh: 300px; height: var(--vh); overflow: hidden; background: #FAF8F5; container-type: inline-size; }
.website-page { --max: calc(343.75cqw - var(--vh)); display: block; width: 100%; height: auto; opacity: 0; transform: translateY(0); transition: opacity .8s var(--ease), transform 1.7s cubic-bezier(.45,.05,.2,1); will-change: transform; }
.w-page .website-page { opacity: 1; }
.w-s1 .website-page { transform: translateY(calc(var(--max) * -.3)); }
.w-s2 .website-page { transform: translateY(calc(var(--max) * -.64)); }
.w-s3 .website-page { transform: translateY(calc(var(--max) * -1)); }
/* browsers without container units: travel by a share of the image height, safe at every card width */
@supports not (width: 1cqw) {
  .w-s1 .website-page { transform: translateY(-20%); }
  .w-s2 .website-page { transform: translateY(-42%); }
  .w-s3 .website-page { transform: translateY(-64%); }
}
.website-intro { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; background: #FAF8F5; transition: opacity .7s var(--ease); }
.w-page .website-intro { opacity: 0; pointer-events: none; }

/* Karunko: the old site against the new one */
.website-race { width: 100%; max-width: 380px; color: #1B1715; }
.website-lane { display: grid; grid-template-columns: 62px 1fr 64px; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 12.5px; font-weight: 500; }
.website-lane i { display: block; height: 10px; border-radius: 99px; background: #ECE7E0; overflow: hidden; }
.website-lane i b { display: block; height: 100%; width: 0; border-radius: 99px; }
.website-old b { background: #B9B1A8; transition: width 3s linear; }
.website-new b { background: var(--grad); transition: width .6s var(--ease); }
.w-go .website-old b { width: 20%; }
.w-go .website-new b { width: 100%; }
.website-lane em { font-style: normal; font-size: 11.5px; color: #8C847D; }
.website-done { display: inline-flex; align-items: center; gap: 4px; color: #1F9D5B !important; opacity: 0; transition: opacity .4s .55s; }
.website-done svg { stroke-width: 2; }
.w-go .website-done { opacity: 1; }
.website-x { margin-top: 22px; text-align: center; font-size: 15px; color: #4A443F; opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.website-x strong { font: 400 46px/1 var(--serif); font-style: italic; margin-right: 6px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 4px; }
.w-hit .website-x { opacity: 1; transform: none; }

/* BMG: a member signs in */
.website-login { width: 100%; max-width: 270px; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid #E8E2DA; box-shadow: 0 18px 40px -24px rgba(30,20,10,.35); color: #1B1715; }
.website-lh { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.website-lh svg { color: #14213D; }
.website-f { margin-bottom: 10px; }
.website-f small { display: block; margin-bottom: 4px; font-size: 10.5px; color: #8C847D; }
.website-f > div { display: flex; align-items: center; height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid #E2DDD6; font-size: 12.5px; color: #4A443F; }
.website-pw { gap: 5px; }
.website-pw u { width: 6px; height: 6px; border-radius: 50%; background: #4A443F; opacity: 0; transition: opacity .2s; }
.w-go .website-pw u { opacity: 1; }
.w-go .website-pw u:nth-child(1) { transition-delay: .1s; } .w-go .website-pw u:nth-child(2) { transition-delay: .25s; }
.w-go .website-pw u:nth-child(3) { transition-delay: .4s; } .w-go .website-pw u:nth-child(4) { transition-delay: .55s; }
.w-go .website-pw u:nth-child(5) { transition-delay: .7s; } .w-go .website-pw u:nth-child(6) { transition-delay: .85s; }
.w-go .website-pw u:nth-child(7) { transition-delay: 1s; } .w-go .website-pw u:nth-child(8) { transition-delay: 1.15s; }
.website-btn { position: relative; height: 34px; margin-top: 14px; border-radius: 9px; background: #14213D; color: #fff; font-size: 12.5px; font-weight: 600; overflow: hidden; transition: background .5s var(--ease); }
.website-btn span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.website-btn svg { stroke-width: 2; }
.website-b2 { opacity: 0; transform: translateY(8px); }
.w-hit .website-btn { background: #1F9D5B; }
.w-hit .website-b1 { opacity: 0; transform: translateY(-8px); }
.w-hit .website-b2 { opacity: 1; transform: none; }

.website-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.website-chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 99px; background: var(--ok-bg); color: var(--ok); font-size: 12.5px; font-weight: 500; white-space: nowrap; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.w-c1 .website-chip:nth-child(1), .w-c2 .website-chip:nth-child(2), .w-c3 .website-chip:nth-child(3) { opacity: 1; transform: none; }
.website-out { margin-top: 14px; text-align: center; font-size: 14.5px; letter-spacing: -.01em; color: var(--mute); opacity: 0; transform: translateY(8px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.website-out b { color: var(--ink); font-weight: 600; }
.w-out .website-out { opacity: 1; transform: none; }

@media (max-width: 600px) {
  .website { padding: 12px 8px 12px; }
  .website-view { --vh: 240px; }
  .website-url { margin-right: 0; font-size: 10.5px; }
  .website-lane { grid-template-columns: 52px 1fr 54px; gap: 8px; font-size: 11.5px; }
  .website-x strong { font-size: 38px; }
  .website-chip { height: 28px; padding: 0 10px; font-size: 11.5px; }
  .website-out { font-size: 13.5px; }
}
