@font-face {
    font-family: 'Dunhem';
    src: url('/assets/web_fonts/Dunhem.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Sailec';
    src: url('/assets/web_fonts/Sailec/Sailec-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Sailec Light';
    src: url('/assets/web_fonts/Sailec/Sailec-Light.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Sailec Thin';
    src: url('/assets/web_fonts/Sailec/Sailec-Thin.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Sailec Medium';
    src: url('/assets/web_fonts/Sailec/Sailec-Medium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Segoe UI';
    src: url('/assets/web_fonts/Segoe/segoeui.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Segoe UI Light';
    src: url('/assets/web_fonts/Segoe/segoeuil.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Nimbus Light";
    src: url('/assets/web_fonts/Nimbus/NimbusSansCHS-Light.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Nimbus Medium";
    src: url('/assets/web_fonts/Nimbus/NimbusSansCHS-Medium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Nimbus Regular";
    src: url('/assets/web_fonts/Nimbus/NimbusSansCHS-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Nimbus Custom";
    src: url('/assets/web_fonts/Nimbus/NimbusSansCHS-Regular\ Custom\ Patch.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Custom Web";
    src: url('/assets/web_fonts/Custom\ Web\ Widgets.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Language Change";
    src: url('/assets/web_fonts/Language\ Change.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Footer Font";
    src: url('/assets/web_fonts/Copyright\ Font.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

:root {
    /* fonts */
    --dunhem-font: 'Dunhem';
    --sailec-font: 'Sailec';
    --sailec-light: 'Sailec Light';
    --sailec-thin: 'Sailec Thin';
    --sailec-medium: 'Sailec Medium';
    --segoe-font: 'Segoe UI';
    --segoe-light: "Segoe UI Light";
    --nimbus-font: "Nimbus Regular";
    --nimbus-light: "Nimbus Light";
    --nimbus-medium: "Nimbus Medium";
    --nimbus-custom: "Nimbus Custom";
    --nimbus-alt: "Nimbus Alt";
    --web-widgets: "Custom Web";
    --language-change: "Language Change";
    --footer-font: "Footer Font";
    /* spacings */
    --standard-margins: 160px 0 48px 116px;
    --standard-chinese-margins: 200px 0 48px 116px;
    --mobile-margins: 48px 16px 16px 16px;
    --mobile-chinese-margins: 64px 16px 16px 16px;
    --spacing-one: 160px;
    --spacing-two: 100px;
    --spacing-three: 80px;
    --spacing-four: 60px;
    --mobile-spacing-one: 60px;
    --mobile-spacing-two: 37.5px;
    --mobile-spacing-three: 30px;
    --mobile-spacing-four: 22.5px;
    --paragraph-gap: 40px;
    --mobile-paragraph-gap: 22px;
    --title-right-margin: 120px;
    --description-right-margin: 470px;
    --copyright-spacing: 80px;
    --ch-line-height: 1.4;
    /* colors */
    --standard-tan: #E2DFCC;
    --standard-dark-grey: #151515;
    --standard-metal-grey: #6E757C;
    --standard-dark-tan: #4D4C49;
    --standard-white: #FFF;
    --standard-light-grey: #BBBBB8;

    /* one-off colors */
    --standard-light-tan: #EAE8DA;
    --standard-pale-grey: #BFBFBF;
    --standard-medium-grey: #A7ACB1;

    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

body {
    background-color: #000;
    margin: 0;
}

.english {
    display: none;
}

.chinese {
    display: none;
}

@keyframes hideLang {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes showLang {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scrollHide {
    0% {
        overflow-y: hidden;
    }

    100% {
        overflow-y: scroll;
    }
}

@keyframes hideMenuLinks {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-125%);
    }
}

@keyframes showMenuLinks {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes revealText {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-first {
    opacity: 0;
    animation: showLang 1s ease-in-out 0s 1 normal forwards;
}

.animate-second {
    opacity: 0;
    animation: showLang 1s ease-in-out 0.3s 1 normal forwards;
}

.animate-third {
    opacity: 0;
    animation: showLang 1s ease-in-out 0.6s 1 normal forwards;
}

.animate-fourth {
    opacity: 0;
    animation: showLang 1s ease-in-out 1s 1 normal forwards;
}

.animate-fifth {
    opacity: 0;
    animation: showLang 1s ease-in-out 1.3s 1 normal forwards;
}

/* custom scroll bar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--standard-medium-grey);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--standard-light-grey);
}

.desktop {
    display: block;
}

.mobile {
    display: none;
}

#after-title div {
    opacity: 0;
    transform: translateY(50px);
}

#dunhem-title #logo {
    font-size: 32pt;
}

#logo .ch .two {
    font-size: 24pt;
    margin-left: 56px;
    margin-top: -12px;
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    z-index: 2;
    padding: 60px 32px 0 40px;
}

.header .title {
    font-family: var(--dunhem-font);
}

.header .title a {
    cursor: pointer;
    text-decoration: none;
    color: var(--standard-dark-grey);
}

.header .nav-header {
    display: flex;
    justify-content: start;
    align-items: start;
    column-gap: 40px;
    z-index: 2;
}

.header .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 18px;
    height: 22px;
    width: 32px;
}

.header .nav-toggle .bar {
    height: 1px;
    width: 100%;
    border-radius: 25px;
    background-color: var(--standard-dark-grey);
    transition: all 0.5s ease-in-out;
}

/* TODO: v2 X for closing bios like this */
.header .nav-toggle:hover {
    cursor: pointer;
}

.header .x:nth-of-type(1) {
    transition: all 0.5s ease-in-out;
    transform: rotate(45deg);
    transform-origin: top left;
    width: 30px;
    background-color: var(--standard-dark-grey);
}

.header .x:nth-of-type(2) {
    transition: all 0.5s ease-in-out;
    transform-origin: center;
    width: 0;
}

.header .x:nth-of-type(3) {
    transition: all 0.5s ease-in-out;
    transform: rotate(-45deg);
    transform-origin: bottom left;
    width: 30px;
    background-color: var(--standard-dark-grey);
}

.header .language {
    display: flex;
    flex-direction: row;
    justify-content: end;
    color: var(--standard-dark-grey);
    padding: 24px 16px 0 0;
    z-index: 2;
    font-size: 12pt;
    column-gap: 12px;
}

.header .language button {
    background-color: transparent;
    cursor: pointer;
    border: none;
    padding: 1px 0;
}

.header #english-button {
    font-size: 12pt;
    font-family: var(--language-change);
}

.header #separater {
    font-size: 12pt;
    font-family: var(--language-change);
}

.header #chinese-button {
    font-size: 12pt;
    font-family: var(--language-change);
}


dunhem-footer {
    font-family: var(--footer-font);
    font-size: 10.5pt;
}

dunhem-footer a {
    cursor: pointer;
    text-decoration: none;
}

dunhem-footer div {
    margin-top: 4px;
}

#mySidebar {
    transition-delay: 0.5s;
}

.sidebar {
    width: 0;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    background-color: var(--standard-tan);
    overflow: hidden;
    transition: 0.5s;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sidebar-contents {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--sailec-font);
    color: var(--standard-dark-grey);
    font-size: 20pt;
}

#english-menu-items a {
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
}

#chinese-menu-items a {
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
}

.hover-underline-animation {
    display: inline-block;
    position: relative;
}

.hover-underline-animation:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--standard-dark-grey);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.underline-active:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.sidebar-link-flex {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 32px;
}

.sidebar a {
    text-decoration: none;
    font-size: 26px;
    display: block;
}

.sidebar a:hover {
    cursor: pointer;
    color: var(--standard-dark-grey);
}

#dunhem-title {
    transition: 0.5s;
}

/* ================================HOME PAGE================================ */

#home {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background-color: var(--standard-tan);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

#home .english {
    flex: 1;
}

#home .chinese {
    flex: 1;
}

#home .english #main-content {
    margin-left: 116px;
    height: calc(100% - 80px);
    display: flex;
    justify-content: start;
    align-items: center;
}

#home .chinese #main-content {
    margin-left: 116px;
    height: calc(100% - 60px);
    display: flex;
    justify-content: start;
    align-items: center;
}

#home-logo {
    z-index: -1;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 497pt;
    display: flex;
    justify-content: start;
    align-items: start;
    font-family: var(--dunhem-font);
    font-size: 497pt;
    color: var(--standard-light-tan);
}

#home-logo-animation {
    z-index: 3;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 497pt;
    display: flex;
    justify-content: start;
    align-items: start;
    font-family: var(--dunhem-font);
    font-size: 497pt;
    color: var(--standard-dark-tan);
    animation: homeAnimation 2s ease-in-out 0s 1 forwards;
}


#home .english #main-content .text-content {
    font-family: var(--sailec-font);
    color: var(--standard-dark-grey);
    font-size: 40pt;
    max-width: 900px;
    margin-top: 360px;
}

#home .chinese #main-content .text-content {
    font-family: var(--nimbus-custom);
    color: var(--standard-dark-grey);
    font-size: 40pt;
    max-width: 746px;
    line-height: calc(40pt * var(--ch-line-height));
    margin-top: 360px;
}

#home .footer {
    margin-left: 116px;
}


@keyframes homeAnimation {
    0% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.home-modal {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(18, 18, 18);
    background-color: rgba(18, 18, 18, 1);
}

#homeModal {
    animation: 3s ease-in-out 0s 1 showPage;
}

.modal {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(18, 18, 18);
    background-color: rgba(18, 18, 18, 1);
}

@keyframes showPage {
    0% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

#myModal {
    animation: 1.5s ease-in-out 0s 1 showPage;
}

#home dunhem-footer {
    margin: 0;
}

#home dunhem-footer .footer {
    margin-bottom: 16px;
}

/* ================================WHO WE ARE PAGE================================ */
#who-we-are {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: flex;
    background-color: var(--standard-dark-grey);
    flex-direction: column;
}

#who-we-are .english {
    flex: 1;
    margin: var(--standard-margins);
    overflow-y: auto;
}

#who-we-are .chinese {
    flex: 1;
    margin: var(--standard-chinese-margins);
    overflow-y: auto;
}

#who-we-are .english .main-content .footer {
    margin: var(--copyright-spacing) 0 16px 0;
}

#who-we-are .chinese .main-content .footer {
    margin: var(--copyright-spacing) 0 16px 0;
}

#who-we-are .chinese .main-content .title {
    font-family: var(--nimbus-custom);
    font-size: 40pt;
    color: white;
    margin-top: var(--spacing-three);
    margin-right: var(--title-right-margin);
    line-height: calc(40pt * var(--ch-line-height));
}

#who-we-are .english .main-content .title {
    font-family: var(--sailec-font);
    font-size: 40pt;
    color: white;
    margin-top: var(--spacing-three);
    margin-right: var(--title-right-margin);
}

#words-to-split {
    opacity: 0;
}

#each-line-text div {
    opacity: 0;
    animation: revealText 1.5s ease-in-out forwards;
}

.each-line-div {
    opacity: 0;
    animation: revealText 1.5s ease-in-out forwards;
}

#who-we-are .description {
    display: flex;
    flex-direction: column;
    justify-content: start;
    row-gap: var(--paragraph-gap);
    margin-right: var(--description-right-margin);
    margin-top: var(--spacing-two);
    color: white;
    font-family: var(--sailec-font);
    font-size: 14pt;
    line-height: 24pt;
}

/* ================================DISPUTES US PAGE================================ */

#disputes-us {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: flex;
    background-color: var(--standard-white);
    flex-direction: column;
}

#disputes-us .english {
    flex: 1;
    margin: var(--standard-margins);
    overflow-y: auto;
}

#disputes-us .chinese {
    flex: 1;
    margin: var(--standard-margins);
    overflow-y: auto;
}

#disputes-us .english .main-content .footer {
    margin: var(--copyright-spacing) 0 16px 0;
}

#disputes-us .chinese .main-content .footer {
    margin: var(--copyright-spacing) 0 16px 0;
}

#disputes-us .english .title {
    font-family: var(--sailec-font);
    font-size: 40pt;
    color: var(--standard-dark-tan);
    margin-top: var(--spacing-three);
    margin-right: var(--title-right-margin);
}

#disputes-us .chinese .title {
    font-family: var(--nimbus-custom);
    font-size: 40pt;
    color: var(--standard-dark-tan);
    margin-right: var(--title-right-margin);
    margin-top: var(--spacing-three);
    line-height: calc(40pt * var(--ch-line-height));
}

#disputes-us .english .description {
    display: flex;
    flex-direction: column;
    justify-content: start;
    row-gap: var(--paragraph-gap);
    margin-right: var(--description-right-margin);
    margin-top: var(--spacing-two);
    color: var(--standard-dark-tan);
    font-family: var(--sailec-font);
    font-size: 14pt;
    line-height: 24pt;
}

#disputes-us .chinese .description {
    display: flex;
    flex-direction: column;
    justify-content: start;
    row-gap: var(--paragraph-gap);
    margin-right: var(--description-right-margin);
    margin-top: var(--spacing-two);
    color: var(--standard-dark-tan);
    font-family: var(--nimbus-font);
    font-size: 14pt;
    line-height: calc(14pt * var(--ch-line-height));
}

#disputes-us .practice-container {
    background-color: var(--standard-dark-tan);
    color: var(--standard-white);
    margin-top: var(--spacing-two);
    margin-right: calc(120px + var(--title-right-margin));
    margin-left: calc(120px);
    border-radius: 25px;
    padding: var(--spacing-three) var(--spacing-three);
    text-align: start;
}

#disputes-us .english .practice .practice-description {
    font-family: var(--sailec-font);
    font-size: 14pt;
    margin-top: var(--spacing-four);
    margin-bottom: var(--spacing-four);
}

#disputes-us .chinese .practice .practice-description {
    font-family: var(--nimbus-font);
    font-size: 14pt;
    line-height: calc(14pt * var(--ch-line-height));
    margin-top: var(--spacing-four);
    margin-bottom: var(--spacing-four);
}

#disputes-us .english #practice-title {
    font-family: var(--sailec-font);
    font-size: 30pt;
    text-align: center;
}

#disputes-us .chinese #practice-title {
    font-family: var(--nimbus-font);
    font-size: 30pt;
    line-height: calc(30pt * var(--ch-line-height));
    text-align: center;
}

#disputes-us .practice-list {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    column-gap: 8px;
}

#disputes-us .english ul {
    font-family: var(--sailec-font);
    font-size: 14pt;
    list-style-type: none;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}

#disputes-us .chinese ul {
    font-family: var(--nimbus-font);
    font-size: 14pt;
    list-style-type: none;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}

#disputes-us li {
    margin-bottom: 16px;
}

#disputes-us dunhem-footer .footer {
    margin-top: var(--copyright-spacing);
    margin-bottom: 16px;
}

/* ================================DISPUTES CHINA PAGE================================ */

#disputes-ch {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: flex;
    background-color: var(--standard-light-grey);
    flex-direction: column;
}

#disputes-ch .english {
    flex: 1;
    margin: var(--standard-margins);
    overflow-y: auto;
}

#disputes-ch .chinese {
    flex: 1;
    margin: var(--standard-margins);
    overflow-y: auto;
}

#disputes-ch .english .main-content .footer {
    margin: var(--copyright-spacing) 0 16px 0;
}

#disputes-ch .chinese .main-content .footer {
    margin: var(--copyright-spacing) 0 16px 0;
}

#disputes-ch .english .title {
    font-family: var(--sailec-font);
    font-size: 40pt;
    color: var(--standard-dark-tan);
    margin-top: var(--spacing-three);
    margin-right: var(--title-right-margin);
}

#disputes-ch .chinese .title {
    font-family: var(--nimbus-custom);
    font-size: 40pt;
    color: var(--standard-dark-tan);
    margin-top: var(--spacing-three);
    margin-right: var(--title-right-margin);
    line-height: calc(40pt * var(--ch-line-height));
}

#disputes-ch .english .description {
    display: flex;
    flex-direction: column;
    justify-content: start;
    row-gap: var(--paragraph-gap);
    margin-right: var(--description-right-margin);
    margin-top: var(--spacing-two);
    color: var(--standard-dark-tan);
    font-family: var(--sailec-font);
    font-size: 14pt;
    line-height: 24pt;
}

#disputes-ch .chinese .description {
    display: flex;
    flex-direction: column;
    justify-content: start;
    row-gap: var(--paragraph-gap);
    margin-right: var(--description-right-margin);
    margin-top: var(--spacing-two);
    color: var(--standard-dark-tan);
    font-family: var(--nimbus-font);
    font-size: 14pt;
    line-height: calc(14pt * var(--ch-line-height));
}

#disputes-ch .practice-container {
    background-color: white;
    color: var(--standard-dark-tan);
    margin-top: var(--spacing-two);
    margin-right: calc(120px + var(--title-right-margin));
    margin-left: calc(120px);
    border-radius: 25px;
    padding: var(--spacing-three) var(--spacing-three);
    text-align: start;
}

#disputes-ch .english .practice .practice-description {
    font-family: var(--sailec-font);
    font-size: 14pt;
    margin-top: var(--spacing-three);
    margin-bottom: var(--spacing-four);
}

#disputes-ch .chinese .practice .practice-description {
    font-family: var(--nimbus-font);
    font-size: 14pt;
    line-height: calc(14pt * var(--ch-line-height));
    margin-top: var(--spacing-three);
    margin-bottom: var(--spacing-four);
}

#disputes-ch .english #practice-title {
    font-family: var(--sailec-font);
    font-size: 30pt;
    text-align: center;
}

#disputes-ch .chinese #practice-title {
    font-family: var(--nimbus-font);
    font-size: 30pt;
    line-height: calc(30pt * var(--ch-line-height));
    text-align: center;
}

#disputes-ch .practice-list {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    column-gap: 8px;
}

#disputes-ch .english ul {
    font-family: var(--sailec-font);
    font-size: 14pt;
    list-style-type: none;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}

#disputes-ch .chinese ul {
    font-family: var(--nimbus-font);
    font-size: 14pt;
    list-style-type: none;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}

#disputes-ch li {
    margin-bottom: 16px;
}

#disputes-ch dunhem-footer .footer {
    margin-top: var(--copyright-spacing);
    margin-bottom: 16px;
}

/* ================================ADVISORY PAGE================================ */


#advisory {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: flex;
    background-color: white;
    flex-direction: column;
}

#advisory .english {
    flex: 1;
    margin: var(--standard-margins);
    overflow-y: auto;
}

#advisory .chinese {
    flex: 1;
    margin: var(--standard-margins);
    overflow-y: auto;
}

#advisory .english .title {
    font-family: var(--sailec-font);
    font-size: 40pt;
    color: var(--standard-dark-tan);
    margin-top: var(--spacing-three);
    margin-right: var(--title-right-margin);
}

#advisory .chinese .title {
    font-family: var(--nimbus-custom);
    font-size: 40pt;
    color: var(--standard-dark-tan);
    margin-right: var(--title-right-margin);
    margin-top: var(--spacing-three);
    line-height: calc(40pt * var(--ch-line-height));
}

#advisory .english .description {
    display: flex;
    flex-direction: column;
    justify-content: start;
    row-gap: var(--paragraph-gap);
    margin-right: var(--description-right-margin);
    margin-top: var(--spacing-two);
    color: var(--standard-dark-tan);
    font-family: var(--sailec-font);
    font-size: 14pt;
    line-height: 24pt;
}

#advisory .chinese .description {
    display: flex;
    flex-direction: column;
    justify-content: start;
    row-gap: var(--paragraph-gap);
    margin-right: var(--description-right-margin);
    margin-top: var(--spacing-two);
    color: var(--standard-dark-tan);
    font-family: var(--nimbus-font);
    font-size: 14pt;
    line-height: calc(14pt * var(--ch-line-height));
}

#advisory .english dunhem-footer .footer {
    margin-top: var(--copyright-spacing);
    margin-bottom: 0;
}

#advisory .chinese dunhem-footer .footer {
    position: absolute;
    bottom: 32px;
    left: 116px;
}

/* ================================TEAM PAGE================================ */

#team {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: flex;
    background-color: var(--standard-dark-grey);
    flex-direction: column;
    font-family: var(--sailec-font);
    overflow: hidden;
}

#team #main-content {
    flex: 1;
}

#team .team-container {
    display: flex;
    flex-direction: row;
    column-gap: var(--spacing-four);
}

#team .team-container .member-list {
    display: flex;
    flex-direction: column;
    justify-content: start;
    white-space: nowrap;
    /* width: 333px; */
    /* max-width: 300px; */
    margin: 260px 0 0 116px;
    /* overflow-y: hidden; */
    flex: 0 1 auto;
}

#team .team-container .member-list .member {
    cursor: pointer;
    opacity: 0;
    margin-bottom: 32px;
}

#team .team-container .member-list .break {
    flex: 0 0 100%;
    height: 0px;
}

.no-border {
    width: 100%;
    margin-top: 2px;
    transform: scaleX(0);
    transform-origin: bottom left;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: var(--standard-dark-grey);
}

#team .english .team-container .member-list .name {
    color: white;
    font-size: 20pt;
    display: inline-block;
}

#team .chinese .team-container .member-list .name {
    font-family: var(--nimbus-font);
    color: white;
    font-size: 20pt;
    display: flex;
    align-items: end;
}

#team .chinese .team-container .member-list .name span {
    margin-bottom: 4px;
    font-size: 14pt;
    margin-left: 12px;
}

#team .english .team-container .member-list .position {
    color: white;
    font-size: 14pt;
    font-family: var(--sailec-thin);
    width: 100%;
}

#team .chinese .team-container .member-list .position {
    color: white;
    font-size: 14pt;
    font-family: var(--nimbus-light);
    width: 100%;
}

#team .team-container .member-info {
    color: white;
    width: 100%;
    max-width: 850px;
    margin-top: 260px;
    padding: 0 80px;
    flex: 0 1 auto;
}

#team .english .team-container .member-info .title {
    position: relative;
    font-size: 40pt;
    /* width: 100%; */
    padding: 0 80px;
}

#team .chinese .team-container .member-info .title {
    font-family: var(--nimbus-custom);
    position: relative;
    font-size: 40pt;
    padding: 0 80px;
    line-height: calc(40pt * var(--ch-line-height));
}

.box {
    position: absolute;
    top: calc(100% + 100px);
    background: #000;
    height: 100%;
    z-index: 3;
}

.box::before {
    content: '';
    position: absolute;
    top: -399px;
    left: 0;
    width: 100%;
    height: 400px;
    background: #000;
    clip-path: polygon(100% 100%, 0% 100%, 0.00% 87.91%, 2.00% 86.53%, 4.00% 85.18%, 6.00% 83.87%, 8.00% 82.62%, 10.00% 81.45%, 12.00% 80.39%, 14.00% 79.44%, 16.00% 78.63%, 18.00% 77.97%, 20.00% 77.46%, 22.00% 77.12%, 24.00% 76.94%, 26.00% 76.94%, 28.00% 77.12%, 30.00% 77.46%, 32.00% 77.97%, 34.00% 78.63%, 36.00% 79.44%, 38.00% 80.39%, 40.00% 81.45%, 42.00% 82.62%, 44.00% 83.87%, 46.00% 85.18%, 48.00% 86.53%, 50.00% 87.91%, 52.00% 89.29%, 54.00% 90.64%, 56.00% 91.96%, 58.00% 93.21%, 60.00% 94.37%, 62.00% 95.43%, 64.00% 96.38%, 66.00% 97.19%, 68.00% 97.86%, 70.00% 98.36%, 72.00% 98.71%, 74.00% 98.88%, 76.00% 98.88%, 78.00% 98.71%, 80.00% 98.36%, 82.00% 97.86%, 84.00% 97.19%, 86.00% 96.38%, 88.00% 95.43%, 90.00% 94.37%, 92.00% 93.21%, 94.00% 91.96%, 96.00% 90.64%, 98.00% 89.29%, 100.00% 87.91%);
    z-index: 3;
}

.box-after::before {
    background: var(--standard-dark-grey);
    transition: all 1s ease;
}

#team #info {
    /* opacity: 0; */
    position: relative;
    margin-top: 160px;
    margin-bottom: calc(32px + 38px + 80px);
    color: white;
    overflow-y: scroll;
    padding: 0 72px;
    z-index: 3;
}

#team .english #all-info {
    font-family: var(--sailec-font);
    font-size: 14pt;
    line-height: 1.5;
    margin-top: var(--spacing-four);
}

#team .chinese #all-info {
    font-family: var(--nimbus-font);
    font-size: 14pt;
    line-height: calc(14pt * var(--ch-line-height));
    margin-top: var(--spacing-four);
}

#team #info img {
    /* border-radius: 50%; */
    max-height: 200px;
    z-index: 3;
}

#team #info #ind-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#team #info #name-picture {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: end;
    column-gap: 40px;
}

#team .english #ind-name {
    font-family: var(--sailec-font);
    font-size: 35pt;
    opacity: 0;
    animation: revealText 1s ease 1.75s 1 forwards;
}

#team .chinese #ind-name {
    font-family: var(--nimbus-font);
    font-size: 35pt;
    opacity: 0;
    animation: revealText 1s ease 1.75s 1 forwards;
}

#team .chinese #ind-name span {
    font-family: var(--nimbus-font);
    font-size: 18pt;
    opacity: 0;
    animation: revealText 1s ease 1.75s 1 forwards;
}

#team .english #ind-posi {
    font-family: var(--sailec-thin);
    font-size: 18pt;
    opacity: 0;
    animation: revealText 1s ease 2s 1 forwards;
}

#team .chinese #ind-posi {
    font-family: var(--nimbus-light);
    font-size: 18pt;
    opacity: 0;
    animation: revealText 1s ease 2s 1 forwards;
}

#team #close-ind {
    font-family: var(--web-widgets);
    color: white;
    font-size: 36pt;
    cursor: pointer;
}

#team #background {
    margin-top: var(--spacing-four);
    overflow-y: scroll;
}

#team #team-photo {
    opacity: 0;
    animation: revealText 1s ease 1.5s 1 forwards;
}

#team #cases ul {
    padding-left: 0;
}


#team .background p {
    margin: var(--paragraph-gap) 0;
}

#team #ind-case li {
    margin-bottom: var(--paragraph-gap);
}


#team dunhem-footer .footer {
    margin: 0 0 16px 116px;
}

/* ================================CONTACT PAGE================================ */

.error {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(18, 18, 18, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#myError .content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 60px;
    justify-content: center;
    align-items: center;
    background-color: var(--standard-dark-grey);
    text-align: center;
    padding: 72px 120px 24px 120px;
}

#myError .text {
    font-family: var(--sailec-medium);
    font-size: 20pt;
    color: white;
}

#myError .back-button {
    width: 100%;
    max-width: 150px;
    font-size: 20pt;
    font-family: var(--sailec-font);
    border-radius: 50px;
    border: 2px solid white;
    color: white;
    background-color: transparent;
}

#myError-ch .content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 60px;
    justify-content: center;
    align-items: center;
    background-color: var(--standard-dark-grey);
    text-align: center;
    padding: 72px 120px 24px 120px;
}

#myError-ch .text {
    font-family: var(--nimbus-medium);
    font-size: 20pt;
    color: white;
}

#myError-ch .back-button {
    width: 100%;
    max-width: 150px;
    font-size: 20pt;
    font-family: var(--nimbus-font);
    border-radius: 50px;
    border: 2px solid white;
    color: white;
    background-color: transparent;
}

#contact {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: flex;
    background-color: var(--standard-tan);
    flex-direction: column;
}

#contact .english {
    flex: 1;
    margin: 180px 0 0 0;
    overflow-y: scroll;
}

#contact .chinese {
    flex: 1;
    margin: 180px 0 0 0;
    overflow-y: scroll;
}

#contact .english .title {
    font-family: var(--sailec-font);
    font-size: 40pt;
    color: var(--standard-dark-grey);
    margin-top: var(--spacing-three);
    margin-right: var(--title-right-margin);
    margin-left: 116px;
}

#contact .chinese .title {
    font-family: var(--nimbus-custom);
    font-size: 40pt;
    color: var(--standard-dark-grey);
    margin-top: var(--spacing-three);
    margin-right: var(--title-right-margin);
    margin-left: 116px;
    line-height: calc(40pt * var(--ch-line-height));
}

#contact .english .description {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    row-gap: var(--paragraph-gap);
    margin-top: var(--spacing-two);
    color: var(--standard-dark-grey);
    font-family: var(--sailec-font);
    font-size: 30pt;
    margin-left: 116px;
}

#contact .chinese .description {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    row-gap: var(--paragraph-gap);
    margin-top: var(--spacing-two);
    color: var(--standard-dark-grey);
    font-family: var(--nimbus-font);
    font-size: 30pt;
    margin-left: 116px;
}


#contact .english .caveat {
    font-size: 24pt;
    margin-bottom: var(--spacing-two);
}

#contact .chinese .caveat {
    line-height: calc(24pt * var(--ch-line-height));
    font-size: 24pt;
    margin-bottom: var(--spacing-two);
}

#contact .input-item {
    display: flex;
    flex-direction: column;
    justify-content: start;
    max-width: 50%;
    margin-bottom: var(--spacing-four);
}

#contact .message-input {
    display: flex;
    flex-direction: column;
    justify-content: start;
    margin-bottom: var(--spacing-three);
}

#contact form {
    max-width: 875px;
    margin: var(--spacing-three) 0 90px 0;
    align-self: center;
}

#contact .english label {
    font-family: var(--sailec-font);
    font-size: 14pt;
    color: var(--standard-dark-grey);
    margin-bottom: 8px;
}

#contact .chinese label {
    font-family: var(--nimbus-font);
    font-size: 14pt;
    color: var(--standard-dark-grey);
    margin-bottom: 8px;
}

#contact .english label span {
    font-family: var(--sailec-thin);
    font-size: 14pt;
    color: var(--standard-dark-grey);
    margin-bottom: 8px;
}

#contact .chinese label span {
    font-family: var(--nimbus-light);
    font-size: 14pt;
    color: var(--standard-dark-grey);
    margin-bottom: 8px;
}

#contact .english textarea {
    color: var(--standard-dark-tan);
    font-family: var(--sailec-thin);
    font-size: 14pt;
    line-height: 30px;
    padding: 0px 5px;
    margin: 0;
    border: none;
    outline: none;
    resize: none;
    background-color: transparent;
    background: repeating-linear-gradient(to bottom, transparent, transparent 28px, var(--standard-dark-tan) 28px, var(--standard-dark-tan) 30px);
    background-attachment: local;
}

#contact .chinese textarea {
    color: var(--standard-dark-tan);
    font-family: var(--nimbus-light);
    font-size: 14pt;
    line-height: 30px;
    padding: 0px 5px;
    margin: 0;
    border: none;
    outline: none;
    resize: none;
    background-color: transparent;
    background: repeating-linear-gradient(to bottom, transparent, transparent 28px, var(--standard-dark-tan) 28px, var(--standard-dark-tan) 30px);
    background-attachment: local;
}

#contact input {
    background: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    border-width: 2px;
    outline: none;
    border-color: var(--standard-dark-tan);
    font-size: 16px;
    padding: 3px 0;
    color: var(--standard-dark-tan);
}

#contact textarea:focus {
    background-color: var(--standard-light-tan);
}

#contact input:focus {
    background-color: var(--standard-light-tan)
}

/* put bottom margin on page */
#contact .submit-button {
    text-align: center;
    margin-bottom: 32px;
}

#contact .english button {
    width: 50%;
    min-width: 200px;
    font-size: 20pt;
    font-family: var(--sailec-font);
    border-radius: 50px;
    border: 2px solid var(--standard-dark-grey);
    color: var(--standard-dark-grey);
    background-color: var(--standard-tan);
}

#contact .chinese button {
    width: 50%;
    min-width: 200px;
    font-size: 20pt;
    font-family: var(--nimbus-font);
    border-radius: 50px;
    border: 2px solid var(--standard-dark-grey);
    color: var(--standard-dark-grey);
    background-color: var(--standard-tan);
}

#contact .english textarea::placeholder {
    font-family: var(--sailec-thin);
    font-size: 14pt;
}

#contact .chinese textarea::placeholder {
    font-family: var(--nimbus-light);
    font-size: 14pt;
}

#contact .english input::placeholder {
    font-family: var(--sailec-thin);
    font-size: 14pt;
}

#contact .chinese input::placeholder {
    font-family: var(--nimbus-thin);
    font-size: 14pt;
}

#contact span {
    font-family: var(--sailec-thin);
}

#contact .contact-footer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    color: white;
    background-color: var(--standard-dark-grey);
    padding: var(--spacing-three) 0 16px 0;
}

#contact .contact-footer .break {
    flex: 0 0 100%;
    height: 0px;
}

#contact .contact-footer .logo {
    font-family: var(--dunhem-font);
    font-size: 24pt;
    margin-left: calc(40px + 42px + 40px);
}

#contact .contact-footer .logo .ch-logo {
    font-size: 20pt;
    margin-left: 48px;
    margin-top: -6px;
}

#contact .english .contact-footer .tagline {
    font-family: var(--sailec-font);
    font-size: 14pt;
    max-width: 360px;
    margin-top: 16px;
    margin-left: calc(40px + 42px + 40px + 44px);
}

#contact .chinese .contact-footer .tagline {
    font-family: var(--nimbus-font);
    font-size: 14pt;
    max-width: 360px;
    margin-top: 16px;
    margin-left: calc(40px + 42px + 40px + 44px);
}

#contact .contact-footer .contact-info {
    margin-right: calc(40px + 42px + 40px + 44px);
}

#contact .english .contact-footer .contact-info .business-name {
    font-family: var(--sailec-medium);
    font-size: 14pt;
    margin-top: 8px;
    margin-bottom: 32px;
}

#contact .chinese .contact-footer .contact-info .business-name {
    font-family: var(--nimbus-medium);
    font-size: 14pt;
    margin-top: 8px;
    margin-bottom: 32px;
}

#contact .contact-footer .contact-info .address {
    white-space: nowrap;
    font-family: var(--sailec-font);
    font-size: 14pt;
    margin-bottom: 24px;
    line-height: calc(14pt * var(--ch-line-height));
}

#contact .contact-footer .contact-info .address span {
    font-family: var(--nimbus-font);
    font-size: 14pt;
    margin-bottom: 24px;
    margin-left: 6px;
}

#contact .contact-footer .contact-info .phone {
    font-family: var(--sailec-font);
    font-size: 14pt;
}

#contact .contact-footer .contact-info .phone span {
    font-family: var(--nimbus-font);
    font-size: 14pt;
}

#contact .contact-footer .footer-container {
    color: var(--standard-pale-grey);
    margin-left: calc(40px + 42px + 40px);
    white-space: nowrap;
}

/* ================================404 & Success PAGE================================ */

/* One off header fix (chinese) */
#one-off {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background-color: white;
}

/* TODO center everything */
#one-off .flex-container {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

#one-off .one-off-header {
    font-family: var(--dunhem-font);
    font-size: 36pt;
    margin-left: 116px;
    margin-top: 60px;
}

.english #one-off .title {
    text-align: center;
    font-family: var(--sailec-font);
    font-size: 70pt;
    color: var(--standard-dark-grey);
}

.chinese #one-off .title {
    text-align: center;
    font-family: var(--nimbus-font);
    font-size: 70pt;
    color: var(--standard-dark-grey);
}

.english #one-off .title-success {
    margin-left: 116px;
    margin-right: var(--title-right-margin);
    font-family: var(--sailec-font);
    font-size: 40pt;
    color: var(--standard-dark-grey);
}

.chinese #one-off .title-success {
    margin-left: 116px;
    margin-right: var(--title-right-margin);
    font-family: var(--nimbus-custom);
    font-size: 40pt;
    color: var(--standard-dark-grey);
    line-height: calc(40pt * var(--ch-line-height));
}

.english #one-off .title-disclaimer {
    font-family: var(--sailec-medium);
    font-size: 40pt;
    text-align: center;
    color: var(--standard-dark-grey);
}

.chinese #one-off .title-disclaimer {
    font-family: var(--nimbus-medium);
    font-size: 40pt;
    color: var(--standard-dark-grey);
    line-height: calc(40pt * var(--ch-line-height));
    text-align: center;

}

.english #one-off .description {
    text-align: center;
    font-size: 20pt;
    font-family: var(--sailec-font);
}

.chinese #one-off .description {
    text-align: center;
    font-size: 20pt;
    font-family: var(--nimbus-font);
}

.english #one-off .description-disclaimer {
    text-align: center;
    font-size: 20pt;
    font-family: var(--sailec-font);
}

.chinese #one-off .description-disclaimer {
    text-align: center;
    font-size: 20pt;
    font-family: var(--nimbus-medium);
}

#one-off a {
    color: var(--standard-dark-grey);
    text-decoration: none;
}

/* center buttons */

#one-off button {

    min-width: 200px;
    font-size: 20pt;
    font-family: var(--sailec-font);
    border-radius: 50px;
    border: 2px solid var(--standard-dark-grey);
    color: var(--standard-dark-grey);
    background-color: white;
}

#one-off .success {
    opacity: 0;
}

#one-off .button-container {
    margin-top: var(--spacing-four);
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 140px;
}

#one-off dunhem-footer .footer {
    font-size: 10.5pt;
    color: var(--standard-medium-grey);
    margin-bottom: 32px;
    margin-left: 116px;
}

#one-off .footer a {
    cursor: pointer;
    text-decoration: none;
    color: var(--standard-medium-grey);
}


/* tablet/iPad */
@media screen and (max-width: 1025px) {

    #disputes-us .desktop {
        display: none;
    }

    #disputes-us .mobile {
        display: block;
    }

    #disputes-ch .desktop {
        display: none;
    }

    #disputes-ch .mobile {
        display: block;
    }

    ::-webkit-scrollbar {
        display: none;
    }

    #home .english #main-content .text-content {
        max-width: 772px;
    }

    #team .team-container {
        column-gap: 20px;
    }

    #team .team-container .member-info {
        padding: 0;
    }

    #team .english .team-container .member-info .title {
        font-size: 22pt;
    }

    #team .chinese .team-container .member-info .title {
        font-size: 22pt;
        line-height: calc(22pt * var(--ch-line-height));
    }

    #team .english .team-container .member-list .name {
        font-size: 16pt;
    }

    #team .chinese .team-container .member-list .name {
        font-size: 16pt;
    }

    #team .team-container .member-list .position {
        color: white;
        font-size: 12pt;
    }

    #team #info {
        margin-bottom: 60px;
        height: calc(100% - 260px);
    }

    #team .english #ind-name {
        margin-top: 16px;
        font-size: 20pt;
    }

    #team .chinese #ind-name {
        margin-top: 16px;
        font-size: 20pt;
    }

    #team .chinese #ind-name span {
        margin-top: 16px;
        font-size: 12pt;
    }

    #team .english #ind-posi {
        font-size: 11pt;
        /* margin-top: 8px; */
    }

    #team .chinese #ind-posi {
        font-size: 11pt;
        margin-top: 8px;
    }

    #team .chinese #all-info {
        margin-top: var(--spacing-two);
    }

    #contact .description {
        margin-right: var(--title-right-margin);
    }

}

/* mobile */
@media screen and (max-width: 567px) {

    ::-webkit-scrollbar {
        display: none;
    }

    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

    /* HEADER */

    #dunhem-title #logo {
        font-size: 18pt;
    }

    #logo .ch .one {
        font-size: 18pt;
    }

    #logo .ch .two {
        font-size: 13.5pt;
        margin-left: 32px;
        margin-top: -6px;
    }

    .header {
        padding: 10px 10px 0 16px;
    }

    .header .title {
        font-family: var(--dunhem-font);
        transition: all 0.5s ease-in-out;
    }

    .header #english-button {
        font-size: 9pt;
    }

    .header #separater {
        font-size: 9pt;
    }

    .header #chinese-button {
        font-size: 9pt;
    }

    .header .title a {
        text-decoration: none;
        color: var(--standard-dark-grey);
    }

    .header .nav-header {
        column-gap: 12px;
    }

    .header .nav-toggle {
        margin-top: 12px;
        height: 11px;
        width: 16px;
    }

    .header .nav-toggle .bar {
        height: 1px;
    }

    .header .x:nth-of-type(1) {
        width: 14px;
    }

    .header .x:nth-of-type(3) {
        width: 14px;
    }

    .header .language {
        padding: 10px 0 0 0;
    }

    .header .language button {
        font-size: 9pt;
    }

    .header #chinese-button {
        font-size: 9pt;
    }

    /* FOOTER */

    dunhem-footer {
        font-size: 7pt;
        margin: 0 0 10px 16px;
    }

    /* SIDEBAR */

    .sidebar-contents {
        align-items: start;
        margin-left: calc(16px + 32px);
    }

    .sidebar a {
        font-size: 14pt;
    }

    /* HOME PAGE */

    #home #home-logo {
        z-index: -1;
        position: fixed;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100dvh;
        width: calc(100% - 20px);
        margin: 0;
        width: 200pt;
        font-family: var(--dunhem-font);
        color: var(--standard-light-tan);
        font-size: 200pt;
    }

    #home-logo-animation {
        z-index: 3;
        position: fixed;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100dvh;
        width: calc(100% - 20px);
        margin: 0;
        width: 200pt;
        font-size: 200pt;
    }

    #home .english #main-content {
        height: calc(100% - 108px);
        margin: var(--mobile-margins)
    }

    #home .english #main-content .text-content {
        font-family: var(--sailec-font);
        color: var(--standard-dark-grey);
        font-size: 22pt;
        max-width: none;
        margin-top: 0;
    }

    #home .chinese #main-content {
        height: calc(100% - 120px);
        margin: var(--mobile-chinese-margins);
    }

    #home .chinese #main-content .text-content {
        font-family: var(--nimbus-font);
        color: var(--standard-dark-grey);
        font-size: 22pt;
        max-width: 410px;
        margin-top: 0;
        line-height: calc(22pt * var(--ch-line-height));

    }

    #home .footer {
        margin: 0 0 16px 16px;
    }

    /* WHO WE ARE PAGE */

    #who-we-are .english {
        margin: var(--mobile-margins);
    }

    #who-we-are .chinese {
        margin: var(--mobile-chinese-margins);
    }

    #who-we-are .english .main-content .title {
        font-size: 22pt;
        margin-right: 0;
        margin-top: var(--mobile-spacing-one);
    }

    #who-we-are .chinese .main-content .title {
        font-size: 22pt;
        margin-right: 0;
        margin-top: var(--mobile-spacing-one);
        line-height: calc(22pt * var(--ch-line-height));
    }

    #each-line-text div {
        opacity: 0;
        animation: revealText 1.5s ease-in-out forwards;
    }

    #who-we-are .description {
        margin-right: 0;
        margin-top: var(--mobile-spacing-two);
        font-size: 11pt;
        line-height: 18pt;
        row-gap: var(--mobile-paragraph-gap);
    }

    /* DISPUTES US PAGE */

    #disputes-us .english {
        margin: var(--mobile-margins);
    }

    #disputes-us .chinese {
        margin: var(--mobile-chinese-margins);
    }

    #disputes-us .english .title {
        font-size: 22pt;
        margin-right: 0;
        margin-top: var(--mobile-spacing-one);
    }

    #disputes-us .chinese .title {
        font-size: 22pt;
        margin-right: 0;
        margin-top: var(--mobile-spacing-one);
        line-height: calc(22pt * var(--ch-line-height));
    }

    #disputes-us .english .description {
        row-gap: var(--mobile-paragraph-gap);
        margin-right: 0;
        margin-top: var(--mobile-spacing-two);
        font-size: 11pt;
        line-height: 18pt;
    }

    #disputes-us .chinese .description {
        row-gap: var(--mobile-paragraph-gap);
        margin-right: 0;
        margin-top: var(--mobile-spacing-two);
        font-size: 11pt;
        line-height: calc(11pt * var(--ch-line-height));
    }

    #disputes-us .practice-container {
        margin-top: var(--mobile-spacing-two);
        margin-right: 0;
        margin-left: 0;
        border-radius: 25px;
        padding: var(--mobile-spacing-three) var(--mobile-spacing-four);
    }

    #disputes-us .english #practice-title {
        font-size: 16pt;
    }

    #disputes-us .chinese #practice-title {
        font-size: 16pt;
    }

    #disputes-us .english .practice .practice-description {
        font-size: 11pt;
        margin-top: var(--mobile-spacing-four);
        margin-bottom: var(--mobile-spacing-four);
    }

    #disputes-us .chinese .practice .practice-description {
        font-size: 11pt;
        margin-top: var(--mobile-spacing-four);
        margin-bottom: var(--mobile-spacing-four);
        line-height: calc(11pt * var(--ch-line-height));
    }


    #disputes-us .practice-list {
        display: flex;
        flex-direction: row;
        column-gap: var(--spacing-three);
    }

    #disputes-us .english ul {
        font-size: 11pt;
        padding: 0;
        margin-top: 0;
        margin-bottom: 0;
    }

    #disputes-us .chinese ul {
        font-size: 11pt;
        padding: 0;
        margin-top: 0;
        margin-bottom: 0;
    }

    #disputes-us li {
        margin-bottom: 10px;
    }

    /* DISPUTES CHINA PAGE */

    #disputes-ch .english {
        margin: var(--mobile-margins);
    }

    #disputes-ch .chinese {
        margin: var(--mobile-chinese-margins);
    }

    #disputes-ch .english .title {
        font-size: 22pt;
        margin-right: 0;
        margin-top: var(--mobile-spacing-one);
    }

    #disputes-ch .chinese .title {
        font-size: 22pt;
        margin-right: 0;
        margin-top: var(--mobile-spacing-one);
        line-height: calc(22pt * var(--ch-line-height));
    }

    #disputes-ch .english .description {
        row-gap: var(--mobile-paragraph-gap);
        margin-right: 0;
        margin-top: var(--mobile-spacing-two);
        font-size: 11pt;
        line-height: 18pt;
    }

    #disputes-ch .chinese .description {
        row-gap: var(--mobile-paragraph-gap);
        margin-right: 0;
        margin-top: var(--mobile-spacing-two);
        font-size: 11pt;
        line-height: calc(11pt * var(--ch-line-height));
    }

    #disputes-ch .practice-container {
        margin-top: var(--mobile-spacing-two);
        margin-right: 0;
        margin-left: 0;
        border-radius: 25px;
        padding: var(--mobile-spacing-three) var(--mobile-spacing-four);
    }

    #disputes-ch .english #practice-title {
        font-size: 16pt;
    }

    #disputes-ch .chinese #practice-title {
        font-size: 16pt;
    }

    #disputes-ch .english .practice .practice-description {
        font-size: 11pt;
        margin-top: var(--mobile-spacing-four);
        margin-bottom: var(--mobile-spacing-four);
    }

    #disputes-ch .chinese .practice .practice-description {
        font-size: 11pt;
        margin-top: var(--mobile-spacing-four);
        margin-bottom: var(--mobile-spacing-four);
        line-height: calc(11pt * var(--ch-line-height));
    }


    #disputes-ch .practice-list {
        display: flex;
        flex-direction: row;
        column-gap: var(--spacing-three);
    }

    #disputes-ch .english ul {
        font-size: 11pt;
        padding: 0;
        margin-top: 0;
        margin-bottom: 0;
    }

    #disputes-ch .chinese ul {
        font-size: 11pt;
        padding: 0;
        margin-top: 0;
        margin-bottom: 0;
    }

    #disputes-ch li {
        margin-bottom: 10px;
    }

    /* ADVISORY PAGE */

    #advisory .english {
        flex: 1;
        margin: var(--mobile-margins);
        overflow-y: scroll;
    }

    #advisory .chinese {
        flex: 1;
        margin: var(--mobile-chinese-margins);
        overflow-y: scroll;
    }

    #advisory .english .title {
        font-size: 22pt;
        margin-right: 10px;
        margin-top: var(--mobile-spacing-one);
    }

    #advisory .chinese .title {
        font-family: var(--nimbus-custom);
        font-size: 22pt;
        margin-right: 10px;
        margin-top: var(--mobile-spacing-one);
        line-height: calc(22pt * var(--ch-line-height));
    }

    #advisory .english .description {
        row-gap: var(--mobile-paragraph-gap);
        margin-right: 0;
        margin-top: var(--mobile-spacing-two);
        font-size: 11pt;
        line-height: 18pt;
    }

    #advisory .chinese .description {
        row-gap: var(--mobile-paragraph-gap);
        margin-right: 0;
        margin-top: var(--mobile-spacing-two);
        font-size: 11pt;
        line-height: calc(11pt * var(--ch-line-height));
    }

    #advisory .english dunhem-footer .footer {
        margin-top: var(--copyright-spacing);
        margin-bottom: 0;
    }

    #advisory .chinese dunhem-footer .footer {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: var(--copyright-spacing);
        margin-bottom: 0;
    }

    /* TEAM PAGE */

    #team .main-content .english {
        height: 100%;
    }

    #team .main-content .chinese {
        height: 100%;
    }

    #team .chinese .team-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

    #team .english .team-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

    #team .team-container .member-list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: start;
        row-gap: var(--mobile-spacing-four);
        column-gap: 8px;
        white-space: nowrap;
        width: auto;
        max-width: none;
        margin: 108px 16px 0 16px;
    }

    #team .team-container .member-list .member {
        flex: 1;
    }

    #team .chinese .team-container .member-list .member .summary {
        display: flex;
        flex-direction: row;
        column-gap: 8px;
    }

    #team .english .team-container .member-list .name {

        font-size: 13pt;
    }

    #team .english .team-container .member-list .position {
        font-size: 9pt;
    }

    #team .chinese .team-container .member-list .name {
        font-family: var(--nimbus-font);
        display: flex;
        flex-direction: column;
        align-items: start;
        font-size: 13pt;
    }

    #team .chinese .team-container .member-list .position {
        margin-top: 4px;
        font-size: 9pt;
    }

    #team .chinese .team-container .member-list .name .team-english-name {
        font-size: 9pt;
        font-family: var(--nimbus-light);
    }

    #team .english .team-container .member-info {
        overflow-y: scroll;
        max-width: none;
        margin-top: 20px;
        padding: 0;
        flex: 1;
    }

    #team .chinese .team-container .member-info {
        overflow-y: scroll;
        max-width: none;
        margin-top: var(--mobile-spacing-one);
        padding: 0;
        flex: 1;
    }

    #team .english .team-container .member-info .title {
        font-size: 22pt;
        padding: 0 16px;
    }

    #team .chinese .team-container .member-info .title {
        font-family: var(--nimbus-custom);
        font-size: 22pt;
        padding: 0 16px;
        line-height: calc(22pt * var(--ch-line-height));
    }

    #team .chinese .team-container .member-list .name .position {
        margin-bottom: 4px;
        font-size: 9pt;
        margin-left: 4px;
    }

    #team #info {
        margin-top: 0;
        margin-bottom: 0;
        padding: 0 32px 0 32px;
        z-index: 3;
    }

    #team .english #all-info {
        font-family: var(--sailec-font);
        font-size: 11pt;
        line-height: 1.5;
        height: 100%;
    }

    #team .chinese #all-info {
        font-family: var(--nimbus-font);
        font-size: 11pt;
        line-height: calc(11pt * var(--ch-line-height));
        height: 100%;
    }

    #name-picture .circle-image {
        position: relative;
        width: 125px;
        height: 125px;
        overflow: hidden;
        border-radius: 50%;
        opacity: 0;
        animation: revealText 1s ease 1.5s 1 forwards;
    }

    #team #info {
        height: calc(100% - 110px);
    }

    #team #info .circle-image img {
        max-height: none;
        width: 100%;
        height: auto;
    }

    #team #info #ind-header {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
    }

    #team #info #name-picture {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        column-gap: 0;
    }


    #team #close-ind {
        margin-top: var(--mobile-spacing-one);
        margin-right: 24px;
        margin-bottom: 0px;
        font-size: 18pt;
        text-align: end;
    }

    #team #background {
        margin-top: var(--spacing-four);
        overflow-y: scroll;
    }

    #team #team-photo {
        opacity: 1;
        animation: none;
    }

    #team .background p {
        margin: var(--mobile-paragraph-gap) 0;
    }

    #team #ind-case li {
        margin-bottom: var(--mobile-paragraph-gap);
    }

    #team dunhem-footer .footer {
        margin: 0;
    }

    #team .mobile-nav-flex {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: start;
        /* TODO: v2 */
        /* justify-content: space-between; */
    }

    #team .mobile-nav-flex .ind-up {
        font-family: var(--web-widgets);
        flex: 0 0 100%;
        font-size: 22pt;
        text-align: center;
    }

    #team .mobile-nav-flex dunhem-footer {
        margin: 60px 0 0 0;
        line-height: normal;
    }

    #team .mobile-nav-flex dunhem-footer div {
        margin: 4px 0 0 0;
    }

    #team .mobile-nav-flex dunhem-footer a {
        color: white;
    }

    /* CONTACT PAGE */

    #contact .english {
        margin: 48px 0 0 0;
    }

    #contact .chinese {
        margin: 64px 0 0 0;
    }

    #contact .english .title {
        font-family: var(--sailec-font);
        font-size: 22pt;
        margin-right: 16px;
        margin-left: 16px;
        margin-top: var(--mobile-spacing-one);
    }

    #contact .chinese .title {
        font-family: var(--nimbus-custom);
        font-size: 22pt;
        margin-right: 16px;
        margin-top: var(--mobile-spacing-one);
        margin-left: 16px;
        line-height: calc(22pt * var(--ch-line-height));
    }

    #contact .english .description {
        row-gap: var(--mobile-paragraph-gap);
        margin-top: var(--mobile-spacing-two);
        font-size: 11pt;
        margin-right: 16px;
        margin-left: 16px;

    }

    #contact .chinese .description {
        row-gap: var(--mobile-paragraph-gap);
        margin-top: var(--mobile-spacing-two);
        font-size: 11pt;
        margin-right: 16px;
        margin-left: 16px;

    }

    #contact .english .caveat {
        font-size: 11pt;
        margin-bottom: 48px;
    }

    #contact .chinese .caveat {
        font-size: 11pt;
        margin-bottom: 48px;
        line-height: calc(11pt * var(--ch-line-height));
    }

    #contact .input-item {
        max-width: 100%;
        margin-bottom: var(--mobile-spacing-three);
    }

    #contact .message-input {
        margin-bottom: var(--mobile-spacing-three);
    }

    #contact form {
        max-width: none;
        width: 100%;
        margin: var(--mobile-spacing-three) 0;
    }

    #contact .english label {
        font-size: 11pt;
        margin-bottom: 5px;
    }

    #contact .english label span {
        font-size: 11pt;
        margin-bottom: 5px;
    }

    #contact .chinese label {
        font-size: 11pt;
        margin-bottom: 5px;
    }

    #contact .chinese label span {
        font-size: 11pt;
        margin-bottom: 5px;
    }

    #contact .chinese textarea {
        font-size: 11pt;
        background: repeating-linear-gradient(to bottom, transparent, transparent 29px, var(--standard-dark-tan) 29px, var(--standard-dark-tan) 30px);
    }

    #contact .english textarea {
        font-size: 11pt;
        background: repeating-linear-gradient(to bottom, transparent, transparent 29px, var(--standard-dark-tan) 29px, var(--standard-dark-tan) 30px);
    }

    #contact .chinese input {
        font-size: 11pt;
        border-bottom-width: 1px;
    }

    #contact .english input {
        font-size: 11pt;
        border-bottom-width: 1px;
    }

    #contact textarea:focus {
        background-color: var(--standard-light-tan);
    }

    #contact input:focus {
        background-color: var(--standard-light-tan);
    }

    #contact .submit-button {
        text-align: center;
    }

    #contact .english button {
        font-size: 14pt;
    }

    #contact .chinese button {
        font-size: 14pt;
    }

    #contact .english textarea::placeholder {
        font-size: 11pt;
    }

    #contact .chinese textarea::placeholder {
        font-size: 11pt;
    }

    #contact .english input::placeholder {
        font-size: 11pt;
    }

    #contact .chinese input::placeholder {
        font-size: 11pt;
    }

    #contact .contact-footer {
        padding: var(--mobile-spacing-three) 0 16px 0;
    }

    #contact .contact-footer .logo {
        font-family: var(--dunhem-font);
        font-size: 16pt;
        margin-left: 16px;
    }

    #contact .contact-footer .logo .ch-logo {
        font-size: 12pt;
        margin-left: 28px;
        margin-top: -2px;
    }

    #contact .english .contact-footer .tagline {
        font-family: var(--sailec-font);
        font-size: 10pt;
        max-width: 140px;
        margin-top: 16px;
        margin-left: 43px;
    }

    #contact .chinese .contact-footer .tagline {
        font-family: var(--nimbus-font);
        font-size: 9pt;
        max-width: 140px;
        margin-top: 16px;
        margin-left: 43px;
    }

    #contact .contact-footer .contact-info {
        margin-right: 16px;
    }

    #contact .english .contact-footer .contact-info .business-name {
        font-family: var(--sailec-medium);
        font-size: 10pt;
        margin-top: 10px;
        margin-bottom: 32px;
    }

    #contact .chinese .contact-footer .contact-info .business-name {
        font-family: var(--nimbus-medium);
        font-size: 10pt;
        margin-top: 10px;
        margin-bottom: 32px;
    }

    #contact .contact-footer .contact-info .address {
        white-space: nowrap;
        font-family: var(--sailec-font);
        font-size: 10pt;
        margin-bottom: 24px;
        line-height: calc(10pt * var(--ch-line-height));
    }

    #contact .contact-footer .contact-info .address span {
        font-family: var(--nimbus-font);
        font-size: 10pt;
        margin-bottom: 16px;
        margin-left: 6px;
    }

    #contact .contact-footer .contact-info .phone {
        font-family: var(--sailec-font);
        font-size: 10pt;
    }

    #contact .contact-footer .contact-info .phone span {
        font-family: var(--nimbus-font);
        font-size: 10pt;
    }

    #contact .contact-footer .footer-container {
        color: var(--standard-pale-grey);
        margin-left: 16px;
    }

    #myError .content {
        row-gap: 48px;
        padding: 16px;
    }

    #myError .text {
        font-size: 16pt;
    }

    #myError .back-button {
        max-width: 100px;
        font-size: 12pt;
    }

    #myError-ch .content {
        row-gap: 48px;
        padding: 16px;
    }

    #myError-ch .text {
        font-size: 16pt;
    }

    #myError-ch .back-button {
        max-width: 100px;
        font-size: 12pt;
    }

    /* ONE OFF SUCCESS AND 404 PAGE */

    #one-off {
        height: 100%;
        width: 100%;
    }

    #one-off .flex-container {
        /*     --mobile-margins: 48px 16px 0 16px;*/

        margin: 0;
        /* margin: var(--mobile-margins); */
        height: 100%;
        width: 100%;
    }

    #one-off .one-off-header {
        font-size: 18pt;
        margin-top: 16px;
        margin-left: 16px;
    }

    .english #one-off .title {
        font-size: 40pt;
    }

    .chinese #one-off .title {
        font-size: 40pt;
    }

    .english #one-off .main-content {
        margin: var(--mobile-margins);
    }

    .chinese #one-off .main-content {
        margin: var(--mobile-chinese-margins);
    }

    .english #one-off .title-success {
        margin: 0 16px;
        font-size: 22pt;
    }

    .chinese #one-off .title-success {
        margin: 0 16px;
        font-family: var(--nimbus-custom);
        font-size: 22pt;
        line-height: calc(22pt * var(--ch-line-height));
    }

    .english #one-off .title-disclaimer {
        font-size: 40pt;
        margin-bottom: 24;
    }

    .chinese #one-off .title-disclaimer {
        font-size: 40pt;
        line-height: calc(40pt * var(--ch-line-height));
        margin-bottom: 24px;
    }

    .english #one-off .description {
        text-align: center;
        font-size: 18pt;
        font-family: var(--sailec-font);
    }

    .chinese #one-off .description {
        text-align: center;
        font-size: 18pt;
        font-family: var(--nimbus-font);
    }

    .english #one-off .description-disclaimer {
        margin: 0 16px;
        text-align: center;
        font-size: 18pt;
        font-family: var(--sailec-font);
    }

    .chinese #one-off .description-disclaimer {
        margin: 0 16px;
        text-align: center;
        font-size: 18pt;
        font-family: var(--nimbus-medium);
    }

    #one-off a {
        color: var(--standard-dark-grey);
        text-decoration: none;
    }

    .english #one-off button {
        min-width: 100px;
        font-size: 14pt;
        border-radius: 50px;
    }

    .chinese #one-off button {
        min-width: 100px;
        font-size: 14pt;
        border-radius: 50px;
    }

    #one-off .button-container {
        column-gap: 24px;
        margin-top: var(--mobile-spacing-four);
    }

    #one-off dunhem-footer .footer {
        margin: 0;
        font-size: 7pt;
    }

    #one-off .footer a {
        cursor: pointer;
        text-decoration: none;
    }

}