:root {
    --TextBlack: #050e2b;
    --TextGray: #6e6e73;
    --TextLightGray: #b0b0b4;
}
*,
*:before,
*:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    letter-spacing: -0.02em;
    line-height: 1.1em;
    font-family: "Rubik", sans-serif;
}

html,
body {
    font-size: 18px;
}
body {
    background: #f5f5f7;
    font-family: "Rubik", sans-serif;
    color: var(--TextGray);
}

.wrapper {
    max-width: 740px;
    margin: 0 auto;
}
.wrapper-inner {
    margin: 0 20px;
}

/* Box with pretty scrollbar v1 */
.PrettyScrollbar1::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
.PrettyScrollbar1::-webkit-scrollbar-thumb {
    background-clip: padding-box;
    border-radius: 3px;
    background-color: hsl(220 3% 87%);
}

.propic {
    width: 11rem;
    height: 11rem;
    border-radius: 11rem;
    display: block;
    overflow: hidden;
}
.propic img {
    display: block;
    width: 100%;
    height: 100%;
}

.AboutMeButton {
    color: var(--TextBlack);
    font-weight: 500;
    font-size: 0.8rem;
    background: transparent;
    border: 0 none;
    cursor: pointer;
}
.AboutMeButton:hover {
    text-decoration: underline;
}

.Title2 {
    color: var(--TextBlack);
    font-size: 2rem;
    font-weight: 600;
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}
.Title3 {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
    font-size: 1.2rem;
    font-weight: 500;
}

.ScrollFiller_L {
    display: none;
    width: 20px;
    height: 100px;
    flex-shrink: 0;
}
.ScrollFiller_R {
    display: none;
    width: 18px;
    height: 100px;
    flex-shrink: 0;
}

/* Feedback Window */
.FeedbackWindow {
    overflow: auto;
    margin-top: 1rem;
    padding-bottom: 0.7rem;
    display: flex;
    flex-direction: row;
}

.FeedbackContainer {
    display: grid;
    grid-template-columns: repeat(26, 1fr);
    gap: 1rem;
}

/* Feedback Item */
.FeedbackItem {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    width: 290px;
}
.FeedbackItem__Stars {
    width: 100px;
    height: 20px;
}
.FeedbackItem__Stars img {
    display: block;
    width: 100%;
    height: auto;
}
.FeedbackItem__Body {
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: normal;
}
.FeedbackItem__Name {
    font-weight: 600;
    font-size: 0.8rem;
    margin-top: 1rem;
}
.FeedbackItem.Variant1 {
    background: url(/images/feedback-bg-1.jpg);
    background-size: cover;
}
.FeedbackItem.Variant1 {
    color: white;
}
.FeedbackItem.Variant2 {
    background: url(/images/feedback-bg-2.jpg);
    background-size: cover;
}
.FeedbackItem.Variant2 {
    color: white;
}
.FeedbackItem.Variant3 {
    background: url(/images/feedback-bg-3.jpg);
    background-size: cover;
}
.FeedbackItem.Variant3 {
    color: white;
}
.FeedbackItem.Variant4 {
    background: url(/images/feedback-bg-4.jpg);
    background-size: cover;
}
.FeedbackItem.Variant4 {
    color: white;
}
.FeedbackItem.Variant5 {
    background: url(/images/feedback-bg-5.jpg);
    background-size: cover;
}
.FeedbackItem.Variant5 {
    color: white;
}
.FeedbackItem.Variant6 {
    background: url(/images/feedback-bg-6.jpg);
    background-size: cover;
}
.FeedbackItem.Variant6 {
    color: white;
}

/* Work Window */
.WorkWindow {
    overflow: auto;
    margin-top: 2rem;
    padding-bottom: 0.7rem;
    display: flex;
    flex-direction: row;
}
.WorkContainer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem;
}

/* Work Item */
.WorkItem {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 1.5rem 2rem;
    width: 420px;
}
.WorkItem.Variant2 {
    background: #8c4d46;
    background: linear-gradient(
        339deg,
        rgba(140, 77, 70, 1) 11%,
        rgba(54, 17, 119, 1) 83%
    );
}
.WorkItem__Desc {
    margin-top: 1rem;
    line-height: 1.4em;
    font-size: 1.1rem;
}
.WorkItem__Desc p {
    margin-bottom: 1em;
    line-height: 1.4em;
}
.WorkItem__Desc span {
    color: var(--TextBlack);
    font-weight: 500;
}
.WorkItem.Variant2 .WorkItem__Desc {
    color: white;
}
.WorkItem.Variant2 .WorkItem__Desc span {
    color: white;
    font-weight: 400;
}
.WorkItem__Logo {
    height: 60px;
    padding: 1px 0;
}
.WorkItem__Logo__Pplr {
    width: 150px;
    height: auto;
}
.WorkItem__Logo__Mgpt {
    margin-top: 8px;
    width: 170px;
    height: auto;
}
.WorkItem__Logo__Lls {
    margin-top: 0;
    width: 130px;
    height: auto;
}
.WorkItem__Logo__Vfy {
    margin-top: 12px;
    width: 130px;
    height: auto;
}

/* Expectation */
.Expectation {
    list-style: none;
    margin-top: 1.5rem;
    min-height: 230px;
}
.Expectation li {
    margin-top: 1rem;
}
.Expectation li button {
    margin-bottom: 0.6rem;
    background: transparent;
    border: 0 none;
    font-weight: 500;
    font-size: 1.4rem;
    gap: 0.6rem;
    display: inline-flex;
    text-align: left;
    align-items: center;
    line-height: 1em;
    padding-left: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    color: black;
    opacity: 0.6;
}
.Expectation li button:hover {
    opacity: 1;
}
.Expectation li span {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.8rem;
    height: 0.8rem;
}
.Expectation li span::before {
    width: 100%;
    height: 0.18rem;
    display: block;
    content: "";
    background: black;
    border-radius: 99em;
}
.Expectation li span i {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    height: 100%;
    width: 0.18rem;
    display: block;
    background: black;
    border-radius: 99em;
}
.Expectation li.isOpened span i {
    display: none;
}

.Expectation li div {
    display: none;
    padding-left: 1.4rem;
    color: var(--TextLightGray);
}
.Expectation li.isOpened div {
    display: block;
}

/**/
.SectionIntro {
    display: flex;
    padding-top: 3rem;
    margin-bottom: 8.2rem;
}
.SectionIntro .propic {
    flex-shrink: 0;
    margin-top: 0rem;
}
.SectionIntro .desc {
    margin-left: 2rem;
}
.SectionIntro h1 {
    font-size: 1.2rem;
    font-weight: 400;
}
.SectionIntro h3 {
    margin-top: 0.2em;
    font-size: 2.3rem;
    font-weight: 400;
    color: var(--TextBlack);
    max-width: 12em;
    line-height: 1em;
}
.SectionIntro .Note {
    font-size: 0.8rem;
    margin-top: 1.1em;
    color: var(--TextLightGray);
    max-width: 380px;
    line-height: 1.3em;
}
.SectionIntro .Note p {
    margin-top: 0.3rem;
}
.SectionIntro .Note button {
    color: inherit;
    display: inline-block;
    margin-left: 0.5em;
    text-decoration: underline;
}
.SectionIntro .c1 {
    /*color: #856df6;*/
    font-weight: 500;
}
.SectionIntro .c2 {
    /*color: #d16c2a;*/
    font-weight: 500;
}
.SectionIntro .c3 {
    /*color: #4ea5ba;*/
    font-weight: 500;
}

.SectionTools {
    margin-top: 8.2rem;
    margin-bottom: 8.2rem;
}
.SectionTools ul {
    list-style: none;
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    row-gap: 0.25rem;
    column-gap: 0.6rem;
    font-weight: 500;
    align-items: baseline;
    max-width: 590px;
}
.SectionTools li {
    min-height: 1.2rem;
}
.SectionTools .group-1 {
    font-size: 1.2rem;
}
.SectionTools .group-2 {
    font-size: 0.9rem;
}
.SectionTools .group-3 {
    font-size: 0.65rem;
}

.SectionWork {
    margin-top: 8.2rem;
    margin-bottom: 8.2rem;
}
.SectionExpect {
    margin-top: 8.2rem;
    margin-bottom: 8.2rem;
}
.SectionFeedback {
    margin-top: 8.2rem;
    margin-bottom: 8.2rem;
}
/* Section Contact */
.SectionContact {
    margin-top: 8.2rem;
    margin-bottom: 8.2rem;
}
.SectionContact .Note {
    font-size: 0.8rem;
    margin-bottom: 1rem;
    max-width: 27em;
    color: var(--TextLightGray);
}
.SectionContact ul {
    list-style: none;
    font-size: 1.4rem;
    row-gap: 0.4em;
    column-gap: 0.7em;
}
.SectionContact li {
    margin-top: 0.2em;
}
.SectionContact ul span {
    margin-right: 0.3em;
}
/* Clickable part of contact */
.SectionContact .ContactBold {
    color: var(--TextBlack);
    font-size: inherit;
    text-decoration: none;
    font-weight: 700;
    margin-right: 0.3em;
    border: none;
    padding: 0;
    display: inline-block;
    background: transparent;
}
.SectionContact .ContactButton {
    color: var(--TextBlack);
    font-size: inherit;
    text-decoration: none;
    font-weight: 700;
    margin-right: 0.3em;
    border: none;
    padding: 0;
    display: inline-block;
    background: transparent;
    cursor: pointer;
}
.SectionContact .ContactButton:hover {
    text-decoration: underline;
}

/* Footer */
.Footer {
    margin-top: 12rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 0.8rem;
}

.CloseModalButton {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: black;
    border-radius: 50px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Style for the backdrop that appears when the dialog is open */
dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(0.5rem);
    -webkit-backdrop-filter: blur(0.5rem);
}

/* Basic styling for the modal itself */
dialog#AboutModal {
    padding: 2rem;
    border-radius: 2rem;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    max-height: 600px;
    width: 90vw;
    height: 99vh;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.AboutModal .Wrapper {
    height: 100%;
    position: relative;
}
.AboutModal .Scrollable {
    height: 100%;
    overflow: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-left: -2rem;
    margin-right: -2rem;
}

.AboutModal .FamilyPhoto {
    border-radius: 1rem;
    max-width: 380px;
    width: 100%;
    height: auto;
}
.AboutModal .DiscoveringCode {
    border-radius: 1rem;
    max-width: 380px;
    width: 100%;
    height: auto;
}
.AboutModal .ManyHats {
    max-width: 480px;
    height: auto;
}
.AboutModal h5 {
    font-size: 1.5rem;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
.AboutModal p {
    color: var(--TextGray);
    font-size: 1.1rem;
    line-height: 1.2em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
.AboutModal .Spacer {
    display: block;
    margin-top: 3rem;
}
.AboutModal .Cta {
    font-weight: 500;
    padding-bottom: 3rem;
    font-size: 1.2rem;
    color: var(--TextBlack);
}

.EmailWrapper {
    position: relative;
}
.EmailTooltip {
    font-style: normal;
    position: absolute;
    font-size: 0.8rem;
    width: 100px;
    background: black;
    border-radius: 20px;
    text-align: center;
    color: white;
    font-weight: 500;
    padding: 0.2rem;
    top: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    transition: opacity 0.2s;
    opacity: 0;
}
.EmailTooltip.visible {
    opacity: 1;
}

@media (max-width: 640px) {
    .SectionIntro {
        display: block;
    }
    .SectionIntro .desc {
        margin-left: 0;
        margin-top: 1.4rem;
    }
    .WorkWindow {
        margin-left: -20px;
        margin-right: -18px;
    }
    .FeedbackWindow {
        margin-left: -20px;
        margin-right: -18px;
    }
    .ScrollFiller_L,
    .ScrollFiller_R {
        display: block;
    }
    .WorkContainer {
        gap: 0.4rem;
    }
    .WorkItem {
        width: 336px;
    }
    .SectionContact li {
        margin-top: 1rem;
    }
    .SectionContact ul span {
        margin-right: 0;
        width: 100%;
        display: block;
    }
}
