/* Styles for TWP Builder blocks. Colors come from --twp-* variables; set them in your theme to match the site. */
.twp-page, .twp-section, .twp-specs { --_accent: var(--twp-accent, #000000); --_ink: var(--twp-ink, #0F1419); --_paper: var(--twp-paper, #F4F5F2); --_line: var(--twp-line, #D5D8D1); --_muted: var(--twp-muted, #5C645E); }
.twp-page *, .twp-page *::before, .twp-page *::after, .twp-section, .twp-section * { box-sizing: border-box; }
.twp-section { padding: 64px 0; }
.twp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.twp-cols { display: flex; flex-wrap: wrap; gap: 24px; }
.twp-col { flex: 1 1 260px; min-width: 0; }
.twp-spacer { height: 48px; }
.twp-divider { border: 0; border-top: 1px solid var(--_line, #D5D8D1); margin: 24px 0; }

.twp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 28px; background: var(--_accent, #000000); color: #fff; border: 1.5px solid transparent; border-radius: 3px; font-weight: 600; text-decoration: none; }
.twp-btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.twp-btn--light { background: var(--_paper, #F4F5F2); color: var(--_accent, #000000); }

.twp-eyebrow { font: 500 12px/1.4 ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--_muted, #5C645E); margin-bottom: 12px; }
.twp-lede { font-size: 1.15em; max-width: 52ch; }
.twp-hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.twp-hero-copy { flex: 1 1 480px; min-width: 0; }
.twp-panel { flex: 1 1 380px; min-width: 0; background: var(--_ink, #0F1419); color: #AEB7B0; border-radius: 6px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.twp-panel .twp-eyebrow { color: #8E988F; }
.twp-unit { background: #1A212A; border: 1px solid #2B3541; border-radius: 3px; padding: 16px; font: 400 12px ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }

.twp-specs { border-top: 1px solid var(--_ink, #0F1419); border-bottom: 1px solid var(--_ink, #0F1419); }
.twp-specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding: 0; }
.twp-specs-grid > div { padding: 24px; border-right: 1px solid var(--_line, #D5D8D1); }
.twp-specs-grid > div:last-child { border-right: 0; }
.twp-specs small { display: block; font: 400 11px ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--_muted, #5C645E); margin-bottom: 6px; }
.twp-specs strong { font-size: 1.2em; }

.twp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.twp-card { background: #fff; border: 1px solid var(--_line, #D5D8D1); border-radius: 4px; padding: 24px; }
.twp-card h3 { margin-top: 0; }

.twp-dark { background: var(--_ink, #0F1419); color: #F4F5F2; }
.twp-dark h2, .twp-dark h3 { color: #F4F5F2; }
.twp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; margin-top: 32px; }
.twp-steps > div { border-top: 2px solid var(--twp-accent-light, #76858C); padding-top: 16px; }
.twp-steps small { font: 400 12px ui-monospace, monospace; color: #8E988F; }
.twp-steps p { color: #B5BEB6; margin: 0; }

.twp-accent-bg { background: var(--_accent, #000000); color: #fff; }
.twp-accent-bg h2 { color: #fff; }
.twp-cta { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.twp-cta > div { flex: 1 1 420px; }

.twp-sc { padding: 24px; border: 2px dashed #9aa3ad; border-radius: 4px; font: 500 13px ui-monospace, monospace; color: #5C645E; background: rgba(0, 0, 0, .03); }

@media (max-width: 800px) {
	.twp-section { padding: 44px 0; }
	.twp-wrap { padding: 0 20px; }
	.twp-specs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.twp-specs-grid > div { border-bottom: 1px solid var(--_line, #D5D8D1); padding: 16px 20px; }
	.twp-specs-grid > div:nth-child(2n) { border-right: 0; }
	.twp-specs-grid > div:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
}

/* contact form shortcode */
.twp-form { display: grid; gap: 1rem; max-width: 560px; }
.twp-form label { display: grid; gap: .25rem; font-weight: 500; }
.twp-form input, .twp-form textarea { font: inherit; padding: .7rem .8rem; border: 1px solid #C4CBD4; border-radius: 3px; background: #fff; }
.twp-form .twp-btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.twp-hp { position: absolute; left: -9999px; }
.twp-notice { background: #E8F5E9; padding: .75rem 1rem; border-radius: 3px; }
.twp-notice--error { background: #FDECEA; }

/* page header, contact details, testimonials, FAQ */
.twp-alt { background: var(--_paper, #F4F5F2); }
.twp-pagehead { background: var(--_paper, #F4F5F2); border-bottom: 1px solid var(--_line, #D5D8D1); padding: 72px 0 56px; }
.twp-pagehead h1 { max-width: 20ch; }
.twp-info { border: 1px solid var(--_ink, #0F1419); background: #fff; }
.twp-info-item { padding: 18px 24px; border-bottom: 1px solid var(--_line, #D5D8D1); }
.twp-info-item:last-child { border-bottom: 0; }
.twp-info small { display: block; font: 400 11px ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--_muted, #5C645E); margin-bottom: 4px; }
.twp-info strong { font-size: 1.1em; }
.twp-info a { text-decoration: none; }
.twp-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 24px; }
.twp-quote { background: #fff; border: 1px solid var(--_line, #D5D8D1); border-radius: 4px; padding: 24px; margin: 0; }
.twp-quote p { margin: 0 0 14px; font-size: 1.1em; }
.twp-quote cite { font: 500 12px ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--_muted, #5C645E); font-style: normal; }
.twp-faq { margin-top: 16px; border-top: 1px solid var(--_line, #D5D8D1); max-width: 820px; }
.twp-faq details { border-bottom: 1px solid var(--_line, #D5D8D1); padding: 4px 0; }
.twp-faq summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.twp-faq details p { margin: 0 0 16px; }

/* hero sizing, big section headings, rack units, browse tiles */
.twp-hero h1 { font-size: clamp(38px, 5.6vw, 76px); line-height: .98; max-width: 14ch; margin-bottom: 24px; }
.twp-wrap > h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.twp-unit { display: flex; align-items: center; gap: 12px; padding: 0 14px; height: 54px; }
.twp-unit::before { content: ""; flex: none; width: 62px; height: 28px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--_ink, #0F1419) 0 14px, transparent 14px 18px); }
.twp-unit::after { content: ""; flex: none; margin-left: auto; margin-right: 16px; width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 16px 0 0 var(--twp-accent-light, #76858C); }
.twp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border: 1px solid var(--_ink, #0F1419); margin-top: 24px; }
.twp-tile { display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; padding: 24px; border-right: 1px solid var(--_ink, #0F1419); text-decoration: none; color: inherit; }
.twp-tile:last-child { border-right: 0; }
.twp-tile small { font: 400 12px ui-monospace, monospace; color: var(--_muted, #5C645E); }
.twp-tile strong { font-size: 1.3em; line-height: 1.15; }
.twp-tile:hover { background: var(--_ink, #0F1419); color: var(--_paper, #F4F5F2); }
@media (max-width: 800px) {
	.twp-tiles { grid-template-columns: 1fr; }
	.twp-tile { min-height: 56px; flex-direction: row; align-items: center; border-right: 0; border-bottom: 1px solid var(--_ink, #0F1419); padding: 0 16px; }
	.twp-tile:last-child { border-bottom: 0; }
	.twp-tile small { display: none; }
	.twp-unit::after { margin-right: 16px; }
}
/* Images never overflow their column; zero specificity so any theme or builder rule wins. */
:where(.twp-page, [data-gjs-type="wrapper"]) img { max-width: 100%; height: auto; }
