/*
 * Rusted Web theme stylesheet
 * Loads after Bootstrap 5.3.8. No build step. Components use --rw-* tokens only.
 *
 * Contents
 *  01  Tokens (dark default, light override)
 *  02  Bootstrap variable mapping
 *  03  Base and typography
 *  04  Utilities: eyebrow, lead, chips, tags, checks, prose
 *  05  Buttons and icon buttons
 *  06  Header, navigation, dropdowns
 *  07  Offcanvas menu
 *  08  Sections and section heads
 *  09  Hero
 *  10  Spotlight
 *  11  Marquee
 *  12  Services bento
 *  13  Work pan and project cards
 *  14  Process stack
 *  15  Split media
 *  16  Stats
 *  17  Pricing
 *  18  Testimonials
 *  19  FAQ accordion
 *  20  CTA band
 *  21  Rich text
 *  22  Forms, contact, Formidable, search
 *  23  Page header and breadcrumbs
 *  24  Service single
 *  25  Case study single
 *  26  Portfolio, posts, article, pagination, empty state
 *  27  404
 *  28  Footer
 *  29  Floating WhatsApp
 *  30  Reveal (html.rw-motion only)
 *  31  Reduced motion
 */

/* ==========================================================================
   01  Tokens
   ========================================================================== */

:root,
[data-bs-theme=dark] {
	color-scheme: dark;

	--rw-bg: #0e1113;
	--rw-surface: #161a1d;
	--rw-surface-2: #1d2226;
	--rw-line: #2a3035;
	--rw-text: #e9ecee;
	--rw-muted: #9aa3aa;
	--rw-rust: #d4622e;
	--rw-rust-ink: #0e1113;
	--rw-steel: #8fa6b4;

	--rw-rust-rgb: 212, 98, 46;
	--rw-text-rgb: 233, 236, 238;
	--rw-bg-rgb: 14, 17, 19;

	/* Theme-invariant ink and paper (used on images and rust panels) */
	--rw-paper: #f4f5f6;
	--rw-ink: #0e1113;

	/* Semantic */
	--rw-danger: #f08a78;
	--rw-success: #74d19c;

	/* Derived */
	--rw-glass: rgba(14, 17, 19, .72);
	--rw-steel-tint: color-mix(in srgb, var(--rw-steel) 14%, var(--rw-surface));
	--rw-rust-soft: rgba(212, 98, 46, .16);
	--rw-spot: rgba(212, 98, 46, .22);
	--rw-focus: var(--rw-rust);
	--rw-scrim: linear-gradient(180deg, rgba(14, 17, 19, .15) 0%, rgba(14, 17, 19, .55) 45%, rgba(14, 17, 19, .92) 100%);
	--rw-shadow-sm: 0 6px 18px -10px rgba(4, 6, 7, .7);
	--rw-shadow: 0 24px 60px -28px rgba(4, 6, 7, .8);
	--rw-grain-opacity: .05;

	/* Type */
	--rw-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
	--rw-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
	--rw-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
	--rw-stretch: 112%;

	--rw-fs-display: clamp(2.6rem, 6vw, 5.4rem);
	--rw-fs-h1: clamp(2.4rem, 5.2vw, 4.6rem);
	--rw-fs-h2: clamp(2rem, 4vw, 3.4rem);
	--rw-fs-h3: clamp(1.4rem, 2.2vw, 1.85rem);
	--rw-fs-lead: clamp(1.125rem, 1.2vw + .8rem, 1.25rem);
	--rw-fs-body: 1.0625rem;
	--rw-fs-sm: .9375rem;
	--rw-fs-xs: .8125rem;
	--rw-fs-label: .75rem;

	/* Shape, space, motion */
	--rw-r-pill: 999px;
	--rw-r-card: 16px;
	--rw-r-input: 10px;
	--rw-header-h: 72px;
	--rw-gutter: .75rem;
	--rw-section-y: clamp(4rem, 9vw, 8rem);
	--rw-ease: cubic-bezier(.16, 1, .3, 1);
	--rw-dur: .5s;
}

[data-bs-theme=light] {
	color-scheme: light;

	--rw-bg: #eef0f2;
	--rw-surface: #f9fafb;
	--rw-surface-2: #e4e8eb;
	--rw-line: #d3d9de;
	--rw-text: #14181b;
	--rw-muted: #4f5960;
	--rw-rust: #b04a1c;
	--rw-rust-ink: #f9fafb;
	--rw-steel: #3f5868;

	--rw-rust-rgb: 176, 74, 28;
	--rw-text-rgb: 20, 24, 27;
	--rw-bg-rgb: 238, 240, 242;

	--rw-danger: #b42318;
	--rw-success: #1e7a46;

	--rw-glass: rgba(238, 240, 242, .78);
	--rw-rust-soft: rgba(176, 74, 28, .12);
	--rw-spot: rgba(176, 74, 28, .16);
	--rw-shadow-sm: 0 6px 18px -10px rgba(40, 52, 62, .28);
	--rw-shadow: 0 24px 60px -30px rgba(40, 52, 62, .35);
	--rw-grain-opacity: .035;
}

/* ==========================================================================
   02  Bootstrap variable mapping
   ========================================================================== */

:root,
[data-bs-theme] {
	--bs-body-bg: var(--rw-bg);
	--bs-body-bg-rgb: var(--rw-bg-rgb);
	--bs-body-color: var(--rw-text);
	--bs-body-color-rgb: var(--rw-text-rgb);
	--bs-emphasis-color: var(--rw-text);
	--bs-emphasis-color-rgb: var(--rw-text-rgb);
	--bs-heading-color: var(--rw-text);
	--bs-secondary-color: var(--rw-muted);
	--bs-secondary-bg: var(--rw-surface-2);
	--bs-tertiary-bg: var(--rw-surface);
	--bs-border-color: var(--rw-line);
	--bs-border-color-translucent: var(--rw-line);
	--bs-primary: var(--rw-rust);
	--bs-primary-rgb: var(--rw-rust-rgb);
	--bs-link-color: var(--rw-rust);
	--bs-link-color-rgb: var(--rw-rust-rgb);
	--bs-link-hover-color: var(--rw-text);
	--bs-link-hover-color-rgb: var(--rw-text-rgb);
	--bs-highlight-bg: var(--rw-rust-soft);
	--bs-highlight-color: var(--rw-text);
	--bs-focus-ring-color: var(--rw-rust-soft);

	--bs-font-sans-serif: var(--rw-body);
	--bs-font-monospace: var(--rw-mono);
	--bs-body-font-family: var(--rw-body);
	--bs-body-font-size: var(--rw-fs-body);
	--bs-body-line-height: 1.65;

	--bs-border-radius: var(--rw-r-input);
	--bs-border-radius-sm: 8px;
	--bs-border-radius-lg: var(--rw-r-card);
	--bs-border-radius-xl: var(--rw-r-card);
	--bs-border-radius-xxl: var(--rw-r-card);
	--bs-border-radius-pill: var(--rw-r-pill);

	--bs-form-valid-color: var(--rw-success);
	--bs-form-valid-border-color: var(--rw-success);
	--bs-form-invalid-color: var(--rw-danger);
	--bs-form-invalid-border-color: var(--rw-danger);
}

/* ==========================================================================
   03  Base and typography
   ========================================================================== */

:root {
	/* Bootstrap sets smooth scrolling on :root. ScrollTrigger jumps the page to the top while it
	   re-measures, and a smooth page turns that jump into a glide, so it measures wrong and the
	   pinned work row stops pinning. The script asks for smooth scrolling explicitly on anchor
	   clicks, so links still glide. */
	scroll-behavior: auto;
}

html {
	scroll-padding-top: var(--rw-header-h);
	-webkit-text-size-adjust: 100%;
}

body {
	background-color: var(--rw-bg);
	color: var(--rw-text);
	font-family: var(--rw-body);
	font-size: var(--rw-fs-body);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

/* Film grain: fixed, non-interactive, never on scrolling containers */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 1100;
	pointer-events: none;
	opacity: var(--rw-grain-opacity);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: 160px 160px;
}

::selection {
	background: var(--rw-rust);
	color: var(--rw-rust-ink);
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

figure {
	margin: 0;
}

a {
	color: var(--rw-rust);
	text-underline-offset: .2em;
	text-decoration-thickness: 1px;
}

a:hover {
	color: var(--rw-text);
}

:focus-visible {
	outline: 2px solid var(--rw-focus);
	outline-offset: 3px;
}

h1, h2, h3, h4,
.rw-display, .rw-h2, .rw-h3 {
	font-family: var(--rw-display);
	font-stretch: var(--rw-stretch);
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.05;
	color: var(--rw-text);
	text-wrap: balance;
}

h5, h6 {
	font-family: var(--rw-body);
	font-weight: 600;
}

.rw-display {
	font-size: var(--rw-fs-display);
	line-height: 1.02;
	letter-spacing: -.035em;
	margin-bottom: 1.5rem;
}

.rw-h2 {
	font-size: var(--rw-fs-h2);
	letter-spacing: -.03em;
	margin-bottom: 0;
}

.rw-h3 {
	font-size: var(--rw-fs-h3);
	margin-bottom: 1rem;
}

/* Highlight phrase from rw_headline() */
:is(h1, h2, h3, .rw-display, .rw-h2) em {
	font-style: normal;
	color: var(--rw-rust);
}

p {
	margin-bottom: 1.1em;
}

.rw-skip:focus,
.rw-skip:focus-visible {
	position: fixed !important;
	top: .75rem;
	left: .75rem;
	z-index: 2000;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: .6rem 1.2rem;
	border-radius: var(--rw-r-pill);
	background: var(--rw-rust);
	color: var(--rw-rust-ink);
	font-weight: 600;
	text-decoration: none;
	outline-color: var(--rw-text);
}

/* WordPress core helper */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.rw-main {
	display: block;
	padding-top: var(--rw-header-h);
}

/* ==========================================================================
   04  Utilities: eyebrow, lead, chips, tags, checks, prose
   ========================================================================== */

.rw-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	margin-bottom: 1.25rem;
	font-family: var(--rw-mono);
	font-size: var(--rw-fs-label);
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--rw-rust);
}

.rw-eyebrow::before {
	content: "";
	width: 1.75rem;
	height: 1px;
	background: currentColor;
}

.rw-lead {
	font-size: var(--rw-fs-lead);
	line-height: 1.55;
	color: var(--rw-muted);
	max-width: 60ch;
}

.rw-muted {
	color: var(--rw-muted);
}

.rw-chip {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	min-height: 2.5rem;
	padding: .4rem 1rem;
	border: 1px solid var(--rw-line);
	border-radius: var(--rw-r-pill);
	background: var(--rw-surface);
	color: var(--rw-text);
	font-size: var(--rw-fs-sm);
	line-height: 1.2;
	white-space: nowrap;
}

.rw-chip i {
	color: var(--rw-rust);
	font-size: 1.1em;
}

.rw-tags {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rw-tags li {
	padding: .2rem .65rem;
	border: 1px solid var(--rw-line);
	border-radius: var(--rw-r-pill);
	font-family: var(--rw-mono);
	font-size: .6875rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--rw-muted);
}

.rw-checks {
	display: grid;
	gap: .7rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rw-checks li {
	display: flex;
	align-items: flex-start;
	gap: .7rem;
	line-height: 1.5;
}

.rw-checks i {
	flex: none;
	margin-top: .15em;
	font-size: 1.1rem;
	color: var(--rw-rust);
}

/* Prose (WYSIWYG content) */
.rw-prose {
	max-width: 65ch;
}

.rw-prose > :first-child {
	margin-top: 0;
}

.rw-prose > :last-child {
	margin-bottom: 0;
}

.rw-prose a {
	color: var(--rw-rust);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .2em;
}

.rw-prose a:hover {
	color: var(--rw-text);
	text-decoration-color: var(--rw-rust);
}

.rw-prose h2 {
	font-size: clamp(1.6rem, 2.8vw, 2.25rem);
	margin: 2.4em 0 .7em;
}

.rw-prose h3 {
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	margin: 2em 0 .6em;
}

.rw-prose h4 {
	font-size: 1.125rem;
	margin: 1.8em 0 .5em;
}

.rw-prose ul,
.rw-prose ol {
	padding-left: 1.25rem;
	margin-bottom: 1.2em;
}

.rw-prose li {
	margin-bottom: .45em;
	padding-left: .25rem;
}

.rw-prose li::marker {
	color: var(--rw-rust);
}

.rw-prose ol li::marker {
	font-family: var(--rw-mono);
	font-size: .9em;
}

.rw-prose blockquote {
	margin: 2em 0;
	padding: .25rem 0 .25rem 1.5rem;
	border-left: 2px solid var(--rw-rust);
	font-size: 1.2rem;
	line-height: 1.5;
	color: var(--rw-text);
}

.rw-prose blockquote cite {
	display: block;
	margin-top: .75rem;
	font-family: var(--rw-mono);
	font-size: var(--rw-fs-xs);
	font-style: normal;
	color: var(--rw-muted);
}

.rw-prose img,
.rw-prose figure img {
	border-radius: var(--rw-r-card);
}

.rw-prose figure,
.rw-prose .wp-caption {
	margin: 2em 0;
	max-width: 100%;
}

.rw-prose figcaption,
.rw-prose .wp-caption-text {
	margin-top: .6rem;
	font-size: var(--rw-fs-xs);
	color: var(--rw-muted);
}

.rw-prose hr {
	margin: 3em 0;
	border-color: var(--rw-line);
	opacity: 1;
}

.rw-prose code {
	padding: .1em .35em;
	border-radius: 6px;
	background: var(--rw-surface-2);
	color: var(--rw-text);
	font-size: .9em;
}

.rw-prose table {
	width: 100%;
	margin: 2em 0;
	border-collapse: collapse;
	font-size: var(--rw-fs-sm);
}

.rw-prose th,
.rw-prose td {
	padding: .8rem 1rem;
	border-bottom: 1px solid var(--rw-line);
	text-align: left;
	vertical-align: top;
}

.rw-prose th {
	font-family: var(--rw-mono);
	font-size: var(--rw-fs-xs);
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--rw-muted);
	background: var(--rw-surface);
}

.rw-prose tbody tr:hover {
	background: var(--rw-surface);
}

.rw-prose td:first-child {
	font-weight: 600;
}

/* Price columns read as figures */
.rw-table--price td:nth-child(2) {
	font-weight: 600;
	color: var(--rw-text);
}

/* Small screens: every row becomes a small card (name, then labelled values). JS copies each
   column heading into data-label so the values keep their meaning without the header row. */
@media (max-width: 767.98px) {
	.rw-prose table,
	.rw-prose tbody,
	.rw-prose tr,
	.rw-prose td {
		display: block;
		width: 100%;
	}

	.rw-prose table {
		margin: 1.5em 0;
	}

	.rw-prose thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.rw-prose tbody tr {
		margin-bottom: .75rem;
		padding: 1rem 1.1rem;
		border: 1px solid var(--rw-line);
		border-radius: var(--rw-r-card);
		background: var(--rw-surface);
	}

	.rw-prose tbody tr:hover {
		background: var(--rw-surface);
	}

	.rw-prose td {
		padding: .15rem 0;
		border: 0;
	}

	.rw-prose td:first-child {
		padding-bottom: .5rem;
		font-size: 1.02rem;
	}

	.rw-prose td:not(:first-child)::before {
		content: attr(data-label);
		display: block;
		margin-top: .55rem;
		font-family: var(--rw-mono);
		font-size: var(--rw-fs-xs);
		font-weight: 400;
		letter-spacing: .08em;
		text-transform: uppercase;
		color: var(--rw-muted);
	}
}

.rw-prose .alignleft {
	float: left;
	margin: .3em 1.5em 1em 0;
}

.rw-prose .alignright {
	float: right;
	margin: .3em 0 1em 1.5em;
}

.rw-prose .aligncenter {
	display: block;
	margin-inline: auto;
}

.rw-page-content {
	padding-bottom: var(--rw-section-y);
}

/* ==========================================================================
   05  Buttons and icon buttons
   ========================================================================== */

.rw-btn {
	--bs-btn-padding-x: 1.35rem;
	--bs-btn-padding-y: .7rem;
	--bs-btn-font-family: var(--rw-body);
	--bs-btn-font-size: var(--rw-fs-sm);
	--bs-btn-font-weight: 600;
	--bs-btn-line-height: 1.2;
	--bs-btn-border-width: 1px;
	--bs-btn-border-radius: var(--rw-r-pill);
	--bs-btn-box-shadow: none;
	--bs-btn-focus-box-shadow: none;
	--bs-btn-disabled-opacity: .5;

	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6rem;
	min-height: 44px;
	white-space: nowrap;
	text-decoration: none;
	transition: translate .3s var(--rw-ease), scale .15s var(--rw-ease), transform .3s var(--rw-ease);
}

.rw-btn i {
	font-size: 1.15em;
	transition: transform .35s var(--rw-ease);
}

.rw-btn:hover i {
	transform: translateX(3px);
}

.rw-btn:hover .ph-arrow-up-right {
	transform: translate(2px, -2px);
}

.rw-btn:hover .ph-arrow-down-right {
	transform: translate(2px, 2px);
}

.rw-btn:active {
	scale: .98;
}

.rw-btn:focus-visible {
	outline: 2px solid var(--rw-focus);
	outline-offset: 3px;
	box-shadow: none;
}

.rw-btn--primary {
	--bs-btn-color: var(--rw-rust-ink);
	--bs-btn-bg: var(--rw-rust);
	--bs-btn-border-color: var(--rw-rust);
	--bs-btn-hover-color: var(--rw-rust-ink);
	--bs-btn-hover-bg: color-mix(in srgb, var(--rw-rust) 88%, var(--rw-text));
	--bs-btn-hover-border-color: var(--bs-btn-hover-bg);
	--bs-btn-active-color: var(--rw-rust-ink);
	--bs-btn-active-bg: var(--rw-rust);
	--bs-btn-active-border-color: var(--rw-rust);
	--bs-btn-disabled-color: var(--rw-rust-ink);
	--bs-btn-disabled-bg: var(--rw-rust);
	--bs-btn-disabled-border-color: var(--rw-rust);
}

.rw-btn--ghost {
	--bs-btn-color: var(--rw-text);
	--bs-btn-bg: transparent;
	--bs-btn-border-color: var(--rw-line);
	--bs-btn-hover-color: var(--rw-text);
	--bs-btn-hover-bg: var(--rw-surface-2);
	--bs-btn-hover-border-color: var(--rw-muted);
	--bs-btn-active-color: var(--rw-text);
	--bs-btn-active-bg: var(--rw-surface-2);
	--bs-btn-active-border-color: var(--rw-text);
	--bs-btn-disabled-color: var(--rw-muted);
	--bs-btn-disabled-bg: transparent;
	--bs-btn-disabled-border-color: var(--rw-line);
}

.rw-btn--ghost i {
	color: var(--rw-rust);
}

/* For rust panels: paper fill with ink text in both themes */
.rw-btn--light {
	--bs-btn-color: var(--rw-ink);
	--bs-btn-bg: var(--rw-paper);
	--bs-btn-border-color: var(--rw-paper);
	--bs-btn-hover-color: var(--rw-ink);
	--bs-btn-hover-bg: color-mix(in srgb, var(--rw-paper) 86%, var(--rw-ink));
	--bs-btn-hover-border-color: var(--bs-btn-hover-bg);
	--bs-btn-active-color: var(--rw-ink);
	--bs-btn-active-bg: var(--rw-paper);
	--bs-btn-active-border-color: var(--rw-paper);
}

/*
 * Outline on rust panels. Uses the panel's ink colour (dark ink in dark mode,
 * light ink in light mode) because a pale outline on the bright dark-mode rust fails AA.
 */
.rw-btn--outline-light {
	--bs-btn-color: var(--rw-rust-ink);
	--bs-btn-bg: transparent;
	--bs-btn-border-color: var(--rw-rust-ink);
	--bs-btn-hover-color: var(--rw-rust);
	--bs-btn-hover-bg: var(--rw-rust-ink);
	--bs-btn-hover-border-color: var(--rw-rust-ink);
	--bs-btn-active-color: var(--rw-rust);
	--bs-btn-active-bg: var(--rw-rust-ink);
	--bs-btn-active-border-color: var(--rw-rust-ink);
}

.rw-btn--lg {
	--bs-btn-padding-x: 1.75rem;
	--bs-btn-padding-y: .95rem;
	--bs-btn-font-size: 1.0625rem;
	min-height: 56px;
}

.rw-icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex: none;
	padding: 0;
	border: 1px solid var(--rw-line);
	border-radius: 50%;
	background: transparent;
	color: var(--rw-text);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	transition: scale .15s var(--rw-ease);
}

.rw-icon-btn:hover {
	border-color: var(--rw-muted);
	background: var(--rw-surface-2);
}

.rw-icon-btn:active {
	scale: .94;
}

/* Theme toggle icons */
.rw-show-light {
	display: none;
}

[data-bs-theme=light] .rw-show-dark {
	display: none;
}

[data-bs-theme=light] .rw-show-light {
	display: inline-block;
}

/* ==========================================================================
   06  Header, navigation, dropdowns
   ========================================================================== */

.rw-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1030;
	height: var(--rw-header-h);
	transition: height .35s var(--rw-ease);
}

/* Always visible; compact once the page has scrolled. The header is fixed, so changing its
   height never moves the page content. */
.rw-header.is-scrolled {
	height: 60px;
}

.rw-header .rw-logo {
	transition: max-height .35s var(--rw-ease);
}

.rw-header.is-scrolled .rw-logo {
	max-height: 44px;
}

@media (max-width: 575.98px) {
	.rw-header {
		height: 64px;
	}

	.rw-header.is-scrolled {
		height: 56px;
	}

	.rw-header.is-scrolled .rw-logo {
		max-height: 38px;
	}
}

/* Glass layer fades in via opacity once scrolled */
.rw-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--rw-glass);
	-webkit-backdrop-filter: blur(16px) saturate(1.4);
	backdrop-filter: blur(16px) saturate(1.4);
	border-bottom: 1px solid var(--rw-line);
	opacity: 0;
	transition: opacity .3s ease;
}

.rw-header.is-scrolled::before {
	opacity: 1;
}

.rw-header__bar {
	display: flex;
	align-items: center;
	gap: 1rem;
	height: 100%;
}

.rw-brand {
	display: inline-flex;
	align-items: center;
	flex: none;
	min-height: 44px;
	color: var(--rw-text);
	text-decoration: none;
}

.rw-brand:hover {
	color: var(--rw-text);
}

.rw-logo {
	display: block;
	width: auto;
	max-height: 56px;
	max-width: 200px;
}

@media (max-width: 575.98px) {
	.rw-logo {
		max-height: 46px;
	}
}

.rw-logo--light {
	display: none;
}

[data-bs-theme=light] .rw-logo--light {
	display: block;
}

[data-bs-theme=light] .rw-logo--dark:not(.rw-logo--auto) {
	display: none;
}

/* Single logo drawn for dark grounds: invert for light mode, keep hues */
[data-bs-theme=light] .rw-logo--auto {
	filter: invert(1) hue-rotate(180deg);
}

.rw-wordmark {
	font-family: var(--rw-display);
	font-stretch: 125%;
	font-weight: 900;
	font-size: 1.3rem;
	letter-spacing: -.03em;
	line-height: 1;
	text-transform: uppercase;
}

.rw-header__nav {
	margin-left: auto;
}

.rw-header__actions {
	display: flex;
	align-items: center;
	gap: .6rem;
	margin-left: auto;
}

.rw-nav {
	--bs-nav-link-padding-x: 0;
	--bs-nav-link-padding-y: .5rem;
	--bs-nav-link-color: var(--rw-text);
	--bs-nav-link-hover-color: var(--rw-text);
	--bs-nav-link-font-weight: 500;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rw-header__nav .rw-nav {
	align-items: center;
	gap: 1.75rem;
}

.rw-header__nav .nav-item {
	position: relative;
}

.rw-nav .nav-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--rw-text);
	font-size: var(--rw-fs-sm);
	font-weight: 500;
}

.rw-nav .nav-link:hover,
.rw-nav .nav-link:focus-visible,
.rw-nav .nav-link.active {
	color: var(--rw-text);
}

.rw-header__nav .nav-link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: .55rem;
	height: 1px;
	background: var(--rw-rust);
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform .45s var(--rw-ease);
}

.rw-header__nav .nav-link:hover::after,
.rw-header__nav .nav-link.active::after {
	transform: scaleX(1);
	transform-origin: left center;
}

.rw-nav-split {
	display: flex;
	align-items: center;
	gap: .1rem;
}

.rw-nav-toggle {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: var(--rw-r-input);
	background: transparent;
	color: var(--rw-muted);
	cursor: pointer;
}

.rw-nav-toggle::after {
	margin: 0;
	transition: transform .3s var(--rw-ease);
}

.rw-nav-toggle:hover,
.rw-nav-toggle.show {
	color: var(--rw-rust);
}

.rw-nav-toggle.show::after {
	transform: rotate(180deg);
}

.rw-dropdown {
	--bs-dropdown-bg: var(--rw-surface-2);
	--bs-dropdown-color: var(--rw-text);
	--bs-dropdown-border-color: var(--rw-line);
	--bs-dropdown-border-radius: var(--rw-r-card);
	--bs-dropdown-inner-border-radius: calc(var(--rw-r-card) - 1px);
	--bs-dropdown-box-shadow: var(--rw-shadow);
	--bs-dropdown-padding-x: .5rem;
	--bs-dropdown-padding-y: .5rem;
	--bs-dropdown-min-width: 15rem;
	--bs-dropdown-font-size: var(--rw-fs-sm);
	--bs-dropdown-link-color: var(--rw-text);
	--bs-dropdown-link-hover-color: var(--rw-text);
	--bs-dropdown-link-hover-bg: var(--rw-surface);
	--bs-dropdown-link-active-color: var(--rw-rust-ink);
	--bs-dropdown-link-active-bg: var(--rw-rust);
	--bs-dropdown-item-padding-x: .9rem;
	--bs-dropdown-item-padding-y: .6rem;
	--bs-dropdown-item-border-radius: var(--rw-r-input);
	box-shadow: var(--bs-dropdown-box-shadow);
	list-style: none;
}

.rw-header__nav .rw-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	margin-top: .25rem;
}

/* No-JS fallback: open on hover or keyboard focus */
html:not(.js) .rw-nav .dropdown:hover > .dropdown-menu,
html:not(.js) .rw-nav .dropdown:focus-within > .dropdown-menu {
	display: block;
}

.rw-dropdown .dropdown-item {
	display: flex;
	align-items: center;
	min-height: 44px;
	white-space: normal;
}

/* ==========================================================================
   07  Offcanvas menu
   ========================================================================== */

.rw-offcanvas {
	--bs-offcanvas-width: min(100vw, 440px);
	--bs-offcanvas-bg: var(--rw-surface);
	--bs-offcanvas-color: var(--rw-text);
	--bs-offcanvas-border-color: var(--rw-line);
	--bs-offcanvas-border-width: 1px;
	--bs-offcanvas-padding-x: 1.25rem;
	--bs-offcanvas-padding-y: 1rem;
	--bs-offcanvas-box-shadow: var(--rw-shadow);
	--bs-offcanvas-zindex: 1045;
}

.offcanvas-backdrop {
	background-color: var(--rw-bg);
}

.offcanvas-backdrop.show {
	opacity: .75;
}

.rw-offcanvas .offcanvas-header {
	height: var(--rw-header-h);
	border-bottom: 1px solid var(--rw-line);
}

.rw-offcanvas__title {
	font-family: var(--rw-mono);
	font-size: var(--rw-fs-label);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--rw-muted);
}

.rw-offcanvas .offcanvas-body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2.5rem;
	padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
}

.rw-nav--stacked {
	gap: .15rem;
}

.rw-nav--stacked .nav-item {
	border-bottom: 1px solid var(--rw-line);
}

.rw-nav--stacked .nav-link {
	padding-block: .55rem;
	font-family: var(--rw-display);
	font-stretch: var(--rw-stretch);
	font-weight: 800;
	font-size: clamp(1.75rem, 7.5vw, 2.4rem);
	letter-spacing: -.03em;
	line-height: 1.1;
}

.rw-nav--stacked .nav-link.active {
	color: var(--rw-rust);
}

.rw-nav--stacked .rw-nav-split {
	justify-content: space-between;
}

.rw-nav--stacked .rw-nav-toggle {
	width: 44px;
	border: 1px solid var(--rw-line);
	border-radius: 50%;
}

/* Inside the offcanvas the submenu renders inline (theme JS toggles .show, no Popper) */
.rw-offcanvas .dropdown-menu {
	position: static;
	float: none;
	transform: none;
}

.rw-offcanvas .rw-dropdown {
	margin: 0 0 .75rem;
	padding: 0 0 0 .25rem;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.rw-offcanvas .rw-dropdown .dropdown-item {
	padding-inline: .5rem;
	color: var(--rw-muted);
	font-size: 1.0625rem;
}

.rw-offcanvas .rw-dropdown .dropdown-item:hover,
.rw-offcanvas .rw-dropdown .dropdown-item.active {
	background: transparent;
	color: var(--rw-rust);
}

.rw-offcanvas__foot {
	display: grid;
	gap: .75rem;
}

/* ==========================================================================
   08  Sections and section heads
   ========================================================================== */

.rw-section {
	padding-block: var(--rw-section-y);
}

.rw-section-head {
	display: grid;
	gap: 1.25rem;
	max-width: 52rem;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.rw-section-head .rw-lead {
	margin: 0;
}

.rw-section-foot {
	display: flex;
	justify-content: center;
	margin-top: clamp(2rem, 4vw, 3rem);
}

/* Tighten the gap after an inner page header */
.rw-pagehead + .rw-section,
.rw-pagehead + .container-xxl + .rw-section {
	padding-top: clamp(2.5rem, 5vw, 4rem);
}

/* ==========================================================================
   09  Hero
   ========================================================================== */

.rw-hero {
	position: relative;
	overflow-x: clip;
}

/* First hero slides under the fixed header and pads inside instead */
.rw-main > .rw-hero:first-child {
	margin-top: calc(-1 * var(--rw-header-h));
	padding-top: calc(var(--rw-header-h) + clamp(2.5rem, 7vw, 6rem));
}

.rw-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(3rem, 6vw, 5rem);
	align-items: center;
}

.rw-hero__copy {
	min-width: 0;
}

.rw-hero__title {
	font-size: var(--rw-fs-display);
	margin-bottom: 1.5rem;
}

/* With an image beside it the copy column is narrower, so the headline steps down a size
   to stay within about three lines. */
@media (min-width: 992px) {
	.rw-hero__grid:not(.rw-hero__grid--solo) .rw-hero__title {
		font-size: clamp(2.6rem, 4.4vw, 4.4rem);
	}
}

.rw-hero__sub {
	font-size: var(--rw-fs-lead);
	line-height: 1.55;
	color: var(--rw-muted);
	max-width: 54ch;
	margin-bottom: 2.25rem;
}

.rw-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
}

.rw-hero__visual {
	position: relative;
	width: min(100%, 32rem);
	margin-inline: auto;
	isolation: isolate;
}

.rw-hero__plate {
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: var(--rw-r-card);
	background:
		var(--rw-tex, linear-gradient(135deg, #8a3a17 0%, #d4622e 45%, #6e2c10 100%)) center / cover no-repeat,
		linear-gradient(135deg, #8a3a17, #6e2c10);
	translate: 6% 6%;
	rotate: -3deg;
	transform-origin: center;
}

.rw-hero__frame {
	position: relative;
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--rw-r-card);
	background: var(--rw-surface-2);
	box-shadow: var(--rw-shadow);
}

.rw-hero__frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 992px) {
	.rw-hero {
		display: grid;
		align-content: center;
		min-height: min(100dvh, 860px);
	}

	.rw-hero__grid {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}

	.rw-hero__grid--solo {
		grid-template-columns: minmax(0, 1fr);
		max-width: 62rem;
	}

	.rw-hero__visual {
		width: 100%;
		margin-inline: 0;
	}
}

/* ==========================================================================
   10  Spotlight (JS sets --mx / --my in px)
   ========================================================================== */

[data-spotlight] {
	position: relative;
	isolation: isolate;
}

[data-spotlight]::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	pointer-events: none;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--rw-spot), transparent 65%);
	opacity: var(--spot-opacity, 0);
	transition: opacity .4s ease;
}

.rw-hero__visual[data-spotlight]::before {
	inset: -12%;
	border-radius: 50%;
}

/* ==========================================================================
   11  Marquee
   ========================================================================== */

.rw-section.rw-marquee {
	padding-block: clamp(1.5rem, 3vw, 2.25rem);
	border-block: 1px solid var(--rw-line);
	overflow: hidden;
}

.rw-marquee__track {
	display: flex;
	width: max-content;
	animation: rw-marquee 40s linear infinite;
}

@keyframes rw-marquee {
	to {
		transform: translateX(-50%);
	}
}

.rw-marquee__list {
	display: flex;
	align-items: center;
	flex: none;
	gap: clamp(1.5rem, 3vw, 2.75rem);
	margin: 0;
	padding: 0 clamp(1.5rem, 3vw, 2.75rem) 0 0;
	list-style: none;
}

.rw-marquee__list li {
	display: flex;
	align-items: center;
	gap: clamp(1.5rem, 3vw, 2.75rem);
}

.rw-marquee__list a {
	display: inline-flex;
	color: inherit;
	text-decoration: none;
}

.rw-marquee__word {
	font-family: var(--rw-display);
	font-stretch: 125%;
	font-weight: 900;
	font-size: clamp(2.5rem, 7vw, 6rem);
	line-height: 1.1;
	letter-spacing: -.03em;
	text-transform: uppercase;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1px var(--rw-muted);
}

.rw-marquee__word:hover {
	color: var(--rw-rust);
	-webkit-text-stroke-color: var(--rw-rust);
}

.rw-marquee__logo {
	display: block;
	width: auto;
	max-height: 40px;
	max-width: 160px;
	filter: grayscale(1);
	opacity: .7;
	transition: opacity .3s ease;
}

.rw-marquee__logo:hover {
	filter: none;
	opacity: 1;
}

[data-bs-theme=light] .rw-marquee__logo {
	opacity: .8;
}

.rw-marquee__sep {
	display: inline-flex;
	color: var(--rw-rust);
	font-size: clamp(1.25rem, 2.5vw, 2rem);
}

/* ==========================================================================
   12  Services bento
   ========================================================================== */

.rw-bento {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-auto-rows: minmax(220px, auto);
	gap: 1rem;
}

@media (min-width: 768px) {
	.rw-bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rw-bento .bento-feature,
	.rw-bento .bento-2 {
		grid-column: span 2;
	}

	.rw-bento .bento-feature {
		min-height: 340px;
	}
}

@media (min-width: 992px) {
	.rw-bento {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.rw-bento .bento-feature {
		grid-row: span 2;
	}
}

.rw-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1.5rem;
	padding: clamp(1.4rem, 2.2vw, 1.85rem);
	border: 1px solid var(--rw-line);
	border-radius: var(--rw-r-card);
	background: var(--rw-surface);
	color: var(--rw-text);
	text-decoration: none;
	overflow: hidden;
	isolation: isolate;
	transition: translate .5s var(--rw-ease);
}

.rw-tile:hover {
	color: var(--rw-text);
	border-color: var(--rw-rust);
	translate: 0 -4px;
}

/* Spotlight ring: a 1px masked border that follows the pointer */
.rw-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	padding: 1px;
	border-radius: inherit;
	pointer-events: none;
	background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--rw-rust), transparent 70%);
	-webkit-mask: linear-gradient(var(--rw-bg) 0 0) content-box, linear-gradient(var(--rw-bg) 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(var(--rw-bg) 0 0) content-box exclude, linear-gradient(var(--rw-bg) 0 0);
	opacity: var(--spot-opacity, 0);
	transition: opacity .4s ease;
}

.rw-tile__icon {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: var(--rw-r-input);
	background: var(--rw-surface-2);
	color: var(--rw-rust);
	font-size: 1.4rem;
}

.rw-tile__body {
	display: grid;
	gap: .6rem;
	margin-top: auto;
}

.rw-tile__title {
	margin: 0;
	font-size: clamp(1.3rem, 1.6vw, 1.5rem);
	letter-spacing: -.02em;
	line-height: 1.1;
}

.bento-feature .rw-tile__title {
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	letter-spacing: -.03em;
}

.rw-tile__text {
	display: block;
	color: var(--rw-muted);
	font-size: var(--rw-fs-sm);
	line-height: 1.55;
	max-width: 46ch;
}

.rw-tile__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.rw-tile__price {
	font-family: var(--rw-mono);
	font-size: var(--rw-fs-xs);
	letter-spacing: .04em;
	color: var(--rw-muted);
}

.rw-tile__arrow {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-left: auto;
	border: 1px solid var(--rw-line);
	border-radius: 50%;
	font-size: 1.1rem;
	transition: transform .5s var(--rw-ease);
}

.rw-tile:hover .rw-tile__arrow {
	transform: rotate(45deg);
	border-color: var(--rw-rust);
	color: var(--rw-rust);
}

/* Image tile: text is always light on the scrim */
.rw-tile--image {
	color: var(--rw-paper);
	border-color: transparent;
}

.rw-tile--image:hover {
	color: var(--rw-paper);
}

.rw-tile__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}

.rw-tile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: scale .9s var(--rw-ease);
}

.rw-tile--image:hover .rw-tile__media img {
	scale: 1.04;
}

.rw-tile__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--rw-scrim);
}

.rw-tile--image .rw-tile__title {
	color: var(--rw-paper);
}

.rw-tile--image .rw-tile__text,
.rw-tile--image .rw-tile__price {
	color: color-mix(in srgb, var(--rw-paper) 86%, transparent);
}

.rw-tile--image .rw-tile__icon {
	background: rgba(14, 17, 19, .55);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #e8875a;
}

.rw-tile--image .rw-tile__arrow {
	border-color: rgba(244, 245, 246, .4);
}

.rw-tile--image:hover .rw-tile__arrow {
	color: var(--rw-paper);
	border-color: var(--rw-paper);
}

/* Tones */
.rw-tone-rust {
	background: var(--rw-rust);
	border-color: var(--rw-rust);
	color: var(--rw-rust-ink);
	--rw-spot: rgba(var(--rw-text-rgb), .12);
}

.rw-tone-rust:hover {
	color: var(--rw-rust-ink);
	border-color: var(--rw-rust-ink);
}

.rw-tone-rust .rw-tile__title,
.rw-tone-rust .rw-tile__text,
.rw-tone-rust .rw-tile__price {
	color: var(--rw-rust-ink);
}

.rw-tone-rust .rw-tile__icon {
	background: var(--rw-rust-ink);
	color: var(--rw-rust);
}

.rw-tone-rust .rw-tile__arrow,
.rw-tone-rust:hover .rw-tile__arrow {
	border-color: var(--rw-rust-ink);
	color: var(--rw-rust-ink);
}

.rw-tone-rust::after {
	background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--rw-rust-ink), transparent 70%);
}

.rw-tone-steel {
	background: var(--rw-steel-tint);
}

.rw-tone-steel .rw-tile__icon {
	background: var(--rw-surface);
}

/* Feature tile without a photo: a faint blueprint grid that fades out behind the text,
   with a rust glow in the corner, so the large cell never reads as empty. */
.rw-bento .bento-feature:not(.rw-tile--image) {
	background:
		radial-gradient(70% 60% at 100% 0%, rgba(var(--rw-rust-rgb), .18), transparent 70%),
		var(--rw-surface);
}

.rw-bento .bento-feature:not(.rw-tile--image)::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(var(--rw-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--rw-line) 1px, transparent 1px);
	background-size: 40px 40px;
	background-position: -1px -1px;
	-webkit-mask-image: linear-gradient(to bottom, rgb(0 0 0 / .9), transparent 72%);
	mask-image: linear-gradient(to bottom, rgb(0 0 0 / .9), transparent 72%);
}

.rw-bento .bento-feature:not(.rw-tile--image) > * {
	position: relative;
}

/* ==========================================================================
   13  Work pan and project cards
   ========================================================================== */

.rw-work__head {
	margin-bottom: 0;
}

.rw-work__viewport {
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: max(var(--rw-gutter), calc((100vw - 1320px) / 2 + var(--rw-gutter)));
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.rw-work__viewport::-webkit-scrollbar {
	display: none;
}

.rw-work__track {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	width: max-content;
	padding-inline: max(var(--rw-gutter), calc((100vw - 1320px) / 2 + var(--rw-gutter)));
	padding-bottom: .5rem;
}

/* JS pins and pans on large screens; only then is the row clipped */
@media (min-width: 992px) {
	html.rw-motion .rw-work__viewport {
		overflow: hidden;
		scroll-snap-type: none;
	}

	html.rw-motion .rw-section.rw-work {
		padding-block: 0;
	}

	html.rw-motion .rw-work__pin {
		height: 100vh;
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding-top: var(--rw-header-h);
		overflow: clip;
	}

	html.rw-motion .rw-work__head .rw-section-head {
		margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
	}

	/* Keep the card (4:3 media + caption) inside one viewport height */
	html.rw-motion .rw-work__track .rw-project {
		width: clamp(280px, min(38vw, calc((100vh - 24rem) * 4 / 3)), 560px);
	}
}

.rw-work__track .rw-project {
	flex: none;
	width: clamp(280px, 38vw, 560px);
	scroll-snap-align: start;
}

.rw-project__link {
	display: block;
	color: var(--rw-text);
	text-decoration: none;
}

.rw-project__link:hover {
	color: var(--rw-text);
}

.rw-project__media {
	position: relative;
	aspect-ratio: 4 / 3;
	margin: 0 0 1.25rem;
	overflow: hidden;
	border-radius: var(--rw-r-card);
	background: var(--rw-surface-2);
}

.rw-project__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: scale .8s ease-out;
}

/* GSAP owns the img transform, so hover zoom uses the individual scale property */
.rw-project__link:hover .rw-project__media img {
	scale: 1.06;
}

.rw-project__placeholder {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: var(--rw-muted);
	font-size: clamp(3rem, 6vw, 4.5rem);
}

.rw-project__body {
	display: grid;
	gap: .5rem;
}

.rw-project__title {
	margin: 0;
	font-size: clamp(1.35rem, 2vw, 1.6rem);
	letter-spacing: -.02em;
	transition: transform .4s var(--rw-ease);
}

.rw-project__link:hover .rw-project__title {
	transform: translateX(4px);
}

.rw-project__meta {
	margin: 0;
	font-family: var(--rw-mono);
	font-size: var(--rw-fs-xs);
	color: var(--rw-muted);
}

.rw-project .rw-tags {
	margin-top: .35rem;
}

.rw-work__more {
	flex: none;
	align-self: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	width: clamp(200px, 20vw, 280px);
	aspect-ratio: 1;
	padding: 1.5rem;
	border: 1px solid var(--rw-line);
	border-radius: 50%;
	color: var(--rw-text);
	text-align: center;
	text-decoration: none;
	scroll-snap-align: start;
	transition: transform .5s var(--rw-ease);
}

.rw-work__more:hover {
	color: var(--rw-text);
	border-color: var(--rw-rust);
	transform: scale(1.03);
}

.rw-work__more-label {
	font-family: var(--rw-display);
	font-stretch: var(--rw-stretch);
	font-weight: 800;
	font-size: clamp(1.2rem, 1.8vw, 1.5rem);
	letter-spacing: -.02em;
	line-height: 1.1;
}

.rw-work__more-icon {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--rw-rust);
	color: var(--rw-rust-ink);
	font-size: 1.25rem;
	transition: transform .5s var(--rw-ease);
}

.rw-work__more:hover .rw-work__more-icon {
	transform: translateX(6px);
}

/* ==========================================================================
   14  Process stack
   ========================================================================== */

.rw-process__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
}

.rw-stack {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rw-stack__card {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 1.25rem;
	padding: clamp(1.5rem, 3vw, 2rem);
	border: 1px solid var(--rw-line);
	border-radius: var(--rw-r-card);
	background: var(--rw-surface);
	box-shadow: var(--rw-shadow);
	transform-origin: top center;
}

.rw-stack__card:last-child {
	margin-bottom: 0;
}

.rw-stack__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: .5rem;
}

.rw-stack__num {
	font-family: var(--rw-mono);
	font-size: clamp(2.5rem, 4.5vw, 3.75rem);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -.04em;
	color: var(--rw-rust);
	font-variant-numeric: tabular-nums;
}

.rw-stack__icon {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--rw-line);
	border-radius: var(--rw-r-input);
	color: var(--rw-text);
	font-size: 1.4rem;
}

.rw-stack__title {
	margin: 0;
	font-size: var(--rw-fs-h3);
}

.rw-stack__text {
	margin: 0;
	color: var(--rw-muted);
	max-width: 56ch;
}

.rw-stack__card .rw-checks {
	margin-top: .5rem;
	font-size: var(--rw-fs-sm);
}

@media (min-width: 992px) {
	.rw-process__grid {
		grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
		align-items: start;
	}

	.rw-process__aside {
		position: sticky;
		top: 7rem;
	}

	.rw-stack__card {
		position: sticky;
		top: calc(6rem + var(--i, 0) * 1.25rem);
		min-height: 340px;
		margin-bottom: 2rem;
	}
}

/* ==========================================================================
   15  Split media
   ========================================================================== */

.rw-split .rw-h2 {
	margin-bottom: 1.5rem;
}

.rw-split__media {
	margin: 0;
	overflow: hidden;
	border-radius: var(--rw-r-card);
	background: var(--rw-surface-2);
}

.rw-split__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* Clip-reveal frames stay fully visible unless JS animates them */
[data-clip-reveal] {
	clip-path: none;
}

/* ==========================================================================
   16  Stats
   ========================================================================== */

.rw-stats__heading {
	margin-bottom: 2rem;
	font-family: var(--rw-mono);
	font-stretch: 100%;
	font-size: var(--rw-fs-label);
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--rw-muted);
}

.rw-stats__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 2.5rem 2rem;
	margin: 0;
}

.rw-stats__item {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	gap: .75rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rw-line);
}

.rw-stats__value {
	margin: 0;
	font-family: var(--rw-display);
	font-stretch: var(--rw-stretch);
	font-weight: 800;
	font-size: clamp(3rem, 6vw, 5rem);
	line-height: 1;
	letter-spacing: -.04em;
	font-variant-numeric: tabular-nums;
	color: var(--rw-text);
}

[data-count] {
	font-variant-numeric: tabular-nums;
}

.rw-stats__label {
	font-weight: 400;
	font-size: var(--rw-fs-sm);
	color: var(--rw-muted);
	max-width: 28ch;
}

/* ==========================================================================
   17  Pricing
   ========================================================================== */

.rw-pricing__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem;
	align-items: stretch;
}

@media (min-width: 768px) {
	.rw-pricing__grid--2,
	.rw-pricing__grid--3,
	.rw-pricing__grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rw-pricing__grid--3 > :last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

@media (min-width: 992px) {
	.rw-pricing__grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.rw-pricing__grid--3 > :last-child:nth-child(odd) {
		grid-column: auto;
	}
}

@media (min-width: 1200px) {
	.rw-pricing__grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Five or six packages: rows of two on tablets; on desktop five sit as 3 + 2 (the bottom two
   wider) and six as 3 + 3, so the grid never leaves an empty cell. */
@media (min-width: 768px) {
	.rw-pricing__grid--5,
	.rw-pricing__grid--6 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rw-pricing__grid--5 > :last-child {
		grid-column: 1 / -1;
	}
}

@media (min-width: 992px) {
	.rw-pricing__grid--5,
	.rw-pricing__grid--6 {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.rw-pricing__grid--5 > *,
	.rw-pricing__grid--6 > * {
		grid-column: span 2;
	}

	.rw-pricing__grid--5 > :nth-child(n + 4) {
		grid-column: span 3;
	}
}

.rw-pricing__grid--1 {
	max-width: 30rem;
}

.rw-price {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	padding: clamp(1.5rem, 2.5vw, 2rem);
	border: 1px solid var(--rw-line);
	border-radius: var(--rw-r-card);
	background: var(--rw-surface);
	color: var(--rw-text);
}

.rw-price > .rw-btn {
	margin-top: auto;
}

.rw-price__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: .75rem;
}

.rw-price__name {
	margin: 0;
	font-size: 1.35rem;
	letter-spacing: -.02em;
}

.rw-price__badge {
	display: inline-flex;
	align-items: center;
	padding: .3rem .8rem;
	border-radius: var(--rw-r-pill);
	background: var(--rw-rust-ink);
	color: var(--rw-rust);
	font-family: var(--rw-mono);
	font-size: .6875rem;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.rw-price__amount {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .25rem .6rem;
	margin: 0;
}

.rw-price__value {
	font-family: var(--rw-display);
	font-stretch: var(--rw-stretch);
	font-weight: 800;
	font-size: clamp(2.2rem, 3.6vw, 3rem);
	line-height: 1;
	letter-spacing: -.035em;
	font-variant-numeric: tabular-nums;
}

.rw-price__note {
	font-size: var(--rw-fs-xs);
	color: var(--rw-muted);
}

.rw-price__desc {
	margin: 0;
	color: var(--rw-muted);
	font-size: var(--rw-fs-sm);
}

.rw-price__features {
	padding-top: 1.25rem;
	border-top: 1px solid var(--rw-line);
	font-size: var(--rw-fs-sm);
}

.rw-price__features + .rw-btn {
	margin-top: auto;
}

.rw-price--featured {
	background: var(--rw-rust);
	border-color: var(--rw-rust);
	color: var(--rw-rust-ink);
	box-shadow: var(--rw-shadow);
	--rw-spot: rgba(var(--rw-text-rgb), .12);
	--rw-focus: var(--rw-rust-ink);
}

.rw-price--featured .rw-price__name,
.rw-price--featured .rw-price__note,
.rw-price--featured .rw-price__desc,
.rw-price--featured .rw-checks i {
	color: var(--rw-rust-ink);
}

.rw-price--featured .rw-price__features {
	border-top-color: color-mix(in srgb, var(--rw-rust-ink) 30%, transparent);
}

@media (min-width: 992px) {
	.rw-price--featured {
		translate: 0 -12px;
	}
}

.rw-pricing__foot {
	margin: 2.5rem auto 0;
	max-width: 60ch;
	text-align: center;
	font-size: var(--rw-fs-sm);
	color: var(--rw-muted);
}

/* ==========================================================================
   18  Testimonials
   ========================================================================== */

.rw-quotes__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 992px) {
	.rw-quotes__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		align-items: start;
	}
}

.rw-quotes .rw-section-head {
	margin-bottom: 2rem;
}

.rw-quotes__people {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
}

.rw-quotes__person {
	position: relative;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--rw-line);
	border-radius: 50%;
	background: var(--rw-surface-2);
	color: var(--rw-text);
	cursor: pointer;
	opacity: .65;
	transition: opacity .3s ease, transform .3s var(--rw-ease);
}

.rw-quotes__person:hover {
	opacity: 1;
}

.rw-quotes__person.active,
.rw-quotes__person[aria-current=true] {
	opacity: 1;
	border-color: var(--rw-rust);
	box-shadow: 0 0 0 2px var(--rw-bg), 0 0 0 4px var(--rw-rust);
}

.rw-quotes__person img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rw-quotes__initial {
	font-family: var(--rw-display);
	font-stretch: var(--rw-stretch);
	font-weight: 800;
	font-size: 1.35rem;
	text-transform: uppercase;
}

.rw-quotes__carousel .carousel-item {
	margin: 0;
}

.rw-quote {
	position: relative;
	margin: 0 0 2rem;
	padding-top: clamp(3rem, 5vw, 4rem);
}

.rw-quote::before {
	content: "\201C";
	position: absolute;
	top: 0;
	left: -.05em;
	font-family: var(--rw-display);
	font-stretch: var(--rw-stretch);
	font-weight: 800;
	font-size: clamp(5rem, 9vw, 7.5rem);
	line-height: 1;
	color: var(--rw-rust);
}

.rw-quote p {
	margin: 0;
	font-family: var(--rw-display);
	font-stretch: 100%;
	font-weight: 400;
	font-size: clamp(1.5rem, 2.8vw, 2.4rem);
	line-height: 1.25;
	letter-spacing: -.015em;
	text-wrap: pretty;
}

.rw-quote__by {
	display: grid;
	gap: .15rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--rw-line);
}

.rw-quote__by strong {
	font-weight: 600;
}

.rw-quote__by span {
	font-size: var(--rw-fs-sm);
	color: var(--rw-muted);
}

/* ==========================================================================
   19  FAQ accordion
   ========================================================================== */

.rw-faq__aside .rw-section-head {
	margin-bottom: 2rem;
}

@media (min-width: 992px) {
	.rw-faq__aside {
		position: sticky;
		top: 7rem;
	}
}

.rw-accordion {
	--bs-accordion-bg: transparent;
	--bs-accordion-color: var(--rw-text);
	--bs-accordion-border-color: var(--rw-line);
	--bs-accordion-border-width: 1px;
	--bs-accordion-border-radius: 0;
	--bs-accordion-inner-border-radius: 0;
	--bs-accordion-btn-padding-x: 0;
	--bs-accordion-btn-padding-y: 1.5rem;
	--bs-accordion-btn-color: var(--rw-text);
	--bs-accordion-btn-bg: transparent;
	--bs-accordion-btn-icon: none;
	--bs-accordion-btn-active-icon: none;
	--bs-accordion-btn-icon-width: 1rem;
	--bs-accordion-btn-icon-transform: none;
	--bs-accordion-btn-focus-box-shadow: none;
	--bs-accordion-body-padding-x: 0;
	--bs-accordion-body-padding-y: 0;
	--bs-accordion-active-color: var(--rw-text);
	--bs-accordion-active-bg: transparent;
	border-bottom: 1px solid var(--rw-line);
}

.rw-accordion .accordion-item {
	border: 0;
	border-top: 1px solid var(--rw-line);
	background: transparent;
}

.rw-accordion .accordion-header {
	margin: 0;
	font-family: var(--rw-body);
	font-stretch: 100%;
	letter-spacing: 0;
}

.rw-accordion .accordion-button {
	min-height: 44px;
	padding-right: 3rem;
	font-family: var(--rw-body);
	font-size: clamp(1.125rem, 1.4vw, 1.3rem);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -.01em;
	color: var(--rw-text);
	box-shadow: none;
}

.rw-accordion .accordion-button:not(.collapsed) {
	color: var(--rw-text);
	background: transparent;
	box-shadow: none;
}

.rw-accordion .accordion-button:hover {
	color: var(--rw-rust);
}

.rw-accordion .accordion-button:focus-visible {
	outline: 2px solid var(--rw-focus);
	outline-offset: 4px;
}

/* Plus / minus: two bars, the vertical one collapses on open */
.rw-accordion .accordion-button::before,
.rw-accordion .accordion-button::after {
	content: "";
	position: absolute;
	top: 50%;
	right: .5rem;
	width: 1rem;
	height: 2px;
	margin: -1px 0 0;
	border-radius: 2px;
	background: var(--rw-rust);
	transition: transform .4s var(--rw-ease);
}

.rw-accordion .accordion-button::before {
	transform: rotate(90deg);
}

.rw-accordion .accordion-button:not(.collapsed)::before {
	transform: rotate(180deg) scaleX(0);
}

.rw-accordion .accordion-button:not(.collapsed)::after {
	transform: rotate(180deg);
}

.rw-accordion .accordion-body {
	padding: 0 3rem 1.75rem 0;
	color: var(--rw-muted);
}

.rw-accordion .accordion-body.rw-prose {
	max-width: 70ch;
}

/* ==========================================================================
   20  CTA band
   ========================================================================== */

.rw-cta__panel {
	--rw-focus: var(--rw-rust-ink);
	--rw-spot: rgba(var(--rw-text-rgb), .1);
	position: relative;
	padding: clamp(2.5rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5.5rem);
	overflow: hidden;
	border-radius: var(--rw-r-card);
	color: var(--rw-rust-ink);
	background-color: var(--rw-rust);
	background-image:
		linear-gradient(120deg, rgba(var(--rw-rust-rgb), .9) 0%, rgba(var(--rw-rust-rgb), .72) 55%, rgba(var(--rw-rust-rgb), .88) 100%),
		var(--rw-tex, radial-gradient(120% 140% at 85% 0%, rgba(var(--rw-rust-rgb), .6) 0%, transparent 60%));
	background-size: cover;
	background-position: center;
}

.rw-cta__title {
	max-width: 18ch;
	margin-bottom: 1.5rem;
	color: var(--rw-rust-ink);
	font-size: clamp(2.6rem, 6.5vw, 5.8rem);
}

/* Highlight on rust: underline in ink rather than rust on rust */
.rw-cta__title em {
	color: var(--rw-rust-ink);
	text-decoration: underline;
	text-decoration-thickness: .07em;
	text-underline-offset: .1em;
	text-decoration-skip-ink: none;
}

.rw-cta__sub {
	max-width: 52ch;
	margin-bottom: 2.25rem;
	font-size: var(--rw-fs-lead);
	line-height: 1.55;
	color: var(--rw-rust-ink);
}

.rw-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: 2.25rem;
}

.rw-cta__sub + .rw-cta__actions {
	margin-top: 0;
}

/* ==========================================================================
   21  Rich text
   ========================================================================== */

.rw-text__inner {
	max-width: 760px;
}

/* A text block that holds a table (the pricing overview) uses the full container width;
   its paragraphs keep a readable line length. */
.rw-text__inner:has(table) {
	max-width: none;
}

.rw-text__inner:has(table) .rw-prose {
	max-width: none;
}

.rw-text__inner:has(table) .rw-prose > :not(table) {
	max-width: 65ch;
}

.rw-text__inner .rw-h2 {
	margin-bottom: 1.75rem;
}

/* ==========================================================================
   22  Forms, contact, Formidable, search
   ========================================================================== */

.form-control,
.form-select,
.rw-input {
	min-height: 48px;
	padding: .7rem 1rem;
	border: 1px solid var(--rw-line);
	border-radius: var(--rw-r-input);
	background-color: var(--rw-bg);
	color: var(--rw-text);
	font-size: 1rem;
}

.form-control::placeholder,
.rw-input::placeholder {
	color: var(--rw-muted);
	opacity: 1;
}

.form-control:focus,
.form-select:focus,
.rw-input:focus {
	border-color: var(--rw-rust);
	background-color: var(--rw-bg);
	color: var(--rw-text);
	box-shadow: 0 0 0 3px var(--rw-rust-soft);
	outline: 0;
}

.form-label {
	font-weight: 500;
	font-size: var(--rw-fs-sm);
}

/* Contact section */
.rw-contact__title {
	font-size: var(--rw-fs-h1);
}

.rw-contact__list {
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--rw-line);
}

.rw-contact__list li {
	display: grid;
	gap: .2rem;
	padding: 1rem 0;
	border-top: 1px solid var(--rw-line);
}

.rw-contact__k {
	font-family: var(--rw-mono);
	font-size: var(--rw-fs-label);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--rw-muted);
}

.rw-contact__list a {
	justify-self: start;
	color: var(--rw-text);
	font-size: 1.125rem;
	text-decoration: none;
	background: linear-gradient(var(--rw-rust), var(--rw-rust)) 0 100% / 100% 1px no-repeat;
}

.rw-contact__list a:hover {
	color: var(--rw-rust);
}

.rw-contact__form {
	padding: clamp(1.5rem, 4vw, 2.75rem);
	border: 1px solid var(--rw-line);
	border-radius: var(--rw-r-card);
	background: var(--rw-surface);
}

/* Formidable markup inside the contact card */
.rw-contact__form .frm_forms {
	margin: 0;
}

.rw-contact__form .frm_form_fields > fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.rw-contact__form .frm_form_field {
	margin-bottom: 1.25rem;
}

.rw-contact__form .frm_forms label.frm_primary_label,
.rw-contact__form .frm_forms .frm_primary_label {
	display: block;
	margin-bottom: .45rem;
	padding: 0;
	font-size: var(--rw-fs-sm);
	font-weight: 500;
	color: var(--rw-text);
}

.rw-contact__form .frm_required {
	color: var(--rw-rust);
}

.rw-contact__form .frm_forms input[type=text],
.rw-contact__form .frm_forms input[type=email],
.rw-contact__form .frm_forms input[type=tel],
.rw-contact__form .frm_forms input[type=url],
.rw-contact__form .frm_forms input[type=number],
.rw-contact__form .frm_forms input[type=date],
.rw-contact__form .frm_forms select,
.rw-contact__form .frm_forms textarea {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: .7rem 1rem;
	border: 1px solid var(--rw-line);
	border-radius: var(--rw-r-input);
	background: var(--rw-bg);
	color: var(--rw-text);
	font: inherit;
	font-size: 1rem;
	box-shadow: none;
}

.rw-contact__form .frm_forms textarea {
	min-height: 9rem;
	resize: vertical;
}

.rw-contact__form .frm_forms ::placeholder {
	color: var(--rw-muted);
	opacity: 1;
}

.rw-contact__form .frm_forms input:focus,
.rw-contact__form .frm_forms select:focus,
.rw-contact__form .frm_forms textarea:focus {
	border-color: var(--rw-rust);
	box-shadow: 0 0 0 3px var(--rw-rust-soft);
	outline: 0;
}

.rw-contact__form .frm_forms input[type=checkbox],
.rw-contact__form .frm_forms input[type=radio] {
	width: 1.15rem;
	height: 1.15rem;
	margin-right: .5rem;
	accent-color: var(--rw-rust);
	vertical-align: -.15em;
}

.rw-contact__form .frm_description {
	margin-top: .35rem;
	font-size: var(--rw-fs-xs);
	color: var(--rw-muted);
}

.rw-contact__form .frm_error,
.rw-contact__form .frm_error_style {
	margin-top: .4rem;
	font-size: var(--rw-fs-xs);
	color: var(--rw-danger);
}

.rw-contact__form .frm_blank_field input,
.rw-contact__form .frm_blank_field select,
.rw-contact__form .frm_blank_field textarea {
	border-color: var(--rw-danger);
}

.rw-contact__form .frm_submit {
	margin-top: 1.5rem;
}

.rw-contact__form .frm_submit button,
.rw-contact__form .frm_submit input[type=submit] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6rem;
	min-height: 56px;
	padding: .95rem 1.85rem;
	border: 1px solid var(--rw-rust);
	border-radius: var(--rw-r-pill);
	background: var(--rw-rust);
	color: var(--rw-rust-ink);
	font: inherit;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
	transition: scale .15s var(--rw-ease);
}

.rw-contact__form .frm_submit button:hover,
.rw-contact__form .frm_submit input[type=submit]:hover {
	background: color-mix(in srgb, var(--rw-rust) 88%, var(--rw-text));
	color: var(--rw-rust-ink);
}

.rw-contact__form .frm_submit button:active {
	scale: .98;
}

.rw-contact__form .frm_submit button:focus-visible {
	outline: 2px solid var(--rw-focus);
	outline-offset: 3px;
}

.rw-contact__form .frm_message,
.rw-contact__form .frm_error_style {
	padding: 1rem 1.25rem;
	border: 1px solid currentColor;
	border-radius: var(--rw-r-input);
}

.rw-contact__form .frm_message {
	color: var(--rw-success);
	background: var(--rw-surface-2);
}

.rw-contact__form .frm_message p {
	margin: 0;
	color: var(--rw-text);
}

/* Search form */
.rw-search {
	width: 100%;
	max-width: 36rem;
}

.rw-search__label {
	display: block;
	margin-bottom: .5rem;
	font-family: var(--rw-mono);
	font-size: var(--rw-fs-label);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--rw-muted);
}

.rw-search__row {
	display: flex;
	gap: .5rem;
}

.rw-search__row .rw-input {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 48px;
}

.rw-search__row .rw-btn {
	flex: none;
	min-height: 48px;
}

/* ==========================================================================
   23  Page header and breadcrumbs
   ========================================================================== */

.rw-pagehead {
	padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2rem, 4vw, 3.5rem);
}

.rw-pagehead__title {
	max-width: 20ch;
	font-size: var(--rw-fs-h1);
}

.rw-pagehead__lead {
	max-width: 60ch;
	margin-bottom: 0;
	font-size: var(--rw-fs-lead);
	line-height: 1.55;
	color: var(--rw-muted);
}

.rw-pagehead__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .6rem;
	margin-top: 2rem;
}

.rw-pagehead__meta .rw-btn {
	margin-left: .25rem;
}

.rw-crumbs {
	margin-bottom: 1.75rem;
	font-family: var(--rw-mono);
	font-size: var(--rw-fs-xs);
	color: var(--rw-muted);
}

.rw-crumbs p,
.rank-math-breadcrumb p {
	margin: 0;
}

.rw-crumbs a {
	color: var(--rw-muted);
	text-decoration: underline;
	text-decoration-color: var(--rw-line);
	text-underline-offset: .25em;
}

.rw-crumbs a:hover {
	color: var(--rw-rust);
	text-decoration-color: currentColor;
}

.rank-math-breadcrumb .separator {
	margin-inline: .4rem;
	color: var(--rw-rust);
}

.rank-math-breadcrumb .last {
	color: var(--rw-text);
}

/* ==========================================================================
   24  Service single
   ========================================================================== */

.rw-service__media,
.rw-case__cover,
.rw-article__cover {
	margin: 0;
	overflow: hidden;
	border-radius: var(--rw-r-card);
	background: var(--rw-surface-2);
	aspect-ratio: 4 / 3;
}

.rw-service__media img,
.rw-case__cover img,
.rw-article__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 768px) {
	.rw-service__media,
	.rw-case__cover,
	.rw-article__cover {
		aspect-ratio: 16 / 7;
	}
}

.rw-service__intro {
	font-size: 1.125rem;
}

.rw-included {
	padding: clamp(1.5rem, 3vw, 2rem);
	border: 1px solid var(--rw-line);
	border-radius: var(--rw-r-card);
	background: var(--rw-surface);
}

@media (min-width: 992px) {
	.rw-included {
		position: sticky;
		top: 7rem;
	}
}

.rw-included__title {
	margin-bottom: 1.25rem;
	font-size: 1.5rem;
	letter-spacing: -.02em;
}

.rw-included__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rw-included__list li {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1rem 0;
	border-top: 1px solid var(--rw-line);
}

.rw-included__icon {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: var(--rw-r-input);
	background: var(--rw-rust-soft);
	color: var(--rw-rust);
	font-size: 1.2rem;
}

.rw-included__list h3 {
	margin: .45rem 0 .25rem;
	font-family: var(--rw-body);
	font-stretch: 100%;
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.35;
}

.rw-included__list p {
	margin: 0;
	font-size: var(--rw-fs-sm);
	color: var(--rw-muted);
}

/* ==========================================================================
   25  Case study single
   ========================================================================== */

.rw-case__facts {
	margin: 0;
	border-bottom: 1px solid var(--rw-line);
}

.rw-case__facts > div {
	display: grid;
	gap: .25rem;
	padding: 1rem 0;
	border-top: 1px solid var(--rw-line);
}

.rw-case__facts dt {
	font-family: var(--rw-mono);
	font-size: var(--rw-fs-label);
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--rw-muted);
}

.rw-case__facts dd {
	margin: 0;
}

@media (min-width: 992px) {
	.rw-case__facts {
		position: sticky;
		top: 7rem;
	}
}

/* Block editor output (block-library CSS is dequeued on work items) */
.rw-gallery__content > * + * {
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.rw-gallery__content img {
	border-radius: var(--rw-r-card);
}

.rw-gallery__content .wp-block-image {
	margin: 0;
}

.rw-gallery__content .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}

.rw-gallery__content figcaption {
	margin-top: .6rem;
	font-family: var(--rw-mono);
	font-size: var(--rw-fs-xs);
	color: var(--rw-muted);
}

.rw-gallery__content .wp-block-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rw-gallery__content .wp-block-gallery.is-cropped img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

@media (min-width: 768px) {
	.rw-gallery__content .wp-block-gallery.columns-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rw-gallery__content .wp-block-gallery.columns-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.rw-gallery__content .wp-block-columns {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.rw-gallery__content .wp-block-column {
	flex: 1 1 280px;
	min-width: 0;
}

.rw-gallery__content p,
.rw-gallery__content ul {
	max-width: 65ch;
}

.rw-next {
	border-top: 1px solid var(--rw-line);
}

.rw-next__link {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: .75rem 2rem;
	padding-block: clamp(3rem, 8vw, 6rem);
	color: var(--rw-text);
	text-decoration: none;
}

.rw-next__link:hover {
	color: var(--rw-text);
}

.rw-next__k {
	grid-column: 1 / -1;
	font-family: var(--rw-mono);
	font-size: var(--rw-fs-label);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--rw-rust);
}

.rw-next__title {
	margin: 0;
	font-size: clamp(2.4rem, 7vw, 6rem);
	transition: transform .6s var(--rw-ease);
}

.rw-next__link:hover .rw-next__title {
	transform: translateX(8px);
}

.rw-next__icon {
	display: inline-grid;
	place-items: center;
	width: clamp(56px, 7vw, 88px);
	height: clamp(56px, 7vw, 88px);
	border-radius: 50%;
	background: var(--rw-rust);
	color: var(--rw-rust-ink);
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	transition: transform .6s var(--rw-ease);
}

.rw-next__link:hover .rw-next__icon {
	transform: translateX(10px) rotate(-45deg);
}

/* ==========================================================================
   26  Portfolio, posts, article, pagination, empty state
   ========================================================================== */

.rw-portfolio__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 3rem 2rem;
}

@media (min-width: 768px) {
	.rw-portfolio__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 992px) {
	.rw-portfolio__grid {
		column-gap: clamp(2rem, 4vw, 4rem);
	}

	.rw-portfolio__grid > :nth-child(even) {
		margin-top: 4rem;
	}
}

.rw-posts__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem 1.5rem;
}

@media (min-width: 768px) {
	.rw-posts__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 992px) {
	.rw-posts__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.rw-post-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: var(--rw-text);
	text-decoration: none;
}

.rw-post-card__link:hover {
	color: var(--rw-text);
}

.rw-post-card__media {
	margin: 0 0 1.25rem;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: var(--rw-r-card);
	background: var(--rw-surface-2);
}

.rw-post-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: scale .8s ease-out;
}

.rw-post-card__link:hover .rw-post-card__media img {
	scale: 1.05;
}

.rw-post-card__body {
	display: grid;
	gap: .6rem;
}

.rw-post-card__meta {
	margin: 0;
	font-family: var(--rw-mono);
	font-size: var(--rw-fs-xs);
	color: var(--rw-muted);
}

.rw-post-card__title {
	margin: 0;
	font-size: clamp(1.3rem, 1.8vw, 1.5rem);
	letter-spacing: -.02em;
	line-height: 1.15;
}

.rw-post-card__link:hover .rw-post-card__title {
	color: var(--rw-rust);
}

.rw-post-card__excerpt {
	margin: 0;
	font-size: var(--rw-fs-sm);
	color: var(--rw-muted);
}

.rw-article__cover {
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.rw-article__body {
	max-width: 720px;
	margin-inline: auto;
	font-size: 1.125rem;
}

.rw-article__author {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	max-width: 720px;
	margin: clamp(3rem, 6vw, 4.5rem) auto 0;
	padding-top: 2rem;
	border-top: 1px solid var(--rw-line);
}

.rw-article__author img {
	flex: none;
	width: 64px;
	height: 64px;
}

.rw-article__author-name {
	margin: .5rem 0 .25rem;
	font-weight: 600;
}

.rw-article__author .rw-muted {
	margin: 0;
	font-size: var(--rw-fs-sm);
}

/* Pagination (the_posts_pagination) */
.rw-pagination {
	margin-top: clamp(3rem, 6vw, 4.5rem);
}

.rw-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .4rem;
}

.rw-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 1rem;
	border: 1px solid var(--rw-line);
	border-radius: var(--rw-r-pill);
	color: var(--rw-text);
	font-family: var(--rw-mono);
	font-size: var(--rw-fs-sm);
	text-decoration: none;
}

.rw-pagination a.page-numbers:hover {
	border-color: var(--rw-rust);
	color: var(--rw-rust);
}

.rw-pagination .page-numbers.current {
	border-color: var(--rw-rust);
	background: var(--rw-rust);
	color: var(--rw-rust-ink);
}

.rw-pagination .page-numbers.dots {
	border-color: transparent;
	color: var(--rw-muted);
}

/* Empty state */
.rw-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	max-width: 36rem;
	margin-inline: auto;
	padding-block: clamp(2rem, 6vw, 4rem);
	text-align: center;
}

.rw-empty > .ph {
	font-size: 3.5rem;
	color: var(--rw-muted);
}

.rw-empty p {
	margin: 0;
	font-size: var(--rw-fs-lead);
	color: var(--rw-muted);
}

.rw-empty .rw-search {
	text-align: left;
}

/* ==========================================================================
   27  404
   ========================================================================== */

.rw-404__code {
	margin: 0 0 1rem;
	font-family: var(--rw-display);
	font-stretch: 125%;
	font-weight: 900;
	font-size: clamp(7rem, 30vw, 20rem);
	line-height: .85;
	letter-spacing: -.05em;
	color: transparent;
	-webkit-text-stroke: 1px var(--rw-muted);
	user-select: none;
}

.rw-404__title {
	max-width: 16ch;
	font-size: var(--rw-fs-h1);
}

.rw-404 .rw-lead {
	margin-bottom: 2.5rem;
}

.rw-404__search {
	margin-bottom: 2rem;
}

.rw-404__links {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
}

/* ==========================================================================
   28  Footer
   ========================================================================== */

.rw-footer {
	padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
	padding-bottom: calc(2rem + env(safe-area-inset-bottom));
	border-top: 1px solid var(--rw-line);
	background: var(--rw-surface);
	color: var(--rw-text);
}

.rw-footer__top {
	--bs-gutter-y: 2.5rem;
}

.rw-brand--footer {
	margin-bottom: 1.25rem;
}

.rw-brand--footer .rw-wordmark {
	font-size: 1.6rem;
}

.rw-footer__blurb {
	max-width: 40ch;
	color: var(--rw-muted);
	font-size: var(--rw-fs-sm);
}

.rw-socials {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.rw-socials a {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--rw-line);
	border-radius: 50%;
	color: var(--rw-text);
	font-size: 1.2rem;
	text-decoration: none;
	transition: transform .3s var(--rw-ease);
}

.rw-socials a:hover {
	border-color: var(--rw-rust);
	color: var(--rw-rust);
	transform: translateY(-2px);
}

.rw-footer__title {
	margin-bottom: 1rem;
	font-family: var(--rw-mono);
	font-stretch: 100%;
	font-size: var(--rw-fs-label);
	font-weight: 500;
	letter-spacing: .16em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--rw-muted);
}

.rw-footer__links,
.rw-footer__contact,
.rw-footer__legal {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rw-footer__links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--rw-muted);
	font-size: var(--rw-fs-sm);
	text-decoration: none;
}

.rw-footer__links a:hover,
.rw-footer__links .current-menu-item > a {
	color: var(--rw-text);
}

.rw-footer__contact li {
	display: flex;
	align-items: center;
	gap: .75rem;
	min-height: 44px;
	font-size: var(--rw-fs-sm);
	color: var(--rw-muted);
}

.rw-footer__contact i {
	flex: none;
	color: var(--rw-rust);
	font-size: 1.15rem;
}

.rw-footer__contact a {
	color: var(--rw-text);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.rw-footer__contact a:hover {
	color: var(--rw-rust);
}

.rw-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .5rem 1.5rem;
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding-top: 1.25rem;
	border-top: 1px solid var(--rw-line);
	font-size: var(--rw-fs-xs);
	color: var(--rw-muted);
}

.rw-footer__bottom p {
	margin: 0;
}

.rw-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1.5rem;
}

.rw-footer__legal a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--rw-muted);
	text-decoration: none;
}

.rw-footer__legal a:hover {
	color: var(--rw-text);
}

/* ==========================================================================
   29  Floating WhatsApp
   ========================================================================== */

.rw-wa-float {
	position: fixed;
	right: max(1rem, env(safe-area-inset-right));
	bottom: calc(1rem + env(safe-area-inset-bottom));
	z-index: 1035;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--rw-rust);
	color: var(--rw-rust-ink);
	font-size: 1.75rem;
	text-decoration: none;
	box-shadow: var(--rw-shadow-sm), var(--rw-shadow);
	transition: transform .35s var(--rw-ease);
}

.rw-wa-float:hover,
.rw-wa-float:focus-visible {
	color: var(--rw-rust-ink);
	transform: scale(1.07);
}

.rw-wa-float:focus-visible {
	outline-color: var(--rw-text);
}

/* ==========================================================================
   30  Reveal (html.rw-motion only)
   ========================================================================== */

/* Headlines, text, images and grouped items start hidden only while html.rw-motion is set
   (added in <head> before first paint, never with reduced motion). main.js adds .is-in as an
   element nears the viewport and one short fade-up plays. "backwards" fill means the element
   goes back to its normal styles afterwards, so hover effects are never blocked. */
html.rw-motion :is([data-split], [data-reveal], [data-stagger-item], [data-clip-reveal], [data-hero-frame]):not(.is-in) {
	opacity: 0;
}

html.rw-motion :is([data-split], [data-reveal], [data-stagger-item], [data-clip-reveal], [data-hero-frame]).is-in {
	animation: rw-rise .6s var(--rw-ease) var(--rw-d, 0s) backwards;
}

/* Page intro, pure CSS. The first section animates from the first paint without waiting for
   any script. The explicit opacity beats the hidden start state above. */
html.rw-motion .rw-main > :is(.rw-hero, .rw-pagehead, .rw-contact):first-child :is([data-split], [data-reveal], [data-hero-frame]) {
	opacity: 1;
	animation: rw-rise .6s var(--rw-ease) .05s backwards;
}

html.rw-motion .rw-main > :is(.rw-hero, .rw-pagehead, .rw-contact):first-child [data-reveal] {
	animation-delay: .15s;
}

html.rw-motion .rw-main > :is(.rw-hero, .rw-pagehead, .rw-contact):first-child :is(.rw-hero__ctas, .rw-pagehead__meta, .rw-contact__list) {
	animation-delay: .25s;
}

html.rw-motion .rw-main > .rw-hero:first-child [data-hero-frame] {
	animation-delay: .1s;
}

@keyframes rw-rise {
	from {
		opacity: 0;
		translate: 0 16px;
	}
}

/* ==========================================================================
   31  Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}

	.rw-marquee__track {
		animation: none !important;
		width: auto;
		flex-wrap: wrap;
		justify-content: center;
	}

	.rw-marquee__list {
		flex-wrap: wrap;
		justify-content: center;
		row-gap: 1rem;
		padding-inline: var(--rw-gutter);
	}

	.rw-marquee__list[aria-hidden=true] {
		display: none;
	}

	.rw-marquee__word {
		font-size: clamp(1.75rem, 5vw, 3.5rem);
	}

	.rw-header {
		transition: none;
	}

	.rw-tile:hover,
	.rw-price--featured,
	.rw-btn:active,
	.rw-icon-btn:active {
		translate: none !important;
		scale: none !important;
	}

	.rw-btn:hover i,
	.rw-tile:hover .rw-tile__arrow,
	.rw-project__link:hover .rw-project__title,
	.rw-work__more:hover,
	.rw-work__more:hover .rw-work__more-icon,
	.rw-next__link:hover .rw-next__title,
	.rw-next__link:hover .rw-next__icon,
	.rw-socials a:hover,
	.rw-wa-float:hover {
		transform: none !important;
	}

	.rw-tile--image:hover .rw-tile__media img,
	.rw-project__link:hover .rw-project__media img,
	.rw-post-card__link:hover .rw-post-card__media img {
		scale: none !important;
	}

	html.rw-motion :is([data-split], [data-reveal], [data-stagger-item], [data-clip-reveal], [data-hero-frame]) {
		opacity: 1 !important;
		animation: none !important;
	}
}
