/* Corporate website design — "the company headquarters" */

/* Night facade (hero) */
.cx-hero--facade .cx-hero__visual { width: min(100%, 470px, calc(var(--vhs) * 62)); }
.facade { position: relative; aspect-ratio: 5 / 6; }
.js .facade { opacity: 0; transform: translateY(30px); }
.is-ready .facade { opacity: 1; transform: none; transition: opacity 1.3s var(--ease-out) .2s, transform 1.6s var(--ease-out) .2s; }
.facade__sky { position: absolute; inset: 0; }
.facade__sky i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff6e8; opacity: .5; animation: twinkle 3.6s ease-in-out infinite; }
.facade__sky i:nth-child(1) { top: 6%; left: 10%; }
.facade__sky i:nth-child(2) { top: 14%; left: 86%; animation-delay: -1.2s; }
.facade__sky i:nth-child(3) { top: 3%; left: 64%; animation-delay: -2.4s; }
@keyframes twinkle { 50% { opacity: .1; } }
.facade__tower { position: absolute; top: 7%; bottom: 10%; left: 24%; right: 24%; display: flex; flex-direction: column; border-radius: 6px 6px 0 0; border: 1px solid rgba(255, 236, 214, .1); background: linear-gradient(90deg, #14100d, #1e1813 50%, #110d0b); box-shadow: 0 70px 120px -40px rgba(224, 169, 95, .38), inset 0 0 0 1px rgba(0, 0, 0, .4); }
.facade__crown { display: flex; align-items: center; justify-content: center; gap: 8px; height: 12%; border-bottom: 1px solid rgba(255, 236, 214, .1); background: linear-gradient(180deg, #241b14, #15110e); direction: ltr; }
.facade__crown svg { width: 26px; height: 26px; filter: drop-shadow(0 0 10px rgba(224, 169, 95, .8)); }
.facade__crown .mono { font-size: 11px; letter-spacing: .24em; color: var(--gold-l); text-shadow: 0 0 10px rgba(224, 169, 95, .7); }
.facade__glass { flex: 1; display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 5px; padding: 10px; direction: ltr; }
.facade__glass i { border-radius: 2px; border: 1px solid rgba(255, 236, 214, .04); background: rgba(90, 167, 178, .08); animation: winon 12s steps(1) var(--t) infinite; }
.facade__glass i.is-on { background: linear-gradient(180deg, rgba(243, 194, 122, .9), rgba(224, 169, 95, .45)); box-shadow: 0 0 10px rgba(243, 194, 122, .45); animation: winflick 10s steps(1) var(--t) infinite; }
@keyframes winon { 0%, 80% { background: rgba(90, 167, 178, .08); box-shadow: none; } 84%, 96% { background: rgba(243, 194, 122, .72); box-shadow: 0 0 10px rgba(243, 194, 122, .4); } }
@keyframes winflick { 0%, 70% { opacity: 1; } 74%, 90% { opacity: .12; } }
.facade__lobby { display: flex; justify-content: center; gap: 4px; height: 12%; padding-top: 8px; border-top: 1px solid rgba(255, 236, 214, .12); background: linear-gradient(180deg, rgba(243, 194, 122, .2), rgba(243, 194, 122, .04)); }
.facade__door { width: 16%; height: 100%; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, rgba(255, 226, 180, .65), rgba(243, 194, 122, .2)); box-shadow: 0 0 22px rgba(243, 194, 122, .45); }
.facade__floors { position: absolute; top: 22%; bottom: 25%; right: 0; display: flex; flex-direction: column; justify-content: space-between; width: 22%; }
.facade__floors span { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--text-2); white-space: nowrap; }
.facade__floors b { padding: 2px 5px; border-radius: 4px; border: 1px solid rgba(224, 169, 95, .35); font-size: 8.5px; letter-spacing: .1em; color: var(--gold); }
.facade__ground { position: absolute; left: 6%; right: 6%; bottom: 7%; height: 4%; background: radial-gradient(closest-side, rgba(224, 169, 95, .4), transparent); filter: blur(6px); }

/* Lobby directory (site architecture as floors) */
.lobby { position: relative; padding: 18px; padding-left: 62px; border-radius: 20px; border: 1px solid rgba(224, 169, 95, .3); background: linear-gradient(180deg, #1a1511, #0f0c0a); box-shadow: inset 0 0 0 6px rgba(255, 236, 214, .02), 0 50px 90px -50px rgba(0, 0, 0, .9); }
.lobby__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; padding: 4px 4px 14px; border-bottom: 1px solid rgba(224, 169, 95, .25); }
.lobby__plate { font-size: 11px; letter-spacing: .22em; color: var(--gold-l); }
.lobby__lift { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: #0a0807; color: #ff9a6e; }
.lobby__arrow { font-style: normal; display: grid; }
.lobby__arrow .ico { width: 14px; height: 14px; transform: rotate(180deg); animation: pulse 1.4s ease-in-out infinite; }
.lobby__digits { display: block; height: 1.3em; overflow: hidden; font-size: 15px; line-height: 1.3; color: #ffb38a; text-shadow: 0 0 8px rgba(255, 120, 80, .6); }
.lobby__digits span { display: grid; animation: digits 10s var(--ease-cine) infinite; }
.lobby__digits i { font-style: normal; height: 1.3em; }
@keyframes digits { 0%, 14% { transform: translateY(0); } 20%, 34% { transform: translateY(-1.3em); } 40%, 54% { transform: translateY(-2.6em); } 60%, 74% { transform: translateY(-3.9em); } 80%, 94% { transform: translateY(-5.2em); } 100% { transform: translateY(0); } }
.lobby__floors { display: grid; gap: 4px; }
.lobby__floor { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; border: 1px solid transparent; animation: floorLit 10s steps(1) calc((var(--f) - 1) * 2s) infinite; }
@keyframes floorLit { 0% { border-color: rgba(224, 169, 95, .45); background: rgba(224, 169, 95, .1); } 20%, 100% { border-color: transparent; background: transparent; } }
.lobby__num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: #0a0807; font-size: 18px; font-weight: 900; color: var(--gold-l); }
.lobby__txt h3 { font-size: 16.5px; font-weight: 900; line-height: 1.5; }
.lobby__txt p { margin-top: 2px; color: var(--text-2); font-size: 13.5px; line-height: 1.8; }
.lobby__code { font-size: 9.5px; letter-spacing: .16em; color: var(--muted); }
.lobby__shaft { position: absolute; top: 66px; bottom: 18px; left: 18px; width: 26px; border-radius: 8px; border: 1px solid var(--line-2); background: repeating-linear-gradient(180deg, rgba(255, 236, 214, .06) 0 1px, transparent 1px 12px), #0a0807; }
.lobby__car { position: absolute; left: 3px; right: 3px; bottom: 2%; height: 17%; border-radius: 5px; background: linear-gradient(180deg, #f3c27a, #d26a4e); box-shadow: 0 0 14px rgba(224, 169, 95, .6); animation: lift 10s var(--ease-cine) infinite; }
@keyframes lift { 0%, 14% { bottom: 2%; } 20%, 34% { bottom: 21%; } 40%, 54% { bottom: 40%; } 60%, 74% { bottom: 60%; } 80%, 94% { bottom: 80%; } 100% { bottom: 2%; } }

/* Migration crates */
.crates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.crates > li { display: flex; }
.crate__box { position: relative; flex: 1; padding: 30px 24px 54px; border-radius: 8px; color: #2b1d12; background: repeating-linear-gradient(90deg, rgba(120, 80, 40, .06) 0 2px, transparent 2px 7px), linear-gradient(180deg, #caa274, #b68b5c); box-shadow: inset 0 0 0 1px rgba(60, 35, 15, .25), inset 0 -12px 30px rgba(80, 45, 20, .28), 0 30px 50px -25px rgba(0, 0, 0, .85); rotate: -1.2deg; transition: rotate .5s var(--ease-out), translate .5s var(--ease-out); }
.crates > li:nth-child(2) .crate__box { rotate: .9deg; }
.crates > li:nth-child(3) .crate__box { rotate: -.5deg; }
.crate__box:hover { rotate: 0deg; translate: 0 -6px; }
.crate__tape { position: absolute; top: 0; left: 0; right: 0; height: 20px; background: linear-gradient(180deg, rgba(246, 228, 192, .7), rgba(230, 205, 160, .55)); box-shadow: 0 1px 0 rgba(60, 35, 15, .2); }
.crate__stamp { position: absolute; top: 34px; left: 18px; padding: 3px 10px; border: 2px solid rgba(159, 40, 30, .65); border-radius: 4px; color: rgba(159, 40, 30, .8); font-size: 11px; letter-spacing: .16em; rotate: -8deg; }
.crate__label { display: grid; gap: 4px; margin-top: 24px; font-size: 19px; font-weight: 900; }
.crate__label .mono { font-size: 10px; letter-spacing: .14em; color: rgba(43, 29, 18, .6); }
.crate__box > p:not(.crate__label) { margin-top: 8px; color: #3a281a; font-size: 14.5px; font-weight: 600; line-height: 1.95; }
.crate__arrows { position: absolute; bottom: 16px; left: 18px; display: flex; gap: 6px; }
.crate__arrows i { width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 12px solid rgba(43, 29, 18, .55); }
.crate__fragile { position: absolute; bottom: 16px; right: 18px; font-size: 9px; letter-spacing: .14em; color: rgba(43, 29, 18, .6); }

/* Handover key ring */
.keys { position: relative; padding-top: 10px; }
.keys__ring { position: absolute; top: -14px; right: 26px; width: 54px; height: 54px; border-radius: 50%; border: 5px solid #caa274; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4), 0 6px 14px rgba(0, 0, 0, .5); }
.keys__list { display: grid; gap: 14px; }
.key { display: grid; grid-template-columns: 96px 1fr; align-items: center; }
.key__metal { position: relative; height: 34px; transition: transform .5s var(--ease-out); transform-origin: right center; }
.key__metal::before { content: ""; position: absolute; top: 0; right: 0; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle, #0a0807 0 6px, transparent 6.5px), linear-gradient(160deg, #f0d29e, #b58a52); box-shadow: 0 4px 8px rgba(0, 0, 0, .5); }
.key__metal i { position: absolute; top: 13px; right: 30px; left: 4px; height: 8px; background: linear-gradient(180deg, #ecca94, #b0844c); clip-path: polygon(0 0, 100% 0, 100% 100%, 34% 100%, 30% 160%, 24% 100%, 18% 100%, 14% 160%, 8% 100%, 0 100%); }
.key:hover .key__metal { transform: rotate(-14deg); }
.key__tag { position: relative; padding: 14px 18px; padding-inline-start: 32px; border-radius: 12px; border: 1px solid rgba(224, 169, 95, .3); background: var(--panel); }
.key__tag::before { content: ""; position: absolute; top: 50%; inset-inline-start: 11px; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #0a0807; box-shadow: inset 0 0 0 1px rgba(224, 169, 95, .45); }
.key__no { font-size: 10px; letter-spacing: .14em; color: var(--gold); }
.key__tag h3 { margin-top: 4px; font-size: 16.5px; font-weight: 900; line-height: 1.6; }
.key__tag p { margin-top: 4px; color: var(--text-2); font-size: 14px; line-height: 1.9; }

/* Wayfinding signs */
.signs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sign { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 20px 16px; border-radius: 10px; background: linear-gradient(180deg, #f0bd6a, #e0a95f); color: #1a0d08; font-size: 16px; font-weight: 900; line-height: 1.5; box-shadow: 0 20px 40px -24px rgba(224, 169, 95, .6), inset 0 -3px 0 rgba(0, 0, 0, .15); transition: transform .4s var(--ease-out), filter .3s; }
.sign:hover, .sign:focus-visible { transform: translateY(-4px); filter: brightness(1.06); }
.sign__picto { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: #1a0d08; color: var(--gold-l); }
.sign__arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(26, 13, 8, .12); transition: transform .4s var(--ease-out); }
.sign:hover .sign__arrow { transform: translateX(-4px); }
.sign__code { position: absolute; top: 6px; inset-inline-end: 10px; font-size: 8.5px; letter-spacing: .14em; color: rgba(26, 13, 8, .55); }

/* CTA visual: visitor pass */
.cta__visual--visitor { justify-items: center; }
.visitor { position: relative; width: min(100%, 320px); rotate: -4deg; transform-origin: 50% 0; animation: badgeSwing 6s ease-in-out infinite; }
@keyframes badgeSwing { 50% { rotate: -1deg; } }
.visitor__clip { position: relative; z-index: 1; display: block; width: 64px; height: 26px; margin: 0 auto -6px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #8a8f96, #4a4e54); box-shadow: 0 4px 10px rgba(0, 0, 0, .5); }
.visitor__card { padding: 22px 22px 18px; border-top: 10px solid var(--terra); border-radius: 18px; background: #f6efe4; color: #1d150f; box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .9); }
.visitor__top { display: flex; align-items: center; justify-content: space-between; direction: ltr; }
.visitor__top svg { width: 34px; height: 34px; }
.visitor__top .mono { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: #9f4d3e; }
.visitor__name { margin-top: 16px; font-size: 24px; font-weight: 900; }
.visitor__rows { display: grid; gap: 10px; margin-top: 14px; }
.visitor__rows li { display: grid; gap: 6px; }
.visitor__rows small { font-size: 12px; color: #7d6450; }
.visitor__rows i { display: block; border-bottom: 1px dashed rgba(29, 21, 15, .3); }
.visitor__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 12px; border-top: 1px dashed rgba(29, 21, 15, .25); font-size: 9.5px; letter-spacing: .14em; color: #7d6450; direction: ltr; }
.visitor__bar { width: 90px; height: 26px; background: repeating-linear-gradient(90deg, #1d150f 0 2px, transparent 2px 4px, #1d150f 4px 5px, transparent 5px 8px); }

@media (max-width: 1100px) {
	.cx-hero--facade .cx-hero__visual { position: relative; top: auto; left: auto; z-index: 1; width: min(100%, 420px); margin: 34px auto 0; opacity: 1; pointer-events: auto; }
	.crates { grid-template-columns: 1fr; max-width: 560px; }
	.signs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.cx-hero--facade .cx-hero__visual { left: auto; top: auto; width: 100%; opacity: 1; }
	.facade__floors span { font-size: 10.5px; }
	.lobby { padding-left: 52px; }
	.lobby__floor { grid-template-columns: 40px 1fr; }
	.lobby__code { display: none; }
	.lobby__num { width: 40px; height: 40px; font-size: 16px; }
	.key { grid-template-columns: 70px 1fr; }
	.signs { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.facade__sky i, .facade__glass i, .lobby__arrow .ico, .lobby__digits span, .lobby__floor, .lobby__car, .visitor { animation: none; }
}
