/* === CSS Reset === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

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

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

ul, ol {
    list-style: none;
}

/* === Font Faces === */
@font-face {
    font-family: 'Cocogoose Pro';
    src: url('../fonts/Cocogoose-Pro-trial.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CocogooseProTrial';
    src: url('../fonts/Cocogoose-Pro-trial.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cocogoose Pro';
    src: url('../fonts/Cocogoose-Pro-Light-trial.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CocogooseProTrial';
    src: url('../fonts/Cocogoose-Pro-Light-trial.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cocogoose Pro';
    src: url('../fonts/Cocogoose-Pro-Semilight-trial.ttf') format('truetype');
    font-weight: 350;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CocogooseProTrial';
    src: url('../fonts/Cocogoose-Pro-Semilight-trial.ttf') format('truetype');
    font-weight: 350;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cocogoose Pro';
    src: url('../fonts/Cocogoose-Pro-Thin-trial.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CocogooseProTrial';
    src: url('../fonts/Cocogoose-Pro-Thin-trial.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cocogoose Pro';
    src: url('../fonts/Cocogoose-Pro-Ultralight-trial.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CocogooseProTrial';
    src: url('../fonts/Cocogoose-Pro-Ultralight-trial.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

/* === CSS Custom Properties === */
:root {
    /* Colors */
    --color-primary: #1B3A2D;
    --color-primary-light: #2D5A3D;
    --color-white: #FFFFFF;
    --color-off-white: #F5F5F5;
    --color-black: #1A1A1A;
    --color-gray: #888888;
    --color-gray-light: #E0E0E0;
    --color-footer-bg: #FFFFFF;

    /* Typography */
    --font-heading: 'Cocogoose Pro', sans-serif;
    --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Layout */
    --container-max: 1376px;
    --container-padding: 0rem;

    /* Extended palette — For Him / collections */
    --color-clapley-deep-green: #142809;
    --color-clapley-grass: #53953B;
    --color-clapley-pine: #0D520F;
    --color-clapley-ink: #101010;
    --color-clapley-mute: #6F6F6F;
    --color-clapley-neutral-100: #E9E9E9;
}

/* Mobile gutter — desktop intentionally stays at 0rem so per-section paddings don't double up */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }
}

/* === Base Typography === */
body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-black);
    background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

/* === Layout Utilities === */
.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

.site-main {
    min-height: 60vh;
}

/* === Lazy Loading === */
img[loading="lazy"] {
    opacity: 1;
    transition: opacity 0.3s ease;
}
