/* Venue 92 ivory look (design.md, approved by the owner 18 Nov 2026): ivory ground, ink text, sand bands,
   terracotta accent, Bodoni Moda + Manrope, pill buttons, 8px cards and inputs, 4px images. Photo heroes and the
   footer stay dark. Loaded last on the front end and in the editor.
   shortcut: re-maps the dark build's tokens on html:root instead of rewriting theme.json and every stylesheet;
   fold it into theme.json the next time the theme is rebuilt with tools/build-theme.py. */

@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/bodoni-moda-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); }

html:root {
	/* colour: ivory ground, ink text, sand for contrast bands, terracotta accent, blue focus */
	--wp--preset--color--base: #F7F4ED;
	--wp--preset--color--contrast: #242622;
	--wp--preset--color--accent-1: #915843;
	--wp--preset--color--accent-1-strong: #242622;
	--wp--preset--color--accent-2: #E5DED1;
	--wp--preset--color--accent-3: #242622;
	--wp--preset--color--accent-4: #62635D;
	--wp--preset--color--accent-5: #E5DED1;
	--wp--preset--color--accent-6: #D5CEC2;
	--wp--preset--color--raised-dark: #FFFFFF;
	--wp--preset--color--border-strong: #62635D;
	--wp--preset--color--surface: #FFFFFF;
	--wp--preset--color--link: #242622;
	--wp--preset--color--on-accent: #242622;
	--wp--preset--color--on-accent-1: #FFFFFF;
	--wp--preset--color--on-contrast: #FFFFFF;
	--wp--preset--color--on-dark-muted: #62635D;
	--wp--preset--color--signature: #915843;
	--wp--preset--color--gold-text: #915843;
	--wp--preset--color--soft: #E5DED1;
	--wp--preset--color--success: #242622;
	--wp--preset--color--success-surface: #FFFFFF;
	--wp--preset--color--error: #A32929;
	--wp--preset--color--error-surface: #FFFFFF;
	--wp--preset--color--error-on-dark: #A32929;
	--wp--preset--color--focus: #316AB1;
	--wp--preset--color--focus-inverse: #316AB1;
	--wp--preset--color--overlay: #242622cc;

	/* type: Bodoni Moda display, Manrope for everything else */
	--wp--preset--font-family--heading: "Bodoni Moda", Georgia, serif;
	--wp--preset--font-family--accent: "Bodoni Moda", Georgia, serif;
	--wp--preset--font-family--body: "Manrope", Arial, sans-serif;
	--wp--custom--font-weight--light: 400;
	--wp--custom--font-weight--black: 400;
	--wp--custom--font-weight--semibold: 600;
	--wp--custom--font-weight--bold: 700;
	--wp--custom--letter-spacing--display: -0.025em;
	--wp--custom--letter-spacing--heading: -0.025em;
	--wp--custom--letter-spacing--brand: 0;
	--wp--custom--letter-spacing--eyebrow: 0.1em;
	--wp--custom--letter-spacing--nav: 0;
	--wp--custom--letter-spacing--button: 0;
	--wp--custom--line-height--display: 1.04;
	--wp--custom--line-height--heading: 1.1;
	--wp--custom--line-height--body: 1.65;
	--wp--custom--font-size--hero-display: clamp(2.75rem, 6vw, 5rem);
	--wp--preset--font-size--xxx-large: clamp(2.75rem, 6vw, 5rem);
	--wp--preset--font-size--xx-large: clamp(2.25rem, 4vw, 3.5rem);
	--wp--preset--font-size--x-large: clamp(1.625rem, 1.4rem + 1vw, 2rem);
	--wp--preset--font-size--small: 0.875rem;
	--wp--preset--font-size--x-small: 0.75rem;

	/* layout: 1320px container, wider gutters, 8px cards and inputs, 4px images, pill buttons */
	--wp--custom--layout--wide: 1320px;
	--wp--custom--layout--gutter: clamp(32px, 4.5vw, 64px);
	--wp--custom--layout--gutter-mobile: 20px;
	--wp--custom--control--padding-x: 24px;
	--wp--custom--radius--card: 8px;
	--wp--custom--radius--input: 8px;
	--wp--custom--radius--image: 4px;
}

/* photo grounds and the footer stay dark: light text and inverse controls there */
html:root .wp-block-cover,
html:root .vn-footer,
html.vn-js:root body:not(.vn-is-scrolled):has(.vn-hero--under-header) .vn-header-wrap--over-hero:not(:has(.is-menu-open)) {
	--wp--preset--color--on-accent: #FFFFFF;
	--wp--preset--color--contrast: #FFFFFF;
	--wp--preset--color--on-contrast: #242622;
	--wp--preset--color--on-dark-muted: #E5DED1;
	--wp--preset--color--accent-4: #E5DED1;
	--wp--preset--color--accent-1: #E5DED1;
	--wp--preset--color--accent-1-strong: #FFFFFF;
	--wp--preset--color--on-accent-1: #242622;
	--wp--preset--color--gold-text: #E5DED1;
	--wp--preset--color--link: #FFFFFF;
	--wp--preset--color--focus: #FFFFFF;
	--wp--preset--color--focus-inverse: #FFFFFF;
}

/* the charcoal bands become sand; 12px eyebrows on sand go ink (terracotta is 4.3:1 there, under AA) */
html:root .is-style-section-deep:not(.vn-footer) { background-color: #E5DED1 !important; color: #242622 !important; }
html:root .is-style-section-deep:not(.vn-footer) .is-style-eyebrow { color: #242622; }

/* headings: serif display for h1 to h3, the sans for small headings */
html:root h3 { font-weight: 500; }
html:root :is(h4, h5, h6) { font-family: var(--wp--preset--font-family--body); font-weight: 600; letter-spacing: 0; }
html:root .is-style-eyebrow { font-weight: 600; }

/* navigation and buttons: sentence case, 14px, weight 600 */
html:root .wp-block-navigation { text-transform: none; font-size: 0.875rem; font-weight: 600; }
html:root .wp-block-button .wp-block-button__link { text-transform: none; letter-spacing: 0; font-size: 0.875rem; font-weight: 600; }
/* primary: ink with a white label; on photos and the footer it inverts */
html:root .wp-block-button.is-style-arrow .wp-block-button__link { background-color: var(--wp--preset--color--contrast); border-color: var(--wp--preset--color--contrast); color: var(--wp--preset--color--on-contrast); }
html:root .wp-block-button:not(.is-style-outline-arrow):not(.is-style-outline) .wp-block-button__link:is(:hover, :focus-visible) { background-color: color-mix(in srgb, var(--wp--preset--color--contrast) 84%, var(--wp--preset--color--on-contrast)); border-color: transparent; color: var(--wp--preset--color--on-contrast); }
/* secondary: outline that fills on hover */
html:root .wp-block-button:is(.is-style-outline-arrow, .is-style-outline) .wp-block-button__link:is(:hover, :focus-visible) { background-color: var(--wp--preset--color--contrast); border-color: var(--wp--preset--color--contrast); color: var(--wp--preset--color--on-contrast); }

/* logo: black on ivory, white over the hero and in the footer */
html:root .vn-brand .vn-logo--light { display: none; }
html:root .vn-brand .vn-logo--dark { display: block; }
html.vn-js:root body:not(.vn-is-scrolled):has(.vn-hero--under-header) .vn-header-wrap--over-hero:not(:has(.is-menu-open)) .vn-brand .vn-logo--light,
html:root .vn-footer .vn-brand .vn-logo--light { display: block; }
html.vn-js:root body:not(.vn-is-scrolled):has(.vn-hero--under-header) .vn-header-wrap--over-hero:not(:has(.is-menu-open)) .vn-brand .vn-logo--dark,
html:root .vn-footer .vn-brand .vn-logo--dark { display: none; }

/* photo cards: a quiet border, no glow, natural colour */
html:root .vn-ecard.wp-block-cover, html:root .vn-frame { border: 1px solid #D5CEC2; box-shadow: none; }
html:root .vn-ecard.wp-block-cover:hover, html:root .vn-frame:hover { border-color: #62635D; box-shadow: none; }
html:root .vn-ecard.wp-block-cover::after, html:root .vn-frame::after, html:root .vn-frame::before { background: none; }
html:root .vn-ecard .wp-block-cover__image-background { filter: none; }

/* the map in its own colours */
html:root .vn-map iframe { filter: none; }

/* at-a-glance figures in the display face */
html:root .vn-glance .has-x-large-font-size { font-family: var(--wp--preset--font-family--heading); }

/* footer column titles are labels, not display headings */
html:root .vn-footer .wp-block-heading { font-family: var(--wp--preset--font-family--body); font-weight: 600 !important; letter-spacing: 0.1em !important; }

/* enquiry form: boxed 48px fields with a visible border, ink submit */
html:root .vn-form .quform-label, html:root .vn-form .quform-label > label { font-weight: 600 !important; letter-spacing: 0.1em; }
html:root .vn-form :is(.quform-field-text, .quform-field-email, .quform-field-date, .quform-field-select, .quform-field-textarea, input[type="text"], input[type="email"], input[type="tel"], select, textarea) { min-height: 48px !important; padding: 10px 16px !important; border: 1px solid #62635D !important; border-radius: 8px !important; background: #FFFFFF !important; font-weight: 400 !important; color-scheme: light; }
html:root .vn-form .quform-has-field-icon-left :is(input, select) { padding-left: 2.75em !important; }
html:root .vn-form .quform-has-field-icon-right :is(input, select) { padding-right: 2.75em !important; }
html:root .vn-form :is(.quform-submit, button[type="submit"]) { background: #242622 !important; border-color: #242622 !important; color: #FFFFFF !important; text-transform: none; letter-spacing: 0 !important; font-weight: 600 !important; }
html:root .vn-form :is(.quform-submit, button[type="submit"]):hover { background: color-mix(in srgb, #242622 84%, #FFFFFF) !important; border-color: transparent !important; }
