/* Shared design tokens for public pages, previews, and Content Studio. */
:root {
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    /* Five shared sizes: small, body, card, section, page. */
    --type-small: 0.8125rem;
    --type-body: 0.9375rem;
    --type-title: clamp(1.125rem, 1.7vw, 1.5rem);
    --type-section: clamp(1.625rem, 3vw, 2.375rem);
    --type-page: clamp(2.125rem, 4.5vw, 4rem);

    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;

    --leading-tight: 1.15;
    --leading-heading: 1.15;
    --leading-body: 1.55;
    --leading-relaxed: 1.6;

    --tracking-heading: -0.025em;
    --tracking-label: 0.07em;
    --text-align-prose: start;
}

:root {
    --text-primary: #20372e;
    --text-secondary: #47564c;
    --text-accent: #604773;
    --text-on-dark: #fffaf0;
    --text-on-dark-secondary: #f0e7d5;
    --photo-scrim: rgba(7, 26, 18, .12);
    --photo-copy-background: rgba(7, 26, 18, .40);
    --photo-wide-overlay: radial-gradient(ellipse at center, var(--photo-copy-background) 0%, var(--photo-copy-background) 12%, transparent 100%), var(--photo-scrim);
    --photo-copy-feather: clamp(3.125rem, calc(2.6607rem + 1.9048vw), 4.375rem);
    --photo-copy-spread: calc(var(--photo-copy-feather) * .4);
    --photo-copy-radius: calc(var(--photo-copy-feather) * 2);
    --surface-section-warm: #f6f3ec;
    --surface-section-cool: #edf1e9;
    --surface-section-plum: #f0ebf3;
}

:root {
    --page-width: 1280px;
    --page-gutter: clamp(22px, 5vw, 72px);
    --section-space: clamp(40px, 5.5vw, 80px);
    --radius-card: 16px;
    --radius-control: 999px;
    --surface-paper: #fffaf0;
    --surface-forest: #193d2e;
    --surface-muted: #e9ede4;
    --border-subtle: #d4d9ce;
}

:root {
    --sand: #f6f3ec;
    --ink: #20372e;
    --green: #254d3d;
    --plum: #421978;
    --cream: #fffaf0;
    --line: #dddcd2;
    --orange: #b7a177;
}
