/* =========================================================================
   Total Concrete — base.css
   Design tokens (CSS custom properties) + minimal reset.
   Elementor controls override most visual properties per-widget;
   these tokens are the theme-wide defaults.
   ========================================================================= */

:root {
	/* Brand */
	--tcc-green:      #6cb645;
	--tcc-green-dk:   #4e8a30;
	--tcc-green-soft: rgba(108, 182, 69, 0.10);

	/* Neutrals */
	--tcc-ink:        #0a0a0b;
	--tcc-ink-2:      #1a1a1c;
	--tcc-ink-3:      #2a2a2e;
	--tcc-paper:      #ffffff;
	--tcc-paper-2:    #f5f3ee;
	--tcc-paper-3:    #eae6dd;
	--tcc-muted:      #6a6a68;
	--tcc-rule:       rgba(10, 10, 11, 0.09);
	--tcc-rule-2:     rgba(10, 10, 11, 0.16);

	/* Typography */
	--tcc-font-display:  'Archivo', 'Helvetica Neue', sans-serif;
	--tcc-font-body:     'Inter', 'Archivo', system-ui, -apple-system, sans-serif;
	--tcc-font-mono:     'JetBrains Mono', 'SF Mono', monospace;

	/* Spacing scale */
	--tcc-space-xs: 8px;
	--tcc-space-sm: 16px;
	--tcc-space-md: 24px;
	--tcc-space-lg: 40px;
	--tcc-space-xl: 80px;
	--tcc-space-2xl: 140px;

	/* Radii */
	--tcc-radius-sm: 12px;
	--tcc-radius-md: 20px;
	--tcc-radius-lg: 28px;
	--tcc-radius-pill: 999px;
}

/* Minimal, non-opinionated reset.
   We do NOT set body background/color here — Elementor Site Settings handles that. */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--tcc-font-body); line-height: 1.55; -webkit-font-smoothing: antialiased; }

img, svg, video { display: block; max-width: 100%; }
button { font: inherit; }

/* Accessibility */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	background: var(--tcc-ink);
	color: var(--tcc-paper);
	padding: 12px 20px;
	border-radius: 8px;
	z-index: 99999;
	text-decoration: none;
	transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* =========================================================================
   FALLBACK HEADER / FOOTER / CONTENT STYLES
   These only appear if the user hasn't built their Elementor templates yet.
   Kept deliberately plain so it's obvious the site needs Elementor setup.
   ========================================================================= */

.tcc-fallback-header,
.tcc-fallback-footer {
	padding: 20px 32px;
	background: var(--tcc-paper-2);
	border-bottom: 1px solid var(--tcc-rule);
	font-family: var(--tcc-font-body);
	color: var(--tcc-ink);
}

.tcc-fallback-footer {
	border-bottom: none;
	border-top: 1px solid var(--tcc-rule);
}

.tcc-fallback-header__inner,
.tcc-fallback-footer__inner {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}

.tcc-fallback-header__title {
	font-family: var(--tcc-font-display);
	font-weight: 800;
	font-size: 22px;
	letter-spacing: -.02em;
	color: var(--tcc-ink);
	text-decoration: none;
}

.tcc-fallback-header__notice,
.tcc-fallback-footer__notice {
	max-width: 1400px;
	margin: 16px auto 0;
	padding: 12px 16px;
	background: var(--tcc-green-soft);
	color: var(--tcc-ink);
	border: 1px dashed rgba(108, 182, 69, 0.35);
	border-radius: 10px;
	font-family: var(--tcc-font-mono);
	font-size: 12px;
	text-align: center;
}

.tcc-fallback-menu {
	display: flex;
	gap: 20px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.tcc-fallback-menu a { color: var(--tcc-ink); text-decoration: none; font-size: 15px; }
.tcc-fallback-menu a:hover { color: var(--tcc-green-dk); }

.tcc-fallback-footer__copy { font-size: 14px; color: var(--tcc-muted); margin: 0; }

/* Generic content styling (page.php, fallback single / archive / 404) */
.tcc-page, .tcc-content-single, .tcc-archive, .tcc-404 {
	max-width: 900px;
	margin: 60px auto;
	padding: 0 24px;
	color: var(--tcc-ink);
}
.tcc-page__title, .tcc-content-single__title, .tcc-archive__title {
	font-family: var(--tcc-font-display);
	font-weight: 800;
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1;
	letter-spacing: -.03em;
	margin-bottom: 24px;
}
.tcc-page__content, .tcc-content-single__body { font-size: 17px; line-height: 1.7; }
.tcc-page__content p, .tcc-content-single__body p { margin: 0 0 1em; }

.tcc-archive__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 700px) { .tcc-archive__list { grid-template-columns: 1fr; } }
.tcc-archive__item-title { font-family: var(--tcc-font-display); font-weight: 700; font-size: 24px; margin: 16px 0 8px; }
.tcc-archive__item-title a { color: var(--tcc-ink); text-decoration: none; }
.tcc-archive__item-title a:hover { color: var(--tcc-green-dk); }
.tcc-archive__item-image img { border-radius: var(--tcc-radius-md); }

.tcc-404 { text-align: center; padding: 100px 24px; }
.tcc-404__title {
	font-family: var(--tcc-font-display);
	font-weight: 900;
	font-size: clamp(100px, 18vw, 220px);
	line-height: 1;
	letter-spacing: -.05em;
	color: var(--tcc-green);
	margin: 0;
}
.tcc-404__heading { font-family: var(--tcc-font-display); font-weight: 800; font-size: 36px; margin: 16px 0; text-transform: uppercase; letter-spacing: -.02em; }
.tcc-404__message { font-size: 17px; color: var(--tcc-muted); max-width: 48ch; margin: 0 auto 32px; }
.tcc-404__home-link {
	display: inline-block; padding: 14px 28px; background: var(--tcc-ink); color: var(--tcc-paper);
	font-weight: 600; border-radius: 999px; text-decoration: none; transition: background .2s;
}
.tcc-404__home-link:hover { background: var(--tcc-green); color: var(--tcc-ink); }

.tcc-search-form { display: inline-flex; gap: 8px; margin-top: 24px; }
.tcc-search-form__input { padding: 10px 16px; border: 1px solid var(--tcc-rule-2); border-radius: 999px; font-size: 14px; }
.tcc-search-form__submit {
	padding: 10px 20px; background: var(--tcc-green); color: var(--tcc-ink);
	border: none; border-radius: 999px; font-weight: 600; cursor: pointer;
}

/* Kickers, headings, and helper atoms widgets will reuse */
.tcc-kicker {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--tcc-font-mono);
	font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
	color: var(--tcc-green-dk);
}
.tcc-kicker::before { content: ''; width: 24px; height: 1px; background: var(--tcc-green); }
.tcc-kicker--pill {
	padding: 6px 14px; background: var(--tcc-green-soft);
	border: 1px solid rgba(108,182,69,0.2); border-radius: 999px;
}
.tcc-kicker--pill::before {
	width: 6px; height: 6px; border-radius: 50%; background: var(--tcc-green);
	box-shadow: 0 0 0 3px rgba(108,182,69,0.18);
	animation: tcc-pulse 2.4s ease-in-out infinite;
}
@keyframes tcc-pulse { 50% { box-shadow: 0 0 0 7px rgba(108,182,69,0); } }
