/* TMC Accessibility v1 (2026-11-19). Tokens only, no inline styles anywhere.
   Targets WCAG 2.2 AA: 1.4.3 text 4.5:1, 1.4.11 controls 3:1, 2.4.7/2.4.13 focus, 2.5.8 target 24px, 1.4.1 links not by colour alone. */
:root {
	--tmc-control-border: #8c96a3;   /* 3:1+ against field (#0c1927) and page (#060d14) */
	--tmc-placeholder: #b3b3b3;      /* muted token, 9:1 on the field */
	--tmc-focus: #d4af37;            /* brand gold ring */
	--tmc-footer-text: #b3b3b3;      /* on navy #1e2a38 = 6.9:1 */
	--tmc-footer-link: #64b5f6; /* brand link blue, 6.4:1 on navy */
}

/* Skip link: visible and usable when focused. */
html body a.ea11y-skip-to-content-link:focus,
.ea11y-skip-to-content-link:focus {
	clip: auto;
	width: auto;
	height: auto;
	padding: 12px 20px;
	margin: 8px;
	background: var(--e-global-color-primary, #d4af37);
	color: #060d14 !important;
	font-weight: 700;
	text-decoration: none;
	border-radius: 4px;
	z-index: 100000;
	outline: 2px solid #060d14;
	outline-offset: 2px;
}

/* Form controls on the dark theme (Elementor forms): visible boundaries and placeholders.
   The older global form rules use !important, so these match their weight and sit later with higher specificity. */
html body .elementor-form .elementor-field-group .elementor-field-textual,
html body .elementor-form .elementor-field-group select.elementor-field,
html body .elementor-form .elementor-field-group textarea.elementor-field-textual,
html body .elementor-form .elementor-field-group input[type="text"],
html body .elementor-form .elementor-field-group input[type="email"],
html body .elementor-form .elementor-field-group input[type="tel"],
html body .elementor-form .elementor-field-group input[type="number"],
html body .elementor-form .elementor-field-group input[type="url"] {
	border: 1px solid var(--tmc-control-border) !important;
}
html body .elementor-form .elementor-field-group .elementor-field-textual::placeholder,
html body .elementor-form .elementor-field-group textarea::placeholder,
html body .elementor-form .elementor-field-group input::placeholder {
	color: var(--tmc-placeholder) !important;
	opacity: 1 !important;
}
html body .elementor-form .elementor-field-group input[type="checkbox"],
html body .elementor-form .elementor-field-group input[type="radio"] {
	border: 1px solid var(--tmc-control-border) !important;
}

/* Keyboard focus ring on everything focusable: 2px gold, 2px offset. */
body :focus-visible {
	outline: 2px solid var(--tmc-focus);
	outline-offset: 2px;
}

/* Links inside body text are underlined (not colour alone). Buttons and menus are excluded. */
.elementor-widget-text-editor a:not(.elementor-button),
.elementor-widget-container p a:not(.elementor-button),
.woocommerce-breadcrumb a,
main p a:not(.elementor-button) {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

/* Footer (template 110): classes replace the old inline styles. */
.tmc-footer-note,
.tmc-footer-copy {
	color: var(--tmc-footer-text);
	font-family: inherit;
	font-size: 0.875rem;
	margin: 0;
}
.tmc-footer-note { margin-bottom: 20px; }
.tmc-footer-blurb {
	color: var(--tmc-footer-text);
	font-family: inherit;
	font-size: 0.875rem;
	margin: 0 0 14px;
}
.tmc-footer-heading {
	color: var(--e-global-color-secondary, #c9a84c);
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	margin: 0 0 14px;
	text-transform: uppercase;
}
.tmc-footer-links {
	font-family: inherit;
	list-style: none;
	margin: 0;
	padding: 0;
}
html body .tmc-footer-links a,
html body .tmc-footer-legal a {
	color: var(--tmc-footer-link);
	display: inline-block;
	font-family: inherit;
	font-size: 0.9rem;
	line-height: 1.6;
	min-height: 24px;
	padding: 4px 0;
	text-decoration: none;
}
html body .tmc-footer-links a:hover,
html body .tmc-footer-legal a:hover {
	color: var(--e-global-color-secondary, #c9a84c);
	text-decoration: underline;
}
.tmc-footer-legal {
	font-family: inherit;
	text-align: right;
}
html body .tmc-footer-legal a {
	color: var(--tmc-footer-text);
	font-size: 0.875rem;
	margin-left: 16px;
}
@media (max-width: 767px) {
	.tmc-footer-legal { text-align: left; }
	.tmc-footer-legal a { margin: 0 16px 0 0; }
}
