.authority-main {
    position: relative;
}

.authority-main::before,
.authority-main::after {
    position: fixed;
    z-index: -2;
    width: min(760px, 70vw);
    height: min(760px, 70vw);
    border: 1px solid rgba(117, 214, 255, .08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.authority-main::before {
    top: -32vw;
    right: -25vw;
    box-shadow:
        0 0 0 8vw rgba(87, 190, 240, .018),
        0 0 0 17vw rgba(166, 94, 230, .018);
}

.authority-main::after {
    bottom: -38vw;
    left: -32vw;
    box-shadow:
        0 0 0 10vw rgba(166, 94, 230, .018),
        0 0 0 21vw rgba(87, 190, 240, .016);
}

.authority-rain {
    position: fixed;
    z-index: -3;
    inset: 0;
    overflow: hidden;
    opacity: .17;
    pointer-events: none;
}

.authority-rain span {
    position: absolute;
    top: -45vh;
    width: 150px;
    color: rgba(112, 211, 255, .52);
    font: 600 10px/2.15 ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: .09em;
    text-transform: uppercase;
    white-space: normal;
    animation: authority-rain 26s linear infinite;
}

.authority-rain span:nth-child(1) {
    left: 7%;
}

.authority-rain span:nth-child(2) {
    left: 28%;
    color: rgba(184, 105, 240, .45);
    animation-delay: -9s;
    animation-duration: 31s;
}

.authority-rain span:nth-child(3) {
    left: 52%;
    animation-delay: -17s;
    animation-duration: 28s;
}

.authority-rain span:nth-child(4) {
    left: 76%;
    color: rgba(184, 105, 240, .45);
    animation-delay: -4s;
    animation-duration: 34s;
}

.authority-rain span:nth-child(5) {
    left: 91%;
    animation-delay: -21s;
    animation-duration: 30s;
}

@keyframes authority-rain {
    to {
        transform: translateY(180vh);
    }
}

.authority-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, .48fr);
    gap: clamp(34px, 7vw, 90px);
    align-items: center;
}

.authority-hero__copy {
    min-width: 0;
}

.authority-orbit {
    position: relative;
    width: min(360px, 74vw);
    aspect-ratio: 1;
    justify-self: end;
    border: 1px solid rgba(120, 217, 255, .22);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(105, 211, 255, .18) 0 8%, transparent 9%),
        radial-gradient(circle, rgba(124, 92, 212, .12), rgba(7, 11, 24, .75) 63%);
    box-shadow:
        inset 0 0 70px rgba(104, 192, 246, .09),
        0 0 80px rgba(79, 154, 217, .08);
}

.authority-orbit::before,
.authority-orbit::after {
    position: absolute;
    border: 1px solid rgba(119, 216, 255, .28);
    border-radius: 50%;
    content: "";
}

.authority-orbit::before {
    inset: 18%;
    transform: rotate(22deg) scaleY(.52);
}

.authority-orbit::after {
    inset: 31%;
    border-color: rgba(178, 99, 239, .32);
    transform: rotate(-36deg) scaleY(.58);
}

.authority-orbit i {
    position: absolute;
    top: 17%;
    left: 73%;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #7cdcff;
    box-shadow: 0 0 24px #73d8ff;
    animation: authority-pulse 2.8s ease-in-out infinite;
}

.authority-orbit i:nth-child(2) {
    top: 70%;
    left: 19%;
    width: 9px;
    height: 9px;
    background: #b467ef;
    box-shadow: 0 0 22px #b467ef;
    animation-delay: -1.4s;
}

@keyframes authority-pulse {
    50% {
        opacity: .48;
        transform: scale(.7);
    }
}

.authority-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.authority-fact {
    min-height: 118px;
    padding: 22px;
    border: 1px solid rgba(126, 210, 251, .13);
    border-radius: 20px;
    background: rgba(14, 23, 42, .78);
}

.authority-fact strong {
    display: block;
    margin-bottom: 9px;
    color: #eefaff;
    font-size: 17px;
}

.authority-fact span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.authority-profile {
    position: relative;
    overflow: hidden;
}

.authority-profile::after {
    position: absolute;
    top: -70px;
    right: -70px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(120, 217, 255, .2);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(120, 217, 255, .025);
    content: "";
}

.authority-credential {
    display: grid;
    gap: 7px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(129, 208, 246, .1);
}

.authority-credential:last-child {
    border-bottom: 0;
}

.authority-credential small {
    color: var(--cyan);
    font: 700 10px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.authority-credential strong {
    color: #eaf7ff;
    font-size: 18px;
}

.authority-reference-list {
    display: grid;
    gap: 12px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.authority-reference-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid rgba(126, 210, 251, .12);
    border-radius: 16px;
    color: #c7d3e2;
    background: rgba(17, 27, 48, .65);
    text-decoration: none;
}

.authority-reference-list a::after {
    color: var(--cyan);
    content: "↗";
}

.authority-reference-list a:hover,
.authority-reference-list a:focus-visible {
    border-color: rgba(120, 217, 255, .38);
    color: #fff;
}

.authority-note {
    margin-top: 26px;
    padding: 18px 20px;
    border-left: 2px solid var(--violet);
    color: #98a5b8;
    background: rgba(158, 79, 204, .055);
    line-height: 1.7;
}

.authority-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
}

.authority-footer-links a:hover,
.authority-footer-links a:focus-visible {
    color: var(--cyan);
}

.company-social-link,
.footer-social-link,
.footer-linkedin {
    color: #8ed8ff;
}

.company-social-link span,
.footer-social-link span {
    display: inline-block;
    margin-left: .22em;
    transition: transform .2s ease;
}

.company-social-link:hover span,
.company-social-link:focus-visible span,
.footer-social-link:hover span,
.footer-social-link:focus-visible span {
    transform: translate(2px, -2px);
}

.home-experience {
    width: min(calc(100% - 48px), 1360px);
    margin: clamp(74px, 9vw, 132px) auto;
    padding: clamp(28px, 5vw, 64px);
    border: 1px solid rgba(126, 210, 251, .14);
    border-radius: clamp(26px, 4vw, 52px);
    background:
        radial-gradient(circle at 15% 20%, rgba(86, 201, 250, .1), transparent 34%),
        radial-gradient(circle at 85% 70%, rgba(172, 87, 226, .09), transparent 36%),
        rgba(8, 14, 29, .9);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .2);
}

.home-experience__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr);
    gap: 16px 40px;
    align-items: end;
    margin-bottom: clamp(30px, 4vw, 50px);
}

.home-experience__intro p {
    grid-column: 1 / -1;
    margin: 0;
    color: #7cdcff;
    font: 700 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: .16em;
}

.home-experience__intro h2 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font: 700 clamp(34px, 4.6vw, 68px)/.98 "Bai Jamjuree", sans-serif;
}

.home-experience__intro > a {
    justify-self: end;
    padding: 13px 22px;
    border: 1px solid rgba(126, 214, 255, .48);
    border-radius: 999px;
    color: #e8f8ff;
    text-decoration: none;
}

.home-experience__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-experience__grid a {
    display: grid;
    min-height: 168px;
    align-content: end;
    gap: 10px;
    padding: 26px;
    border: 1px solid rgba(126, 210, 251, .12);
    border-radius: 24px;
    background: rgba(15, 25, 45, .72);
    text-decoration: none;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.home-experience__grid a:hover,
.home-experience__grid a:focus-visible {
    border-color: rgba(126, 214, 255, .42);
    background: rgba(20, 34, 58, .9);
    transform: translateY(-4px);
}

.home-experience__grid strong {
    color: #f4fbff;
    font-size: clamp(20px, 2vw, 27px);
}

.home-experience__grid span {
    color: #94a2b6;
    font-size: 15px;
    line-height: 1.55;
}

@media (max-width: 1060px) {
    .authority-hero {
        grid-template-columns: 1fr;
    }

    .authority-orbit {
        width: min(300px, 70vw);
        justify-self: start;
    }
}

@media (max-width: 820px) {
    .authority-hero {
        padding-top: 76px;
    }

    .authority-hero h1 {
        font-size: clamp(40px, 12.5vw, 64px);
        overflow-wrap: anywhere;
    }

    .authority-facts {
        grid-template-columns: 1fr;
    }

    .authority-fact {
        min-height: 0;
    }

    .authority-footer-links {
        justify-content: center;
    }

    .home-experience {
        width: min(calc(100% - 28px), 1360px);
        padding: 28px 18px;
    }

    .home-experience__intro {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .home-experience__intro > a {
        justify-self: start;
    }

    .home-experience__grid {
        grid-template-columns: 1fr;
    }

    .home-experience__grid a {
        min-height: 132px;
    }
}

@media (max-width: 520px) {
    .authority-orbit {
        width: 220px;
    }

    .authority-rain span {
        width: 105px;
        font-size: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .authority-rain span,
    .authority-orbit i {
        animation: none;
    }
}
