/* =========================================================
   MAKHANLEY — DESIGN SYSTEM
   ========================================================= */

/* ---------- Design Tokens ---------- */

:root {
    /* Colors */
    --color-ink: #171914;
    --color-pond: #163B36;
    --color-rice: #F5F1E8;
    --color-seed: #D2BD72;
    --color-earth: #9A6549;
    --color-white: #FFFFFF;
    --color-muted: #6F7169;
    --color-border: #DCD9CF;

    /* Typography */
    --font-display: Georgia, "Times New Roman", serif;
    --font-body: Arial, Helvetica, sans-serif;

    /* Layout */
    --container-width: 1240px;
    --page-padding: 24px;

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 80px;
    --space-10: 120px;

    /* Borders */
    --radius-small: 10px;
    --radius-medium: 16px;
    --radius-large: 24px;

    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(23, 25, 20, 0.08);

    /* Transitions */
    --transition-fast: 180ms ease;
    --transition-normal: 280ms ease;
}


/* ---------- Reset ---------- */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: var(--color-white);
    color: var(--color-ink);

    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
}

img,
picture,
video {
    display: block;
    max-width: 100%;
}

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

button {
    cursor: pointer;
}

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


/* ---------- Container ---------- */

.container {
    width: min(
        calc(100% - (var(--page-padding) * 2)),
        var(--container-width)
    );

    margin-inline: auto;
}


/* ---------- Typography ---------- */

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
}

h1 {
    font-size: clamp(3rem, 7vw, 6.5rem);
}

h2 {
    font-size: clamp(2.25rem, 5vw, 4rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

p {
    color: var(--color-muted);
}


/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 20px;

    border: 1px solid transparent;
    border-radius: var(--radius-small);

    font-size: 0.95rem;
    font-weight: 600;

    transition:
        background-color var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--color-pond);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-ink);
}

.btn-secondary {
    background: transparent;
    border-color: var(--color-border);
    color: var(--color-ink);
}

.btn-secondary:hover {
    border-color: var(--color-ink);
}


/* ---------- Sections ---------- */

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

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

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

.section-heading__eyebrow {
    margin-bottom: var(--space-3);

    color: var(--color-earth);

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin-bottom: var(--space-4);
}

.section-heading p {
    max-width: 650px;
    font-size: 1.1rem;
}


/* ---------- Images ---------- */

.image-frame {
    overflow: hidden;
    border-radius: var(--radius-medium);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ---------- Accessibility ---------- */

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

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

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

/* ---------- Header ---------- */

.site-header {
    position: relative;
    z-index: 100;

    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 80px;
    gap: 32px;
}

.site-header__logo {
    flex-shrink: 0;

    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: -0.02em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-nav a {
    color: var(--color-muted);
    font-size: 0.92rem;
    font-weight: 600;

    transition: color var(--transition-fast);
}

.site-nav a:hover {
    color: var(--color-ink);
}

.site-header__cta {
    flex-shrink: 0;
}