/* Shared inner-page content. Site header, navigation, dialogs and footer remain common. */
.company-page {
    background: #fff;
    color: #333
}

.company-container {
    width: calc(1720 * var(--u));
    margin-inline: auto
}

.company-title {
    font-size: calc(44 * var(--u));
    line-height: calc(66 * var(--u));
    font-weight: 500
}

.company-banner {
    height: calc(991 * var(--u));
    background: #151a24
}

.join-banner {
    height: calc(989 * var(--u))
}

.company-banner-copy {
    position: absolute;
    left: calc(100 * var(--u));
    top: 0
}

.join-banner .company-banner-copy {
    left: calc(138 * var(--u))
}

.company-outline {
    position: absolute;
    top: calc(356 * var(--u));
    left: calc(-7 * var(--u));
    font-size: calc(150 * var(--u));
    line-height: calc(150 * var(--u));
    font-weight: 500;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px #ffffff18;
    text-transform: uppercase
}

.company-banner h1 {
    position: absolute;
    top: calc(462 * var(--u));
    left: calc(4 * var(--u));
    font-size: calc(50 * var(--u));
    line-height: calc(78 * var(--u));
    font-weight: 500;
    white-space: nowrap
}

.company-banner-intro {
    position: absolute;
    top: calc(582 * var(--u));
    left: 0;
    font-size: calc(22 * var(--u));
    line-height: calc(36 * var(--u));
    white-space: nowrap
}

.company-section-nav {
    height: calc(103 * var(--u));
    background: white;
    border-bottom: 1px solid #eee
}

.company-section-nav .company-container {
    gap: calc(93 * var(--u));
    height: 100%
}

.company-section-nav a {
    display: flex;
    align-items: center;
    position: relative;
    font-size: calc(18 * var(--u));
    border-bottom: calc(4 * var(--u)) solid transparent
}

.company-section-nav a[aria-current] {
    color: #a30b40;
    border-bottom-color: #a30b40
}

.company-page section[id] {
    scroll-margin-top: 110px
}
 
.environment-section {
    height: calc(878 * var(--u));
    padding-top: calc(88 * var(--u))
}

.environment-gallery {
    position: relative;
    margin-top: calc(76 * var(--u));
    height: calc(560 * var(--u))
}

.environment-gallery figure {
    margin: 0;
    position: absolute
}

.environment-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(22 * var(--u))
}

.environment-current {
    left: calc(603 * var(--u));
    top: 0;
    width: calc(742 * var(--u));
    height: calc(452 * var(--u))
}

.environment-side {
    top: calc(59 * var(--u));
    width: calc(478 * var(--u));
    height: calc(334 * var(--u))
}

.environment-side-left {
    left: calc(-60 * var(--u))
}

.environment-side-right {
    left: calc(1496 * var(--u))
}

.environment-side-left img {
    object-position: right center
}

.environment-side-right img {
    object-position: left center
}

.environment-gallery figcaption {
    text-align: center;
    margin-top: calc(40 * var(--u));
    font-size: calc(24 * var(--u));
    line-height: calc(36 * var(--u))
}

.environment-side-left figcaption {
    text-align: left;
    padding-left: calc(156 * var(--u))
}

.environment-side-right figcaption {
    text-align: left;
    padding-left: calc(219 * var(--u))
}

.environment-arrow {
    position: absolute;
    top: calc(196 * var(--u));
    width: calc(61 * var(--u));
    height: calc(61 * var(--u));
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 16px #00000009;
    color: #999;
    display: grid;
    place-items: center;
    transition: background .2s, color .2s
}

.environment-arrow:hover {
    background: #a30b40;
    color: #fff
}

.environment-arrow svg {
    width: calc(26 * var(--u));
    height: calc(26 * var(--u))
}

.environment-prev {
    left: calc(485 * var(--u))
}

.environment-next {
    left: calc(1394 * var(--u))
}

.growth-section {
    height: calc(1115 * var(--u));
    padding-top: calc(88 * var(--u));
    background: #555 url('../image/company/growth-bg.jpg') center/cover
}

.growth-grid {
    gap: calc(123 * var(--u));
    margin-top: calc(45 * var(--u))
}

.growth-card {
    margin: 0;
    position: relative
}

.growth-card img {
    height: calc(564 * var(--u));
    border-radius: calc(22 * var(--u))
}

.growth-card-1 {
    top: calc(62 * var(--u))
}

.growth-card-2 {
    top: calc(152 * var(--u))
}

.growth-card figcaption {
    margin-top: calc(52 * var(--u));
    padding-left: calc(26 * var(--u));
    font-size: calc(26 * var(--u));
    line-height: calc(39 * var(--u))
}

.growth-card-3 figcaption {
    padding-left: calc(11 * var(--u))
}

.opportunities-section {
    padding-top: calc(88 * var(--u));
    padding-bottom: calc(139 * var(--u));
    min-height: calc(1378 * var(--u))
}

.opportunities-layout {
    grid-template-columns: calc(802 * var(--u)) minmax(0, 1fr);
    margin-top: calc(80 * var(--u))
}

.recruitment-intro h3 {
    font-size: calc(30 * var(--u));
    line-height: calc(45 * var(--u));
    font-weight: 500
}

.recruitment-tabs {
    flex-direction: column;
    align-items: flex-start;
    gap: calc(33 * var(--u));
    margin-top: calc(50 * var(--u))
}

.recruitment-tabs button {
    width: calc(187 * var(--u));
    height: calc(62 * var(--u));
    border-radius: 999px;
    background: #f6f6f6;
    color: #333;
    font-size: calc(20 * var(--u));
    line-height: 1.5
}

.recruitment-tabs button[aria-selected=true] {
    background: #a30b40;
    color: #fff
}

.join-wordmark {
    margin-top: calc(87 * var(--u));
    color: #ededed;
    font-size: calc(200 * var(--u));
    line-height: 1.05;
    font-family: SourceHan, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    letter-spacing: calc(4 * var(--u))
}

.job-item {
    border-bottom: 1px solid #ddd
}

.job-item[open] {
    border-color: #a37b89
}

.job-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: calc(158 * var(--u));
    padding-top: calc(12 * var(--u));
    padding-bottom: calc(45 * var(--u));
    font-size: calc(26 * var(--u));
    line-height: calc(40 * var(--u));
    cursor: pointer
}

.job-item summary::-webkit-details-marker {
    display: none
}

.job-item:first-child summary {
    min-height: calc(58 * var(--u));
    padding-top: 0;
    padding-bottom: calc(20 * var(--u))
}

.job-item[open] summary {
    color: #a30b40
}

.job-item summary i {
    position: relative;
    width: calc(18 * var(--u));
    height: calc(18 * var(--u));
    flex: none
}

.job-item summary i::before,
.job-item summary i::after {
    content: '';
    position: absolute;
    background: currentColor;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px
}

.job-item summary i::after {
    transform: rotate(90deg)
}

.job-item[open] summary i::after {
    display: none
}

.job-description {
    font-size: calc(14 * var(--u));
    line-height: calc(38 * var(--u));
    margin: calc(12 * var(--u)) 0 calc(51 * var(--u));
    color: #666
}

.job-description>div {
    display: grid;
    width: 100%;
    /* grid-template-columns: calc(92 * var(--u)) minmax(0, 1fr) */
}

.job-description dt,
.job-description dd {
    margin: 0
}

.job-description .job-email {
    margin-top: calc(38 * var(--u))
}

.job-description a:hover,
.campus-note a:hover {
    color: #a30b40
}

.campus-note {
    padding: 20px 0;
    line-height: 2;
    color: #666;
    font-size: 18px
}

.campus-note h3 {
    font-size: 26px;
    color: #a30b40;
    margin-bottom: 20px
}

.campus-note a {
    display: block;
    margin-top: 10px
}

/* Contact form is native HTML with accessible labels and browser validation. */
.message-section {
    height: calc(1448 * var(--u));
    background: #f0f0f0;
    padding-top: calc(87 * var(--u))
}

.message-intro {
    font-size: calc(22 * var(--u));
    line-height: calc(43 * var(--u));
    margin-top: calc(23 * var(--u))
}

.contact-form {
    margin-top: calc(98 * var(--u))
}

.contact-form-row {
    grid-template-columns: calc(405 * var(--u)) minmax(0, 1fr);
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0
}

.contact-form-heading h3 {
    font-size: calc(34 * var(--u));
    line-height: calc(51 * var(--u));
    font-weight: 500
}

.contact-form-heading>p {
    font-size: calc(22 * var(--u));
    line-height: calc(44 * var(--u));
    margin-top: calc(20 * var(--u))
}

.contact-form-heading>p+p {
    margin-top: 0;
    max-width: calc(330 * var(--u))
}

.contact-fields {
    gap: calc(15 * var(--u)) calc(19 * var(--u))
}

.field-full {
    grid-column: 1/-1
}

.contact-fields label {
    min-width: 0
}

.contact-fields input,
.contact-request-fields textarea {
    width: 100%;
    height: calc(93 * var(--u));
    border: 1px solid transparent;
    border-radius: calc(14 * var(--u));
    background: #fff;
    color: #333;
    padding: calc(30 * var(--u)) calc(35 * var(--u));
    font: inherit;
    font-size: calc(18 * var(--u));
    line-height: calc(31 * var(--u));
    outline-offset: 3px
}

.contact-fields input::placeholder,
.contact-request-fields textarea::placeholder {
    color: #ccc;
    opacity: 1
}

.contact-fields input:focus,
.contact-request-fields textarea:focus {
    outline: 2px solid #a30b40
}

.form-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap
}

.contact-topics-row {
    margin-top: calc(74 * var(--u))
}

.contact-topic-options {
    width: calc(550 * var(--u));
    gap: calc(25 * var(--u)) 0;
    font-size: calc(18 * var(--u));
    line-height: calc(26 * var(--u))
}

.contact-topic-options label {
    display: flex;
    align-items: center;
    gap: calc(13 * var(--u));
    cursor: pointer
}

.contact-topic-options input {
    appearance: none;
    width: calc(21 * var(--u));
    height: calc(21 * var(--u));
    border: 1px solid #777;
    margin: 0;
    background: #fff;
    flex: none;
    display: grid;
    place-items: center;
    accent-color: #a30b40
}

.contact-topic-options input:checked {
    background: #a30b40;
    border-color: #a30b40
}

.contact-topic-options input:checked::after {
    content: '';
    width: 40%;
    height: 65%;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: translateY(-1px) rotate(45deg)
}

.contact-request-row {
    margin-top: calc(73 * var(--u))
}

.contact-request-fields textarea {
    height: calc(261 * var(--u));
    resize: vertical;
    min-height: 150px;
    display: block
}

.contact-submit {
    margin-top: calc(45 * var(--u));
    width: calc(239 * var(--u));
    height: calc(93 * var(--u));
    border-radius: calc(14 * var(--u));
    background: #a30b40;
    color: #fff;
    font-size: calc(24 * var(--u));
    transition: background .2s
}

.contact-submit:hover {
    background: #810d34
}

.contact-form-status {
    font-size: 14px;
    line-height: 1.8;
    margin-top: 16px;
    color: #a30b40
}

.contact-methods {
    height: calc(839 * var(--u));
    padding-top: calc(93 * var(--u));
    background: #06142d url('../image/company/contact-bg.jpg') center/cover
}

.contact-methods-intro {
    font-size: calc(22 * var(--u));
    line-height: calc(36 * var(--u));
    margin-top: calc(12 * var(--u))
}

.contact-card-grid {
    gap: calc(17 * var(--u));
    margin-top: calc(143 * var(--u))
}

.contact-info-card {
    background: #fff;
    color: #333;
    height: calc(341 * var(--u));
    border-radius: calc(12 * var(--u));
    padding: calc(40 * var(--u)) calc(46 * var(--u));
    min-width: 0
}

.contact-info-card>img {
    width: calc(53 * var(--u));
    height: calc(52 * var(--u))
}

.contact-info-card h3 {
    font-size: calc(18 * var(--u));
    line-height: calc(30 * var(--u));
    font-weight: 500;
    margin-top: calc(14 * var(--u))
}

.contact-info-card>p {
    font-size: calc(22 * var(--u));
    line-height: calc(36 * var(--u));
    margin-top: calc(42 * var(--u));
    white-space: nowrap
}

.contact-info-card:nth-child(3)>p {
    font-family: SourceHan, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: calc(23 * var(--u));
    letter-spacing: calc(-.4 * var(--u))
}

.contact-qr-pair {
    gap: calc(40 * var(--u));
    margin-top: calc(20 * var(--u))
}

.contact-qr-pair button {
    width: calc(112 * var(--u));
    flex: none
}

.contact-qr-pair img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain
}

.contact-qr-pair span {
    display: block;
    margin-top: calc(7 * var(--u));
    text-align: center;
    font-size: calc(16 * var(--u));
    white-space: nowrap
}

.contact-info-card a:hover {
    color: #a30b40
}

@media(min-width:1200px) {
    .contact-info-card:nth-child(4) {
        padding-left: calc(46 * var(--u));
        padding-right: calc(30 * var(--u))
    }
}

@media(max-width:1199px) {
    .company-container {
        width: 90%
    }

    .company-title {
        font-size: 32px;
        line-height: 1.5
    }

    .company-banner,
    .join-banner {
        height: 600px
    }

    .company-banner-copy,
    .join-banner .company-banner-copy {
        left: 5%
    }

    .company-outline {
        font-size: 100px;
        line-height: 1;
        top: 220px;
        left: -4px
    }

    .company-banner h1 {
        top: 285px;
        font-size: 36px;
        line-height: 1.6;
        left: 0
    }

    .company-banner-intro {
        top: 385px;
        font-size: 18px;
        line-height: 1.8
    }

    .company-section-nav {
        height: 76px
    }

    .company-section-nav .company-container {
        gap: 50px
    }

    .company-section-nav a {
        font-size: 16px;
        border-bottom-width: 3px
    }

    .environment-section {
        height: auto;
        padding-top: 60px;
        padding-bottom: 65px
    }

    .environment-gallery {
        height: 410px;
        margin-top: 40px
    }

    .environment-current {
        left: 22%;
        width: 56%;
        height: 300px
    }

    .environment-side {
        top: 35px;
        width: 28%;
        height: 230px
    }

    .environment-side-left {
        left: -12%
    }

    .environment-side-right {
        left: 84%
    }

    .environment-gallery img {
        border-radius: 16px
    }

    .environment-gallery figcaption {
        margin-top: 22px;
        font-size: 18px;
        line-height: 1.8
    }

    .environment-side figcaption {
        padding: 0;
        text-align: center
    }

    .environment-arrow {
        top: 128px;
        width: 44px;
        height: 44px
    }

    .environment-arrow svg {
        width: 24px;
        height: 24px
    }

    .environment-prev {
        left: 16.5%
    }

    .environment-next {
        left: auto;
        right: 16.5%
    }

    .growth-section {
        height: auto;
        min-height: 680px;
        padding: 60px 0 115px
    }

    .growth-grid {
        gap: 32px;
        margin-top: 45px
    }

    .growth-card img {
        height: 350px;
        border-radius: 16px
    }

    .growth-card-1 {
        top: 35px
    }

    .growth-card-2 {
        top: 80px
    }

    .growth-card figcaption {
        font-size: 20px;
        line-height: 1.8;
        margin-top: 25px;
        padding-left: 8px
    }

    .opportunities-section {
        padding: 60px 0 75px;
        min-height: 0
    }

    .opportunities-layout {
        grid-template-columns: 34% minmax(0, 1fr);
        margin-top: 45px;
        gap: 35px
    }

    .recruitment-intro h3 {
        font-size: 24px;
        line-height: 1.6
    }

    .recruitment-tabs {
        gap: 20px;
        margin-top: 30px
    }

    .recruitment-tabs button {
        width: 160px;
        height: 48px;
        font-size: 16px
    }

    .join-wordmark {
        font-size: 100px;
        line-height: 1.1;
        letter-spacing: 1px;
        margin-top: 60px
    }

    .job-item summary {
        min-height: 110px;
        padding: 28px 0;
        font-size: 23px;
        line-height: 1.6
    }

    .job-item:first-child summary {
        min-height: 50px;
        padding: 0 0 20px
    }

    .job-item summary i {
        width: 18px;
        height: 18px
    }

    .job-description {
        font-size: 14px;
        line-height: 2.2;
        margin: 10px 0 35px
    }

    .job-description>div {
        /* grid-template-columns: 85px minmax(0, 1fr) */
    }

    .job-description .job-email {
        margin-top: 24px
    }

    .message-section {
        height: auto;
        padding: 60px 0 80px
    }

    .message-intro {
        font-size: 18px;
        line-height: 1.9;
        margin-top: 20px
    }

    .contact-form {
        margin-top: 55px
    }

    .contact-form-row {
        grid-template-columns: 27% minmax(0, 1fr);
        gap: 25px
    }

    .contact-form-heading h3 {
        font-size: 24px;
        line-height: 1.6
    }

    .contact-form-heading>p {
        font-size: 15px;
        line-height: 1.9;
        margin-top: 15px
    }

    .contact-form-heading>p+p {
        max-width: none
    }

    .contact-fields {
        gap: 15px
    }

    .contact-fields input,
    .contact-request-fields textarea {
        height: 68px;
        padding: 20px 24px;
        border-radius: 12px;
        font-size: 16px;
        line-height: 1.7
    }

    .contact-topics-row,
    .contact-request-row {
        margin-top: 45px
    }

    .contact-topic-options {
        width: 100%;
        max-width: 550px;
        gap: 20px;
        font-size: 15px;
        line-height: 1.8
    }

    .contact-topic-options label {
        gap: 10px
    }

    .contact-topic-options input {
        width: 20px;
        height: 20px
    }

    .contact-request-fields textarea {
        height: 220px
    }

    .contact-submit {
        margin-top: 28px;
        width: 180px;
        height: 60px;
        border-radius: 12px;
        font-size: 20px
    }

    .contact-methods {
        height: auto;
        padding: 60px 0 80px
    }

    .contact-methods-intro {
        font-size: 18px;
        line-height: 1.9;
        margin-top: 15px
    }

    .contact-card-grid {
        gap: 20px;
        margin-top: 55px
    }

    .contact-info-card {
        height: 300px;
        padding: 30px;
        border-radius: 12px
    }

    .contact-info-card>img {
        width: 53px;
        height: 52px
    }

    .contact-info-card h3 {
        font-size: 16px;
        line-height: 1.8;
        margin-top: 12px
    }

    .contact-info-card>p {
        font-size: 20px;
        line-height: 1.8;
        margin-top: 30px
    }

    .contact-info-card:nth-child(3)>p {
        font-size: 21px;
        letter-spacing: -.4px
    }

    .contact-qr-pair {
        gap: 30px;
        margin-top: 18px
    }

    .contact-qr-pair button {
        width: 100px
    }

    .contact-qr-pair span {
        font-size: 14px;
        margin-top: 7px
    }
}

@media(max-width:767px) {
    .company-title {
        font-size: 27px
    }

    .company-banner,
    .join-banner {
        height: 470px
    }

    .company-banner>img {
        object-position: 60% center
    }

    .company-outline {
        font-size: 68px;
        top: 175px;
        letter-spacing: -1px
    }

    .join-banner .company-outline {
        font-size: 65px
    }

    .company-banner h1 {
        top: 220px;
        font-size: 30px
    }

    .company-banner-intro {
        top: 310px;
        font-size: 15px
    }

    .company-section-nav {
        height: 64px
    }

    .company-section-nav .company-container {
        gap: 0;
        justify-content: space-between
    }

    .company-section-nav a {
        font-size: 14px
    }

    .company-page section[id] {
        scroll-margin-top: 90px
    }

    .environment-section {
        padding-top: 45px;
        padding-bottom: 40px
    }

    .environment-gallery {
        height: 300px;
        margin-top: 30px
    }

    .environment-current {
        left: 10%;
        width: 80%;
        height: 220px
    }

    .environment-side {
        display: none
    }

    .environment-arrow {
        top: 96px;
        width: 40px;
        height: 40px;
        box-shadow: 0 2px 12px #0002
    }

    .environment-prev {
        left: 3%
    }

    .environment-next {
        right: 3%
    }

    .environment-gallery figcaption {
        font-size: 16px
    }

    .growth-section {
        padding: 45px 0 50px;
        min-height: 0
    }

    .growth-grid {
        gap: 35px;
        margin-top: 30px
    }

    .growth-card-1,
    .growth-card-2 {
        top: 0
    }

    .growth-card img {
        height: auto;
        aspect-ratio: 492/564;
        max-height: 480px
    }

    .growth-card figcaption {
        font-size: 20px;
        margin-top: 18px
    }

    .opportunities-section {
        padding: 45px 0 55px
    }

    .opportunities-layout {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-top: 30px
    }

    .recruitment-intro h3 {
        font-size: 22px
    }

    .recruitment-tabs {
        flex-direction: row;
        gap: 16px;
        margin-top: 22px
    }

    .recruitment-tabs button {
        width: 140px;
        height: 44px;
        font-size: 15px
    }

    .join-wordmark {
        display: none
    }

    .job-item summary {
        font-size: 20px;
        min-height: 90px;
        padding: 25px 0
    }

    .job-description>div {
        /* grid-template-columns: 80px minmax(0, 1fr) */
    }

    .campus-note {
        font-size: 15px
    }

    .message-section {
        padding: 45px 0 55px
    }

    .message-intro {
        font-size: 15px;
        margin-top: 15px
    }

    .contact-form {
        margin-top: 35px
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .contact-form-heading h3 {
        font-size: 22px
    }

    .contact-form-heading>p {
        font-size: 14px;
        margin-top: 8px
    }

    .contact-fields input {
        height: 58px;
        padding: 16px 18px;
        font-size: 15px
    }

    .contact-topics-row,
    .contact-request-row {
        margin-top: 32px
    }

    .contact-topic-options {
        gap: 17px;
        font-size: 14px;
        grid-template-columns: 1fr 1fr
    }

    .contact-topic-options label {
        gap: 8px;
        align-items: flex-start
    }

    .contact-topic-options input {
        margin-top: 2px;
        width: 18px;
        height: 18px
    }

    .contact-request-fields textarea {
        font-size: 15px;
        padding: 18px;
        height: 190px
    }

    .contact-submit {
        width: 150px;
        height: 54px;
        font-size: 18px;
        margin-top: 22px
    }

    .contact-methods {
        padding: 45px 0 55px
    }

    .contact-methods-intro {
        font-size: 15px
    }

    .contact-card-grid {
        gap: 18px;
        margin-top: 30px
    }

    .contact-info-card {
        height: auto;
        min-height: 230px;
        padding: 26px
    }

    .contact-info-card>p {
        white-space: normal;
        overflow-wrap: anywhere;
        margin-top: 24px
    }

    .contact-info-card:nth-child(3)>p {
        font-size: 19px
    }

    .contact-qr-card {
        min-height: 290px
    }

    .contact-qr-pair {
        gap: 26px
    }

    .contact-qr-pair button {
        width: 104px
    }
}

/* Font families and weights follow the PSD's text-layer settings. */
.company-outline,
.join-wordmark {
    font-family: SourceHan, 'PingFang SC', 'Microsoft YaHei', sans-serif
}

.join-page .company-title {
    font-weight: 500
}

.contact-page .company-title,
.contact-form-heading h3,
.recruitment-intro h3,
.job-item summary {
    font-weight: 500
}

.contact-info-card:first-child>p {
    font-family: SourceHan, 'PingFang SC', 'Microsoft YaHei', sans-serif
}

@media(min-width:1200px) {
    .environment-gallery {
        margin-top: calc(79 * var(--u))
    }

    .recruitment-intro h3 {
        font-size: calc(32 * var(--u))
    }

    .join-wordmark {
        font-size: calc(210 * var(--u));
        line-height: calc(212 * var(--u));
        letter-spacing: 0
    }

    .job-item summary {
        padding-top: calc(45 * var(--u));
        padding-bottom: calc(60 * var(--u))
    }

    .job-item:first-child summary {
        min-height: calc(73 * var(--u));
        padding-top: calc(14 * var(--u));
        padding-bottom: calc(19 * var(--u))
    }

    .job-description {
        font-size: calc(16 * var(--u));
        line-height: calc(40 * var(--u));
        margin: calc(8 * var(--u)) 0 calc(57 * var(--u))
    }

    .job-description .job-email {
        margin-top: calc(40 * var(--u))
    }

    .contact-topics-row {
        margin-top: calc(75 * var(--u))
    }

    .contact-request-row {
        margin-top: calc(70 * var(--u))
    }

    .contact-card-grid {
        margin-top: calc(144 * var(--u))
    }

    .contact-info-card:first-child>p,
    .contact-info-card:nth-child(3)>p {
        font-size: calc(24 * var(--u));
        letter-spacing: 0
    }

    .contact-info-card:nth-child(2)>p {
        font-size: calc(20 * var(--u))
    }

    .contact-form-heading>p+p {
        font-size: calc(18 * var(--u));
        max-width: none
    }
}

@media(min-width:1200px) {
    .job-item:nth-child(2):not([open]) summary {
        min-height: calc(149 * var(--u))
    }

    .job-item:nth-child(3):not([open]) summary,
    .job-item:nth-child(5):not([open]) summary {
        min-height: calc(156 * var(--u))
    }

    .job-item:nth-child(4):not([open]) summary {
        min-height: calc(161 * var(--u))
    }
}

/* Fine alignment from the PSD glyph bounds; shared header and footer are untouched. */
.company-outline,
.join-wordmark,
.contact-info-card:first-child>p,
.contact-info-card:nth-child(3)>p {
    font-kerning: none;
    font-feature-settings: "kern" 0
}

.company-outline {
    -webkit-text-stroke-color: #ffffff33
}

.company-banner h1 {
    font-weight: 500
}

.growth-card figcaption {
    font-weight: 400
}

.environment-arrow>img {
    width: 100%;
    height: 100%;
    border-radius: 50%
}

.environment-arrow:hover>img {
    opacity: .8
}

.job-item summary i {
    background: center/contain no-repeat url('../image/company/job-plus.png')
}

.job-item[open] summary i {
    background-image: url('../image/company/job-minus.png')
}

.job-item summary i::before,
.job-item summary i::after {
    display: none
}

.contact-info-card h3 {
    font-weight: 500
}

@media(min-width:1200px) {
    .company-outline {
        top: calc(363 * var(--u))
    }

    .join-banner .company-outline {
        left: calc(2 * var(--u))
    }

    .contact-banner .company-outline {
        left: calc(-12 * var(--u))
    }

    .company-banner h1 {
        top: calc(459 * var(--u))
    }

    .join-banner h1 {
        left: 0
    }

    .company-banner-intro {
        top: calc(583 * var(--u));
        left: calc(-1 * var(--u))
    }

    .company-section-nav a {
        font-weight: 400
    }

    .environment-current figcaption {
        position: relative;
        left: calc(-14 * var(--u));
        margin-top: calc(45 * var(--u))
    }

    .environment-side figcaption {
        margin-top: calc(36 * var(--u))
    }

    .environment-side-left figcaption {
        padding-left: calc(155 * var(--u))
    }

    .growth-grid {
        grid-template-columns: calc(492 * var(--u)) calc(492 * var(--u)) calc(492 * var(--u));
        column-gap: calc(123 * var(--u));
        margin-left: calc(1 * var(--u))
    }

    .growth-card-3 {
        left: calc(-2 * var(--u))
    }

    .growth-card figcaption {
        line-height: calc(43 * var(--u));
        margin-top: calc(48 * var(--u))
    }

    .growth-card-2 figcaption {
        padding-left: calc(27 * var(--u))
    }

    .growth-card-3 figcaption {
        margin-top: calc(48 * var(--u))
    }

    .recruitment-tabs {
        margin-top: calc(59 * var(--u))
    }

    .recruitment-tabs button[aria-selected=true],
    .contact-submit {
        background: #901039
    }

    .recruitment-tabs button {
        background: #f4f4f4
    }

    .job-item summary>span {
        position: relative;
        left: calc(2 * var(--u));
        top: calc(-1 * var(--u))
    }

    .job-description {
        position: relative;
        left: calc(3 * var(--u));
        top: calc(-2 * var(--u))
    }

    .job-description dt {
        font-weight: 400
    }

    .job-description>div {
        /* grid-template-columns: calc(91 * var(--u)) minmax(0, 1fr) */
    }

    .message-section>.company-container>.company-title {
        position: relative;
        top: calc(7 * var(--u));
        left: calc(1 * var(--u))
    }

    .message-intro {
        position: relative;
        top: calc(4 * var(--u));
        left: calc(-1 * var(--u))
    }

    .contact-form-heading h3 {
        position: relative;
        left: calc(2 * var(--u))
    }

    .contact-form-heading>p {
        position: relative;
        top: calc(-9 * var(--u))
    }

    .contact-form-heading>p+p {
        top: calc(-9 * var(--u))
    }

    .contact-topic-options {
        grid-template-columns: calc(250 * var(--u)) calc(250 * var(--u));
        width: calc(500 * var(--u));
        row-gap: calc(25 * var(--u))
    }

    .contact-topic-options input {
        background: transparent;
        border-color: #444
    }

    .contact-topic-options label {
        gap: calc(13 * var(--u))
    }

    .contact-request-fields textarea {
        resize: none
    }

    .contact-methods .company-title {
        position: relative;
        top: calc(5 * var(--u));
        left: calc(2 * var(--u))
    }

    .contact-card-grid {
        width: calc(1722 * var(--u));
        grid-template-columns: repeat(4, calc(417 * var(--u)));
        column-gap: calc(17 * var(--u))
    }

    .contact-info-card:last-child {
        position: relative;
        left: calc(3 * var(--u))
    }

    .contact-info-card h3 {
        position: relative;
        left: calc(3 * var(--u));
        top: calc(-7 * var(--u))
    }

    .contact-info-card:nth-child(3) h3 {
        left: calc(5 * var(--u))
    }

    .contact-info-card:last-child h3 {
        left: calc(4 * var(--u))
    }

    .contact-info-card>p {
        position: relative;
        left: calc(3 * var(--u));
        top: calc(-14 * var(--u))
    }

    .contact-qr-pair {
        position: relative;
        left: calc(3 * var(--u));
        top: calc(-13 * var(--u))
    }

    .contact-qr-pair button {
        width: calc(112 * var(--u))
    }

    .contact-qr-pair img {
        height: calc(113 * var(--u));
        aspect-ratio: 112/113
    }

    .contact-qr-pair span {
        margin-top: calc(7 * var(--u))
    }
}

.recruitment-tabs button[aria-selected=true],
.contact-submit {
    background: #8b1638
}

.job-item[open] summary {
    color: #8b1638
}

.job-item[open] {
    border-bottom-color: #8b1638
}

.message-section {
    background: #f1f1f1
}

@media(min-width:1200px) {
    .company-outline {
        top: calc(362 * var(--u));
        transform-origin: top left;
        transform: scale(1.013, 1.028)
    }

    .contact-banner .company-outline {
        transform: scale(1.028, 1.028)
    }

    .company-banner h1 {
        top: calc(458 * var(--u))
    }

    .join-page #environment-title {
        left: calc(-1 * var(--u));
        top: calc(1 * var(--u));
        position: relative
    }

    .recruitment-tabs button[aria-selected=true],
    .contact-submit {
        background: #8b1638
    }

    .recruitment-tabs button {
        background: #f5f5f5
    }

    .join-wordmark {
        position: relative;
        top: calc(-7 * var(--u));
        transform: scaleX(1.028);
        transform-origin: left center;
        color: #eee
    }

    .contact-topic-options label {
        align-items: flex-start
    }

    .contact-topic-options label span {
        position: relative;
        top: calc(-1 * var(--u))
    }

    .contact-topic-options label:nth-child(n+5) span {
        top: calc(-2 * var(--u))
    }

    .contact-topic-options label:nth-child(5) input {
        margin-top: calc(2 * var(--u))
    }

    .contact-info-card:first-child>p {
        letter-spacing: calc(.4 * var(--u))
    }

    .contact-qr-pair {
        top: calc(-3 * var(--u))
    }
}

@media(min-width:1200px) {
    .contact-fields {
        width: calc(1317 * var(--u));
        grid-template-columns: calc(648 * var(--u)) calc(650 * var(--u))
    }

    .contact-fields label:last-child {
        position: relative;
        top: calc(1 * var(--u))
    }

    .contact-request-fields textarea {
        width: calc(1317 * var(--u))
    }

    .contact-topics-row .contact-form-heading h3 {
        top: calc(-9 * var(--u))
    }

    .contact-topics-row .contact-form-heading>p {
        top: calc(-18 * var(--u))
    }

    .contact-request-row .contact-form-heading h3 {
        top: calc(2 * var(--u))
    }

    .contact-request-row .contact-form-heading>p {
        top: calc(-7 * var(--u))
    }
}

/* Original PSD alpha contours retain the decorative lettering without font-stroke seams. */
.company-outline {
    width: 415px;
    height: auto;
    -webkit-text-stroke: 0;
    transform: none
}

.contact-banner .company-outline {
    width: 503px
}

.company-outline img {
    width: 100%;
    height: auto;
    max-width: none
}

@media(min-width:1200px) {
    .company-outline {
        width: calc(623 * var(--u));
        top: calc(384 * var(--u));
        transform: none
    }

    .join-banner .company-outline {
        left: 0
    }

    .contact-banner .company-outline {
        width: calc(755 * var(--u));
        left: calc(-6 * var(--u));
        transform: none
    }
}

@media(max-width:767px) {
    .join-banner .company-outline {
        width: 270px
    }

    .contact-banner .company-outline {
        width: 342px
    }
}

/* ===== contact QR zoom dialog（二维码放大弹窗）===== */
.contact-qr-pair .contact-qr-trigger {
    cursor: pointer;
    transition: transform .25s ease, filter .25s ease
}

.contact-qr-pair .contact-qr-trigger:hover {
    transform: translateY(calc(-3 * var(--u)));
    filter: brightness(1.06)
}

.contact-qr-pair .contact-qr-trigger:focus-visible {
    outline: 2px solid #b20b48;
    outline-offset: 3px
}

.contact-qr-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    height: fit-content;
    max-height: 90vh;
    overflow: auto;
    z-index: 9999;
    border: none;
    border-radius: 16px;
    padding: 28px 28px 20px;
    background: #fff;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .35);
    max-width: min(86vw, 420px);
    width: auto
}

.contact-qr-dialog::backdrop {
    background: transparent
}

.contact-qr-shade {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 14, .62);
    z-index: 9998
}

.contact-qr-shade[hidden] {
    display: none
}

.contact-qr-dialog[open] {
    animation: contactQrIn .22s ease
}

@keyframes contactQrIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.96)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.contact-qr-dialog-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #f2eef0;
    color: #6b5b62;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, color .2s ease
}

.contact-qr-dialog-close:hover {
    background: #b20b48;
    color: #fff
}

.contact-qr-dialog-stage {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center
}

.contact-qr-dialog-stage img {
    width: min(62vw, 300px);
    height: auto;
    aspect-ratio: 1/1;
    object-fit: contain;
    display: block
}

.contact-qr-dialog-caption {
    margin: 14px 0 0;
    text-align: center;
    font-size: 15px;
    font-weight: 400;
    color: #333;
    letter-spacing: .05em
}

@media(max-width:767px) {
    .contact-qr-dialog {
        padding: 22px 18px 16px
    }

    .contact-qr-dialog-stage img {
        width: min(70vw, 260px)
    }
}
/* ===================================================================
   公司环境：Swiper 式平移轮播
   - .environment-track 横向排列所有图片，JS 只改 translateX 位移
   - 当前张居中，两侧自然露出相邻图片，纯平移过渡，无缩放无叠影
   - {bd:pics} 循环输出，后台增删图片无需改代码
   =================================================================== */
.environment-gallery {
    position: relative;
    overflow: hidden;
    height: auto;
}

.environment-track {
    display: flex;
    align-items: stretch;
    /* 图间距：参考稿 168u，三张并排时两侧图会被视口自然切掉一截 */
    gap: calc(168 * var(--u));
    transition: transform .55s cubic-bezier(.4, 0, .2, 1);
    will-change: transform
}

/* 首帧定位/克隆归位不做过渡，避免从中间滑过来或宽度跳动 */
.environment-gallery:not(.is-ready) .environment-track,
.environment-track.no-anim,
.environment-track.no-anim .environment-slide {
    transition: none
}

.environment-gallery .environment-slide {
    position: static;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 0 calc(478 * var(--u));
    width: calc(478 * var(--u));
    margin: 0;
    pointer-events: auto;
    cursor: pointer;
    transition: flex-basis .55s cubic-bezier(.4, 0, .2, 1),
                width .55s cubic-bezier(.4, 0, .2, 1)
}

/* 当前张放大 1.5 倍（478 -> 717），随位移一起平滑过渡 */
.environment-gallery .environment-slide.is-active {
    flex-basis: calc(717 * var(--u));
    width: calc(717 * var(--u))
}

.environment-gallery .environment-slide.is-active .environment-photo img {
    transform: none
}

.environment-gallery .environment-slide .environment-photo,
.environment-gallery .environment-slide .page-image-zoom {
    width: 100%;
    height: calc(334 * var(--u));
    overflow: hidden;
    border-radius: calc(22 * var(--u));
    transition: height .55s cubic-bezier(.4, 0, .2, 1)
}

.environment-gallery .environment-slide.is-active .environment-photo,
.environment-gallery .environment-slide.is-active .page-image-zoom {
    height: calc(452 * var(--u))
}

.environment-gallery .environment-slide figcaption {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

/* 平板：单张 56vw 宽 */
@media(max-width:1199px) and (min-width:768px) {
    .environment-gallery .environment-slide {
        flex-basis: 36vw;
        width: 36vw
    }

    .environment-gallery .environment-slide.is-active {
        flex-basis: 54vw;
        width: 54vw
    }

    .environment-gallery .environment-slide .environment-photo,
    .environment-gallery .environment-slide .page-image-zoom {
        height: 26.5vw
    }

    .environment-gallery .environment-slide.is-active .environment-photo,
    .environment-gallery .environment-slide.is-active .page-image-zoom {
        height: 36vw
    }
}

/* 手机：单张 74vw 宽，给两侧箭头留空隙 */
@media(max-width:767px) {
    .environment-track {
        gap: 12px
    }

    .environment-gallery .environment-slide {
        flex-basis: 48vw;
        width: 48vw
    }

    .environment-gallery .environment-slide.is-active {
        flex-basis: 72vw;
        width: 72vw
    }

    .environment-gallery .environment-slide .environment-photo,
    .environment-gallery .environment-slide .page-image-zoom {
        height: 32.5vw
    }

    .environment-gallery .environment-slide.is-active .environment-photo,
    .environment-gallery .environment-slide.is-active .page-image-zoom {
        height: 44vw
    }
}

/* 桌面：箭头落在当前图与相邻图之间的缝隙里，避免压住图片内容 */
@media(min-width:1200px) {
    .environment-prev {
        left: calc(50% - 473 * var(--u))
    }

    .environment-next {
        right: calc(50% - 473 * var(--u));
        left: auto
    }
}

/* 窄屏：两侧图会被视口裁切，只保留当前图的标题 */
@media(max-width:1199px) {
    .environment-gallery .environment-slide:not(.is-active) figcaption {
        opacity: 0
    }
}

/* 箭头跟随当前图缩放后的几何关系重新校准：始终落在当前图与相邻图之间的缝隙 */
@media(min-width:1200px) {
    .environment-arrow {
        top: calc(196 * var(--u))
    }
}

@media(max-width:1199px) and (min-width:768px) {
    .environment-prev {
        left: 16.5%
    }

    .environment-next {
        right: 16.5%;
        left: auto
    }

    .environment-arrow {
        top: 162px
    }
}

@media(max-width:767px) {
    .environment-prev {
        left: 7.6%
    }

    .environment-next {
        right: 7.6%;
        left: auto
    }

    .environment-arrow {
        top: 67px
    }
}

/* 工作机会：两个 tab 各对应一组职位，只显示当前选中的面板 */
.recruitment-content .recruit-panel[hidden] {
    display: none !important
}
