:root {
  --color-brand-primary: #fbb03b;
  --color-brand-neutral: #231f20;
  --color-brand-offwhite: #ccc5bb;
  --color-page-background: #f5f5f5;
  --color-grey: #808080;

  --font-family-mono: "SUSE Mono", Arial, sans-serif;
  --font-family-sans-serif: "Outfit", "Helvetica", Arial, sans-serif;
  --font-scale: 1.25;
  --font-size-base: 1rem;

  --text-1x: calc(var(--font-size-base)   * var(--font-scale));
  --text-2x: calc(var(--text-1x)          * var(--font-scale));
  --text-3x: calc(var(--text-2x)          * var(--font-scale));
  --text-4x: calc(var(--text-3x)          * var(--font-scale));
  --text-5x: calc(var(--text-4x)          * var(--font-scale));
  --text-sub1x: calc(var(--font-size-base)   / var(--font-scale));
  --text-sub2x: calc(var(--text-sub1x)       / var(--font-scale));
  --text-sub3x: calc(var(--text-sub2x)       / var(--font-scale));

  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --line-height-body: 1.25;

  --site-width: 1470px;
  --site-padding: 30px;
  --site-padding-sm: 18px;

  --bp-xxl: 1536px;
  --bp-xl: 1280px;
  --bp-lg: 1024px;
  --bp-md: 768px;
  --bp-sm: 480px;
  --bp-xs: 375px;

  --cursor-default: url("data:image/svg+xml,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='16px' height='16px' viewBox='0 0 16 16' enable-background='new 0 0 16 16' xml:space='preserve'%3E%3Ccircle fill='%23ef4834' cx='8' cy='8' r='8'/%3E%3C/svg%3E%0A") 8 8;
}

:root {
    @media (prefers-reduced-motion: no-preference) {
        scroll-behavior: smooth;
    }
}

html {
    font-smoothing: antialiased;
    tap-highlight-color: transparent;
    overscroll-behavior: none;

    @media  only screen and (-webkit-min-device-pixel-ratio: 1.25),
            only screen and (min-resolution: 200dpi),
            only screen and (min-resolution: 1.25dppx) {
        font-smoothing: subpixel-antialiased;
    }

    &:focus-within {
        scroll-behavior: smooth;
    }
}

body {
  width: 100%;
  height: 100%;
  font-family: var(--font-family-sans-serif);
  font-weight: var(--font-weight-regular);
  font-size: 100%;
  line-height: var(--line-height-body);
  color: var(--color-brand-neutral);
  cursor: var(--cursor-default), auto;
  margin: 0;
  padding: 0;
  position: relative;
  background-color: var(--color-page-background);
}

a,
a:visited {
    border: 0;
    outline: 0;
    text-decoration: none;
    text-underline-position: under;
    color: var(--color-brand-neutral);
    cursor: var(--cursor-default), auto;
    transition: color 0.2s ease, transform 0.1s ease;

    &:hover {
        color: white;
    }
}

main {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.o-site-container,
.o-site-container-ext {
    position: relative;
    max-width: var(--site-width);
    margin: 0 auto;
    padding: 0 var(--site-padding);
}

@media (width < 480px) {
    .o-site-container,
    .o-site-container-ext  {
        padding: 0 var(--site-padding-sm);
    }
}

.o-site-container-ext {
    max-width: calc(var(--site-width) + var(--site-padding));
    padding: 0;
}

.c-header {
    position: fixed;
    width: 100%;
    height: 65px;
    top: 0;
    left: 0;
    background-color: #fbb03b;
    z-index: 9999;
}

.c-header-grid {
    display: grid;
    grid-template-columns: 170px 1fr 342px;
    padding-top: 30px;
    z-index: 9990;
}

@media (width < 480px) {
    .c-header-grid {
        padding-top: 18px;
    }
}

.c-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 24px;
    align-content: end;
    margin-bottom: -3px;
}

@media (width < 768px) {
    .c-header-grid {
        grid-template-columns: 170px 1fr 280px;
    }

    .c-nav-grid {
        grid-gap: 16px;
        text-align: right;
    }
}

@media (width < 550px) {
    .c-header-grid {
        grid-template-columns: 150px 1fr 250px;
    }

    .c-nav-grid {
        grid-gap: 10px;
        text-align: right;
        font-size: 0.85rem;
    }
}

@media (width < 480px) {
    .c-header-grid {
        grid-template-columns: 150px 1fr 150px;
    }
    .c-contact-only {
        display: none;
    }
    .c-nav-grid {
        grid-template-columns: 1fr 1fr
    }
}

.c-hero {
    position: relative;
    background-color: #fbb03b;
    height: 850px;
}

.c-hero-container {
    position: relative;
    height: 850px;
}

.c-hero-header {
    padding-top: 245px;
    width: 705px;
    font: var(--font-weight-regular) 3rem var(--font-family-sans-serif);
    line-height: 1.2em;
}

@media (width < 768px) {
    .c-hero-header-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .c-hero-header {
        width: 100%;
        font-family: var(--font-family-sans-serif);
        font-weight: var(--font-weight-regular);
        font-size: clamp(2.2rem, 7vw, 3rem);
        text-align: center;
    }

    .c-hero-header-break {
        display: none;
    }
}

.c-hero-subheader {
    padding-top: 38px;
    width: 343px;
    font: var(--font-weight-regular) 1.25rem var(--font-family-mono);
    line-height: 1.2em;
    letter-spacing: -0.05em;
}

@media (width < 768px) {
    .c-hero-subheader {
        width: 60%;
        font-family: var(--font-family-mono);
        font-weight: var(--font-weight-regular);
        font-size: clamp(1rem, 3vw, 1.25rem);
        text-align: center;
    }

    .c-hero-header-break {
        display: none;
    }
}

@media (width < 480px) {
    .c-hero-subheader {
        width: 75%;
    }
}

.c-hero-gridpattern {
    position: absolute;
    width: 588px;
    height: 328px;
    right: 0;
    bottom: 0;
}

@media (width < 1024px) {
    .c-hero-gridpattern {
        width: 480px;
        height: 268px;
    }
}


.c-hero-product {
    background-image: url('../img/hero-dot-dest.webp'), url('../img/hero-full.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: clamp(1500px, 100%, 100%) auto;
    background-attachment: scroll;
    overflow: hidden;
}

@media (width < 1024px) {
    .c-hero-product {
        background-image: url('../img/hero-dot-dest-t.webp'), url('../img/hero-full.webp');
    }
}

@media (width < 768px) {
    .c-hero-product {
        background-image: url('../img/hero-dot-dest-m.webp'), url('../img/hero-full.webp');
    }
}

@media (width < 480px) {
    .c-hero-product {
        background-image: url('../img/hero-dot-dest-sm.webp'), url('../img/hero-full.webp');
    }
}

.c-hero-product-header {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-brand-offwhite);
}

.c-product-header-pre {
    display: block;
    font: var(--font-weight-regular) 1.25rem var(--font-family-mono);
    letter-spacing: -0.05em;
    text-align: center;
}

.c-product-header-title {
    display: block;
    font: var(--font-weight-regular) 3.8rem var(--font-family-sans-serif);
    text-align: center;
}

.c-hero-dot-mask {
    display: block;
    position: fixed;
    width: 1500px;
    height: 850px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 9995;
    background-image: url('../img/hero-dot-mask.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: clamp(1500px, 100%, 100%) auto;
    background-attachment: scroll;
    overflow: hidden;
}

@media (width < 1024px) {
    .c-hero-dot-mask {
        width: 1024px;
        background-image: url('../img/hero-dot-mask-t.webp');
        background-size: clamp(1024px, 100%, 100%) auto;
    }
}

@media (width < 768px) {
    .c-hero-dot-mask {
        width: 768px;
        background-image: url('../img/hero-dot-mask-m.webp');
        background-size: clamp(768px, 100%, 100%) auto;
    }
}

@media (width < 480px) {
    .c-hero-dot-mask {
        width: 480px;
        background-image: url('../img/hero-dot-mask-sm.webp');
        background-size: clamp(480px, 100%, 100%) auto;
    }
}

.show {
    display: block;
}

.hide{
    display: none;
}

.c-hero-dot-origin {
    background-image: url('../img/hero-dot-origin.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: clamp(1500px, 100%, 100%) auto;
    background-attachment: scroll;
    overflow: hidden;
}

@media (width < 1024px) {
    .c-hero-dot-origin {
        background-image: url('../img/hero-dot-origin-t.webp');
        background-size: clamp(1024px, 100%, 100%) auto;
    }
}

@media (width < 768px) {
    .c-hero-dot-origin {
        background-image: url('../img/hero-dot-origin-m.webp');
        background-size: clamp(768px, 100%, 100%) auto;
    }
}

@media (width < 480px) {
    .c-hero-dot-origin {
        background-image: url('../img/hero-dot-origin-sm.webp');
        background-size: clamp(480px, 100%, 100%) auto;
    }
}

.c-product-synopsis {
    font: var(--font-weight-regular) 1.56rem var(--font-family-sans-serif);
    padding: 40px 9%;
    max-width: 1244px;
    width: 86%;
    margin-top: -63px;
    text-align: center;
    background-color: var(--color-page-background);
}

@media (width < 768px) {
    .c-product-synopsis {
        font-size: clamp(1.1rem, 3.3vw, 1.56rem);
        padding: 7% 5%;
        width: 90%;
    }
}

.c-product-description-grid {
    display: grid;
    grid-template-columns: 41% 1fr 41% 1fr;
    grid-gap: 24px;
    align-items: center;
    margin-top: 95px;
}

.c-canopy-diagram-text {
    font: var(--font-weight-regular) 1.25rem var(--font-family-sans-serif);
    color: var(--color-grey);
}

@media (width < 768px) {
    .c-product-description-grid {
        grid-template-columns: 1fr;
        grid-row-gap: 24px;
        align-items: center;
        justify-items: center;
        margin-top: 95px;
    }
    .c-canopy-diagram {
        width: 80%;
    }
    .c-canopy-diagram-text {
        font-size: clamp(1rem, 3vw, 1.25rem);
    }
}

@media (width < 480px) {
    .c-canopy-diagram {
        width: 100%;
    }
}

.c-text-box {
    display: flex;
    justify-content: center;
    margin-top: 125px;
}

.text-box {
    border-radius: 12px;
    background-color: #f2f2f2;
    border: 1px solid #cccccc;
    padding: 29px 50px;
    font: var(--font-weight-regular) 1.56rem var(--font-family-sans-serif);
    text-align: center;
    max-width: 952px;
}

@media (width < 768px) {
    .c-text-box {
        margin-top: 4rem;
    }
    .text-box {
        font-size: clamp(1.1rem, 3.3vw, 1.56rem);
        padding: 1.2rem 1.2rem;
    }
}

.c-features {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 55px;
}

@media (width < 768px) {
    .c-features {
        margin-top: 3rem;
    }
}

.c-feature-box {
    border-radius: 12px;
    border: 1px solid #cccccc;
    padding: 27px 25px;
    max-width: 1195px;
    width: 100%;
    display: grid;
    grid-template-columns: 30% 1fr 60%;
    grid-gap: 24px;
    align-items: start;
    margin-bottom: 18px;
}

.c-feature-icon-text {
    font: var(--font-weight-regular) 1.56rem var(--font-family-sans-serif);
}

.c-feature-icon-text span {
    display: inline-block;
    font: var(--font-weight-regular) 1.25rem var(--font-family-sans-serif);
    line-height: 1.3em;
    color: var(--color-grey);
}

@media (width < 768px) {
    .c-feature-icon-text {
        font-size: clamp(1.1rem, 3.3vw, 1.56rem);
    }
    .c-feature-icon-text span {
        font-size: clamp(0.8rem, 3vw, 1.25rem);
    }
}


.c-feature-icon-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.c-feature-icon {
    max-width: 180px;
    width:100%;
}

.c-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 127px;
}

.c-cta-container {
    max-width: 952px;
    width: 100%;
    display: flex;
    align-items: center;
}

.c-cta-text {
    max-width: 708px;
    width: 100%;
    font: var(--font-weight-regular) 1.56rem var(--font-family-sans-serif);
    padding: 5px 40px;
}

@media (width < 768px) {
    .c-cta {
        margin-top: 5rem;
    }
    .c-cta-container {
        flex-direction: column;
        align-items: center;
    }
    .c-cta-text {
        font-size: clamp(1.1rem, 3.3vw, 1.56rem);
        padding: 0;
        padding-bottom: 2rem;
        text-align: center;
    }
}

.c-cta-button {
    padding-left: 24px;
}

.c-button {
    border-radius: 100vh;
    padding: 1.2rem 2.2rem;
    font: var(--font-weight-regular) 1rem var(--font-family-sans-serif);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-flex;
    width: max-content;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
    background-color: #fbb03b;
    color: #231f20;
    border: none;
    outline: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.c-button:hover {
    background-color: #231f20;
    color: #fbb03b;
}

@media (width < 768px) {
    .c-button {
        font-size: 0.8rem;
    }
}

.c-cedars {
    position: relative;
    background-color: #000;
    height: 525px;
    background-image: url('../img/company.webp'), url('../img/company-dot.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: clamp(1440px, 100%, 100%) auto;
    background-attachment: scroll;
    overflow: hidden;
    margin-top: 195px;
}

@media (width < 768px) {
    .c-cedars  {
        margin-top: 6rem;
    }
}

.c-cedars-container {
    font: var(--font-weight-regular) 1.56rem var(--font-family-sans-serif);
    padding: 40px 9%;
    max-width: 1244px;
    width: 86%;
    margin-top: -63px;
    background-color: var(--color-page-background);
    display: flex;
    justify-content: center;
}

@media (width < 768px) {
    .c-cedars-container {
        font-size: clamp(1.1rem, 3.3vw, 1.56rem);
        padding: 7% 5%;
        width: 90%;
    }
}

.c-about-cedars {
    max-width: 708px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.c-about-cedars span {
    display: block;
    font: var(--font-weight-regular) 1.25rem var(--font-family-mono);
    letter-spacing: -0.05em;
    tex-align: center;
}

.c-cedars-logo {
    display: block;
    max-width: 258px;
    width: 100%;
    margin-top: 23px;
    text-align: center;
}

@media (width < 768px) {
    .c-about-cedars span {
        font-size: clamp(0.8rem, 3vw, 1.25rem);
        letter-spacing: -0.05em;
    }

    .c-cedars-logo {
        max-width: 200px;
        margin-top: 15px;
    }
}

.c-cedars-text {
    font: var(--font-weight-regular) 1.25rem var(--font-family-sans-serif);
    text-align: center;
    line-height: 1.3em;
    color: var(--color-grey);
    margin-top: 88px;
    padding: 0 1rem;
}

@media (width < 768px) {
    .c-cedars-text {
        font-size: clamp(1rem, 3vw, 1.25rem);
        margin-top: 3rem;
    }
}

.text-box2 {
    border-radius: 12px;
    background-color: #f2f2f2;
    border: 1px solid #cccccc;
    padding: 29px 50px;
    font: var(--font-weight-regular) 1.56rem var(--font-family-sans-serif);
    text-align: center;
    max-width: 708px;
    margin-top: 83px;
}

.text-box2 span {
    display: block;
    font: var(--font-weight-regular) 1.25rem var(--font-family-mono);
    letter-spacing: -0.05em;
    tex-align: center;
    margin-bottom: 10px;
}

@media (width < 768px) {
    .text-box2 {
        font-size: clamp(1.1rem, 3.3vw, 1.56rem);
        padding: 1.2rem 1.2rem;
    }
    .text-box2 span {
        font-size: clamp(0.8rem, 3vw, 1.25rem);
        margin-bottom: 0.5rem;
    }
}

.c-contact-button {
    margin-top: 5rem;
}

@media (width < 768px) {
    .c-contact-button {
        margin-top: 3rem;
    }
}

footer {
    position: relative;
    margin-top: 130px;
    margin-bottom: 25px;
}

footer small{
    font: var(--font-weight-regular) 0.75rem var(--font-family-sans-serif);
}

@media (width < 768px) {
    footer {
        text-align: center;
        margin-top: 5rem;
        margin-bottom: 1rem;
    }
}

.c-contact-form {
    padding-top: 3rem;
}
