
/* ==========================================================
   Urban Customs
   fonts.css
   Typography System
   ========================================================== */

/* Google Fonts are loaded in index.html:
   Montserrat: 300-900
*/

:root{
    --font-primary:"Montserrat","Segoe UI",Arial,sans-serif;
    --font-heading:"Montserrat","Segoe UI",Arial,sans-serif;
    --font-body:"Montserrat","Segoe UI",Arial,sans-serif;
}

html{
    font-size:16px;
    -webkit-text-size-adjust:100%;
    text-rendering:optimizeLegibility;
}

body{
    font-family:var(--font-body);
    font-weight:400;
    line-height:1.7;
    letter-spacing:.01em;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}

h1,h2,h3,h4,h5,h6{
    margin:0 0 .75rem;
    font-family:var(--font-heading);
    font-weight:800;
    line-height:1.15;
    color:inherit;
}

h1{font-size:clamp(2.8rem,6vw,5rem);}
h2{font-size:clamp(2rem,4vw,3.25rem);}
h3{font-size:1.75rem;}
h4{font-size:1.35rem;}
h5{font-size:1.1rem;}
h6{font-size:1rem;}

p{
    margin:0 0 1rem;
    font-size:1rem;
}

small{
    font-size:.875rem;
}

a{
    font-weight:500;
    transition:color .25s ease;
}

strong,b{
    font-weight:700;
}

.hero-tag,
.section-tag{
    font-size:.9rem;
    font-weight:700;
    letter-spacing:.18em;
    text-transform:uppercase;
}

.logo{
    font-weight:900;
    letter-spacing:.04em;
}

.nav-link{
    font-weight:600;
    font-size:.98rem;
}

.btn{
    font-weight:700;
    letter-spacing:.02em;
}

.counter{
    font-weight:800;
    font-variant-numeric:tabular-nums;
}

input,
textarea,
select,
button{
    font:inherit;
}

code,
pre{
    font-family:Consolas,Monaco,"Courier New",monospace;
}

@media (max-width:768px){
    html{
        font-size:15px;
    }

    p{
        font-size:.98rem;
    }
}

@media (max-width:576px){
    html{
        font-size:14px;
    }
}
