/* Turf Smart base: tokens, fonts, header, footer, buttons, generic pages. */

@font-face { font-family: "Cabinet Grotesk"; src: url("../fonts/cabinet-grotesk-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../fonts/cabinet-grotesk-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
	--ts-bg: #F5F6F1;
	--ts-surface: #FFFFFF;
	--ts-ink: #13201A;
	--ts-muted: #55635B;
	--ts-line: #DCE1D8;
	--ts-deep: #0F2A1E;
	--ts-accent: #2E7D3E;
	--ts-accent-hover: #256833;
	--ts-accent-soft: #EEF5EF;
	--ts-accent-ink: #FFFFFF;
	--ts-season: #2F8FC4;
	--ts-season-soft: #E6F1F8;

	--ts-font-display: "Cabinet Grotesk", "Arial Narrow", sans-serif;
	--ts-font-body: "General Sans", "Segoe UI", Roboto, sans-serif;

	--ts-r-sm: 8px;
	--ts-r-md: 16px;
	--ts-r-pill: 999px;

	--ts-container: 1200px;
	--ts-gutter: 24px;
	--ts-section: clamp(64px, 9vw, 112px);
	--ts-header-h: 76px;
	--ts-shadow: 0 18px 40px -24px rgba(15, 42, 30, .35);
}

/* Reset (zero specificity so components always win). */
:where(*, *::before, *::after) { box-sizing: border-box; }
:where(body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd, fieldset) { margin: 0; }
:where(ul[class], ol[class]) { padding: 0; list-style: none; }
:where(fieldset) { border: 0; padding: 0; min-width: 0; }
:where(img, svg, video) { display: block; max-width: 100%; height: auto; }
:where(a) { color: inherit; }
:where(button, input, select, textarea) { font: inherit; color: inherit; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ts-header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	background: var(--ts-bg);
	color: var(--ts-ink);
	font-family: var(--ts-font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.ts-container { width: 100%; max-width: calc(var(--ts-container) + var(--ts-gutter) * 2); margin-inline: auto; padding-inline: var(--ts-gutter); }
.ts-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ts-skip { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--ts-ink); color: #fff; padding: 10px 16px; border-radius: var(--ts-r-sm); }
.ts-skip:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--ts-season); outline-offset: 3px; }

.ts-icon { flex: none; width: 1.1em; height: 1.1em; }

/* Type */
.ts-h2 { font-family: var(--ts-font-display); font-weight: 800; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.04; letter-spacing: -0.02em; }
.ts-h3 { font-family: var(--ts-font-display); font-weight: 800; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; }
.ts-lead { color: var(--ts-muted); font-size: 18px; max-width: 60ch; }
.ts-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ts-season); }

/* Buttons */
.ts-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px;
	border-radius: var(--ts-r-pill); border: 1.5px solid transparent;
	font-family: var(--ts-font-body); font-weight: 600; font-size: 16px; line-height: 1;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.ts-btn:active { transform: translateY(1px); }
.ts-btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.ts-btn--block { width: 100%; }
.ts-btn--primary { background: var(--ts-accent); color: var(--ts-accent-ink); }
.ts-btn--primary:hover { background: var(--ts-accent-hover); }
.ts-btn--outline { border-color: var(--ts-ink); color: var(--ts-ink); background: transparent; }
.ts-btn--outline:hover { background: var(--ts-ink); color: #fff; }
.ts-btn--ghost { border-color: rgba(19, 32, 26, .22); color: var(--ts-ink); background: transparent; }
.ts-btn--ghost:hover { border-color: var(--ts-ink); }
.ts-btn--light { background: #fff; color: var(--ts-deep); }
.ts-btn--light:hover { background: var(--ts-bg); }
.ts-btn .ts-icon--arrow { transition: transform .18s ease; }
.ts-btn:hover .ts-icon--arrow { transform: translateX(3px); }

.ts-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ts-accent); text-decoration: none; }
.ts-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.ts-header {
	color: var(--ts-ink); font-family: var(--ts-font-body);
	position: sticky; top: 0; z-index: 100;
	background: rgba(245, 246, 241, .94);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease;
}
.admin-bar .ts-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ts-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ts-header { top: 0; } }
.ts-header.is-scrolled { border-bottom-color: var(--ts-line); }
.ts-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--ts-header-h); }
.ts-brand { flex: none; display: block; }
.ts-brand__logo { width: 60px; height: 60px; }

.ts-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ts-nav__list { display: flex; align-items: center; gap: 4px; }
.ts-nav__list > li { position: relative; }
.ts-nav__list a { display: block; white-space: nowrap; padding: 10px 9px; border-radius: var(--ts-r-sm); font-weight: 500; font-size: 15px; text-decoration: none; color: var(--ts-ink); }
.ts-nav__list a:hover, .ts-nav__list .current-menu-item > a { color: var(--ts-accent); }
.ts-nav__list .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.ts-nav__list .sub-menu {
	position: absolute; left: 0; top: 100%; min-width: 220px; padding: 8px; margin: 0; list-style: none;
	background: var(--ts-surface); border: 1px solid var(--ts-line); border-radius: var(--ts-r-md); box-shadow: var(--ts-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.ts-nav__list li:hover > .sub-menu, .ts-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ts-nav__list .sub-menu a { padding: 9px 12px; }
.ts-nav__list .sub-menu a:hover { background: var(--ts-bg); }

.ts-nav__actions { display: flex; align-items: center; gap: 14px; }
.ts-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.ts-phone:hover { color: var(--ts-accent); }
.ts-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: var(--ts-r-pill); border: 1px solid var(--ts-line); text-decoration: none; background: var(--ts-surface); }
.ts-cart:hover { border-color: var(--ts-ink); }
.ts-cart__count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--ts-r-pill); background: var(--ts-accent); color: #fff; font-size: 12px; font-weight: 600; line-height: 20px; text-align: center; }

.ts-nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: var(--ts-r-pill); border: 1px solid var(--ts-line); background: var(--ts-surface); cursor: pointer; }
.ts-nav-toggle .ts-icon { width: 22px; height: 22px; }

@media (max-width: 1320px) {
	.ts-phone span { display: none; }
	.ts-phone { width: 42px; height: 42px; justify-content: center; border: 1px solid var(--ts-line); border-radius: var(--ts-r-pill); background: var(--ts-surface); }
}

@media (max-width: 1120px) {
	.ts-nav-toggle { display: inline-flex; }
	.ts-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 16px var(--ts-gutter) 24px;
		background: var(--ts-bg); border-bottom: 1px solid var(--ts-line);
		max-height: calc(100vh - var(--ts-header-h)); overflow-y: auto;
		display: none;
	}
	.ts-header.is-open .ts-nav { display: flex; }
	.ts-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.ts-nav__list a { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--ts-line); border-radius: 0; }
	.ts-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; background: transparent; min-width: 0; }
	.ts-nav__list .menu-item-has-children > a::after { display: none; }
	.ts-nav__actions { flex-wrap: wrap; }
	.ts-phone span { display: inline; }
	.ts-phone { width: auto; height: auto; border: 0; background: none; }
	.ts-nav__actions .ts-btn { flex: 1; }
}

/* Footer */
.ts-footer { background: var(--ts-deep); color: rgba(255, 255, 255, .78); font-family: var(--ts-font-body); font-size: 15px; line-height: 1.6; padding-top: 72px; }
.ts-footer a { color: #fff; text-decoration: none; }
.ts-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ts-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr 1fr; gap: 40px; padding-bottom: 56px; }
.ts-footer__logo { width: 72px; height: 72px; margin-bottom: 18px; background: #fff; border-radius: 50%; }
.ts-footer__brand p { max-width: 32ch; }
.ts-footer__title { font-family: var(--ts-font-display); font-weight: 700; font-size: 18px; color: #fff; margin-bottom: 14px; }
.ts-footer__list { display: grid; gap: 8px; }
.ts-footer__list--cols { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.ts-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.ts-footer__social { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 900px) { .ts-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ts-footer__grid { grid-template-columns: 1fr; } }

/* Generic pages, posts, WooCommerce */
.ts-main { display: block; }
/* The Elementor kit sets white Work Sans text on body; own the colour and font on non-builder pages. */
.ts-main:not(.ts-main--builder):not(.ts-main--woo) { color: var(--ts-ink); font-family: var(--ts-font-body); }
.ts-main.ts-container { padding-block: 56px 88px; }
.ts-page-title {
	color: var(--ts-ink); font-family: var(--ts-font-display); font-weight: 800; font-size: clamp(34px, 4.5vw, 56px); line-height: 1.04; letter-spacing: -0.02em; margin-bottom: 32px; }
.ts-prose-wrap, .ts-prose { max-width: 760px; }
.ts-prose-wrap { margin-inline: auto; }
.ts-prose p, .ts-prose ul, .ts-prose ol, .ts-page__body > p { margin-bottom: 1.1em; }
.ts-prose h2, .ts-prose h3 { font-family: var(--ts-font-display); font-weight: 800; line-height: 1.1; margin: 1.6em 0 .6em; }
.ts-featured { margin-bottom: 32px; }
.ts-featured img { border-radius: var(--ts-r-md); }
.ts-post-row { padding: 24px 0; border-bottom: 1px solid var(--ts-line); }
.ts-post-row h2 { font-family: var(--ts-font-display); font-size: 26px; line-height: 1.15; margin-bottom: 8px; }
.ts-post-row a { text-decoration: none; }
.ts-post-row a:hover { color: var(--ts-accent); }

.ts-main--builder { overflow-x: clip; }

.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.woocommerce #respond input#submit, .wc-block-components-button:not(.is-link) {
	background: var(--ts-accent) !important; color: #fff !important; border-radius: var(--ts-r-pill) !important; font-weight: 600 !important; padding: 14px 24px !important; border: 0 !important;
}
.woocommerce .button:hover, .wc-block-components-button:not(.is-link):hover { background: var(--ts-accent-hover) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--ts-accent) !important; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

a[href^="tel:"] { white-space: nowrap; }

/* Reading pages (privacy policy and other plain pages) */
.ts-prose { max-width: 760px; font-size: 17px; line-height: 1.7; }
.ts-prose .ts-page-title { margin-bottom: 12px; }
.ts-prose .ts-legal-meta { margin-bottom: 32px; font-size: 15px; color: var(--ts-muted); }
.ts-prose h2 { font-family: var(--ts-font-display); font-weight: 800; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; color: var(--ts-ink); margin: 48px 0 14px; padding-top: 28px; border-top: 1px solid var(--ts-line); }
.ts-prose h3 { font-family: var(--ts-font-display); font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--ts-ink); margin: 28px 0 8px; }
.ts-prose p, .ts-prose ul, .ts-prose ol { margin: 0 0 16px; }
.ts-prose ul, .ts-prose ol { padding-left: 1.3em; }
.ts-prose li { margin-bottom: 8px; padding-left: 4px; }
.ts-prose li::marker { color: var(--ts-accent); }
.ts-prose a { color: var(--ts-accent); text-underline-offset: 3px; }
.ts-prose strong { font-weight: 600; color: var(--ts-ink); }
.ts-footer__sep { margin: 0 8px; opacity: .4; }

/* Light variants for dark grounds */
:root { --ts-frost: #CFE3EE; }
.ts-btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.ts-btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.ts-eyebrow--light { color: var(--ts-frost); }

/* Scroll reveal: content is only hidden once JS has confirmed it can reveal it again. */
.ts-reveal-on [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.ts-reveal-on [data-reveal].is-in { opacity: 1; transform: none; }

.ts-footer__note { font-size: 14px; color: rgba(255, 255, 255, .55); }
