/* =========================================================================
   Graffix Tools — brand layer on top of Glidex
   Palette: black #0A0A0C · chrome #C9CDD3 · electric blue #1E90FF · lime #A3E635
   ========================================================================= */

:root {
	--gt-black: #0A0A0C;
	--gt-panel: rgba(18, 20, 26, 0.55);
	--gt-line: rgba(255, 255, 255, 0.12);
	--gt-text: #F2F0EC;
	--gt-muted: #C9C6C1;
	--gt-faint: #A6A3A0;
	--gt-chrome: #C9CDD3;
	--gt-blue: #1E90FF;
	--gt-blue-ink: #0070D8;
	--gt-blue-text: #2EA6FF;
	--gt-lime: #A3E635;
	--gt-red: #FF3B30;
	--gt-amber: #FFB020;
	--gt-font-display: 'Anton', 'Impact', sans-serif;
	--gt-font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
	--gt-font-label: 'Barlow Condensed', 'Arial Narrow', sans-serif;

	/* Glidex typography variables */
	--wdtFontTypo_Base: var(--gt-font-body);
	--wdtFontTypo_Alt: var(--gt-font-display);
}

/* Plain black site */
html, body { background: var(--gt-black); }
body { color: var(--gt-muted); font-family: var(--gt-font-body); }
h1, h2, h3, h4 { font-family: var(--gt-font-display); font-weight: 400; color: var(--gt-text); letter-spacing: 0.01em; }
h1, h2 { text-transform: uppercase; line-height: 1.02; }

/* Optional carbon-fiber texture: add class "gt-carbon" to one Elementor section */
.gt-carbon {
	background-color: #0A0A0C;
	background-image:
		linear-gradient(27deg, #131315 4px, transparent 4px),
		linear-gradient(207deg, #131315 4px, transparent 4px),
		linear-gradient(27deg, #1B1B1E 4px, transparent 4px),
		linear-gradient(207deg, #1B1B1E 4px, transparent 4px),
		linear-gradient(90deg, #18181A 8px, transparent 8px),
		linear-gradient(#1A1A1C 25%, #161618 25%, #161618 50%, transparent 50%, transparent 75%, #202023 75%, #202023);
	background-position: 0 4px, 8px 0, 0 8px, 8px 4px, 0 0, 0 0;
	background-size: 16px 16px;
}

/* ---- Labels / eyebrows ---- */
.gt-eyebrow { font-family: var(--gt-font-label); font-weight: 700; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gt-blue-text); }
.gt-eyebrow.is-lime { color: var(--gt-lime); }

/* ---- Buttons (also restyles WooCommerce buttons) ---- */
.gt-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 0 24px; border: 0; border-radius: 6px;
	background: var(--gt-blue-ink); color: #FFFFFF;
	font-family: var(--gt-font-label); font-weight: 700; font-size: 18px; letter-spacing: 0.05em; text-transform: uppercase;
	text-decoration: none; cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.gt-btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--gt-blue); color: #FFFFFF; transform: translateY(-1px); }
.gt-btn.is-lime { background: var(--gt-lime); color: var(--gt-black); }
.gt-btn.is-ghost { background: transparent; color: var(--gt-text); border: 1px solid #3A3A42; }

/* ---- Glass panes with the blinking status light ---- */
.gt-glass,
.woocommerce ul.products li.product {
	position: relative;
	background: var(--gt-panel);
	border: 1px solid var(--gt-line);
	border-radius: 10px;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 12px 32px rgba(0, 0, 0, 0.5);
}
.gt-glass::after,
.woocommerce ul.products li.product::after {
	content: ""; position: absolute; top: 14px; right: 14px; width: 8px; height: 8px; border-radius: 50%;
	background: var(--gt-lime); box-shadow: 0 0 6px var(--gt-lime), 0 0 14px rgba(163, 230, 53, 0.7);
	animation: gt-led 1.8s ease-in-out infinite; pointer-events: none; z-index: 2;
}
.gt-glass.no-led::after { display: none; }
@keyframes gt-led { 0%, 100% { opacity: 1; } 50% { opacity: 0.15; } }

/* ---- Segmented toggle (used by the simulations) ---- */
.gt-seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--gt-line); }
.gt-seg button {
	min-height: 44px; padding: 0 18px; border: 0; border-radius: 6px; cursor: pointer; background: transparent; color: var(--gt-text);
	font-family: var(--gt-font-label); font-weight: 700; font-size: 16px; letter-spacing: 0.05em; text-transform: uppercase;
}
.gt-seg button[aria-pressed="true"] { background: var(--gt-text); color: var(--gt-black); }
.gt-seg button[aria-pressed="true"][data-tone="bad"] { background: var(--gt-red); color: #FFFFFF; }
.gt-seg button[aria-pressed="true"][data-tone="blue"] { background: var(--gt-blue-ink); color: #FFFFFF; }
.gt-seg button[aria-pressed="true"][data-tone="lime"] { background: var(--gt-lime); color: var(--gt-black); }
.gt-seg button:focus-visible { outline: 2px solid var(--gt-blue-text); outline-offset: 2px; }

/* ---- Shared section layout for the shortcodes ---- */
.gt-sec { display: flex; flex-direction: column; gap: 28px; color: var(--gt-muted); }
.gt-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.gt-sec-head > div:first-child { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gt-sec h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); }
.gt-sec p { margin: 0; }
.gt-controls { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Rivet simulation ---- */
.gt-rivet .gt-stage { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding: 28px; }
.gt-rivet svg { flex: 1 1 520px; min-width: 0; width: 100%; height: auto; }
.gt-rivet .gt-caption { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gt-caption .gt-tag { font-family: var(--gt-font-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.gt-caption .gt-title { font-family: var(--gt-font-display); font-size: 30px; line-height: 1.1; text-transform: uppercase; color: var(--gt-text); }
.gt-rivet [data-layer] { transition: opacity .35s ease; opacity: 0; }
.gt-rivet[data-method="torch"][data-day="next"] [data-layer~="tent"],
.gt-rivet[data-method="torch"] [data-layer~="scuff"],
.gt-rivet[data-method="rs"][data-day="day1"] [data-layer~="tip"],
.gt-rivet[data-method="rs"][data-day="next"] [data-layer~="check"] { opacity: 1; }
.gt-rivet .gt-film { transition: d .45s ease; }

/* ---- Hand simulation ---- */
.gt-hand .gt-stage { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.gt-hand .gt-figure { flex: 1 1 420px; min-width: 0; padding: 24px; display: flex; justify-content: center; }
.gt-hand .gt-figure svg { width: 100%; max-width: 420px; height: auto; }
.gt-hand .gt-points { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.gt-point { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.10); }
.gt-point .gt-num { flex: 0 0 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--gt-font-display); font-size: 17px; color: var(--gt-black); }
.gt-point strong { display: block; font-size: 19px; color: var(--gt-text); margin-bottom: 4px; }
.gt-hand [data-show] { transition: opacity .35s ease; }
.gt-hand[data-mode="flat"] [data-show="se"],
.gt-hand[data-mode="se"] [data-show="flat"] { opacity: 0; }
.gt-hand .gt-fine { color: #8E8B87; font-size: 14px; }
.gt-pulse { transform-box: fill-box; transform-origin: center; animation: gt-pulse 1.3s ease-out infinite; }
@keyframes gt-pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.2); opacity: 0; } }

/* ---- Safety cards (ISO 3864-2 / ANSI Z535 signal words + ISO 7010 signs) ---- */
.gt-safety-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.gt-warn { display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; border: 1px solid var(--gt-line); background: rgba(18, 20, 26, 0.7); }
.gt-warn-band { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-family: var(--gt-font-display); font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; }
.gt-warn-band.is-warning { background: #FF7A00; color: #0A0A0C; }
.gt-warn-band.is-caution { background: #FFD400; color: #0A0A0C; }
.gt-warn-band.is-notice { background: #005387; color: #FFFFFF; font-style: italic; }
.gt-warn-band.is-info { background: #005387; color: #FFFFFF; }
.gt-warn-signs { display: flex; gap: 12px; padding: 18px 18px 0; }
.gt-warn-body { padding: 14px 18px 22px; display: flex; flex-direction: column; gap: 8px; }
.gt-warn-body strong { font-family: var(--gt-font-label); font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gt-text); }

/* ---- Awards strip ---- */
.gt-awards { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.gt-awards .gt-award-head { display: flex; align-items: center; gap: 14px; }
.gt-awards img { width: 96px; height: 96px; object-fit: contain; }
.gt-awards .gt-award-title { font-family: var(--gt-font-display); font-size: 26px; line-height: 1.05; text-transform: uppercase; color: var(--gt-text); display: block; }
.gt-awards .gt-award-sub { font-family: var(--gt-font-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gt-lime); font-size: 15px; }
.gt-chips { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 480px; }
.gt-chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.05); font-family: var(--gt-font-label); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; font-size: 15px; color: var(--gt-text); }

/* ---- Founder ---- */
.gt-founder { padding: 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.gt-founder .gt-f-left { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.gt-founder .gt-f-right { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; font-size: 19px; line-height: 1.6; }
.gt-founder img.gt-portrait { width: 132px; height: 132px; object-fit: cover; border-radius: 50%; border: 3px solid var(--gt-blue); box-shadow: 0 0 0 6px rgba(30, 144, 255, 0.15); }
.gt-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.gt-stat b { display: block; font-family: var(--gt-font-display); font-weight: 400; font-size: 48px; line-height: 1; color: var(--gt-blue-text); }
.gt-stat span { color: var(--gt-faint); font-size: 15px; }
.gt-sign { font-family: var(--gt-font-label); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gt-faint); }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
	.gt-glass::after, .woocommerce ul.products li.product::after { animation: none; }
	.gt-pulse { animation: none; opacity: 0.5; }
	.gt-rivet [data-layer], .gt-hand [data-show] { transition: none; }
}

@media (max-width: 640px) {
	.gt-founder { padding: 28px; }
	.gt-rivet .gt-stage { padding: 18px; }
}
