:root {
    --cream: #fffbed;
    --violet: #9b2c56;
    --violet-dark: #8f254e;
    --orange: #d57b35;
    --orange-dark: #c66f2d;
    --pale-yellow: #fcf1cb;
    --white: #ffffff;
    --text: #9b2a54;
    --page-max: 1440px;
}

@font-face {
    font-family: "Titan One";
    src: url("assets/fonts/Titan_One/TitanOne-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PT Sans";
    src: url("assets/fonts/PT_Sans/PTSans-Regular.woff") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PT Sans";
    src: url("assets/fonts/PT_Sans/PTSans-Bold.woff") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Outfit Bold";
    font-display: swap;
    src: url("assets/fonts/outfit/Outfit-Bold.woff2") format("woff2");
}

@font-face {
    font-family: "Outfit Light";
    font-display: swap;
    src: url("assets/fonts/outfit/Outfit-Light.woff2") format("woff2");
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--white);
    color: var(--text);
    font-family: "PT Sans", Arial, sans-serif;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.page {
    width: 100%;
    min-height: 100vh;
    background: var(--white);
}

.hero {
    position: relative;
    min-height: 619px;
    overflow: hidden;
    background: var(--cream);
}

.topbar {
    position: relative;
    z-index: 4;
    width: min(100%, var(--page-max));
    margin: 0 auto;
    min-height: 150px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    padding: 76px 96px 0;
}

.social-follow,
.contact-bar {
    display: flex;
    align-items: center;
    gap: 18px;
}

.social-follow {
    max-width: 350px;
    grid-column: 1;
    position: relative;
    z-index: 2;
    padding-left: 52px;
    color: var(--violet);
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

.social-follow a {
    width: 24px;
    height: 24px;
}

.social-follow a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.social-follow span {
    position: relative;
}

.social-follow span > img:nth-child(1) {
    width: 18px;
    height: 20px;
    object-fit: cover;
    object-position: center;
    position: absolute;
    left: -12px;
    top: -12px;
}

.social-follow span > img:nth-child(3) {
    width: 30px;
    height: 14px;
    object-fit: cover;
    object-position: center;
    position: absolute;
    right: -20px;
    top: -12px;
}

.brand {
    position: absolute;
    z-index: 1;
    top: -158px;
    left: 50%;
    width: 395px;
    height: 395px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 158px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--pale-yellow);
}

.brand img {
    width: 246px;
    height: 238px;
    object-fit: contain;
}

.contact-bar {
    max-width: 380px;
    margin-left: auto;
    grid-column: 3;
    position: relative;
    z-index: 2;
    justify-content: flex-end;
}

.phone-link {
    color: var(--violet);
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.contact-button,
.instagram-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 8px 28px;
    border: 0;
    background: var(--orange);
    color: var(--cream);
    font-family: "Titan One", Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    transition: background-color 180ms ease, transform 180ms ease;
}

.contact-button:hover,
.instagram-button:hover {
    background: var(--orange-dark);
    transform: translateY(-1px);
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(720px, calc(100% - 48px));
    margin: 154px auto 0;
    text-align: center;
}

.hero-content h1 {
    margin: 0;
    color: var(--violet);
    font-size: 64px;
    line-height: 0.9;
    font-weight: 700;
    letter-spacing: 0;
}

.hero-content h1 span,
.hero-content h1 strong {
    display: block;
}

.hero-content h1 strong {
    font-family: "Titan One", Georgia, serif;
    font-weight: 400;
}

.hero-content p {
    max-width: 363px;
    margin: 16px auto 0;
    color: var(--violet);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.22;
}

.natural-badge {
    position: absolute;
    right: 20px;
    top: 58px;
    width: 145px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(7.9deg);
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
}

.natural-badge span {
    font-family: "Titan One", Georgia, serif;
    font-size: 28px;
    line-height: 0.9;
}

.natural-badge small {
    font-size: 28px;
    line-height: 0.9;
}

.hero-hand {
    position: absolute;
    left: 0;
    bottom: -81px;
    z-index: 2;
    width: 316px;
    height: 446px;
    object-fit: contain;
}

.hero-glass {
    position: absolute;
    right: 73px;
    bottom: -30px;
    z-index: 2;
    width: 196px;
    height: auto;
}

.story-section {
    position: relative;
    overflow: hidden;
    min-height: 729px;
    background: var(--violet);
    color: var(--white);
    content-visibility: auto;
    contain-intrinsic-size: auto 729px;
}

.illustration-bg {
    position: absolute;
    z-index: 1;
}
.illustration-bg:nth-child(1) {
    top: 8rem;
    right: 1rem;
}
.illustration-bg:nth-child(2) {
    top: 0;
    right: 45%;
}
.illustration-bg:nth-child(3) {
    bottom: 14rem;
    right: 15%;
}
.illustration-bg:nth-child(4) {
    bottom: 1rem;
    left: 40%;
}
.illustration-bg:nth-child(5) {
    top: 5%;
    right: 20%;
}
.illustration-bg:nth-child(6) {
    bottom: 20%;
    left: inherit;
    right: 0rem;
}

.story-grid {
    position: relative;
    z-index: 2;
    width: min(100%, var(--page-max));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 553px minmax(0, 578px);
    gap: 81px;
    align-items: start;
    padding: 132px 77px 90px;
}

.legals-content {
    position: relative;
    z-index: 2;
    width: min(100%, var(--page-max));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 81px;
    align-items: start;
    padding: 132px 77px 90px;
}

.featured-photo {
    position: relative;
    margin: 0;
}

.featured-photo > img {
    width: 553px;
    height: 491px;
    object-fit: cover;
    border-radius: 20px;
}

.featured-photo figcaption {
    position: absolute;
    top: -38px;
    left: -45px;
    width: 197px;
    height: 188px;
}

.featured-photo figcaption img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.story-copy {
    padding-top: 29px;
}

.story-copy h2 {
    margin: 0 0 30px;
    color: var(--white);
    font-family: "Titan One", Georgia, serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.05;
}

.story-copy p {
    margin: 0 0 20px;
    color: var(--white);
    font-size: 18px;
    line-height: 1.22;
}

.story-copy strong {
    font-weight: 700;
}

.story-decoration {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.gallery-section {
    position: relative;
    background: var(--cream);
    padding: 86px 0 36px;
    content-visibility: auto;
    contain-intrinsic-size: auto 520px;
}

.gallery-grid {
    width: min(100%, var(--page-max));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 306px 346px 334px 317px;
    gap: 39px;
    align-items: stretch;
    justify-content: center;
}

.gallery-grid img {
    width: 100%;
    height: 330px;
    object-fit: cover;
}

.instagram-button {
    display: flex;
    gap: 18px;
    width: 393px;
    min-height: 47px;
    margin: 56px auto 0;
    font-size: 18px;
}

.instagram-button img {
    width: 32px;
    height: 32px;
}

.footer {
    background: var(--white);
    padding: 58px 0 112px;
    content-visibility: auto;
    contain-intrinsic-size: auto 260px;
}

.footer-inner {
    width: min(100%, var(--page-max));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 140px 293px 206px 1fr;
    gap: 58px;
    align-items: start;
    padding: 0 55px;
}

.footer-logo img {
    width: 165px;
    height: 160px;
    object-fit: contain;
}

.workshop-address {
    display: flex;
    flex-direction: column;
    margin-top: 26px;
    color: var(--violet);
    font-size: 20px;
    line-height: 1.12;
    font-style: normal;
}

.workshop-address strong {
    font-family: "Titan One", Georgia, serif;
    font-weight: 400;
}

.ecograder {
    width: 206px;
    min-height: 108px;
    margin-top: 11px;
    padding: 15px 17px 11px;
    border: 1px solid var(--violet);
    border-radius: 13px;
    color: var(--violet);
    font-size: 10px;
    line-height: 0.9;
}

.ecograder-top {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    column-gap: 4px;
}

.ecograder-top span {
    font-size: 14px;
}

.ecograder-top a {
    align-self: end;
    color: inherit;
    font-size: 6px;
    text-decoration: underline;
}

.ecograder-top strong {
    grid-row: 1 / span 2;
    grid-column: 2;
    font-size: 42px;
    line-height: 0.78;
}

.ecograder p {
    margin: 14px 0 0;
    padding-top: 8px;
    border-top: 1px solid currentColor;
}

.footer-email {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 39px 0 0;
    color: var(--orange);
    font-size: 30px;
    line-height: 1;
    text-transform: uppercase;
}

.footer-email img {
    width: 38px;
    height: 55px;
    object-fit: contain;
}

.footer-email a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 1320px) {
    .gallery-section,
    .footer {
        overflow: hidden;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 39px;
        padding-inline: 24px;
    }

    .footer-inner {
        gap: 38px;
    }

    .footer-email {
        font-size: 27px;
    }
}

@media (max-width: 1180px) {
    .topbar {
        padding-inline: 34px;
    }

    .social-follow {
        padding-left: 0;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 42px;
        padding-inline: 44px;
    }

    .featured-photo {
        width: min(553px, 100%);
        margin: 0 auto;
    }

    .featured-photo > img {
        width: 100%;
        height: auto;
        aspect-ratio: 553 / 491;
    }

    .story-copy {
        width: min(578px, 100%);
        margin: 0 auto;
        padding-top: 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, minmax(180px, 1fr));
        gap: 24px;
        padding-inline: 24px;
    }

    .footer-inner {
        grid-template-columns: 120px 1fr 206px;
    }

    .footer-email {
        grid-column: 1 / -1;
        justify-self: end;
        margin-top: 10px;
    }
}

@media (max-width: 900px) {
    .hero {
        min-height: 650px;
    }

    .topbar {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 18px;
        padding-top: 210px;
    }

    .brand {
        top: -126px;
        width: 320px;
        height: 320px;
        padding-top: 126px;
    }

    .brand img {
        width: 205px;
        height: auto;
    }

    .hero-content {
        margin-top: 52px;
    }

    .hero-content h1 {
        font-size: 52px;
    }

    .natural-badge {
        right: 8px;
        top: 105px;
        width: 92px;
        height: 58px;
    }

    .natural-badge span,
    .natural-badge small {
        font-size: 22px;
    }

    .hero-hand {
        width: 220px;
        bottom: -48px;
    }

    .hero-glass {
        right: 16px;
        width: 140px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        padding-top: 74px;
    }

    .featured-photo {
        width: min(553px, 100%);
        margin: 0 auto;
    }

    .featured-photo > img {
        width: 100%;
        height: auto;
        aspect-ratio: 553 / 491;
    }

    .story-copy {
        padding-top: 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-inner {
        grid-template-columns: 120px 1fr;
        gap: 28px;
    }

    .ecograder {
        grid-column: 1 / 2;
    }

    .footer-email {
        grid-column: 1 / -1;
        justify-self: start;
        font-size: 24px;
    }
}

@media (max-width: 620px) {
    .hero {
        min-height: 620px;
    }

    .topbar {
        padding: 188px 18px 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .social-follow,
    .contact-bar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .social-follow,
    .phone-link {
        font-size: 16px;
    }

    .contact-button {
        min-height: 40px;
        padding-inline: 20px;
        font-size: 16px;
    }

    .hero-content {
        width: calc(100% - 34px);
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .natural-badge {
        position: static;
        margin: 18px auto 0;
    }

    .hero-hand {
        left: -62px;
        width: 190px;
    }

    .hero-glass {
        right: -18px;
        width: 118px;
    }

    .story-grid {
        padding: 54px 22px 64px;
    }

    .featured-photo figcaption {
        top: -30px;
        left: -17px;
        width: 130px;
        height: auto;
    }

    .story-copy h2 {
        font-size: 32px;
    }

    .story-copy p {
        font-size: 17px;
    }

    .gallery-section {
        padding-top: 34px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-inline: 18px;
    }

    .gallery-grid img {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .instagram-button {
        width: calc(100% - 36px);
        font-size: 16px;
        text-align: center;
    }

    .footer {
        padding-top: 34px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        padding-inline: 24px;
        text-align: center;
    }

    .footer-logo img {
        width: 128px;
        height: auto;
    }

    .workshop-address {
        margin-top: 0;
        font-size: 18px;
        flex-basis: auto;
    }

    .ecograder {
        grid-column: auto;
    }

    .footer-email {
        justify-self: center;
        justify-content: center;
        flex-wrap: wrap;
        font-size: 21px;
    }
}

/* Copyright */
div.m2c-copyright__container {
    margin: 0 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-direction: column;
}
div.m2c-copyright__container p {
    font-family: "Outfit Light", sans-serif !important;
    color: #FFF;
    font-size: 13px !important;
    font-weight: 300 !important;
    text-transform: none !important;
}
div.m2c-copyright__container p .m2c-copyright__svg-container {
    position: relative;
}
div.m2c-copyright__container p .m2c-copyright__svg {
    position: absolute;
    top: 0;
    left: 2px;
}
div.m2c-copyright__container p a {
    color: #F08017 !important;
    text-decoration: underline !important;
    text-transform: none !important;
}

div.m2c-copyright__container.m2c-copyright__light p {
    color: #FFF !important;
}
div.m2c-copyright__container.m2c-copyright__light a {
    color: #FFF !important;
}

div.m2c-copyright__container.m2c-copyright__dark p {
    color: #000 !important;
}
div.m2c-copyright__container.m2c-copyright__dark .m2c-copyright__svg path {
    fill: #000 !important;
}

/* Footer layout overrides */
.footer {
    overflow: hidden;
    padding: 58px 0 34px;
}

.footer-inner {
    width: min(100%, var(--page-max));
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 58px);
    padding: 0 55px;
}

.footer-logo {
    flex: 0 0 165px;
}

.footer-logo img {
    width: 165px;
    height: 160px;
}

.workshop-address {
    flex: 0 1 330px;
}

.ecograder {
    flex: 0 0 240px;
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--violet);
}

.footer .ecograder p {
    margin: 0;
    padding: 0;
    border: 0;
}

.footer div.ecograder__container {
    margin: 11px 0 0;
    width: 240px;
    border-color: rgba(155, 44, 86, 0.55);
}

.footer div.ecograder__container.ecograder__light a,
.footer div.ecograder__container.ecograder__light p,
.footer div.ecograder__container.ecograder__light span,
.footer div.ecograder__container.ecograder__light .ecograder_websitecarbon p {
    color: var(--violet) !important;
}

.footer div.ecograder__container.ecograder__light .ecograder__arrow svg path {
    fill: var(--violet) !important;
}

.footer div.ecograder__container.ecograder__light .ecograder__divider svg path.path-white {
    stroke: var(--violet) !important;
}

.footer-email {
    flex: 0 1 auto;
    justify-content: flex-end;
    margin: 39px 0 0 auto;
    white-space: nowrap;
}

.m2c-copyright.m2c-copyright__container {
    width: min(100%, var(--page-max));
    display: flex;
    justify-content: center;
    margin: 34px auto 0;
    padding: 0 24px;
    text-align: center;
}

.footer .m2c-copyright__container p {
    margin: 0;
    color: #000 !important;
}

@media (max-width: 1180px) {
    .footer-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 28px 42px;
        text-align: center;
    }

    .workshop-address {
        align-items: center;
    }

    .footer-email {
        flex: 1 0 100%;
        justify-content: center;
        margin: 8px 0 0;
        white-space: normal;
    }
}

@media (max-width: 620px) {
    .footer {
        padding-top: 34px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        padding-inline: 24px;
    }

    .footer-logo {
        flex-basis: auto;
    }

    .workshop-address {
        flex-basis: auto;
    }

    .footer-logo img {
        width: 128px;
        height: auto;
    }

    .ecograder {
        flex-basis: auto;
    }

    .footer-email {
        flex-basis: auto;
        font-size: 21px;
    }
}

/* Ecograder */
div.ecograder__container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    border-radius: 20px;
    padding: 0.75rem 1rem 0.5rem 1rem;
    margin: 1rem auto;
    width: 240px;
    height: auto;
}
div.ecograder__inner-top {
    padding: 0rem 0.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
div.ecograder__inner-top p {
    color: #FFF;
    font-family: "Outfit Light", sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
}
div.ecograder__inner-top .ecograder__arrow {
    position: absolute;
    left: 85px;
    top: -13px;
    z-index: 1;
}
div.ecograder__inner-top .ecograder_websitecarbon {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: end;
    position: relative;
    z-index: 2;
}
div.ecograder__inner-top .ecograder_websitecarbon a {
    display: inline-block;
    margin-right: 5px !important;
    font-family: "Outfit Light", sans-serif !important;
    color: #FFF;
    font-size: 8px !important;
    font-weight: 300 !important;
    text-decoration: underline !important;
    line-height: normal !important;
}
div.ecograder__inner-top .ecograder_websitecarbon p {
    font-family: "Poppins Bold", sans-serif !important;
    font-size: 31px !important;
    line-height: 23px !important;
    font-weight: 700 !important;
    color: #FFF;
}
div.ecograder__divider {
    margin: 0.15rem 0;
    display: flex;
    flex-direction: column;
}
div.ecograder__divider svg {
    height: 100%;
    width: 100%;
}
div.ecograder__inner-detail p {
    color: #FFF;
    font-family: "Outfit Light", sans-serif !important;
    font-size: 10px !important;
    font-weight: 300 !important;
    line-height: normal !important;
}
div.ecograder__inner-detail p .ecograder__inner-detail__bold {
    font-family: "Outfit Bold", sans-serif !important;
    font-weight: 700 !important;
}
div.ecograder__inner-detail p .ecograder__inner-detail__svg {
    display: inline-block;
    vertical-align: -3px !important;
    margin-left: 3px !important;
}
/* Light/Dark Mode */
div.ecograder__container.ecograder__light {
    background-color: #FFFFFF;
}
div.ecograder__container.ecograder-border__light {
    border: 2px solid rgba(255, 255, 255, 0.20);
}
div.ecograder__container.ecograder__light a,
div.ecograder__container.ecograder__light p,
div.ecograder__container.ecograder__light span {
    color: #000 !important;
}
div.ecograder__container.ecograder__light .ecograder__arrow svg path {
    fill: #000 !important;
}
div.ecograder__container.ecograder__light .ecograder__divider svg path.path-white {
    stroke: #000 !important;
}

div.ecograder__container.ecograder__dark {
    background-color: #000000;
}
div.ecograder__container.ecograder-border__dark {
    border: 2px solid rgba(0, 0, 0, 0.20);
}

/* Copyright */
div.m2c-copyright__container {
    margin: 0 0.25rem;
    display: inline-block;
}
div.m2c-copyright__container p {
    font-family: "Outfit Light", sans-serif !important;
    color: #FFF;
    font-size: 13px !important;
    font-weight: 300 !important;
    text-transform: none !important;
}
div.m2c-copyright__container p .m2c-copyright__svg-container {
    position: relative;
}
div.m2c-copyright__container p .m2c-copyright__svg {
    position: absolute;
    top: 0;
    left: 2px;
}
div.m2c-copyright__container p a {
    color: #000000 !important;
    text-decoration: underline !important;
    text-transform: none !important;
}

div.m2c-copyright__container.m2c-copyright__light p {
    color: #FFF !important;
}
div.m2c-copyright__container.m2c-copyright__light a {
    color: #FFF !important;
}

div.m2c-copyright__container.m2c-copyright__dark p {
    color: #000 !important;
}
div.m2c-copyright__container.m2c-copyright__dark .m2c-copyright__svg path {
    fill: #000 !important;
}
