/* === CSS VARIABLES === */
:root {
    --font-primary: 'Cormorant Garamond';
    --font-secondary: 'Inter 18pt';
    --font-three: 'Minion Pro';
    --font-size-base: 18px;
    --color-bg: #ffffff;
    --color-primary: #005fcc;
    --color-border: #a4a4a4;
    --color-black: 0 0 0;
    --color-white: 255 255 255;
    --color-mercantile: 210 199 135;
    --color-residential: 108 136 75;
}

/* === RESET AND BASE === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    font-family: var(--font-secondary);
    color: rgba(var(--color-black) / 100%);
    background-color: rgba(var(--color-white) / 100%);
    overflow-y: auto;
    scroll-behavior: smooth;
}

section {
    scroll-snap-align: start;
}

.no-scroll-snap {
    scroll-snap-align: none;
}

.scroll-container {
    height: 100%;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
}

/* Media, Links, Inputs, etc. */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
    outline-offset: 0;
}

button,
input,
select,
textarea {
    font: inherit;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background-color: rgba(var(--color-white) / 100%);
}

button {
    cursor: pointer;
    background-color: rgba(var(--color-black) / 100%);
    color: #fff;
    padding: 8px 16px;
    border: none;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

ul,
ol {
    list-style: none;
}

table {
    width: 100%;
    border-collapse: collapse;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    font-weight: normal;
    line-height: 1.2;
    color: rgba(var(--color-black) / 100%);
    margin-bottom: 10px;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 18px;
}

p {
    font-size: 18px;
    margin-bottom: 16px;
}

@media screen and (max-width: 768px) {
    p {
        font-size: 16px;
    }    
}

/* === 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;
}

/* === LAYOUT UTILS === */
.container {
    /* max-width: 1440px; */
    max-width: 1350px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

.block {
    display: block;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

/* === FLEXBOX UTILITIES === */
.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.flex-row {
    flex-direction: row;
}

.flex-row-reverse {
    flex-direction: row-reverse;
}

.flex-col {
    flex-direction: column;
}

.flex-col-reverse {
    flex-direction: column-reverse;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.flex-wrap-reverse {
    flex-wrap: wrap-reverse;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.justify-evenly {
    justify-content: space-evenly;
}

.items-start {
    align-items: flex-start;
}

.items-end {
    align-items: flex-end;
}

.items-center {
    align-items: center;
}

.items-baseline {
    align-items: baseline;
}

.items-stretch {
    align-items: stretch;
}

.content-start {
    align-content: flex-start;
}

.content-end {
    align-content: flex-end;
}

.content-center {
    align-content: center;
}

.content-between {
    align-content: space-between;
}

.content-around {
    align-content: space-around;
}

.content-stretch {
    align-content: stretch;
}

.self-auto {
    align-self: auto;
}

.self-start {
    align-self: flex-start;
}

.self-end {
    align-self: flex-end;
}

.self-center {
    align-self: center;
}

.self-stretch {
    align-self: stretch;
}

.self-baseline {
    align-self: baseline;
}

.flex-grow {
    flex-grow: 1;
}

.flex-grow-0 {
    flex-grow: 0;
}

.flex-shrink {
    flex-shrink: 1;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.basis-0 {
    flex-basis: 0px;
}

.basis-auto {
    flex-basis: auto;
}

.basis-full {
    flex-basis: 100%;
}

.order-first {
    order: -9999;
}

.order-last {
    order: 9999;
}

.order-none {
    order: 0;
}

.order-1 {
    order: 1;
}

.order-2 {
    order: 2;
}

.order-3 {
    order: 3;
}

.order-4 {
    order: 4;
}

.gap-0 {
    gap: 0px;
}

.gap-4 {
    gap: 4px;
}

.gap-8 {
    gap: 8px;
}

.gap-16 {
    gap: 16px;
}

.gap-24 {
    gap: 24px;
}

.gap-32 {
    gap: 32px;
}

/* === RESPONSIVE FLEX HELPERS (optional) === */
@media (min-width: 768px) {
    .md-flex {
        display: flex;
    }

    .md-flex-col {
        flex-direction: column;
    }

    .md-justify-center {
        justify-content: center;
    }

    .md-items-center {
        align-items: center;
    }
}

/* === TEXT UTILITIES === */
.uppercase {
    text-transform: uppercase;
}

.lowercase {
    text-transform: lowercase;
}

.capitalize {
    text-transform: capitalize;
}

.normal-case {
    text-transform: none;
}

/* === WIDTH UTILITIES === */
.w-0 {
    width: 0px;
}

.w-1 {
    width: 4px;
}

.w-2 {
    width: 8px;
}

.w-4 {
    width: 16px;
}

.w-8 {
    width: 32px;
}

.w-12 {
    width: 48px;
}

.w-16 {
    width: 64px;
}

.w-20 {
    width: 80px;
}

.w-24 {
    width: 96px;
}

.w-32 {
    width: 128px;
}

.w-40 {
    width: 160px;
}

.w-48 {
    width: 192px;
}

.w-56 {
    width: 224px;
}

.w-64 {
    width: 256px;
}

.w-72 {
    width: 288px;
}

.w-80 {
    width: 320px;
}

.w-96 {
    width: 384px;
}

.w-auto {
    width: auto;
}

.w-screen {
    width: 100vw;
}

.w-min {
    width: min-content;
}

.w-max {
    width: max-content;
}

.w-1\/2 {
    width: calc(100% / 2);
}

.w-1\/3 {
    width: calc(100% / 3);
}

.w-2\/3 {
    width: calc(100% / 3 * 2);
}

.w-1\/4 {
    width: calc(100% / 4);
}

.w-2\/4 {
    width: calc(100% / 4 * 2);
}

.w-3\/4 {
    width: calc(100% / 4 * 3);
}

.w-1\/5 {
    width: calc(100% / 5);
}

.w-2\/5 {
    width: calc(100% / 5 * 2);
}

.w-3\/5 {
    width: calc(100% / 5 * 3);
}

.w-4\/5 {
    width: calc(100% / 5 * 4);
}

.w-1\/6 {
    width: calc(100% / 6);
}

.w-2\/6 {
    width: calc(100% / 6 * 2);
}

.w-3\/6 {
    width: calc(100% / 6 * 3);
}

.w-4\/6 {
    width: calc(100% / 6 * 4);
}

.w-5\/6 {
    width: calc(100% / 6 * 5);
}

.w-1\/12 {
    width: calc(100% / 12);
}

.w-2\/12 {
    width: calc(100% / 12 * 2);
}

.w-3\/12 {
    width: calc(100% / 12 * 3);
}

.w-4\/12 {
    width: calc(100% / 12 * 4);
}

.w-5\/12 {
    width: calc(100% / 12 * 5);
}

.w-6\/12 {
    width: calc(100% / 12 * 6);
}

.w-7\/12 {
    width: calc(100% / 12 * 7);
}

.w-8\/12 {
    width: calc(100% / 12 * 8);
}

.w-9\/12 {
    width: calc(100% / 12 * 9);
}

.w-10\/12 {
    width: calc(100% / 12 * 10);
}

.w-11\/12 {
    width: calc(100% / 12 * 11);
}

.w-full {
    width: 100%;
}


/* === HEIGHT UTILITIES === */
.h-0 {
    height: 0px;
}

.h-1 {
    height: 4px;
}

.h-2 {
    height: 8px;
}

.h-4 {
    height: 16px;
}

.h-8 {
    height: 32px;
}

.h-12 {
    height: 48px;
}

.h-16 {
    height: 64px;
}

.h-20 {
    height: 80px;
}

.h-24 {
    height: 96px;
}

.h-32 {
    height: 128px;
}

.h-40 {
    height: 160px;
}

.h-48 {
    height: 192px;
}

.h-56 {
    height: 224px;
}

.h-64 {
    height: 256px;
}

.h-72 {
    height: 288px;
}

.h-80 {
    height: 320px;
}

.h-96 {
    height: 384px;
}

.h-auto {
    height: auto;
}

.h-full {
    height: 100%;
}

.h-screen {
    /* min-height: 100vh; */
    min-height: 100vh;
}

.h-min {
    height: min-content;
}

.h-max {
    height: max-content;
}

/* === FONT WEIGHT UTILITIES === */
.font-thin {
    font-weight: 100;
}

.font-extralight {
    font-weight: 200;
}

.font-light {
    font-weight: 300;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

.font-black {
    font-weight: 900;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: flex;
}

@media screen and (max-width: 768px) {
    .mobile-only {
        display: flex;
    }

    .desktop-only {
        display: none;
    }
}