
/* =========================================
   GANDTT PRODUCTS
   Global Design System
========================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');


/* =========================================
   01. DESIGN TOKENS
========================================= */

:root {

    /* Brand Colours */

    --color-primary: #173F35;
    --color-secondary: #245B45;
    --color-sage: #91A98C;

    --color-cream: #F7F5EC;
    --color-ivory: #FFFEFA;
    --color-beige: #E9E0D0;

    --color-brown: #795B43;
    --color-charcoal: #252A26;
    --color-white: #FFFFFF;

    --color-text-muted: #626C65;
    --color-border: #DEDCD3;


    /* Typography */

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', Arial, sans-serif;


    /* Font Sizes */

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 3rem;
    --text-5xl: 4rem;


    /* Spacing System */

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;


    /* Layout */

    --container-width: 1320px;
    --section-spacing: clamp(3rem, 7vw, 6rem);


    /* Border Radius */

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 999px;


    /* Shadows */

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);


    /* Transitions */

    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;

}


/* =========================================
   02. RESET AND BASE STYLES
========================================= */

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

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-charcoal);
    background-color: var(--color-ivory);
}

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

p {
    line-height: 1.7;
}

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

ul,
ol {
    list-style: none;
}

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

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

button {
    cursor: pointer;
}

button,
a,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 4px;
}

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


/* =========================================
   03. GLOBAL LAYOUT
========================================= */

.container {
    width: 92%;
    max-width: var(--container-width);
    margin-inline: auto;
}

.section {
    padding-block: var(--section-spacing);
}

.section--cream {
    background-color: var(--color-cream);
}

.section--white {
    background-color: var(--color-white);
}

.section--dark {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
    color: var(--color-white);
}

.section-heading {
    max-width: 760px;
    margin-bottom: var(--space-xl);
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
}

.section-description {
    color: var(--color-text-muted);
    font-size: var(--text-base);
}

.section--dark .section-description {
    color: var(--color-cream);
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: var(--space-sm);
}

.section--dark .eyebrow {
    color: var(--color-sage);
}


/* =========================================
   04. UTILITY CLASSES
========================================= */

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--color-text-muted);
}

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

