:root {
    --font-family-base: "Urbanist", "42dot Sans", "Noto Sans SC", "Source Han Sans SC", sans-serif;
    --font-h1: clamp(3rem, 6.875vw, 5.5rem);
    --font-h2: clamp(2.5rem, 5vw, 4rem);
    --font-h3: clamp(2rem, 3.125vw, 3rem);
    --font-h4: clamp(1.65rem, 2.5vw, 2.6rem);
    --font-h4-s: clamp(1.45rem, 2.1vw, 2rem);
    --font-h5: clamp(1.2rem, 1.70625vw, 1.5rem);
    --font-h6: clamp(1rem, 1.4vw, 1.25rem);
    --font-body: clamp(0.875rem, 1.25vw, 1rem);
    --ink: #000;
    --muted: #424845;
    --line: #dfe4df;
    --paper: #fff;
    --section-bg: #F6F7F6;
    --surface-muted: #f0f1ed;
    --surface-hover: #e7ebe8;
    --soft: var(--section-bg);
    --accent: #df2027;
    --button-green: #0a2b20;
    --button-yellow: #ff9400;
    --button-tan: #bc9475;
    --max: 1700px;
    --content-width: min(1700px, calc(100% - 15vw))
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font-family-base);
    font-size: var(--font-body);
    font-weight: 400;
    letter-spacing: 0.5px;
    -webkit-font-smoothing: antialiased
}

button,
input,
select,
textarea {
    font-family: inherit
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--ink)
}

h1 {
    font-size: var(--font-h1);
    line-height: 1.25
}

h2 {
    font-size: var(--font-h2);
    line-height: 1.25
}

h3 {
    font-size: var(--font-h3);
    line-height: 1.25
}

h4 {
    font-size: var(--font-h4);
    line-height: 1.25
}

h5 {
    font-size: var(--font-h5);
    line-height: 1.7
}

h6,
.xyl-type-h6 {
    font-size: var(--font-h6);
    line-height: 1.7
}

p {
    color: var(--muted)
}

.xyl-en,
:lang(en) {
    font-size: var(--font-body)
}

/* html[lang^="en"] {
    --font-h1: clamp(3.125rem, 7.03125vw, 5.625rem);
    --font-h2: clamp(2.625rem, 5.15625vw, 4.125rem);
    --font-h3: clamp(2.125rem, 3.28125vw, 2.625rem);
    --font-h4: clamp(1.75rem, 2.65625vw, 2.125rem);
    --font-h5: clamp(1.125rem, 1.5625vw, 1.25rem);
    --font-body: clamp(0.875rem, 1.25vw, 1rem)
} */

.xyl-container {
    width: var(--content-width);
    margin-inline: auto
}

/* Shared partner marquee used by the home and about pages. */
.home-partners {
    padding: 100px 0 70px;
    background: var(--section-bg);
    text-align: center
}

.home-partners h2 {
    margin: 0 0 32px;
    color: var(--ink);
    font-size: var(--font-h4);
    line-height: 1.25
}

.home-partners__marquee {
    width: 100%;
    margin: 8% 0;
    overflow: hidden
}

.home-partners__track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: home-partners-marquee 26s linear infinite
}

.home-partners__group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: clamp(42px, 5vw, 90px);
    padding-right: clamp(42px, 5vw, 90px)
}

.home-partners__group>a,
.home-partners__group>span,
.home-partners__group>img {
    flex: 0 0 auto
}

.home-partners__group a {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none
}

.home-partners__group img {
    display: block;
    width: auto;
    max-width: 150px;
    height: clamp(28px, 2.5vw, 42px);
    object-fit: contain
}

.home-partners__group span {
    color: #525a56;
    font-family: "Source Han Sans CN", "Noto Sans CJK SC";
    font-size: var(--font-h4);
    font-style: italic;
    font-weight: 700;
    white-space: nowrap
}

.home-partners__marquee:hover .home-partners__track {
    animation-play-state: paused
}

@keyframes home-partners-marquee {
    to { transform: translateX(-50%) }
}

@media (prefers-reduced-motion: reduce) {
    .home-partners__track {
        width: 100%;
        animation: none
    }

    .home-partners__group {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        padding-right: 0
    }

    .home-partners__group[aria-hidden="true"] {
        display: none
    }
}

.xyl-header {
    height: 80px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: transparent !important;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
    will-change: background-color, backdrop-filter
}

.xyl-header.is-scrolled {
    background: rgba(10, 43, 32, .97) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px)
}

body.admin-bar .xyl-header {
    top: 32px
}

.xyl-header__inner {
    height: 80px;
    display: grid;
    grid-template-columns: 218px minmax(0, 1fr) 218px;
    align-items: center;
    gap: 0
}

.xyl-logo {
    grid-column: 1;
    justify-self: start;
    transform: translateY(-3px);
    font-size: var(--font-h4);
    font-weight: 800;
    letter-spacing: -1.4px;
    color: #0d1624;
    text-decoration: none
}

.xyl-logo img {
    display: block;
    width: 136px;
    max-width: none;
    max-height: 48px
}

.xyl-nav {
    grid-column: 2;
    justify-self: center;
    margin-left: 0
}

.xyl-nav ul {
    display: flex;
    gap: clamp(25px, 2.45vw, 35px);
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0
}

.xyl-nav a {
    position: relative;
    font-size: var(--font-h6-zh);
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    white-space: nowrap
}

.xyl-nav .menu-item-42 {
    display: none
}

.xyl-nav .current-menu-item > a::after,
.xyl-nav .current_page_item > a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 2px;
    background: #3d7a5e
}

.xyl-header__cta {
    grid-column: 3;
    justify-self: end;
    width: 140px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--button-yellow);
    color: #000;
    text-decoration: none;
    font-size: var(--font-h6-zh);
    font-weight: 700;
    transform: translateY(-3px)
}

.xyl-menu-toggle {
    display: none
}

.xyl-hero {
    min-height: 520px;
    position: relative;
    display: grid;
    align-items: end;
    background: linear-gradient(90deg, #101820 0%, transparent 70%), var(--hero) center/cover no-repeat;
    color: #fff
}

.xyl-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .04) 70%)
}

.xyl-hero__content {
    position: relative;
    padding-bottom: 72px;
    max-width: 760px;
    margin-left: max(64px, calc((100vw - var(--max))/2))
}

.xyl-eyebrow {
    font-size: var(--font-body);
    letter-spacing: .18em;
    text-transform: uppercase;
    margin: 0 0 20px;
    color: var(--accent);
    font-weight: 700
}

.xyl-hero h1 {
    font-size: var(--font-h2);
    line-height: 1.25;
    letter-spacing: -.04em;
    margin: 0;
    max-width: 820px
}

.xyl-hero__intro {
    font-size: var(--font-h6);
    line-height: 1.7;
    max-width: 650px;
    color: rgba(255, 255, 255, .84);
    margin: 24px 0 0
}

.xyl-section {
    padding: 112px 0
}

.xyl-section:nth-child(odd) {
    background: var(--soft)
}

.xyl-split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 96px
}

.xyl-section--reverse .xyl-split__media {
    order: 2
}

.xyl-split__media {
    height: 520px;
    border-radius: 2px;
    overflow: hidden;
    background: #e8e8e8
}

.xyl-split__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover
}

.xyl-split__copy h2 {
    font-size: var(--font-h3);
    line-height: 1.25;
    letter-spacing: -.03em;
    margin: 0 0 24px
}

.xyl-richtext {
    font-size: var(--font-h6);
    line-height: 1.7;
    color: var(--muted)
}

.xyl-arrow-link {
    display: inline-flex;
    gap: 16px;
    margin-top: 30px;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 8px
}

.xyl-footer {
    min-height: 640px;
    padding: clamp(92px, 7.2vw, 110px) 0 0;
    background: #fbfaf8;
    color: var(--muted)
}

.xyl-footer__grid {
    display: grid;
    grid-template-columns: minmax(280px, 2fr) minmax(150px, .95fr) minmax(150px, .95fr) minmax(150px, 0.95fr);
    gap: clamp(34px, 4vw, 68px);
    min-height: clamp(240px, 18vw, 276px)
}

.xyl-footer h3 {
    margin: 0 0 clamp(30px, 2.5vw, 38px);
    color: var(--button-green);
    font-size: var(--font-h5);
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: .08em
}

.xyl-footer a {
    display: block;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s ease
}

.xyl-footer a:hover { color: var(--button-green) }

.xyl-logo--footer {
    display: inline-block;
    margin: 0;
    color: var(--button-green) !important;
    font-size: var(--font-h4);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: .08em
}

.xyl-footer p {
    max-width: 340px;
    margin: clamp(42px, 3.4vw, 52px) 0 0;
    color: var(--muted);
    font-size: var(--font-h6);
    line-height: 1.7
}

.xyl-footer__socials {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: clamp(34px, 3vw, 46px)
}

.xyl-footer__socials a {
    width: 24px;
    height: 24px;
    margin: 0
}

.xyl-footer__socials svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.xyl-footer__column a {
    width: fit-content;
    margin: 0 0 clamp(15px, 1.8vw, 20px);
    font-size: var(--font-body);
    line-height: 1.7;
    font-weight: 300;
    text-decoration-line: none;
}
.xyl-footer__column a:hover {
    text-decoration-line: underline;
}
.xyl-subscribe {
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #c9cfcb
}

.xyl-subscribe input {
    flex: 1;
    min-width: 0;
    height: 52px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--muted);
    font-size: var(--font-h6)
}

.xyl-subscribe input::placeholder { color: #d0d3d1; opacity: 1 }

.xyl-subscribe button {
    display: grid;
    place-items: center;
    padding: 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--button-green);
    font-family: inherit;
    font-size: var(--font-h4);
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease
}

.xyl-subscribe button:disabled { cursor: wait; opacity: .45 }

.xyl-subscribe__website {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important
}

.xyl-footer .xyl-subscribe__status {
    min-height: 22px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: var(--font-body);
    line-height: 1.7
}

.xyl-footer .xyl-subscribe__status.is-success { color: var(--button-green) }
.xyl-footer .xyl-subscribe__status.is-error { color: #b42318 }

.xyl-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    margin-top: clamp(46px, 4vw, 62px);
    padding: clamp(34px, 2.8vw, 42px) 0 clamp(70px, 5.2vw, 80px);
    border-top: 1px solid #cfd4d1;
    color: var(--muted);
    font-size: var(--font-body);
    line-height: 1.7
}

.xyl-footer__bottom nav { display: flex; gap: clamp(24px, 2.2vw, 34px) }
.xyl-footer__bottom a { margin: 0; font-size: inherit }

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: .7s ease
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none
}

.xyl-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

.xyl-form label {
    display: grid;
    gap: 8px;
    font-size: var(--font-body)
}

.xyl-form input,
.xyl-form textarea,
.xyl-form select {
    width: 100%;
    border: 1px solid var(--line);
    padding: 15px 16px;
    background: #fff;
    font: inherit
}

.xyl-form textarea {
    min-height: 132px;
    resize: vertical
}

.xyl-form__full {
    grid-column: 1/-1
}

.xyl-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    font-family: var(--font-family-base);
    font-size: var(--font-h6);
    font-weight: 600;
    line-height: 1.25;
    border: 0;
    border-radius: 0;
    background: var(--button-green);
    color: #fff;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease, transform .2s ease
}

.xyl-button--green,
.home-button--green {
    background: var(--button-green) !important;
    color: #fff !important
}

.xyl-button--yellow,
.xyl-button--orange,
.home-button--orange {
    background: var(--button-yellow) !important;
    color: #000 !important
}

.xyl-form__status {
    grid-column: 1/-1;
    margin: 0
}

@media(max-width:900px) {
    .xyl-container {
        width: var(--content-width)
    }

    .xyl-header,
    .xyl-header__inner {
        height: 72px
    }

    .xyl-header__inner {
        display: flex;
        gap: 20px
    }

    .xyl-logo {
        transform: none
    }

    .xyl-logo img {
        width: 108px
    }

    .xyl-menu-toggle {
        display: block;
        margin-left: auto
    }

    .xyl-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 43, 32, .98);
        padding: 24px
    }

    .xyl-nav.is-open {
        display: block
    }

    .xyl-nav ul {
        display: grid;
        gap: 20px
    }

    .xyl-header__cta {
        display: none
    }

    .xyl-hero {
        min-height: 560px
    }

    .xyl-hero__content {
        margin: 0 auto;
        padding-bottom: 52px
    }

    .xyl-hero h1 {
        font-size: var(--font-h3)
    }

    .xyl-section {
        padding: 72px 0
    }

    .xyl-split {
        grid-template-columns: 1fr;
        gap: 36px
    }

    .xyl-section--reverse .xyl-split__media {
        order: 0
    }

    .xyl-split__media {
        height: 360px
    }

    .xyl-split__copy h2 {
        font-size: var(--font-h4)
    }

    .xyl-footer__grid {
        grid-template-columns: 1fr 1fr
    }

    .xyl-form {
        grid-template-columns: 1fr
    }

    .xyl-form__full {
        grid-column: auto
    }
}

@media(max-width:560px) {
    body.admin-bar .xyl-header {
        top: 46px
    }

    .xyl-container {
        width: var(--content-width)
    }

    .xyl-hero h1 {
        font-size: var(--font-h4)
    }

    .xyl-footer__grid {
        grid-template-columns: 1fr
    }

    .xyl-split__media {
        height: 280px
    }
}
