/*
Theme Name: Total Webz
Theme URI: https://totalwebz.co.uk/
Author: Total Webz
Description: Lean classic theme for Total Webz. No page builder, no block editor, self-hosted fonts, native page fields.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: totalwebz
License: Proprietary
*/

/* ==================================================================
   Fonts (self-hosted, no Google requests)
================================================================== */
@font-face { font-family: "Bricolage Grotesque"; src: url(assets/fonts/bricolage-grotesque.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(assets/fonts/instrument-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(assets/fonts/instrument-sans-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(assets/fonts/instrument-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(assets/fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(assets/fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ==================================================================
   Tokens
================================================================== */
:root {
	--tw-navy: #0D1B2A;
	--tw-navy-2: #16283B;
	--tw-navy-3: #223852;
	--tw-ink: #111214;
	--tw-slate: #3A3D42;
	--tw-lime: #C8F03C;
	--tw-coral: #FF7A59;
	--tw-mist: #F6F6F4;
	--tw-line: #E6E6E3;
	--tw-mute-dark: #9FB3C8;
	--tw-body-dark: #C9D3DD;
	--tw-radius: 20px;
	--tw-gutter: 24px;
	--tw-section: clamp(64px, 9vw, 104px);
	--tw-display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
	--tw-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--tw-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ==================================================================
   Base
================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0; background: #fff; color: var(--tw-ink);
	font-family: var(--tw-body); font-size: 17px; line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { text-decoration: none; }
:focus-visible { outline: 3px solid var(--tw-coral); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--tw-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 0.95; }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0 0 1em; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important;
}
.tw-skip:focus { clip: auto; clip-path: none; height: auto; width: auto; margin: 0; z-index: 100; top: 8px; left: 8px; background: #fff; color: var(--tw-ink); padding: 12px 18px; border-radius: 8px; }

/* ==================================================================
   Layout
================================================================== */
.tw-wrap { width: 100%; max-width: calc(1240px + var(--tw-gutter) * 2); margin-inline: auto; padding-inline: var(--tw-gutter); }
.tw-narrow { width: 100%; max-width: calc(760px + var(--tw-gutter) * 2); margin-inline: auto; padding-inline: var(--tw-gutter); }

.tw-section { padding-block: var(--tw-section); }
.tw-section--tight { padding-block: clamp(40px, 5vw, 64px); }
/* Two plain white sections in a row: don't double the gap. */
.tw-section:not(.tw-dark):not(.tw-cta) + .tw-section:not(.tw-dark):not(.tw-cta) { padding-top: 0; }

.tw-grid { display: grid; gap: 24px; }
.tw-grid--2, .tw-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .tw-grid--2, .tw-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .tw-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tw-grid--1 { grid-template-columns: 1fr; }

/* Dark surfaces */
.tw-dark { background-color: var(--tw-navy); color: #fff; }
.tw-grid-bg {
	background-image:
		linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
	background-size: 48px 48px;
}
.tw-dots-bg { background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px); background-size: 22px 22px; }

/* Text bits */
.tw-eyebrow { font-family: var(--tw-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tw-slate); margin: 0 0 16px; display: block; }
.tw-dark .tw-eyebrow { color: var(--tw-mute-dark); }
.tw-lead { font-size: 1.25rem; color: var(--tw-slate); max-width: 40rem; }
.tw-dark .tw-lead, .tw-dark .tw-muted { color: var(--tw-body-dark); }
.tw-muted { color: var(--tw-slate); }
.tw-hint { background: #FFF6D6; border: 1px dashed #C9A400; border-radius: 12px; padding: 14px 18px; font-size: 15px; color: #5A4A00; }

/* Buttons */
.tw-buttons { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 32px; }
.tw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--tw-body); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap;
	background: var(--tw-ink); color: #fff; border: 0; border-radius: 999px; padding: 15px 26px; min-height: 48px;
	transition: background-color .2s ease, color .2s ease, transform .2s ease; cursor: pointer;
}
.tw-btn:hover { background: var(--tw-slate); color: #fff; }
.tw-btn:active { transform: translateY(1px); }
.tw-btn--lime { background: var(--tw-lime); color: var(--tw-ink); }
.tw-btn--lime:hover { background: #d8f86a; color: var(--tw-ink); }
.tw-btn--outline { background: transparent; color: var(--tw-ink); box-shadow: inset 0 0 0 1.5px var(--tw-ink); }
.tw-btn--outline:hover { background: var(--tw-ink); color: #fff; }
.tw-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.6); }
.tw-btn--ghost:hover { background: #fff; color: var(--tw-ink); }
.tw-arrow { font-weight: 600; text-decoration: none; }
.tw-arrow::after { content: " →"; }
.tw-arrow:hover { text-decoration: underline; }

/* ==================================================================
   Header + navigation
================================================================== */
.tw-header { position: relative; z-index: 50; background: var(--tw-navy); color: #fff; border-bottom: 1px solid rgba(255,255,255,0.12); }
.tw-header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.tw-logo {
	display: inline-flex; align-items: center; gap: 9px; margin-right: auto;
	color: #fff; text-decoration: none; white-space: nowrap;
	font-family: var(--tw-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; line-height: 1;
}
.tw-logo::before { content: ""; width: 14px; height: 14px; border-radius: 3px; background: var(--tw-lime); flex: none; }
.tw-header__cta { padding: 11px 18px; min-height: 44px; font-size: 15px; }

.tw-menu, .tw-menu ul { list-style: none; margin: 0; padding: 0; }
.tw-menu { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.tw-menu > li { position: relative; }
.tw-menu a { color: #fff; text-decoration: none; display: block; padding: 10px 0; }
.tw-menu a:hover, .tw-menu .current-menu-item > a, .tw-menu .current-menu-ancestor > a { color: var(--tw-lime); }
.tw-menu .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; vertical-align: 3px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.tw-menu .sub-menu {
	position: absolute; top: 100%; left: -14px; min-width: 250px; padding: 8px;
	background: #fff; color: var(--tw-ink); border-radius: 14px; box-shadow: 0 18px 40px rgba(13,27,42,0.25);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.tw-menu li:hover > .sub-menu, .tw-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tw-menu .sub-menu a { color: var(--tw-ink); padding: 10px 12px; border-radius: 8px; }
.tw-menu .sub-menu a:hover { background: var(--tw-mist); color: var(--tw-ink); }

.tw-nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 10px; margin-right: -10px; cursor: pointer; min-width: 44px; min-height: 44px; }
.tw-nav-toggle__close { display: none; }

@media (max-width: 960px) {
	.tw-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.tw-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--tw-navy); border-top: 1px solid rgba(255,255,255,0.12);
		padding: 16px var(--tw-gutter) 32px; box-shadow: 0 24px 40px rgba(0,0,0,0.3);
		max-height: calc(100vh - 76px); overflow-y: auto;
	}
	.tw-header.is-open .tw-nav { display: block; }
	.tw-header.is-open .tw-nav-toggle__open { display: none; }
	.tw-header.is-open .tw-nav-toggle__close { display: inline; }
	.tw-menu { flex-direction: column; align-items: stretch; gap: 0; font-size: 20px; }
	.tw-menu > li { border-bottom: 1px solid rgba(255,255,255,0.1); }
	.tw-menu a { padding: 14px 0; }
	.tw-menu .menu-item-has-children > a::after { display: none; }
	.tw-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0 0 12px 14px; min-width: 0; }
	.tw-menu .sub-menu a { color: var(--tw-body-dark); padding: 8px 0; font-size: 17px; }
	.tw-menu .sub-menu a:hover { background: transparent; color: var(--tw-lime); }
}
@media (max-width: 420px) {
	.tw-header__inner { gap: 12px; }
	.tw-logo { font-size: 20px; }
	.tw-header__cta { padding: 9px 14px; font-size: 14px; }
}

/* ==================================================================
   Hero + intro
================================================================== */
.tw-hero { padding-block: clamp(56px, 8vw, 96px) clamp(72px, 9vw, 112px); }
.tw-hero__grid { display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .tw-hero__grid { grid-template-columns: 1.35fr 1fr; } }
.tw-hero h1 { font-size: clamp(3rem, 5.6vw, 5.25rem); color: #fff; margin-bottom: 24px; }
.tw-hero h1 strong, .tw-intro h1 strong, .tw-cta h2 strong {
	font-weight: inherit; background: var(--tw-lime); color: var(--tw-navy);
	padding: 0 0.14em; border-radius: 0.12em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.tw-cta h2 strong { background: var(--tw-ink); color: var(--tw-lime); }
.tw-intro { padding-block: clamp(56px, 7vw, 88px); }
.tw-intro h1 { color: #fff; max-width: 18ch; }
.tw-intro h1:only-child, .tw-intro .tw-eyebrow + h1:last-child { margin-bottom: 0; }

.tw-rings { display: flex; flex-wrap: wrap; gap: 24px 28px; align-items: flex-start; margin-top: 40px; }
.tw-ring { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 84px; margin: 0; }
.tw-ring__dial { position: relative; width: 72px; height: 72px; }
.tw-ring__dial svg { display: block; }
.tw-ring__dial span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--tw-mono); font-weight: 500; font-size: 20px; color: #0CCE6B; }
.tw-ring figcaption { font-size: 13px; color: var(--tw-body-dark); text-align: center; line-height: 1.3; }
.tw-rings__note { flex: 1 1 180px; margin: 6px 0 0; font-family: var(--tw-mono); font-size: 13px; line-height: 1.6; color: var(--tw-mute-dark); }

.tw-form-wrap { position: relative; min-width: 0; }
.tw-sticker {
	position: absolute; z-index: 2; top: -34px; right: -14px; margin: 0;
	width: 118px; height: 118px; border-radius: 50%; padding: 10px;
	display: flex; align-items: center; justify-content: center; text-align: center;
	background: var(--tw-coral); color: var(--tw-ink); border: 2px solid var(--tw-ink);
	font-family: var(--tw-display); font-weight: 800; font-size: 14px; line-height: 1.08;
	transform: rotate(12deg);
}
@media (max-width: 600px) {
	.tw-sticker { right: 4px; top: -40px; width: 96px; height: 96px; font-size: 12px; }
}

/* ==================================================================
   Enquiry form
================================================================== */
.tw-form {
	background: #fff; color: var(--tw-ink);
	border: 1.5px solid var(--tw-ink); border-radius: var(--tw-radius);
	padding: clamp(24px, 3vw, 32px); box-shadow: 12px 12px 0 var(--tw-lime);
}
.tw-form form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.tw-form__title { margin: 0; font-family: var(--tw-display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; line-height: 1.1; padding-right: 70px; }
@media (max-width: 600px) { .tw-form__title { padding-right: 84px; } }
.tw-form__intro { margin: 6px 0 0; font-size: 15px; color: var(--tw-slate); }
.tw-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; min-width: 0; }
.tw-form input, .tw-form select, .tw-form textarea {
	font: inherit; font-weight: 400; font-size: 16px; color: var(--tw-ink);
	padding: 12px 14px; border: 1.5px solid #C9CAC5; border-radius: 10px; background: #fff; width: 100%; min-width: 0;
}
.tw-form input:focus, .tw-form select:focus, .tw-form textarea:focus { border-color: var(--tw-ink); outline: 3px solid var(--tw-lime); outline-offset: 0; }
.tw-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 14px; }
.tw-form button { font: inherit; font-weight: 600; font-size: 17px; cursor: pointer; background: var(--tw-ink); color: #fff; border: 0; border-radius: 999px; padding: 16px 24px; margin-top: 4px; }
.tw-form button:hover { background: var(--tw-slate); }
.tw-form__small { margin: 0; font-size: 13px; color: var(--tw-slate); text-align: center; }
.tw-form__error { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; background: #FDECEA; color: #8A1C12; font-size: 15px; }
.tw-form__done p { margin: 0 0 8px; }
.tw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ==================================================================
   Platform marquee
================================================================== */
.tw-marquee { background: var(--tw-lime); color: var(--tw-ink); border-block: 2px solid var(--tw-ink); overflow: hidden; padding-block: 20px; }
.tw-marquee__track { display: flex; width: max-content; animation: tw-marquee 32s linear infinite; }
.tw-marquee__set { display: flex; align-items: center; gap: 40px; padding: 0 40px 0 0; margin: 0; list-style: none; }
.tw-marquee__set li { font-family: var(--tw-display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; white-space: nowrap; display: flex; align-items: center; gap: 40px; }
.tw-marquee__set li::after { content: "✱"; }
.tw-marquee__set li.tw-marquee__label { font-family: var(--tw-mono); font-weight: 500; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.tw-marquee__set li.tw-marquee__label::after { content: none; }
.tw-marquee:hover .tw-marquee__track { animation-play-state: paused; }
@keyframes tw-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==================================================================
   Pain chain
================================================================== */
.tw-chain { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 40px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tw-chain li { position: relative; border: 1.5px solid var(--tw-ink); border-radius: 16px; padding: 24px; }
.tw-chain li > * { margin: 0; }
.tw-chain li > * + * { margin-top: 8px; }
.tw-chain li:not(:last-child)::after { content: "→"; position: absolute; right: -32px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 700; line-height: 1; }
.tw-chain li:last-child { background: var(--tw-navy); border-color: var(--tw-navy); color: #F2F2EF; }
.tw-chain li:last-child h3 { color: var(--tw-lime); }
.tw-chain li:last-child .tw-chain__label { color: var(--tw-mute-dark); }
.tw-chain li:last-child p:last-child { color: #C9CAC5; }
.tw-chain h3 { font-size: 26px; }
.tw-chain p:last-child { font-size: 15px; color: var(--tw-slate); }
.tw-chain__label { font-family: var(--tw-mono); font-size: 13px; color: var(--tw-slate); }
@media (max-width: 900px) {
	.tw-chain { grid-template-columns: 1fr; gap: 36px; }
	.tw-chain li:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -32px; transform: translateX(-50%); }
}
.tw-callout { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--tw-mist); border-radius: 16px; padding: 24px 28px; }
.tw-callout p { margin: 0; font-size: 19px; font-weight: 600; }

/* ==================================================================
   Service cards + features
================================================================== */
.tw-section h2 + .tw-lead { margin-top: -0.2em; }
.tw-section .tw-lead + .tw-grid, .tw-section h2 + .tw-grid { margin-top: 32px; }
.tw-card {
	display: flex; flex-direction: column; gap: 18px; text-decoration: none; color: var(--tw-ink);
	border: 1.5px solid var(--tw-ink); border-radius: var(--tw-radius); padding: clamp(28px, 3.5vw, 40px);
	transition: transform .25s ease, box-shadow .25s ease;
}
.tw-card:hover { transform: translateY(-6px); box-shadow: 0 18px 0 -6px var(--tw-ink); }
.tw-card--coral { background: var(--tw-coral); }
.tw-card--lime { background: var(--tw-lime); }
.tw-card .tw-eyebrow { color: var(--tw-ink); margin: 0; }
.tw-card__title { font-family: var(--tw-display); font-weight: 800; font-size: clamp(30px, 3.2vw, 40px); letter-spacing: -0.03em; line-height: 1; }
.tw-card__more { margin-top: auto; font-weight: 600; }
.tw-card:hover .tw-card__more { text-decoration: underline; }
.tw-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tw-chips span { border: 1px solid var(--tw-ink); border-radius: 999px; padding: 6px 14px; font-size: 14px; }

.tw-feature { background: var(--tw-mist); border-radius: var(--tw-radius); padding: 28px; }
.tw-feature h3 { font-size: 24px; margin-bottom: 12px; }
.tw-feature p { color: var(--tw-slate); margin: 0 0 12px; }
.tw-feature p:last-child { margin-bottom: 0; }
.tw-feature .tw-arrow { color: var(--tw-ink); }

/* ==================================================================
   Lean approach + angled texture band
================================================================== */
.tw-lean { position: relative; overflow: hidden; padding-bottom: calc(var(--tw-section) + 140px) !important; }
.tw-lean::after {
	content: ""; position: absolute; z-index: 0; pointer-events: none;
	left: -6%; bottom: -150px; width: 125%; height: 190px;
	transform: rotate(-7deg); transform-origin: 0 100%;
	background-color: var(--tw-navy);
	background-image: repeating-linear-gradient(135deg, var(--tw-lime) 0 3px, transparent 3px 18px);
	opacity: 0.9;
}
.tw-lean__grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .tw-lean__grid { grid-template-columns: 1fr 1.35fr; } }

.tw-compare { background: #fff; overflow-x: auto; border: 1.5px solid var(--tw-ink); border-radius: var(--tw-radius); box-shadow: 10px 10px 0 var(--tw-ink); }
.tw-compare table { width: 100%; border-collapse: collapse; font-size: 16px; }
.tw-compare th, .tw-compare td { border-bottom: 1px solid var(--tw-line); padding: 18px 22px; text-align: left; vertical-align: middle; }
.tw-compare tbody tr:last-child > * { border-bottom: 0; }
.tw-compare thead th { font-weight: 600; color: var(--tw-slate); border-bottom-width: 1.5px; border-bottom-color: var(--tw-ink); }
.tw-compare thead th:last-child { color: var(--tw-ink); font-weight: 700; }
.tw-compare tbody th { font-weight: 600; }
.tw-compare td:nth-child(2) { color: var(--tw-slate); }
.tw-compare th:last-child, .tw-compare td:last-child { background: #F1F9E0; }
.tw-compare td::before { content: ""; display: inline-block; width: 22px; height: 22px; margin-right: 12px; vertical-align: -6px; background-size: 22px 22px; }
.tw-compare td:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23D93025'/%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.tw-compare td:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%2312A150'/%3E%3Cpath d='M5.5 10.3l3 3 6-6.4' stroke='%23fff' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (max-width: 600px) {
	.tw-compare table { font-size: 14px; }
	.tw-compare th, .tw-compare td { padding: 12px 10px; }
	.tw-compare td::before { width: 18px; height: 18px; background-size: 18px 18px; margin-right: 6px; vertical-align: -4px; }
}

.tw-ticks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.tw-ticks li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.tw-ticks li::before {
	content: ""; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px; background-size: 22px 22px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%2312A150'/%3E%3Cpath d='M5.5 10.3l3 3 6-6.4' stroke='%23fff' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ==================================================================
   Case studies
================================================================== */
.tw-work { color: #F2F2EF; }
.tw-work__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 32px; }
.tw-work__head h2 { margin: 0; color: #fff; }
.tw-work__head .tw-arrow { color: #fff; }
.tw-case { background: var(--tw-navy-2); border-radius: var(--tw-radius); padding: 16px 16px 28px; display: flex; flex-direction: column; gap: 14px; }
.tw-case > *:not(.tw-case__shot) { margin: 0; padding-inline: 8px; }
.tw-case__shot { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--tw-navy-3); }
.tw-case__shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.tw-case:hover .tw-case__shot img { transform: scale(1.03); }
.tw-case .tw-eyebrow { color: var(--tw-mute-dark); margin-top: 6px; }
.tw-case h3 { color: #fff; font-size: 28px; line-height: 1.12; }
.tw-case h3 a { text-decoration: none; }
.tw-case h3 a:hover { text-decoration: underline; }
.tw-result { color: var(--tw-mute-dark); }
.tw-result strong { font-family: var(--tw-display); font-weight: 800; font-size: 40px; color: var(--tw-lime); margin-right: 10px; letter-spacing: -0.02em; }

.tw-shot { margin: 0; border-radius: var(--tw-radius); overflow: hidden; }
.tw-shot img { display: block; width: 100%; }

.tw-stat { border: 1.5px solid var(--tw-ink); border-radius: 16px; padding: 24px; }
.tw-stat p { margin: 0; }
.tw-stat__num { font-family: var(--tw-display); font-weight: 800; font-size: clamp(36px, 4vw, 52px); letter-spacing: -0.03em; line-height: 1; }
.tw-stat p + p { margin-top: 8px; color: var(--tw-slate); font-size: 15px; }

/* ==================================================================
   Process steps
================================================================== */
.tw-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); border-top: 1.5px solid var(--tw-ink); }
.tw-steps li { padding: 28px 24px 0 0; }
.tw-steps li > * { margin: 0; }
.tw-step-no { font-family: var(--tw-mono); font-size: 13px; color: var(--tw-slate); }
.tw-steps h3 { font-size: 24px; margin: 10px 0 8px; }
.tw-steps li p:last-child { color: var(--tw-slate); }

/* ==================================================================
   Testimonial
================================================================== */
.tw-testimonial { margin: 0; background: var(--tw-mist); border-radius: 24px; padding: clamp(32px, 6vw, 72px); }
.tw-testimonial blockquote { margin: 0 auto; max-width: 760px; }
.tw-testimonial blockquote p { margin: 0; font-family: var(--tw-display); font-weight: 700; font-size: clamp(26px, 3.4vw, 42px); letter-spacing: -0.02em; line-height: 1.15; }
.tw-testimonial figcaption { max-width: 760px; margin: 28px auto 0; color: var(--tw-slate); }
.tw-testimonial figcaption strong { color: var(--tw-ink); }

/* ==================================================================
   Areas
================================================================== */
.tw-areas { display: grid; gap: 32px 48px; align-items: end; }
@media (min-width: 900px) { .tw-areas { grid-template-columns: 1fr 1fr; } }
.tw-areas h2 { margin-bottom: 0.4em; }
.tw-areas p { margin: 0; }
.tw-lozenges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tw-lozenges a, .tw-lozenges span { display: inline-block; text-decoration: none; font-weight: 600; border: 1.5px solid var(--tw-ink); border-radius: 999px; padding: 12px 20px; transition: background-color .2s ease; }
.tw-lozenges a:hover { background: var(--tw-lime); }

/* ==================================================================
   FAQ
================================================================== */
.tw-faq details { border-bottom: 1px solid var(--tw-line); padding-block: 20px; }
.tw-faq details:first-child { border-top: 1px solid var(--tw-line); }
.tw-faq summary { font-family: var(--tw-display); font-weight: 700; font-size: 21px; line-height: 1.25; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.tw-faq summary::-webkit-details-marker { display: none; }
.tw-faq summary::after { content: "+"; font-size: 26px; line-height: 1; flex: none; }
.tw-faq details[open] summary::after { content: "–"; }
.tw-faq details p { color: var(--tw-slate); margin: 12px 0 0; }

/* ==================================================================
   CTA band
================================================================== */
.tw-cta { background: var(--tw-lime); border-block: 1.5px solid var(--tw-ink); }
.tw-cta__grid { display: grid; gap: 24px 48px; align-items: end; }
@media (min-width: 900px) { .tw-cta__grid { grid-template-columns: 1.2fr 1fr; } }
.tw-cta h2 { font-size: clamp(40px, 6vw, 80px); line-height: 0.95; letter-spacing: -0.035em; }
.tw-cta p { font-size: 19px; margin: 0; }
.tw-cta .tw-buttons { margin-top: 0; }

/* ==================================================================
   Contact page
================================================================== */
.tw-contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.tw-contact-info p { font-size: 18px; }

/* ==================================================================
   Footer
================================================================== */
.tw-footer { padding-block: 64px 40px; font-size: 15px; }
.tw-footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.tw-footer__brand { font-family: var(--tw-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin: 0 0 10px; }
.tw-footer__heading { font-weight: 600; margin: 0 0 10px; }
.tw-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.tw-footer p { color: var(--tw-slate); margin: 0 0 8px; }
.tw-footer a { color: var(--tw-slate); text-decoration: none; }
.tw-footer a:hover { color: var(--tw-ink); text-decoration: underline; }
.tw-footer ul span { color: var(--tw-slate); }
.tw-footer__base { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--tw-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.tw-footer__base p { margin: 0; }

/* ==================================================================
   Blog
================================================================== */
.tw-posts { gap: 40px 32px; }
.tw-post-card { border-top: 1.5px solid var(--tw-ink); padding-top: 20px; }
.tw-post-card__img { display: block; margin-bottom: 16px; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--tw-mist); }
.tw-post-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tw-post-card__date { font-family: var(--tw-mono); font-size: 13px; color: var(--tw-slate); margin: 0 0 8px; }
.tw-post-card h2 { font-size: 26px; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 10px; }
.tw-post-card h2 a { text-decoration: none; }
.tw-post-card h2 a:hover { text-decoration: underline; }
.tw-post-card p:last-child { color: var(--tw-slate); margin: 0; }
.tw-pagination { margin-top: 48px; }
.tw-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.tw-pagination .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 14px; border: 1.5px solid var(--tw-ink); border-radius: 999px; text-decoration: none; font-weight: 600; }
.tw-pagination .page-numbers.current, .tw-pagination a.page-numbers:hover { background: var(--tw-ink); color: #fff; }

/* ==================================================================
   Prose (content written in the Classic editor)
================================================================== */
.tw-prose { font-size: 1.125rem; line-height: 1.7; }
.tw-prose > *:first-child { margin-top: 0; }
.tw-prose h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 1.8em 0 0.5em; }
.tw-prose h3 { font-size: 1.5rem; margin: 1.6em 0 0.4em; }
.tw-prose h4 { font-size: 1.2rem; margin: 1.4em 0 0.4em; letter-spacing: -0.01em; }
.tw-prose > h2:first-child, .tw-prose > h3:first-child { margin-top: 0; }
.tw-prose ul, .tw-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.tw-prose li { margin-bottom: 0.4em; }
.tw-prose ul.tw-ticks { padding-left: 0; }
.tw-prose blockquote { margin: 1.6em 0; padding: 24px 28px; background: var(--tw-mist); border-radius: 16px; }
.tw-prose blockquote p:last-child { margin: 0; }
.tw-prose img { border-radius: 12px; }
.tw-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 16px; }
.tw-prose th, .tw-prose td { border-bottom: 1px solid var(--tw-line); padding: 10px 12px; text-align: left; }
.tw-prose hr { border: 0; border-top: 1px solid var(--tw-line); margin: 2.4em 0; }
.tw-prose code { font-family: var(--tw-mono); font-size: 0.9em; background: var(--tw-mist); padding: 0.1em 0.35em; border-radius: 4px; }
.tw-prose pre { font-family: var(--tw-mono); font-size: 15px; background: var(--tw-navy); color: #E6EDF3; padding: 20px; border-radius: 12px; overflow-x: auto; }
.tw-prose pre code { background: none; padding: 0; }

/* WordPress core content classes (block CSS is removed, so these are needed) */
.alignleft { float: left; margin: 0.3em 1.5em 1em 0; }
.alignright { float: right; margin: 0.3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; margin-bottom: 1.4em; }
.wp-caption-text, .wp-caption figcaption { font-size: 14px; color: var(--tw-slate); margin-top: 8px; }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-bottom: 1.4em; }
.gallery-item { margin: 0; }
.sticky, .bypostauthor { }
@media (max-width: 600px) { .alignleft, .alignright { float: none; margin: 0 0 1em; } }

/* ==================================================================
   Motion preferences
================================================================== */
@media (prefers-reduced-motion: reduce) {
	.tw-marquee__track { animation: none; }
	.tw-card, .tw-btn, .tw-case__shot img { transition: none; }
	.tw-card:hover { transform: none; }
}
