/* =========================================================
 *  HEMP ATELIER
 *  Vanilla CSS
 *  ========================================================= */


/* -----------------------------
 *  VARIABLES
 *  ----------------------------- */

:root {
    --black: #11110f;
    --black-soft: #171714;

    --cream: #f1eee7;
    --cream-light: #f8f6f1;
    --cream-dark: #e3dfd5;

    --grey: #77756e;
    --grey-light: #aaa69e;

    --sage: #777c6e;

    --line: rgba(17, 17, 15, 0.15);

    --serif: Georgia, "Times New Roman", serif;
    --sans: Arial, Helvetica, sans-serif;

    --page-padding: clamp(22px, 4vw, 72px);
}


/* -----------------------------
 *  RESET
 *  ----------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--cream-light);
    color: var(--black);

    font-family: var(--sans);

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.modal-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

::selection {
    background: var(--black);
    color: white;
}


/* -----------------------------
 *  ACCESSIBILITY
 *  ----------------------------- */

.sr-only {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}


/* =========================================================
 *  HEADER
 *  ========================================================= */

.site-header {
    position: relative;
    z-index: 20;

    height: 88px;

    padding: 0 var(--page-padding);

    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    background: var(--cream);
}


/* -----------------------------
 *  BRAND
 *  ----------------------------- */

.brand {
    width: max-content;

    display: flex;
    align-items: baseline;

    gap: 9px;

    letter-spacing: 0.25em;

    white-space: nowrap;
}

.brand-main {
    font-size: 19px;
    font-weight: 700;
}

.brand-sub {
    font-size: 12px;
    font-weight: 400;

    letter-spacing: 0.22em;
}


/* -----------------------------
 *  NAV
 *  ----------------------------- */

.desktop-nav {
    display: flex;

    align-items: center;

    gap: clamp(30px, 4vw, 58px);
}

.desktop-nav a {
    position: relative;

    font-size: 10px;

    letter-spacing: 0.18em;

    font-weight: 500;
}

.desktop-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--black);

    transition: width 180ms ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}


/* -----------------------------
 *  HEADER BUTTON
 *  ----------------------------- */

.header-signup {
    justify-self: end;

    padding: 11px 23px;

    border-radius: 100px;

    background: var(--black);
    color: white;

    font-size: 10px;

    letter-spacing: 0.12em;

    transition:
    background 180ms ease,
    transform 180ms ease;
}

.header-signup:hover {
    background: #2b2b27;

    transform: translateY(-1px);
}


/* =========================================================
 *  HERO
 *  ========================================================= */

.hero {
    background: var(--cream);
}

.hero-layout {
    min-height: 650px;

    display: grid;

    grid-template-columns:
    minmax(440px, 47%)
    1fr;
}


/* -----------------------------
 *  HERO COPY
 *  ----------------------------- */

.hero-copy {
    padding:
    clamp(65px, 8vh, 110px)
    clamp(35px, 5.3vw, 92px)
    70px
    var(--page-padding);

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.eyebrow {
    margin: 0 0 24px;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: 0.23em;

    line-height: 1.4;
}

.hero h1 {
    margin: 0;

    font-size: clamp(54px, 6vw, 91px);

    font-weight: 700;

    line-height: 0.91;

    letter-spacing: -0.055em;
}

.hero h1 span {
    color: #777770;
}

.hero-intro {
    max-width: 510px;

    margin: 30px 0 25px;

    font-size: 15px;

    line-height: 1.55;
}


/* =========================================================
 *  NEWSLETTER FORMS
 *  ========================================================= */

.newsletter-form {
    width: min(100%, 530px);
}

.form-main {
    height: 54px;

    display: flex;
}

.form-main input[type="email"] {
    min-width: 0;

    flex: 1;

    padding: 0 18px;

    border:
    1px solid
    rgba(17, 17, 15, 0.19);

    border-right: none;

    border-radius: 3px 0 0 3px;

    outline: none;

    background: rgba(255, 255, 255, 0.77);
    color: var(--black);

    font-size: 12px;

    transition:
    border-color 180ms ease,
    background 180ms ease;
}

.form-main input[type="email"]::placeholder {
    color: #8c8a84;
}

.form-main input[type="email"]:focus {
    border-color: var(--black);

    background: white;
}

.form-main button {
    width: 150px;

    border: 0;

    border-radius: 0 3px 3px 0;

    background: var(--black);
    color: white;

    cursor: pointer;

    font-size: 10px;

    letter-spacing: 0.13em;

    transition:
    background 180ms ease,
    opacity 180ms ease;
}

.form-main button:hover {
    background: #282824;
}

.form-main button:disabled {
    cursor: wait;

    opacity: 0.6;
}

.consent {
    max-width: 520px;

    margin-top: 11px;

    display: flex;

    align-items: flex-start;

    gap: 8px;

    color: #66635e;

    cursor: pointer;

    font-size: 9px;

    line-height: 1.45;
}

.consent input {
    flex: 0 0 auto;

    margin: 1px 0 0;

    accent-color: var(--black);
}

.form-status {
    min-height: 16px;

    margin: 8px 0 0;

    font-size: 10px;

    line-height: 1.4;
}

.form-status.success {
    color: #4f6348;
}

.form-status.error {
    color: #8d332e;
}

.form-note {
    margin: 3px 0 0;

    color: #57554f;

    font-size: 10px;
}


/* -----------------------------
 *  HONEYPOT
 *  ----------------------------- */

.honeypot {
    position: absolute !important;

    left: -99999px !important;

    width: 1px !important;
    height: 1px !important;

    opacity: 0 !important;

    pointer-events: none !important;
}


/* =========================================================
 *  HERO IMAGE
 *  ========================================================= */

.hero-visual {
    position: relative;

    min-height: 650px;

    overflow: hidden;

    background-color: #989285;

    background-image:
    linear-gradient(
        90deg,
        rgba(10, 10, 8, 0.03),
                    rgba(10, 10, 8, 0.25)
    ),
    url("assets/hero.jpg");

    background-position: center;
    background-size: cover;
}

.hero-side-message {
    position: absolute;

    top: 67px;
    right: clamp(30px, 5vw, 77px);

    display: flex;

    flex-direction: column;

    gap: 7px;

    color: #1a1916;

    font-size: 12px;

    letter-spacing: 0.15em;

    line-height: 1.25;
}

.hero-side-message i,
.hero-stamp i {
    width: 33px;
    height: 1px;

    margin-top: 12px;

    background: currentColor;
}

.hero-stamp {
    position: absolute;

    right: clamp(30px, 5vw, 77px);
    bottom: 42px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 5px;

    color: white;
}

.hero-stamp strong {
    font-size: 13px;

    font-weight: 400;

    letter-spacing: 0.45em;
}

.hero-stamp span {
    font-size: 8px;

    letter-spacing: 0.16em;
}


/* =========================================================
 *  VALUES
 *  ========================================================= */

.values {
    padding: 37px var(--page-padding);

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    background: var(--cream-light);
}

.value-card {
    min-height: 118px;

    padding: 8px clamp(22px, 3vw, 52px);

    border-right: 1px solid var(--line);

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
}

.value-card:last-child {
    border-right: 0;
}

.value-icon {
    min-height: 34px;

    font-family: var(--serif);

    font-size: 28px;

    line-height: 1;
}

.value-card h2 {
    margin: 12px 0 7px;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.14em;
}

.value-card p {
    max-width: 245px;

    margin: 0;

    color: #605e59;

    font-size: 10px;

    line-height: 1.5;
}


/* =========================================================
 *  STORY
 *  ========================================================= */

.story {
    min-height: 510px;

    display: grid;

    grid-template-columns: 56% 44%;
}


/* -----------------------------
 *  STORY IMAGE
 *  ----------------------------- */

.story-image {
    position: relative;

    min-height: 510px;

    background-color: #32342f;

    background-image:
    linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.05),
                    rgba(0, 0, 0, 0.58)
    ),
    url("assets/story.jpg");

    background-size: cover;

    background-position: center;

    color: white;
}

.story-image-copy {
    position: absolute;

    left: var(--page-padding);
    bottom: 54px;

    width: min(360px, calc(100% - 50px));
}

.story-image-copy h2 {
    margin: 0;

    font-family: var(--serif);

    font-size: clamp(38px, 4vw, 55px);

    font-weight: 400;

    letter-spacing: -0.035em;

    line-height: 0.95;
}

.story-image-copy p {
    max-width: 325px;

    margin: 20px 0;

    font-size: 14px;

    line-height: 1.5;
}

.story-image-copy a {
    font-size: 9px;

    letter-spacing: 0.18em;
}

.story-image-copy a span {
    margin-left: 7px;

    transition: margin 180ms ease;
}

.story-image-copy a:hover span {
    margin-left: 12px;
}


/* -----------------------------
 *  STORY TEXT
 *  ----------------------------- */

.story-content {
    padding:
    65px
    clamp(35px, 6vw, 88px);

    background: #efebe3;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.story-content h2 {
    margin: 0 0 21px;

    font-family: var(--serif);

    font-size: clamp(43px, 4.5vw, 64px);

    font-weight: 400;

    line-height: 0.98;

    letter-spacing: -0.04em;
}

.story-content > p:not(.eyebrow) {
    max-width: 570px;

    margin: 0 0 10px;

    font-size: 14px;

    line-height: 1.55;
}

.story-rule {
    width: 33px;
    height: 1px;

    margin: 20px 0;

    background: var(--black);
}

.story-link {
    width: max-content;

    font-size: 9px;

    letter-spacing: 0.18em;
}

.story-link span {
    margin-left: 8px;

    transition: margin 180ms ease;
}

.story-link:hover span {
    margin-left: 13px;
}


/* =========================================================
 *  LAUNCH SECTION
 *  ========================================================= */

.launch {
    position: relative;

    min-height: 345px;

    overflow: hidden;

    background-color: #2a2a27;

    background-image:
    url("assets/signup.jpg");

    background-size: cover;

    background-position: center 62%;

    color: white;
}

.launch-overlay {
    position: absolute;

    inset: 0;

    background:
    linear-gradient(
        90deg,
        rgba(9, 9, 7, 0.75),
                    rgba(9, 9, 7, 0.49)
    );
}

.launch-content {
    position: relative;
    z-index: 2;

    min-height: 345px;

    padding: 50px var(--page-padding);

    display: grid;

    grid-template-columns:
    minmax(240px, 0.9fr)
    minmax(370px, 1.3fr)
    minmax(155px, 0.45fr);

    align-items: center;

    gap: clamp(35px, 5vw, 80px);
}

.launch-heading h2 {
    margin: 0 0 15px;

    font-family: var(--serif);

    font-size: clamp(41px, 4.3vw, 59px);

    font-weight: 400;

    letter-spacing: -0.04em;

    line-height: 0.95;
}

.launch-heading p {
    max-width: 320px;

    margin: 0;

    font-size: 13px;

    line-height: 1.5;
}


/* -----------------------------
 *  DARK FORM
 *  ----------------------------- */

.newsletter-form-dark .form-main input {
    border-color: rgba(255, 255, 255, 0.38);

    background: rgba(255, 255, 255, 0.95);
}

.newsletter-form-dark .form-main button {
    border-left:
    1px solid
    rgba(255, 255, 255, 0.15);

    background: #0e0f0d;
}

.newsletter-form-dark .consent {
    color: rgba(255, 255, 255, 0.72);
}

.newsletter-form-dark .form-status.success {
    color: #d6e5cf;
}

.newsletter-form-dark .form-status.error {
    color: #f4c5c1;
}

.launch-note {
    margin: 3px 0 0;

    color: rgba(255, 255, 255, 0.7);

    font-size: 9px;
}


/* -----------------------------
 *  LAUNCH SIDE
 *  ----------------------------- */

.launch-side {
    display: flex;

    flex-direction: column;

    gap: 7px;

    font-size: 9px;

    letter-spacing: 0.18em;

    line-height: 1.4;
}

.launch-side i {
    width: 31px;
    height: 1px;

    margin-top: 11px;

    background: white;
}


/* =========================================================
 *  QUOTE
 *  ========================================================= */

.quote-section {
    min-height: 190px;

    padding: 42px 20px;

    background: var(--cream-light);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
}

.quote-section blockquote {
    margin: 0;

    font-family: var(--serif);

    font-size: clamp(20px, 2vw, 25px);

    font-style: italic;

    line-height: 1.4;
}

.quote-line {
    width: 29px;
    height: 1px;

    margin: 19px 0 13px;

    background: var(--black);
}

.quote-section > span {
    font-size: 10px;

    letter-spacing: 0.4em;
}


/* =========================================================
 *  FOOTER
 *  ========================================================= */

.site-footer {
    padding:
    33px
    var(--page-padding)
    18px;

    background: #10110f;

    color: white;
}

.footer-main {
    min-height: 90px;

    display: grid;

    grid-template-columns: 1fr auto auto;

    align-items: start;

    gap: clamp(35px, 5vw, 75px);
}

.brand-light {
    color: white;
}

.footer-brand p {
    margin: 10px 0 0;

    color: rgba(255, 255, 255, 0.6);

    font-size: 9px;

    letter-spacing: 0.12em;
}

.footer-navigation {
    display: flex;

    align-items: center;

    gap: 34px;

    padding-top: 5px;
}

.footer-navigation a,
.privacy-button {
    padding: 0;

    border: 0;

    background: none;

    color: white;

    cursor: pointer;

    font-size: 8px;

    letter-spacing: 0.16em;
}

.footer-navigation a:hover,
.privacy-button:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;

    gap: 17px;

    padding-top: 2px;
}

.footer-social a {
    width: 29px;
    height: 29px;

    border:
    1px solid
    rgba(255, 255, 255, 0.28);

    border-radius: 50%;

    display: grid;

    place-items: center;

    font-size: 8px;

    transition:
    background 180ms ease,
    color 180ms ease;
}

.footer-social a:hover {
    background: white;
    color: black;
}

.footer-bottom {
    padding-top: 14px;

    border-top:
    1px solid
    rgba(255, 255, 255, 0.1);

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: rgba(255, 255, 255, 0.42);

    font-size: 7px;

    letter-spacing: 0.16em;
}


/* =========================================================
 *  PRIVACY MODAL
 *  ========================================================= */

.privacy-modal {
    position: fixed;

    inset: 0;

    z-index: 100;

    display: none;
}

.privacy-modal.open {
    display: block;
}

.privacy-backdrop {
    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.58);

    backdrop-filter: blur(3px);
}

.privacy-dialog {
    position: absolute;

    top: 50%;
    left: 50%;

    width: min(580px, calc(100% - 40px));

    max-height: calc(100vh - 50px);

    overflow: auto;

    padding:
    46px
    clamp(28px, 5vw, 55px);

    transform: translate(-50%, -50%);

    background: var(--cream-light);
}

.privacy-dialog h2 {
    margin: 0 0 22px;

    font-family: var(--serif);

    font-size: clamp(32px, 4vw, 47px);

    font-weight: 400;

    letter-spacing: -0.035em;
}

.privacy-dialog p {
    font-size: 13px;

    line-height: 1.6;
}

.privacy-small {
    margin-top: 24px;

    color: var(--grey);

    font-size: 10px !important;
}

.privacy-close {
    position: absolute;

    top: 15px;
    right: 19px;

    border: 0;

    background: none;

    cursor: pointer;

    font-family: var(--serif);

    font-size: 30px;

    font-weight: 300;

    line-height: 1;
}


/* =========================================================
 *  TABLET
 *  ========================================================= */

@media (max-width: 950px) {

    .desktop-nav {
        display: none;
    }

    .site-header {
        grid-template-columns: 1fr auto;
    }

    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        min-height: 580px;
    }

    .hero-visual {
        min-height: 600px;
    }

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

    .value-card {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .value-card:nth-child(2) {
        border-right: 0;
    }

    .value-card:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    .story {
        grid-template-columns: 1fr;
    }

    .story-image {
        min-height: 550px;
    }

    .story-content {
        min-height: 470px;
    }

    .launch-content {
        grid-template-columns:
        minmax(220px, 0.85fr)
        minmax(350px, 1.15fr);
    }

    .launch-side {
        display: none;
    }
}


/* =========================================================
 *  MOBILE
 *  ========================================================= */

@media (max-width: 650px) {

    :root {
        --page-padding: 22px;
    }


    /* HEADER */

    .site-header {
        height: 73px;
    }

    .brand {
        gap: 6px;
    }

    .brand-main {
        font-size: 15px;
    }

    .brand-sub {
        font-size: 9px;
    }

    .header-signup {
        padding: 9px 15px;

        font-size: 8px;
    }


    /* HERO */

    .hero-copy {
        min-height: auto;

        padding:
        57px
        var(--page-padding)
        58px;
    }

    .hero h1 {
        font-size: clamp(45px, 14vw, 65px);
    }

    .hero-intro {
        margin-top: 25px;

        font-size: 14px;
    }


    /* FORMS */

    .form-main {
        height: auto;

        flex-direction: column;

        gap: 8px;
    }

    .form-main input[type="email"] {
        width: 100%;
        height: 51px;

        border:
        1px solid
        rgba(17, 17, 15, 0.19);

        border-radius: 2px;
    }

    .form-main button {
        width: 100%;
        height: 51px;

        border-radius: 2px;
    }

    .hero-visual {
        min-height: 520px;
    }


    /* VALUES */

    .values {
        grid-template-columns: 1fr;

        padding-top: 20px;
        padding-bottom: 20px;
    }

    .value-card,
    .value-card:nth-child(2) {
        border-right: 0;

        border-bottom: 1px solid var(--line);
    }

    .value-card:last-child {
        border-bottom: 0;
    }


    /* STORY */

    .story-image {
        min-height: 500px;
    }

    .story-image-copy {
        left: var(--page-padding);
        bottom: 35px;
    }

    .story-content {
        min-height: auto;

        padding:
        55px
        var(--page-padding);
    }


    /* LAUNCH */

    .launch-content {
        min-height: 470px;

        padding-top: 55px;
        padding-bottom: 55px;

        grid-template-columns: 1fr;

        gap: 35px;
    }


    /* FOOTER */

    .footer-main {
        grid-template-columns: 1fr;

        gap: 28px;

        padding-bottom: 25px;
    }

    .footer-navigation {.brand-logo {
  display: inline-flex;
  align-items: center;
}

.brand-logo img {
  display: block;
  width: 150px;
  height: auto;
}
        flex-wrap: wrap;

        gap: 23px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 8px;
    }

}

.brand-logo {
  display: inline-flex;
  align-items: center;
}

.brand-logo img {
  display: block;
  width: 150px;
  height: auto;
}

.footer-logo img {
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
}
