@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

/* ==========================================================================
   pomegranates.ai homepage - modern, responsive, self-contained styling
   (no dependency on the legacy theme or jQuery)
   ========================================================================== */

:root {
	--red:        #950000;
	--red-deep:   #6d0606;
	--red-bright: #cc0000;
	--ink:        #ffffff;
	--muted:      rgba(255, 255, 255, 0.74);
	--muted-soft: rgba(255, 255, 255, 0.55);
	--accent:     #ff6b6b;
	--surface:    rgba(255, 255, 255, 0.05);
	--surface-2:  rgba(255, 255, 255, 0.085);
	--border:     rgba(255, 255, 255, 0.14);
	--border-2:   rgba(255, 255, 255, 0.28);
	--radius:     18px;
	--radius-sm:  12px;
	--shadow:     0 16px 44px rgba(0, 0, 0, 0.38);
	--shadow-sm:  0 8px 22px rgba(0, 0, 0, 0.28);
	--maxw:       1160px;
	--header-h:   68px;
	--ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 12px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: Roboto, Arial, Helvetica, sans-serif;
	font-weight: 300;
	color: var(--ink);
	font-size: 1.0625rem;
	line-height: 1.7;
	background: var(--red-deep);
	background:
		radial-gradient(1100px 620px at 85% -10%, rgba(255, 107, 107, 0.20), transparent 60%),
		radial-gradient(900px 600px at -10% 40%, rgba(255, 255, 255, 0.06), transparent 60%),
		linear-gradient(180deg, var(--red) 0%, var(--red-deep) 100%);
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

@media (min-width: 900px) {
	body { background-attachment: fixed; }
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { margin: 0; letter-spacing: -0.01em; line-height: 1.15; font-weight: 700; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

.container {
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* ---- Header -------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(86, 4, 4, 0.55);
	backdrop-filter: saturate(150%) blur(12px);
	-webkit-backdrop-filter: saturate(150%) blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled {
	background: rgba(78, 3, 3, 0.86);
	border-bottom-color: var(--border);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}
.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--header-h);
}
.brand {
	color: var(--ink);
	font-weight: 700;
	letter-spacing: 0.01em;
	font-size: 1.15rem;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}
.brand:hover { text-decoration: none; opacity: 0.9; }
.brand-mark {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: linear-gradient(135deg, var(--accent), var(--red-bright));
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	display: grid;
	place-items: center;
	flex: none;
}
.brand-mark svg { width: 18px; height: 18px; }

.site-nav {
	display: flex;
	align-items: center;
	gap: 0.15rem;
}
.site-nav a {
	color: var(--muted);
	font-weight: 500;
	font-size: 0.93rem;
	padding: 0.45rem 0.75rem;
	border-radius: 10px;
	transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.site-nav a:hover, .site-nav a.active { color: var(--ink); background: var(--surface-2); text-decoration: none; }
.site-nav a.nav-cta {
	margin-left: 0.5rem;
	background: var(--ink);
	color: var(--red);
	font-weight: 700;
}
.site-nav a.nav-cta:hover { background: #fff0f0; color: var(--red); }

.nav-toggle {
	display: none;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	width: 42px;
	height: 42px;
	padding: 0;
	cursor: pointer;
	position: relative;
}
.nav-toggle span {
	position: absolute;
	left: 11px;
	right: 11px;
	height: 2px;
	background: var(--ink);
	border-radius: 2px;
	transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-weight: 700;
	font-size: 0.95rem;
	padding: 0.78rem 1.35rem;
	border-radius: 999px;
	border: 1px solid transparent;
	cursor: pointer;
	font-family: inherit;
	line-height: 1.2;
	transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-solid { background: var(--ink); color: var(--red); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25); }
.btn-solid:hover { background: #fff0f0; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32); }
.btn-outline { border-color: rgba(255, 255, 255, 0.5); color: var(--ink); }
.btn-outline:hover { border-color: #fff; background: var(--surface); }
.btn-lg { padding: 0.95rem 1.7rem; font-size: 1.02rem; }
.btn.disabled, .btn:disabled { opacity: 0.5; pointer-events: none; cursor: default; transform: none; }

/* ---- Shared section pieces ---------------------------------------------- */
.section { padding: 5.5rem 0; position: relative; }
.section + .section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: min(var(--maxw), calc(100% - 3rem));
	height: 1px;
	transform: translateX(-50%);
	background: linear-gradient(90deg, transparent, var(--border-2), transparent);
}
.section-head { max-width: 72ch; margin-bottom: 2.25rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--accent);
	margin-bottom: 0.8rem;
}
.section-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.section-head h2::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin-top: 0.95rem;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--accent), var(--red-bright));
}
.section-head.center h2::after { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); margin-top: 1.1rem; font-size: 1.08rem; }

/* ---- Hero ---------------------------------------------------------------- */
.hero { padding: 4.5rem 0 4rem; }
.hero-grid {
	display: grid;
	grid-template-columns: 1.02fr 0.98fr;
	gap: 3rem;
	align-items: center;
}
.hero h1 {
	font-size: clamp(2.3rem, 5.4vw, 3.7rem);
	line-height: 1.06;
	letter-spacing: -0.02em;
	margin: 0.2rem 0 1.1rem;
	font-weight: 900;
}
.hero h1 .grad {
	background: linear-gradient(90deg, #fff 0%, #ffd0d0 45%, var(--accent) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero .lead { color: var(--muted); font-size: 1.14rem; max-width: 56ch; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.7rem; }

/* UK chip: one-line pill on desktop, flag + two lines on small screens */
.uk-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.45rem 0.95rem 0.45rem 0.55rem;
	border-radius: 999px;
	background: var(--surface);
	border: 1px solid var(--border);
	font-size: 0.86rem;
	font-weight: 500;
	color: var(--ink);
	margin-top: 1.6rem;
	box-shadow: var(--shadow-sm);
	line-height: 1.35;
}
.uk-chip .flag { width: 28px; height: 15px; border-radius: 3px; flex: none; box-shadow: 0 1px 3px rgba(0,0,0,.35); }
.uk-chip-text { display: inline-flex; align-items: center; flex-wrap: wrap; }
.uk-chip-text strong { font-weight: 700; }
.uk-chip-sub { display: inline-flex; align-items: center; color: var(--muted); }
.uk-chip .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-soft); display: inline-block; margin: 0 0.5rem; }

.hero-visual { position: relative; }
.glass {
	background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.035));
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 1.1rem 1.1rem 0.9rem;
	position: relative;
	overflow: hidden;
}
.glass::before {
	content: "";
	position: absolute;
	inset: -40% -20% auto -20%;
	height: 60%;
	background: radial-gradient(closest-side, rgba(255, 107, 107, 0.22), transparent);
	pointer-events: none;
}
.glass-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.4rem;
	position: relative;
}
.glass-title { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.glass-dots { display: flex; gap: 6px; }
.glass-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.22); display: block; }
.glass-dots i:first-child { background: var(--accent); }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.6rem; position: relative; }
.tag {
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 0.28rem 0.65rem;
	border-radius: 999px;
	border: 1px solid var(--border);
	color: var(--muted);
	background: rgba(0,0,0,0.12);
}

/* ---- Workflow animation (n8n-style) ------------------------------------- */
.workflow { width: 100%; height: auto; display: block; position: relative; }
.workflow text { font-family: inherit; }
.wf-label { fill: #fff; font-weight: 700; font-size: 18px; }
.wf-label-lg { font-size: 22px; }
.wf-sub { fill: rgba(255, 255, 255, 0.8); font-size: 14px; font-weight: 400; }

.wf-node {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
	transform-box: fill-box;
	transform-origin: center;
}
.wf-node rect { fill: rgba(255, 255, 255, 0.06); stroke: rgba(255, 255, 255, 0.3); stroke-width: 1.5; }
.wf-node .wf-dot { fill: var(--accent); }
.wf-node-agent .wf-agent-body { fill: url(#wfAccent); stroke: rgba(255, 255, 255, 0.4); }
.wf-node-agent .wf-halo {
	fill: var(--accent);
	stroke: none;
	opacity: 0;
	transform-box: fill-box;
	transform-origin: center;
}
.workflow.is-visible .wf-node { opacity: 1; transform: none; }
.workflow.is-visible .wf-node-trigger { transition-delay: 0.1s; }
.workflow.is-visible .wf-node-agent   { transition-delay: 0.4s; }
.workflow.is-visible .wf-node-out-1   { transition-delay: 0.75s; }
.workflow.is-visible .wf-node-out-2   { transition-delay: 0.9s; }
.workflow.is-visible .wf-node-out-3   { transition-delay: 1.05s; }
.workflow.is-visible .wf-node-agent .wf-halo { animation: wf-pulse 2.6s ease-out 1.4s infinite; }

.wf-track {
	stroke: rgba(255, 255, 255, 0.28);
	stroke-width: 2;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 1.1s var(--ease);
}
.workflow.is-visible .wf-track { stroke-dashoffset: 0; }
.workflow.is-visible .wf-track:nth-child(1) { transition-delay: 0.25s; }
.workflow.is-visible .wf-track:nth-child(2) { transition-delay: 0.65s; }
.workflow.is-visible .wf-track:nth-child(3) { transition-delay: 0.75s; }
.workflow.is-visible .wf-track:nth-child(4) { transition-delay: 0.85s; }

.wf-flow {
	stroke: var(--accent);
	stroke-width: 2.5;
	stroke-dasharray: 0.06 0.06;
	stroke-dashoffset: 0;
	opacity: 0;
	transition: opacity 0.6s var(--ease) 1.4s;
}
.workflow.is-visible .wf-flow { opacity: 1; animation: wf-dash 1.1s linear 1.4s infinite; }

.wf-packet { fill: #fff; opacity: 0; filter: drop-shadow(0 0 6px rgba(255, 107, 107, 0.9)); }
@supports (offset-path: path("M0 0 L1 1")) {
	.workflow.is-visible .wf-packet { animation: wf-travel 2.2s linear infinite; }
	.wf-packet-1 { offset-path: path("M220 85 C260 85 260 85 300 85");       animation-delay: 1.4s; }
	.wf-packet-2 { offset-path: path("M420 140 C420 185 102 170 102 215"); animation-delay: 2.3s; }
	.wf-packet-3 { offset-path: path("M420 140 C420 185 279 170 279 215"); animation-delay: 2.55s; }
	.wf-packet-4 { offset-path: path("M420 140 C420 185 456 170 456 215"); animation-delay: 2.8s; }
}

@keyframes wf-dash { to { stroke-dashoffset: -0.12; } }
@keyframes wf-pulse {
	0%   { opacity: 0.45; transform: scale(1); }
	100% { opacity: 0;    transform: scale(1.22); }
}
@keyframes wf-travel {
	0%   { offset-distance: 0%;   opacity: 0; }
	12%  { opacity: 1; }
	88%  { opacity: 1; }
	100% { offset-distance: 100%; opacity: 0; }
}

/* ---- Who we are ---------------------------------------------------------- */
.prose-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 3rem;
	align-items: start;
}
.prose-grid .section-head { margin-bottom: 0; }
.prose-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.6rem 1.75rem;
	box-shadow: var(--shadow-sm);
	color: var(--muted);
}
.prose-card p + p { margin-top: 1rem; }
.prose-card strong { color: var(--ink); }

/* ---- Cards --------------------------------------------------------------- */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.4rem;
}
.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.5rem 1.5rem 1.4rem;
	box-shadow: var(--shadow-sm);
	position: relative;
	overflow: hidden;
	transition: transform 0.35s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.35s var(--ease);
}
.card::after {
	content: "";
	position: absolute;
	inset: auto -30% -60% -30%;
	height: 80%;
	background: radial-gradient(closest-side, rgba(255, 107, 107, 0.16), transparent);
	opacity: 0;
	transition: opacity 0.4s var(--ease);
	pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-2); background: var(--surface-2); box-shadow: var(--shadow); }
.card:hover::after { opacity: 1; }
.card-icon {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, rgba(255, 107, 107, 0.28), rgba(204, 0, 0, 0.35));
	border: 1px solid rgba(255, 255, 255, 0.18);
	margin-bottom: 1rem;
	color: #fff;
}
.card-icon svg { width: 22px; height: 22px; }
.card-icon .flag { width: 26px; height: 14px; border-radius: 2px; }
.card h3 { font-size: 1.15rem; margin-bottom: 0.55rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card ul { margin: 0.6rem 0 0; padding-left: 1.15rem; color: var(--muted); font-size: 0.95rem; }
.card ul li { margin: 0.25rem 0; }
.card.highlight { border-color: rgba(255, 107, 107, 0.45); background: linear-gradient(180deg, rgba(255, 107, 107, 0.12), var(--surface)); }

/* "Why us": UK banner spanning the full width, four equal cards beneath */
.whyus-grid { grid-template-columns: repeat(4, 1fr); }
.whyus-grid .card.highlight {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas: "icon title" "icon text";
	column-gap: 1.25rem;
	row-gap: 0.2rem;
	align-items: center;
	padding: 1.4rem 1.6rem;
}
.whyus-grid .card.highlight .card-icon { grid-area: icon; margin: 0; width: 60px; height: 60px; }
.whyus-grid .card.highlight .card-icon .flag { width: 34px; height: 18px; }
.whyus-grid .card.highlight h3 { grid-area: title; align-self: end; margin: 0; font-size: 1.3rem; }
.whyus-grid .card.highlight p { grid-area: text; align-self: start; margin: 0; max-width: 80ch; }

/* ---- First engagement journey ------------------------------------------- */
.journey { position: relative; margin-top: 0.5rem; }
.journey-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1.25rem;
	position: relative;
}
/* progress track (horizontal on desktop, spanning first to last badge) */
.journey-steps::before,
.journey-steps::after {
	content: "";
	position: absolute;
	left: 10%;
	right: 10%;
	top: 22px;
	height: 3px;
	border-radius: 2px;
}
.journey-steps::before { background: rgba(255, 255, 255, 0.14); }
.journey-steps::after {
	background: linear-gradient(90deg, var(--accent), var(--red-bright));
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 2.1s var(--ease) 0.2s;
	box-shadow: 0 0 14px rgba(255, 107, 107, 0.55);
}
.journey.is-visible .journey-steps::after { transform: scaleX(1); }

.journey-step { text-align: center; position: relative; }
.step-badge {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	font-weight: 700;
	font-size: 1rem;
	color: var(--ink);
	background: var(--red-deep);
	border: 2px solid rgba(255, 255, 255, 0.3);
	transform: scale(0.4);
	opacity: 0;
	transition: transform 0.6s var(--ease), opacity 0.4s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.step-badge::after {
	content: "";
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 2px solid var(--accent);
	opacity: 0;
}
.journey.is-visible .step-badge {
	transform: scale(1);
	opacity: 1;
	background: linear-gradient(135deg, var(--accent), var(--red-bright));
	border-color: rgba(255, 255, 255, 0.6);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(255, 107, 107, 0.16);
	transition-delay: calc(0.35s + var(--i) * 0.38s);
}
.journey.is-visible .journey-step:last-child .step-badge::after { animation: step-ring 2.2s ease-out calc(0.9s + 4 * 0.38s) infinite; }

.step-body {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.journey.is-visible .step-body { opacity: 1; transform: none; transition-delay: calc(0.5s + var(--i) * 0.38s); }
.step-body h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.step-body p { color: var(--muted); font-size: 0.94rem; }

.journey-foot {
	margin-top: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	flex-wrap: wrap;
	padding: 1.2rem 1.4rem;
	border-radius: var(--radius);
	background: var(--surface);
	border: 1px solid var(--border);
}
.journey-foot .uk-note { display: flex; align-items: center; gap: 0.7rem; color: var(--muted); font-weight: 400; }
.journey-foot .uk-note .flag { width: 30px; height: 16px; border-radius: 3px; flex: none; }
.journey-foot .uk-note strong { color: var(--ink); }

@keyframes step-ring {
	0%   { opacity: 0.8; transform: scale(0.85); }
	100% { opacity: 0;   transform: scale(1.45); }
}

/* ---- Examples ------------------------------------------------------------ */
.example-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.4rem;
}
.example-card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform 0.35s var(--ease), border-color 0.3s var(--ease), box-shadow 0.35s var(--ease);
}
.example-card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: var(--shadow); }
.example-card figure {
	margin: 0;
	height: 210px;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.2);
	border-bottom: 1px solid var(--border);
}
.example-card figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}
.example-card:hover figure img { transform: scale(1.04); }
.example-body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.example-body h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.example-body p { color: var(--muted); font-size: 0.95rem; }
.example-body .more {
	margin-top: auto;
	padding-top: 1rem;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}
.example-body .more:hover { text-decoration: none; gap: 0.6rem; }
.example-body .more svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }

/* ---- Contact ------------------------------------------------------------- */
.contact-grid {
	display: grid;
	grid-template-columns: 1.25fr 0.75fr;
	gap: 2rem;
	align-items: start;
}
.contact-card, .contact-aside {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.6rem 1.7rem;
	box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.field label {
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}
.field input, .field textarea {
	font: inherit;
	font-weight: 400;
	color: var(--ink);
	background: rgba(0, 0, 0, 0.18);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 0.8rem 1rem;
	outline: none;
	width: 100%;
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-soft); }
.field input:focus, .field textarea:focus {
	border-color: var(--accent);
	background: rgba(0, 0, 0, 0.24);
	box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.18);
}
.field textarea { min-height: 150px; resize: vertical; }
.form-foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 0.4rem; }
.emailmsg { font-weight: 700; color: #ffffff; margin: 0; min-height: 1.5em; }
.emailmsg.success, .emailmsg.error { color: #ffffff; }

.contact-aside h3 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.contact-aside .big { font-size: 1.15rem; font-weight: 700; word-break: break-word; }
.contact-aside .block + .block { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--border); }
.contact-aside .uk-note { display: flex; align-items: center; gap: 0.7rem; color: var(--muted); }
.contact-aside .uk-note .flag { width: 30px; height: 16px; border-radius: 3px; flex: none; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer {
	border-top: 1px solid var(--border);
	padding: 2.2rem 0;
	color: var(--muted-soft);
	font-size: 0.9rem;
}
.site-footer .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---- Scroll reveal ------------------------------------------------------- */
[data-reveal] {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
	transition-delay: calc(var(--i, 0) * 0.09s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 1000px) {
	.example-grid { grid-template-columns: 1fr 1fr; }
	.whyus-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.section { padding: 4rem 0; }
	.hero { padding: 3rem 0 3.25rem; }
	.hero-grid { grid-template-columns: 1fr; gap: 2rem; }
	.prose-grid { grid-template-columns: 1fr; gap: 1.5rem; }
	.contact-grid { grid-template-columns: 1fr; }

	/* mobile nav */
	.nav-toggle { display: block; }
	.site-nav {
		position: absolute;
		top: calc(100% + 8px);
		right: 1.5rem;
		left: 1.5rem;
		flex-direction: column;
		align-items: stretch;
		gap: 0.25rem;
		padding: 0.6rem;
		background: rgba(80, 3, 3, 0.96);
		border: 1px solid var(--border);
		border-radius: var(--radius-sm);
		box-shadow: var(--shadow);
		opacity: 0;
		transform: translateY(-8px);
		pointer-events: none;
		transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
	}
	.site-nav.open { opacity: 1; transform: none; pointer-events: auto; }
	.site-nav a { padding: 0.75rem 0.9rem; }
	.site-nav a.nav-cta { margin: 0.3rem 0 0; text-align: center; }

	/* journey goes vertical: the list-level track is replaced by per-step
	   segments that run badge-to-badge, so the final step has no tail */
	.journey-steps { grid-template-columns: 1fr; gap: 1.5rem; padding-left: 0.25rem; }
	.journey-steps::before, .journey-steps::after { display: none; }
	.journey-step { text-align: left; display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: start; }
	.step-badge { margin: 0; }
	.journey-step:not(:last-child)::before,
	.journey-step:not(:last-child)::after {
		content: "";
		position: absolute;
		left: 23px;
		top: 46px;
		bottom: -1.5rem;
		width: 3px;
		border-radius: 2px;
		transform: translateX(-50%);
	}
	.journey-step:not(:last-child)::before { background: rgba(255, 255, 255, 0.14); }
	.journey-step:not(:last-child)::after {
		background: linear-gradient(180deg, var(--accent), var(--red-bright));
		transform: translateX(-50%) scaleY(0);
		transform-origin: top center;
		transition: transform 0.7s var(--ease);
		box-shadow: 0 0 12px rgba(255, 107, 107, 0.5);
	}
	.journey.is-visible .journey-step:not(:last-child)::after {
		transform: translateX(-50%) scaleY(1);
		transition-delay: calc(0.5s + var(--i) * 0.38s);
	}
}

@media (max-width: 640px) {
	.example-grid { grid-template-columns: 1fr; }
	.whyus-grid { grid-template-columns: 1fr; }
	.whyus-grid .card.highlight {
		grid-template-columns: 1fr;
		grid-template-areas: "icon" "title" "text";
		row-gap: 0.6rem;
	}
	.whyus-grid .card.highlight h3 { align-self: auto; }
	.form-row { grid-template-columns: 1fr; }
	.container { padding: 0 1.15rem; }
	.site-nav { right: 1.15rem; left: 1.15rem; }
	body { font-size: 1rem; }
	.card, .contact-card, .contact-aside, .prose-card { padding: 1.3rem 1.25rem; }
	.hero-actions .btn { width: 100%; }

	/* UK chip becomes a full-width box: flag on the left, two tidy lines */
	.uk-chip {
		display: flex;
		width: 100%;
		border-radius: 14px;
		padding: 0.8rem 0.95rem;
		gap: 0.85rem;
		align-items: center;
	}
	.uk-chip .flag { width: 36px; height: 19px; }
	.uk-chip-text { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
	.uk-chip-sub .dot:first-child { display: none; }

	/* give the workflow diagram a little more room on phones */
	.glass { padding: 0.9rem 0.6rem 0.75rem; }
}

/* ---- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	[data-reveal], .wf-node, .step-body, .step-badge { opacity: 1; transform: none; }
	.wf-track { stroke-dashoffset: 0; }
	.wf-flow { opacity: 1; }
	.journey-steps::after, .journey-step::after { transform: none; }
}
