/* ==========================================================================
   DESIGN TOKENS — Discover Ayamonte
   Re-skin a future destination by editing this file only.
   All colour, type, spacing, radius, motion and layout values live here.
   ========================================================================== */

/* Self-hosted fonts (OFL). Latin subset, variable weight. */
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-latin-variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	/* ---- Brand palette ------------------------------------------------ */
	--da-blue: #0E2C3A;          /* Deep Atlantic Blue — primary */
	--da-blue-deep: #0A2230;     /* footer */
	--da-blue-mid: #1B4254;      /* raised surfaces on dark */
	--da-terracotta: #C2643F;    /* accent — decorative use, large type */
	--da-terracotta-strong: #A9502E; /* accent for text/buttons on light (AA 5.4:1 with white) */
	--da-terracotta-soft: #E3906B;   /* accent on dark backgrounds (AA 5.5:1 on blue) */
	--da-sage: #7C9482;          /* secondary — rules, fills */
	--da-sage-strong: #4F6656;   /* sage for text (AA on surface) */
	--da-sage-tint: #E6EAE3;
	--da-surface: #F7F4EE;       /* warm neutral surface */
	--da-surface-deep: #EDE8DE;
	--da-white: #FFFFFF;

	/* ---- Text greys derived from the blue (not pure black) ------------ */
	--da-ink: #0E2C3A;           /* headings */
	--da-text: #2B4351;          /* body — 9.9:1 on surface */
	--da-text-muted: #56697A;    /* secondary — 5.2:1 on surface */
	--da-text-on-dark: #FFFFFF;
	--da-text-on-dark-muted: #C3CFD6; /* 9.6:1 on blue */
	--da-rule: #D5D9D6;
	--da-rule-strong: #0E2C3A;
	--da-rule-on-dark: rgba(255, 255, 255, 0.2);
	--da-border-input: #74868F;  /* 3.5:1 on white — WCAG 1.4.11 */

	/* ---- Semantic ----------------------------------------------------- */
	--da-bg: var(--da-surface);
	--da-accent: var(--da-terracotta-strong);
	--da-focus: #C2643F;
	--da-error: #A12B1F;         /* 6.9:1 on white */
	--da-success: #2F5E43;
	--da-verify-bg: #FBE6C2;
	--da-verify-text: #6B3A0C;
	--da-overlay: rgba(10, 34, 48, 0.52);
	--da-placeholder: #DCD6CA;
	--da-placeholder-dark: #2A4B5A;

	/* ---- Typography --------------------------------------------------- */
	--da-font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--da-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--da-fs-xs: 0.8125rem;                                  /* 13 */
	--da-fs-sm: 0.9375rem;                                  /* 15 */
	--da-fs-base: 1.0625rem;                                /* 17 */
	--da-fs-md: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
	--da-fs-lg: clamp(1.3125rem, 1.15rem + 0.7vw, 1.75rem);
	--da-fs-xl: clamp(1.625rem, 1.3rem + 1.4vw, 2.5rem);
	--da-fs-2xl: clamp(2rem, 1.45rem + 2.4vw, 3.5rem);
	--da-fs-3xl: clamp(2.5rem, 1.6rem + 4vw, 5.25rem);
	--da-fs-display: clamp(2.75rem, 1.4rem + 6vw, 7rem);

	--da-lh-tight: 1.05;
	--da-lh-heading: 1.15;
	--da-lh-body: 1.65;
	--da-tracking-caps: 0.14em;
	--da-measure: 68ch;           /* max line length for reading */
	--da-measure-narrow: 52ch;

	/* ---- Spacing (4px base) ------------------------------------------- */
	--da-space-1: 0.25rem;
	--da-space-2: 0.5rem;
	--da-space-3: 0.75rem;
	--da-space-4: 1rem;
	--da-space-5: 1.5rem;
	--da-space-6: 2rem;
	--da-space-7: 3rem;
	--da-space-8: 4rem;
	--da-space-9: 6rem;
	--da-space-10: 8rem;
	--da-section-y: clamp(4.5rem, 3rem + 6vw, 9.5rem);
	--da-gutter: clamp(1rem, 0.5rem + 2.5vw, 3rem);
	--da-grid-gap: clamp(1.25rem, 0.75rem + 2vw, 3rem);

	/* ---- Layout ------------------------------------------------------- */
	--da-container: 1320px;
	--da-header-h: 4.25rem;

	/* ---- Radii (restrained, editorial) -------------------------------- */
	--da-radius-sm: 2px;
	--da-radius: 3px;
	--da-radius-lg: 6px;

	/* ---- Motion ------------------------------------------------------- */
	--da-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--da-dur: 220ms;
	--da-dur-reveal: 800ms;

	/* ---- Elevation ---------------------------------------------------- */
	--da-shadow: 0 1px 2px rgba(14, 44, 58, 0.06), 0 12px 32px rgba(14, 44, 58, 0.08);
}

@media (min-width: 960px) {
	:root {
		--da-header-h: 5rem;
	}
}
