/* KDM design tokens, matched to the Park Avenue Residence design guide: warm cream base, champagne-gold accent,
   Cormorant Garamond display + Jost text, square buttons, soft low shadows.
   Contrast (checked): ink on cream 16.3:1, text 9.3:1, muted 5.7:1 (4.8:1 on sand), gold-deep 5.0:1 (4.5:1 on the cream band),
   white on gold-deep 5.3:1 (buttons). --kdm-gold is decorative only (lines, icons, large italic display text). */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-500.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-400.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-500.woff2") format("woff2"); }

:root {
	--kdm-ink: #1f1a16;
	--kdm-text: #4a4239;
	--kdm-muted: #6b6155;
	--kdm-gold: #b08a57;
	--kdm-gold-deep: #86663b;
	--kdm-gold-soft: #efe5d6;
	--kdm-bg: #fbf8f3;
	--kdm-cream: #f4ede3;
	--kdm-sand: #ede4d6;
	--kdm-surface: #ffffff;
	--kdm-line: #e4dacb;
	--kdm-dark: #1b1714;
	--kdm-dark-2: #2a241f;
	--kdm-on-dark: #f3ece2;
	--kdm-on-dark-muted: #c9bba8;
	--kdm-overlay: linear-gradient(180deg, rgba(22, 17, 13, .55) 0%, rgba(22, 17, 13, .25) 38%, rgba(22, 17, 13, .7) 100%);

	/* Aliases read by the KDM Core form stylesheet. */
	--kdm-primary: var(--kdm-gold-deep);
	--kdm-primary-dark: #6f532f;
	--kdm-primary-soft: var(--kdm-gold-soft);

	--kdm-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--kdm-font-body: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--kdm-fs-display: clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem);
	--kdm-fs-h1: clamp(2.4rem, 1.7rem + 3vw, 4.25rem);
	--kdm-fs-h2: clamp(2rem, 1.5rem + 2.2vw, 3.4rem);
	--kdm-fs-h3: clamp(1.45rem, 1.25rem + .8vw, 1.95rem);
	--kdm-fs-lead: clamp(1.05rem, 1rem + .3vw, 1.2rem);
	--kdm-fs-body: 1.0625rem;
	--kdm-fs-eyebrow: .75rem;

	/* 8px spacing scale */
	--kdm-s1: .5rem; --kdm-s2: 1rem; --kdm-s3: 1.5rem; --kdm-s4: 2rem; --kdm-s5: 3rem; --kdm-s6: 4rem; --kdm-s7: 6rem;
	--kdm-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
	--kdm-gutter: clamp(1.25rem, .5rem + 3vw, 3rem);
	--kdm-max: 1200px;
	--kdm-narrow: 760px;

	--kdm-radius: 2px;
	--kdm-shadow-sm: 0 2px 10px rgba(31, 26, 22, .05);
	--kdm-shadow: 0 18px 40px -22px rgba(31, 26, 22, .35);
	--kdm-shadow-lg: 0 30px 70px -30px rgba(31, 26, 22, .45);
	--kdm-ease: cubic-bezier(.22, .61, .36, 1);
	--kdm-ease-out: cubic-bezier(.16, 1, .3, 1);
	--kdm-header-h: 80px;
}
