/* Tecture Work Examples: the service page filter and the single example page. */
/* Selectors are scoped (.tw-filter …, .tw-page …) on purpose: Elementor resets links inside paragraphs,
   and the theme styles every button, input and heading. */

.tw-filter, .tw-page {
	--tw-ink: #0b1220; --tw-ink-2: #1e293b; --tw-muted: #5b6478; --tw-line: #e3e7ef; --tw-tint: #f4f6fb;
	--tw-accent: #2563eb; --tw-accent-dark: #1d4ed8; --tw-radius: 14px;
	--tw-display: "Space Grotesk", "Inter", system-ui, sans-serif; --tw-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-family: var(--tw-body); color: var(--tw-ink); line-height: 1.6;
}
.tw-filter *, .tw-page * { box-sizing: border-box; }
.tw-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tw-filter .tw-eyebrow, .tw-page .tw-eyebrow { margin: 0 0 .8em; font-size: 13.6px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tw-accent); }

/* ===== Filter ===== */
.tw-filter { display: block; width: 100%; }
.tw-filter .tw-filter-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 32px; }
.tw-filter .tw-filter-intro { max-width: 680px; }
.tw-filter .tw-filter-title { margin: 0 0 .4em; font-family: var(--tw-display); font-size: clamp(29px, 3.5vw, 42px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--tw-ink); }
.tw-filter .tw-filter-lead { margin: 0; font-size: 18px; color: var(--tw-muted); }
.tw-filter .tw-search { position: relative; flex: 0 1 380px; min-width: min(100%, 280px); }
.tw-filter .tw-search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--tw-muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.tw-filter .tw-search input.tw-q { width: 100%; margin: 0; font: inherit; font-size: 16px; line-height: 1.4; padding: 13px 16px 13px 46px; border: 1px solid var(--tw-line); border-radius: 999px; background: #fff; color: var(--tw-ink); box-shadow: none; }
.tw-filter .tw-search input.tw-q:focus { outline: none; border-color: var(--tw-accent); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }

.tw-filter .tw-filters { display: grid; gap: 16px; padding: 22px 24px; border: 1px solid var(--tw-line); border-radius: var(--tw-radius); background: var(--tw-tint); }
.tw-filter .tw-facet { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 16px; align-items: start; }
.tw-filter .tw-facet-label { margin: 0; padding-top: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tw-muted); }
.tw-filter .tw-chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tw-filter .tw-chip,
.tw-filter .tw-chip:focus { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-family: var(--tw-body); font-size: 14px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none; padding: 7px 12px; border: 1px solid var(--tw-line); border-radius: 999px; background: #fff; color: var(--tw-ink-2); box-shadow: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.tw-filter .tw-chip:hover { background: #fff; border-color: #a5b4fc; color: var(--tw-ink); }
.tw-filter .tw-chip:focus-visible { outline: 3px solid #60a5fa; outline-offset: 2px; }
.tw-filter .tw-chip .tw-n { font-size: 12px; font-weight: 600; color: var(--tw-muted); }
.tw-filter .tw-chip[aria-pressed="true"], .tw-filter .tw-chip[aria-pressed="true"]:hover, .tw-filter .tw-chip[aria-pressed="true"]:focus { background: var(--tw-accent); border-color: var(--tw-accent); color: #fff; }
.tw-filter .tw-chip[aria-pressed="true"] .tw-n { color: rgba(255, 255, 255, .8); }
.tw-filter .tw-chip[aria-pressed="true"]::before { content: ""; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-2px) rotate(-45deg); }
.tw-filter .tw-chip:disabled, .tw-filter .tw-chip:disabled:hover { opacity: .45; cursor: default; background: #fff; border-color: var(--tw-line); color: var(--tw-muted); }
.tw-filter .tw-toggle, .tw-filter .tw-toggle:hover, .tw-filter .tw-toggle:focus { margin: 0; padding: 7px 4px; font-family: var(--tw-body); font-size: 14px; font-weight: 600; line-height: 1.2; border: 0; border-radius: 4px; background: none; color: var(--tw-accent); box-shadow: none; cursor: pointer; }
.tw-filter .tw-collapsed .tw-chip.tw-extra:not([aria-pressed="true"]) { display: none; }

.tw-filter .tw-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin: 22px 0 18px; }
.tw-filter .tw-count { margin: 0; font-weight: 600; color: var(--tw-ink-2); }
.tw-filter .tw-count span { font-weight: 500; color: var(--tw-muted); }
.tw-filter .tw-clear, .tw-filter .tw-clear:hover, .tw-filter .tw-clear:focus { margin: 0; padding: 0; font-family: var(--tw-body); font-size: 15px; font-weight: 600; border: 0; background: none; color: var(--tw-accent); box-shadow: none; cursor: pointer; }
.tw-filter [hidden] { display: none !important; }

.tw-filter .tw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.tw-filter .tw-item { margin: 0; padding: 0; }
.tw-filter .tw-grid .tw-card { box-sizing: border-box; display: flex; flex-direction: column; height: 100%; padding: 24px; border: 1px solid var(--tw-line); border-radius: 12px; background: #fff; color: var(--tw-ink); text-decoration: none; font-family: var(--tw-body); cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s; }
.tw-filter .tw-grid .tw-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(11, 18, 32, .25); border-color: #c7d2fe; color: var(--tw-ink); }
.tw-filter .tw-grid .tw-card:focus-visible { outline: 3px solid #60a5fa; outline-offset: 3px; }
.tw-filter .tw-card-area { display: block; margin-bottom: .5em; font-size: 13.6px; font-weight: 600; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; color: var(--tw-accent); }
.tw-filter .tw-draft { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #fef3c7; color: #92400e; font-style: normal; letter-spacing: .04em; }
.tw-filter .tw-card-title { display: block; margin: 0 0 .5em; font-family: var(--tw-display); font-size: 18.7px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--tw-ink); }
.tw-filter .tw-card-summary { display: block; flex: 1; margin: 0 0 16px; font-size: 16px; line-height: 1.6; color: var(--tw-muted); }
.tw-filter .tw-card-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 16px; padding: 0; }
.tw-filter .tw-card-chips li { margin: 0; padding: 4px 9px; border-radius: 999px; background: var(--tw-tint); color: var(--tw-ink-2); font-size: 12.5px; font-weight: 600; line-height: 1.4; }
.tw-filter .tw-card-chips li.tw-hit { background: #eef2ff; color: #3730a3; box-shadow: inset 0 0 0 1px #c7d2fe; }
.tw-filter .tw-card-link { font-size: 16px; font-weight: 600; color: var(--tw-accent); }
.tw-filter .tw-card-link::after { content: "\2192"; display: inline-block; margin-left: .3em; transition: transform .2s; }
.tw-filter .tw-grid .tw-card:hover .tw-card-link::after { transform: translateX(3px); }
.tw-filter mark { padding: 0 1px; border-radius: 2px; background: #fef08a; color: inherit; }

.tw-filter .tw-empty { padding: 40px 24px; text-align: center; border: 1px dashed var(--tw-line); border-radius: 12px; color: var(--tw-muted); }
.tw-filter .tw-empty strong { display: block; margin-bottom: 6px; font-family: var(--tw-display); font-size: 20px; color: var(--tw-ink); }
.tw-filter .tw-load { display: flex; justify-content: center; margin-top: 28px; }
.tw-filter .tw-more, .tw-filter .tw-more:focus { margin: 0; padding: 12px 24px; font-family: var(--tw-body); font-size: 16px; font-weight: 600; line-height: 1.4; border: 2px solid var(--tw-line); border-radius: 999px; background: #fff; color: var(--tw-ink); box-shadow: none; cursor: pointer; transition: border-color .2s, background .2s; }
.tw-filter .tw-more:hover { background: #f8fafc; border-color: var(--tw-ink-2); color: var(--tw-ink); }

@media (max-width: 1000px) { .tw-filter .tw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
	.tw-filter .tw-grid { grid-template-columns: minmax(0, 1fr); }
	.tw-filter .tw-filters { padding: 18px 16px; }
	.tw-filter .tw-facet { grid-template-columns: minmax(0, 1fr); }
	.tw-filter .tw-facet-label { padding-top: 0; }
	.tw-filter .tw-search { flex-basis: 100%; }
}

/* ===== Single work example page ===== */
/* The theme lays the content area out as a row; take the full width so the page and footer stack. */
.tw-wrap { display: block; flex: 1 1 100%; width: 100%; max-width: 100%; margin: 0; padding: 0; }
.tw-page { display: block; padding: 40px 0 clamp(64px, 8vw, 96px); background: #fff; font-size: 17px; }
.tw-page .tw-container { width: min(100% - 48px, 1160px); margin-inline: auto; }
.tw-page .tw-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0 56px; align-items: start; grid-template-areas: "intro glance" "body glance"; }
.tw-page .tw-intro { grid-area: intro; }
.tw-page .tw-body { grid-area: body; }
.tw-page .tw-glance { grid-area: glance; }

.tw-page .tw-crumbs { margin: 0 0 28px; font-size: 14.5px; color: var(--tw-muted); }
.tw-page .tw-crumbs a { color: var(--tw-muted); text-decoration: none; }
.tw-page .tw-crumbs a:hover { color: var(--tw-accent); }
.tw-page .tw-crumbs span { margin: 0 6px; opacity: .5; }
.tw-page .tw-title { margin: 0 0 .45em; font-family: var(--tw-display); font-size: clamp(30px, 3.2vw, 40px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--tw-ink); }
.tw-page .tw-summary { max-width: 64ch; margin: 0 0 8px; font-size: 19px; color: var(--tw-ink-2); }

.tw-page .tw-body section { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--tw-line); }
.tw-page .tw-body h2 { margin: 0 0 .6em; font-family: var(--tw-display); font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--tw-ink); }
.tw-page .tw-body p { max-width: 68ch; margin: 0 0 1em; color: var(--tw-ink-2); }
.tw-page .tw-bullets { display: grid; gap: 8px; max-width: 68ch; margin: 0; padding: 0; list-style: none; }
.tw-page .tw-bullets li { position: relative; margin: 0; padding-left: 26px; color: var(--tw-ink-2); }
.tw-page .tw-bullets li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--tw-accent); transform: rotate(45deg); }
.tw-page .tw-steps { display: grid; gap: 8px; max-width: 68ch; margin: 0; padding-left: 1.3em; color: var(--tw-ink-2); }
.tw-page .tw-steps li { margin: 0; }
.tw-page .tw-steps li::marker { color: var(--tw-accent); font-weight: 700; }
.tw-page .tw-figure { margin: 0; }
.tw-page .tw-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--tw-line); border-radius: 12px; }
.tw-page .tw-figure figcaption { margin-top: 10px; font-size: 14px; color: var(--tw-muted); }

.tw-page .tw-glance { position: sticky; top: 96px; padding: 24px; border: 1px solid var(--tw-line); border-radius: var(--tw-radius); background: #fff; box-shadow: 0 24px 60px -44px rgba(11, 18, 32, .35); }
.admin-bar .tw-page .tw-glance { top: 128px; }
.tw-page .tw-glance h2 { margin: 0 0 18px; font-family: var(--tw-display); font-size: 18px; font-weight: 700; color: var(--tw-ink); }
.tw-page .tw-glance dl { display: grid; gap: 14px; margin: 0 0 22px; }
.tw-page .tw-glance dt { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tw-muted); }
.tw-page .tw-glance dd { margin: 3px 0 0; font-size: 16px; }
.tw-page .tw-glance dd a { font-weight: 600; color: var(--tw-accent); text-decoration: none; }
.tw-page .tw-glance dd a:hover { color: var(--tw-accent-dark); }
.tw-page .tw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.tw-page .tw-chips li { margin: 0; padding: 5px 10px; border-radius: 999px; background: #eef2ff; color: #3730a3; font-size: 13.3px; font-weight: 600; line-height: 1.4; }
.tw-page .tw-chips li a, .tw-page .tw-glance .tw-chips li a { color: inherit; font-weight: 600; }
.tw-page .tw-chips li:has(a):hover { background: #e0e7ff; }
.tw-page .tw-tools { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.tw-page .tw-tools li { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 16px; font-weight: 600; color: var(--tw-ink-2); }
.tw-page .tw-tool-icon { flex: none; width: 26px !important; height: 26px !important; border-radius: 7px; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px var(--tw-line); }
.tw-page .tw-tool-letter { display: grid; place-items: center; font-size: 12.5px; font-weight: 700; color: var(--tw-muted); }
.tw-page .tw-back { display: block; margin-top: 14px; text-align: center; font-size: 15px; font-weight: 600; color: var(--tw-accent); text-decoration: none; }

.tw-page .tw-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border: 2px solid var(--tw-accent); border-radius: 999px; background: var(--tw-accent); color: #fff; font-family: var(--tw-body); font-size: 16px; font-weight: 600; line-height: 1.3; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.tw-page .tw-btn:hover { background: var(--tw-accent-dark); border-color: var(--tw-accent-dark); color: #fff; transform: translateY(-1px); }
.tw-page .tw-btn-block { display: flex; width: 100%; padding: 10px 18px; font-size: 15.5px; }

.tw-page .tw-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(56px, 7vw, 80px); padding: 48px; border-radius: var(--tw-radius); background: radial-gradient(800px 300px at 100% 0%, #1e3a8a 0%, transparent 70%), var(--tw-ink); color: #fff; }
.tw-page .tw-cta > div { flex: 1 1 420px; }
.tw-page .tw-cta h2 { margin: 0 0 .3em; font-family: var(--tw-display); font-size: clamp(23px, 2.6vw, 30px); font-weight: 700; line-height: 1.2; color: #fff; }
.tw-page .tw-cta p { margin: 0; color: #cbd5e1; }

@media (max-width: 1000px) {
	.tw-page .tw-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "glance" "body"; }
	.tw-page .tw-glance { position: static; margin-top: 28px; }
}
@media (max-width: 640px) { .tw-page .tw-cta { padding: 32px 26px; } }
@media (prefers-reduced-motion: reduce) { .tw-filter .tw-grid .tw-card, .tw-filter .tw-card-link::after, .tw-page .tw-btn { transition: none; } }
