/*
Theme Name: Offroad Wrench
Theme URI: https://offroad-wrench.com
Author: Cornerstone Ideas
Description: Custom WordPress theme for Offroad Wrench — mobile diesel and heavy equipment repair, Lane County, Oregon. No page builder, no plugin dependencies. Content is managed through the Customizer, menus, and the Services/Testimonials post types registered by the theme.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: offroad-wrench
Tags: business, custom-colors, custom-menu, custom-logo, responsive-layout, one-column
*/

/* ==========================================================================
   1. TOKENS
   ========================================================================== */

:root {
	--ofw-ink: #101010;
	--ofw-graphite: #1c1c1c;

	/* Hairlines on dark. Decorative only — never the sole indicator of a control. */
	--ofw-line: #2e2e2e;
	--ofw-line-2: #4a4a4a;
	/* Borders that outline an actual control need 3:1 against their ground. */
	--ofw-edge-dark: #7a7671;

	--ofw-orange: #fd8700;
	--ofw-orange-hover: #ffa338;
	/* Bright orange is a FILL, never text on light. This is the text-safe tone:
	   5.8:1 on concrete, 6.6:1 on white. */
	--ofw-orange-text: #8f4c00;
	--ofw-orange-deep: #3a2000;

	--ofw-concrete: #f2f0ed;
	--ofw-paper: #ffffff;
	--ofw-border: #dedad4;    /* decorative hairline between light surfaces */
	--ofw-border-2: #89837b;  /* outlines a real control — 3.3:1 on concrete */

	/* Text on dark grounds. Every step clears 6.8:1 on graphite. */
	--ofw-on-dark: #e4e1dd;   /* body copy            13.1:1 */
	--ofw-on-dark-2: #c6c2bd; /* links, secondary      9.6:1 */
	--ofw-on-dark-3: #a8a4a0; /* legal line only       6.9:1 */

	/* Text on light grounds. */
	--ofw-muted: #4f4c49;     /* 7.5:1 on concrete */
	--ofw-body: #32302e;      /* 12.2:1 on concrete */

	--ofw-display: "Archivo Black", "Arial Black", "Helvetica Neue", sans-serif;
	--ofw-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
	--ofw-sans: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

	--ofw-wrap: 1240px;
	--ofw-gut: clamp(20px, 5vw, 100px);
	--ofw-section-y: clamp(56px, 7vw, 96px);
	--ofw-radius: 2px;
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--ofw-paper);
	color: var(--ofw-body);
	font-family: var(--ofw-sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

a {
	color: var(--ofw-orange-text);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover,
a:focus {
	color: var(--ofw-ink);
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var(--ofw-display);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -0.015em;
	text-transform: uppercase;
	color: var(--ofw-ink);
}

p {
	margin: 0 0 1em;
}

p:last-child {
	margin-bottom: 0;
}

ul,
ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
}

:focus-visible {
	outline: 3px solid var(--ofw-orange);
	outline-offset: 3px;
}

.ofw-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--ofw-orange);
	color: var(--ofw-ink);
	font-family: var(--ofw-cond);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 14px 22px;
	text-decoration: none;
}

.ofw-skip:focus {
	left: 12px;
	top: 12px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ==========================================================================
   3. LAYOUT HELPERS
   ========================================================================== */

.ofw-wrap {
	width: 100%;
	max-width: var(--ofw-wrap);
	margin-inline: auto;
	padding-inline: var(--ofw-gut);
}

.ofw-section {
	padding-block: var(--ofw-section-y);
}

.ofw-section--light {
	background: var(--ofw-concrete);
}

.ofw-section--paper {
	background: var(--ofw-paper);
}

.ofw-section--graphite {
	background: var(--ofw-graphite);
}

.ofw-section--ink {
	background: var(--ofw-ink);
}

.ofw-section--graphite h1,
.ofw-section--graphite h2,
.ofw-section--graphite h3,
.ofw-section--ink h1,
.ofw-section--ink h2,
.ofw-section--ink h3 {
	color: var(--ofw-paper);
}

.ofw-section--graphite p,
.ofw-section--ink p {
	color: var(--ofw-on-dark);
}

/* ==========================================================================
   4. TYPE SCALE + SHARED BITS
   ========================================================================== */

.ofw-h1 {
	font-size: clamp(38px, 6.2vw, 82px);
	line-height: 0.97;
	letter-spacing: -0.02em;
}

.ofw-h2 {
	font-size: clamp(30px, 4vw, 54px);
	line-height: 1.01;
}

.ofw-h3 {
	font-size: clamp(24px, 2.6vw, 38px);
}

.ofw-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--ofw-cond);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ofw-orange-text);
	margin-bottom: 16px;
}

.ofw-eyebrow::before {
	content: "";
	width: 28px;
	height: 3px;
	background: var(--ofw-orange);
	flex: 0 0 auto;
}

.ofw-section--graphite .ofw-eyebrow,
.ofw-section--ink .ofw-eyebrow,
.ofw-hero .ofw-eyebrow {
	color: var(--ofw-orange);
}

.ofw-lede {
	font-size: clamp(17px, 1.4vw, 19px);
	line-height: 1.6;
	color: var(--ofw-muted);
}

.ofw-section--graphite .ofw-lede,
.ofw-section--ink .ofw-lede {
	color: var(--ofw-on-dark);
}

.ofw-hazard {
	height: 8px;
	width: 120px;
	background: repeating-linear-gradient(135deg, var(--ofw-orange) 0 12px, transparent 12px 24px);
	margin-bottom: 26px;
}

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */

.ofw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	padding: 16px 30px;
	border: 2px solid transparent;
	border-radius: var(--ofw-radius);
	font-family: var(--ofw-cond);
	font-size: clamp(18px, 1.6vw, 21px);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ofw-btn svg {
	flex: 0 0 auto;
}

.ofw-btn--primary {
	background: var(--ofw-orange);
	border-color: var(--ofw-orange);
	color: var(--ofw-ink);
}

.ofw-btn--primary:hover,
.ofw-btn--primary:focus {
	background: var(--ofw-orange-hover);
	border-color: var(--ofw-orange-hover);
	color: var(--ofw-ink);
}

.ofw-btn--ghost {
	background: transparent;
	border-color: var(--ofw-edge-dark);
	color: var(--ofw-paper);
}

.ofw-btn--ghost:hover,
.ofw-btn--ghost:focus {
	border-color: var(--ofw-orange);
	color: var(--ofw-orange);
}

.ofw-btn--outline {
	background: transparent;
	border-color: var(--ofw-ink);
	color: var(--ofw-ink);
}

.ofw-btn--outline:hover,
.ofw-btn--outline:focus {
	background: var(--ofw-ink);
	color: var(--ofw-paper);
}

.ofw-btn--dark {
	background: var(--ofw-ink);
	border-color: var(--ofw-ink);
	color: var(--ofw-paper);
}

.ofw-btn--dark:hover,
.ofw-btn--dark:focus {
	background: var(--ofw-graphite);
	color: var(--ofw-orange);
}

.ofw-btn--sm {
	min-height: 48px;
	padding: 13px 22px;
	font-size: 18px;
}

.ofw-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.ofw-link-arrow {
	font-family: var(--ofw-cond);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ofw-orange-text);
	text-decoration: none;
}

.ofw-link-arrow:hover {
	color: var(--ofw-ink);
	text-decoration: underline;
}

/* ==========================================================================
   6. TOP BAR
   ========================================================================== */

.ofw-topbar {
	background: var(--ofw-ink);
	border-bottom: 1px solid var(--ofw-line);
	font-family: var(--ofw-cond);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ofw-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 44px;
	padding-block: 8px;
}

.ofw-topbar__group {
	display: flex;
	align-items: center;
	gap: 22px;
	color: var(--ofw-on-dark);
}

.ofw-topbar a {
	color: var(--ofw-on-dark-2);
	text-decoration: none;
	font-family: var(--ofw-sans);
	font-size: 16px;
	letter-spacing: 0;
	text-transform: none;
}

.ofw-topbar a:hover {
	color: var(--ofw-orange);
}

.ofw-topbar__alert {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ofw-orange);
}

.ofw-topbar__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ofw-orange);
	flex: 0 0 auto;
}

.ofw-topbar__rule {
	width: 1px;
	height: 14px;
	background: var(--ofw-line-2);
}

@media (max-width: 900px) {
	.ofw-topbar {
		display: none;
	}
}

/* ==========================================================================
   7. HEADER / NAV
   ========================================================================== */

.ofw-header {
	background: var(--ofw-graphite);
	border-bottom: 1px solid var(--ofw-line);
	position: sticky;
	top: 0;
	z-index: 90;
}

.admin-bar .ofw-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .ofw-header {
		top: 46px;
	}
}

.ofw-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 88px;
	padding-block: 10px;
}

.ofw-logo {
	display: block;
	line-height: 0;
	flex: 0 0 auto;
}

.ofw-logo img {
	height: clamp(42px, 5vw, 58px);
	width: auto;
}

.ofw-logo__text {
	font-family: var(--ofw-display);
	font-size: 22px;
	color: var(--ofw-paper);
	text-decoration: none;
	text-transform: uppercase;
	line-height: 1.1;
}

.ofw-header__right {
	display: flex;
	align-items: center;
	gap: clamp(16px, 2.4vw, 36px);
}

.ofw-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: clamp(16px, 2vw, 30px);
}

.ofw-nav li {
	position: relative;
}

.ofw-nav a {
	display: block;
	padding: 12px 0;
	border-bottom: 3px solid transparent;
	font-family: var(--ofw-cond);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ofw-on-dark);
	text-decoration: none;
	white-space: nowrap;
}

.ofw-nav a:hover,
.ofw-nav a:focus,
.ofw-nav .current-menu-item > a,
.ofw-nav .current_page_item > a,
.ofw-nav .current-menu-ancestor > a,
.ofw-nav .current-page-ancestor > a {
	color: var(--ofw-paper);
	border-bottom-color: var(--ofw-orange);
}

/* Dropdowns */
.ofw-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: -18px;
	min-width: 250px;
	background: var(--ofw-ink);
	border: 1px solid var(--ofw-line-2);
	padding: 8px 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
	z-index: 20;
}

.ofw-nav li:hover > .sub-menu,
.ofw-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ofw-nav .sub-menu a {
	padding: 11px 18px;
	border-bottom: none;
	border-left: 3px solid transparent;
	font-size: 16px;
	letter-spacing: 0.06em;
	white-space: normal;
}

.ofw-nav .sub-menu a:hover,
.ofw-nav .sub-menu a:focus {
	border-bottom: none;
	border-left-color: var(--ofw-orange);
	background: var(--ofw-graphite);
}

.ofw-header__call {
	flex: 0 0 auto;
}

.ofw-burger {
	display: none;
	width: 48px;
	height: 48px;
	background: transparent;
	border: 1px solid var(--ofw-line-2);
	border-radius: var(--ofw-radius);
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex: 0 0 auto;
}

.ofw-header__callicon {
	display: none;
	width: 48px;
	height: 48px;
	background: var(--ofw-orange);
	border-radius: var(--ofw-radius);
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

@media (max-width: 1080px) {
	.ofw-nav,
	.ofw-header__call {
		display: none;
	}

	.ofw-burger,
	.ofw-header__callicon {
		display: flex;
	}

	.ofw-header__right {
		gap: 10px;
	}
}

/* Mobile drawer */
.ofw-mobilenav {
	display: none;
	background: var(--ofw-ink);
	border-bottom: 1px solid var(--ofw-line-2);
	padding: 12px var(--ofw-gut) 28px;
}

.ofw-mobilenav.is-open {
	display: block;
}

.ofw-mobilenav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ofw-mobilenav .sub-menu {
	padding-left: 16px;
	border-left: 2px solid var(--ofw-line-2);
	margin-left: 4px;
}

.ofw-mobilenav a {
	display: block;
	padding: 14px 0;
	border-bottom: 1px solid var(--ofw-line);
	font-family: var(--ofw-cond);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ofw-paper);
	text-decoration: none;
}

.ofw-mobilenav a:hover {
	color: var(--ofw-orange);
}

.ofw-mobilenav__cta {
	margin-top: 22px;
	display: grid;
	gap: 10px;
}

/* ==========================================================================
   8. HERO
   ========================================================================== */

.ofw-hero {
	position: relative;
	background: var(--ofw-ink);
	min-height: clamp(520px, 62vw, 680px);
	display: flex;
	align-items: center;
	overflow: hidden;
}

.ofw-hero__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 60% 62%;
}

.ofw-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(16, 16, 16, 0.96) 0%, rgba(16, 16, 16, 0.9) 42%, rgba(16, 16, 16, 0.3) 100%);
}

.ofw-hero__inner {
	position: relative;
	z-index: 2;
	padding-block: clamp(48px, 7vw, 80px);
	width: 100%;
}

.ofw-hero h1 {
	color: var(--ofw-paper);
	max-width: 14ch;
}

.ofw-hero p {
	color: var(--ofw-on-dark);
	max-width: 56ch;
	margin-top: 24px;
	font-size: clamp(17px, 1.5vw, 19px);
}

.ofw-hero__note {
	margin-top: 24px !important;
	font-size: 15px !important;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--ofw-on-dark-2) !important;
}

@media (max-width: 720px) {
	.ofw-hero__scrim {
		background: linear-gradient(180deg, rgba(16, 16, 16, 0.88) 0%, rgba(16, 16, 16, 0.94) 58%, rgba(16, 16, 16, 0.98) 100%);
	}

	.ofw-hero .ofw-btn {
		width: 100%;
	}
}

/* Interior page hero */
.ofw-pagehero {
	background: var(--ofw-graphite);
	position: relative;
	overflow: hidden;
}

.ofw-pagehero__inner {
	position: relative;
	z-index: 2;
	padding-block: clamp(48px, 6vw, 88px);
	max-width: 780px;
}

.ofw-pagehero h1 {
	color: var(--ofw-paper);
	font-size: clamp(34px, 5vw, 62px);
	line-height: 0.98;
}

.ofw-pagehero p {
	color: var(--ofw-on-dark);
	max-width: 56ch;
	margin-top: 20px;
	font-size: clamp(17px, 1.4vw, 19px);
}

.ofw-pagehero__media {
	position: absolute;
	inset: 0 0 0 auto;
	width: 46%;
	height: 100%;
	object-fit: cover;
}

.ofw-pagehero__media + .ofw-pagehero__fade {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--ofw-graphite) 0%, var(--ofw-graphite) 54%, rgba(28, 28, 28, 0) 82%);
	z-index: 1;
}

@media (max-width: 860px) {
	.ofw-pagehero__media {
		display: none;
	}

	.ofw-pagehero__media + .ofw-pagehero__fade {
		display: none;
	}
}

.ofw-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-family: var(--ofw-cond);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ofw-on-dark-2);
	margin-bottom: 18px;
}

.ofw-crumbs a {
	color: var(--ofw-on-dark-2);
	text-decoration: none;
}

.ofw-crumbs a:hover {
	color: var(--ofw-orange);
}

.ofw-crumbs__current {
	color: var(--ofw-orange);
}

/* ==========================================================================
   9. PROOF BAND
   ========================================================================== */

.ofw-proof {
	background: var(--ofw-orange);
}

.ofw-proof__inner {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	padding-block: 22px;
}

.ofw-proof__item {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
}

.ofw-proof__item + .ofw-proof__item {
	border-left: 1px solid rgba(16, 16, 16, 0.25);
	padding-left: 24px;
}

.ofw-proof__stat {
	font-family: var(--ofw-display);
	font-size: 30px;
	line-height: 1;
	color: var(--ofw-ink);
	flex: 0 0 auto;
}

.ofw-proof__label {
	font-family: var(--ofw-cond);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ofw-ink);
	line-height: 1.15;
}

@media (max-width: 900px) {
	.ofw-proof__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	.ofw-proof__item + .ofw-proof__item {
		border-left: none;
		padding-left: 0;
	}

	.ofw-proof__item:nth-child(n + 3) {
		border-top: 1px solid rgba(16, 16, 16, 0.25);
		padding-top: 16px;
	}

	.ofw-proof__label {
		font-size: 15px;
	}
}

/* ==========================================================================
   10. SECTION HEADS + CARDS
   ========================================================================== */

.ofw-sectionhead {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: 48px;
}

.ofw-sectionhead__text {
	max-width: 720px;
}

.ofw-sectionhead__aside {
	max-width: 380px;
	flex: 0 0 auto;
}

@media (max-width: 900px) {
	.ofw-sectionhead {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		margin-bottom: 34px;
	}
}

.ofw-grid {
	display: grid;
	gap: 28px;
}

.ofw-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ofw-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

@media (max-width: 1000px) {
	.ofw-grid--3,
	.ofw-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.ofw-grid--3,
	.ofw-grid--4 {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}
}

.ofw-card {
	display: flex;
	flex-direction: column;
	background: var(--ofw-paper);
	border: 1px solid var(--ofw-border);
	border-top: 4px solid var(--ofw-orange);
	padding: 34px 32px;
	text-decoration: none;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.ofw-card:hover,
.ofw-card:focus-within {
	border-color: var(--ofw-orange);
	border-top-color: var(--ofw-orange);
	transform: translateY(-2px);
}

.ofw-card h3 {
	font-size: 21px;
	line-height: 1.15;
	margin-top: 20px;
}

.ofw-card p {
	margin: 12px 0 20px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ofw-muted);
	flex: 1 1 auto;
}

.ofw-card--dark {
	background: var(--ofw-ink);
	border-color: var(--ofw-ink);
	border-top-color: var(--ofw-orange);
}

.ofw-card--dark h3 {
	color: var(--ofw-paper);
}

.ofw-card--dark p {
	color: var(--ofw-on-dark);
}

.ofw-card--dark {
	border-color: var(--ofw-ink);
}

.ofw-card--dark .ofw-link-arrow {
	color: var(--ofw-orange);
}

.ofw-card--dark .ofw-link-arrow:hover {
	color: var(--ofw-paper);
}

.ofw-card__thumb {
	margin: -34px -32px 0;
	height: 180px;
	object-fit: cover;
	width: calc(100% + 64px);
}

/* ==========================================================================
   11. SPLIT (WHY US)
   ========================================================================== */

.ofw-split {
	display: grid;
	grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.ofw-split--flip {
	grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
}

@media (max-width: 960px) {
	.ofw-split,
	.ofw-split--flip {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ofw-split__media {
	position: relative;
	align-self: stretch;
	min-height: 320px;
}

.ofw-split__media img {
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
}

.ofw-badge {
	position: absolute;
	left: -20px;
	bottom: 36px;
	background: var(--ofw-orange);
	padding: 20px 26px;
}

.ofw-badge__num {
	display: block;
	font-family: var(--ofw-display);
	font-size: 42px;
	line-height: 1;
	color: var(--ofw-ink);
}

.ofw-badge__label {
	display: block;
	margin-top: 2px;
	font-family: var(--ofw-cond);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ofw-ink);
}

@media (max-width: 640px) {
	.ofw-badge {
		left: 0;
		bottom: 0;
		padding: 14px 18px;
	}

	.ofw-badge__num {
		font-size: 30px;
	}

	.ofw-badge__label {
		font-size: 15px;
	}
}

.ofw-featurelist {
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin-top: 38px;
	list-style: none;
	padding: 0;
}

.ofw-featurelist li {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	border-top: 1px solid var(--ofw-line-2);
	padding-top: 22px;
}

.ofw-featurelist svg {
	flex: 0 0 auto;
	margin-top: 3px;
}

.ofw-featurelist h3 {
	font-family: var(--ofw-cond);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--ofw-ink);
	line-height: 1.2;
}

.ofw-featurelist p {
	margin: 6px 0 0;
	font-size: 17px;
	line-height: 1.65;
	color: var(--ofw-muted);
	max-width: 56ch;
}

.ofw-featurelist li {
	border-top-color: var(--ofw-border);
}

.ofw-section--graphite .ofw-featurelist li,
.ofw-section--ink .ofw-featurelist li {
	border-top-color: var(--ofw-line-2);
}

.ofw-section--graphite .ofw-featurelist h3,
.ofw-section--ink .ofw-featurelist h3 {
	color: var(--ofw-paper);
}

.ofw-section--graphite .ofw-featurelist p,
.ofw-section--ink .ofw-featurelist p {
	color: var(--ofw-on-dark);
}

/* ==========================================================================
   12. PROCESS STEPS
   ========================================================================== */

.ofw-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (max-width: 900px) {
	.ofw-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.ofw-steps {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ofw-steps li {
	border-top: 3px solid var(--ofw-ink);
	padding-top: 22px;
}

.ofw-steps li:last-child {
	border-top-color: var(--ofw-orange);
}

.ofw-steps__num {
	font-family: var(--ofw-display);
	font-size: 40px;
	line-height: 1;
	color: var(--ofw-orange-text);
}

.ofw-steps h3 {
	font-family: var(--ofw-cond);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin-top: 12px;
	line-height: 1.2;
}

.ofw-steps p {
	margin-top: 8px;
	font-size: 16px;
	color: var(--ofw-muted);
}

/* ==========================================================================
   13. SERVICE AREA
   ========================================================================== */

.ofw-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
	list-style: none;
	padding: 0;
}

.ofw-chips li {
	border: 1px solid var(--ofw-border-2);
	color: var(--ofw-body);
	font-family: var(--ofw-cond);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 9px 16px;
}

.ofw-chips li:last-child {
	border-color: var(--ofw-orange-text);
	color: var(--ofw-orange-text);
	font-weight: 700;
}

.ofw-section--graphite .ofw-chips li,
.ofw-section--ink .ofw-chips li {
	border-color: var(--ofw-edge-dark);
	color: var(--ofw-on-dark);
}

.ofw-section--graphite .ofw-chips li:last-child,
.ofw-section--ink .ofw-chips li:last-child {
	border-color: var(--ofw-orange);
	color: var(--ofw-orange);
}

.ofw-area__media {
	position: relative;
	align-self: stretch;
	min-height: 320px;
}

.ofw-area__media img {
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
}

/* No photo set: the bar still has to show, so it stops being an overlay. */
.ofw-area__media--bare {
	min-height: 0;
	align-self: start;
}

.ofw-area__media--bare .ofw-area__bar {
	position: static;
	background: var(--ofw-ink);
}

.ofw-area__bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(16, 16, 16, 0.94);
	padding: 18px 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-family: var(--ofw-cond);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ofw-paper);
}

.ofw-area__bar a {
	color: var(--ofw-orange);
	text-decoration: none;
}

/* ==========================================================================
   14. REVIEWS
   ========================================================================== */

.ofw-review {
	display: flex;
	flex-direction: column;
	background: var(--ofw-paper);
	border: 1px solid var(--ofw-border);
	padding: 32px;
}

.ofw-stars {
	display: flex;
	gap: 4px;
}

.ofw-review p {
	margin: 20px 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--ofw-body);
	flex: 1 1 auto;
}

.ofw-review__by {
	border-top: 1px solid var(--ofw-border);
	padding-top: 16px;
}

.ofw-review__name {
	font-family: var(--ofw-cond);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ofw-ink);
}

.ofw-review__meta {
	display: block;
	font-size: 15px;
	color: var(--ofw-muted);
}

/* ==========================================================================
   15. CONTACT + CALL PANEL
   ========================================================================== */

.ofw-contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

@media (max-width: 960px) {
	.ofw-contact {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* The block that replaces a contact form. Phone first, big, tappable. */
.ofw-callpanel {
	background: var(--ofw-paper);
	border: 1px solid var(--ofw-border);
	border-top: 5px solid var(--ofw-orange);
	padding: clamp(26px, 3vw, 40px);
}

.ofw-callpanel__cta {
	display: flex;
	align-items: center;
	gap: 18px;
	background: var(--ofw-orange);
	padding: 20px 24px;
	border-radius: var(--ofw-radius);
	text-decoration: none;
	min-height: 88px;
	transition: background-color 0.15s ease;
}

.ofw-callpanel__cta:hover,
.ofw-callpanel__cta:focus {
	background: var(--ofw-orange-hover);
}

.ofw-callpanel__icon {
	width: 52px;
	height: 52px;
	border: 2px solid rgba(16, 16, 16, 0.35);
	border-radius: var(--ofw-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.ofw-callpanel__label {
	display: block;
	font-family: var(--ofw-cond);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ofw-orange-deep);
}

.ofw-callpanel__num {
	display: block;
	font-family: var(--ofw-display);
	font-size: clamp(28px, 3.4vw, 40px);
	line-height: 1.1;
	color: var(--ofw-ink);
	letter-spacing: -0.01em;
}

.ofw-callpanel__hours {
	margin: 18px 0 0;
	font-family: var(--ofw-cond);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ofw-body);
}

.ofw-callpanel__sep {
	color: var(--ofw-muted);
	margin-inline: 6px;
}

.ofw-callpanel__alert {
	color: var(--ofw-orange-text);
	font-weight: 700;
}

.ofw-callpanel__ready {
	margin-top: 26px;
	border-top: 1px solid var(--ofw-border);
	padding-top: 24px;
}

.ofw-callpanel__ready h3 {
	font-family: var(--ofw-cond);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--ofw-ink);
	margin-bottom: 16px;
}

.ofw-callpanel__foot {
	margin: 24px 0 0;
	border-top: 1px solid var(--ofw-border);
	padding-top: 18px;
	font-size: 16px;
	line-height: 1.65;
	color: var(--ofw-muted);
}

.ofw-callpanel__foot a {
	color: var(--ofw-orange-text);
}

/* ==========================================================================
   16. FOOTER + STICKY BAR
   ========================================================================== */

.ofw-footer {
	background: var(--ofw-ink);
	border-top: 1px solid var(--ofw-line);
	padding-top: 56px;
	color: var(--ofw-on-dark);
}

.ofw-footer__cols {
	display: grid;
	grid-template-columns: minmax(0, 340px) repeat(2, minmax(0, auto)) minmax(0, 300px);
	gap: 40px 60px;
	justify-content: space-between;
}

@media (max-width: 1000px) {
	.ofw-footer__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.ofw-footer__cols {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}
}

.ofw-footer h4 {
	font-family: var(--ofw-cond);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.16em;
	color: var(--ofw-paper);
	margin-bottom: 16px;
}

.ofw-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ofw-footer a {
	color: var(--ofw-on-dark-2);
	text-decoration: none;
	font-size: 17px;
}

.ofw-footer a:hover,
.ofw-footer a:focus {
	color: var(--ofw-orange);
	text-decoration: underline;
}

.ofw-footer p {
	color: var(--ofw-on-dark);
}

.ofw-footer__phone {
	display: block;
	font-family: var(--ofw-display);
	font-size: 27px;
	line-height: 1.2;
	color: var(--ofw-orange) !important;
}

.ofw-footer__social {
	display: flex;
	gap: 12px;
	margin-top: 18px;
}

.ofw-footer__social a {
	width: 44px;
	height: 44px;
	border: 1px solid var(--ofw-edge-dark);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ofw-footer__social a:hover {
	border-color: var(--ofw-orange);
}

.ofw-footer__legal {
	border-top: 1px solid var(--ofw-line);
	margin-top: 34px;
	padding-block: 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 15px;
	color: var(--ofw-on-dark-3);
}

.ofw-footer__legal ul {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 18px;
}

.ofw-footer__legal a {
	font-size: 15px;
	color: var(--ofw-on-dark-2);
}

.ofw-stickybar {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 95;
	background: var(--ofw-graphite);
	border-top: 1px solid var(--ofw-line-2);
	padding: 12px 14px;
	gap: 10px;
}

/* One job on mobile: call. Full-width tap target, nothing competing. */
.ofw-stickybar .ofw-btn {
	flex: 1 1 auto;
	min-height: 54px;
	padding: 14px 10px;
	font-size: 20px;
}

@media (max-width: 860px) {
	.ofw-stickybar {
		display: flex;
	}

	body {
		padding-bottom: 82px;
	}
}

/* ==========================================================================
   17. EDITOR CONTENT (ofw-prose)
   ========================================================================== */

.ofw-prose {
	font-size: 17px;
	line-height: 1.75;
	color: var(--ofw-body);
}

.ofw-prose > * + * {
	margin-top: 1.1em;
}

.ofw-prose h2 {
	font-size: clamp(26px, 3vw, 40px);
	margin-top: 1.6em;
}

.ofw-prose h3 {
	font-family: var(--ofw-cond);
	font-size: clamp(22px, 2.2vw, 28px);
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-top: 1.5em;
}

.ofw-prose h4 {
	font-family: var(--ofw-cond);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin-top: 1.4em;
}

.ofw-prose ul,
.ofw-prose ol {
	padding-left: 1.3em;
}

.ofw-prose li + li {
	margin-top: 0.5em;
}

.ofw-prose blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 24px;
	border-left: 4px solid var(--ofw-orange);
	font-size: 19px;
	color: var(--ofw-ink);
}

.ofw-prose img {
	margin-block: 1.4em;
}

.ofw-prose a {
	color: var(--ofw-orange-text);
}

.ofw-prose table {
	width: 100%;
	border-collapse: collapse;
}

.ofw-prose th,
.ofw-prose td {
	border: 1px solid var(--ofw-border);
	padding: 12px 14px;
	text-align: left;
}

.ofw-prose th {
	background: var(--ofw-concrete);
	font-family: var(--ofw-cond);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Checklist block used on service pages */
.ofw-checklist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ofw-checklist li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 17px;
	line-height: 1.55;
	color: var(--ofw-body);
}

.ofw-section--graphite .ofw-checklist li,
.ofw-section--ink .ofw-checklist li {
	color: var(--ofw-on-dark);
}

.ofw-checklist svg {
	flex: 0 0 auto;
	margin-top: 2px;
}

/* ==========================================================================
   18. FAQ
   ========================================================================== */

.ofw-faq {
	border-top: 1px solid var(--ofw-border);
}

.ofw-faq details {
	border-bottom: 1px solid var(--ofw-border);
}

.ofw-faq summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 0;
	font-family: var(--ofw-cond);
	font-size: clamp(20px, 2vw, 23px);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ofw-ink);
}

.ofw-faq summary::-webkit-details-marker {
	display: none;
}

.ofw-faq summary::after {
	content: "+";
	font-family: var(--ofw-display);
	font-size: 26px;
	color: var(--ofw-orange-text);
	flex: 0 0 auto;
	line-height: 1;
}

.ofw-faq details[open] summary::after {
	content: "\2013";
}

.ofw-faq__body {
	padding-bottom: 22px;
	max-width: 76ch;
	font-size: 16px;
	line-height: 1.65;
	color: var(--ofw-body);
}

/* ==========================================================================
   19. CTA BAND
   ========================================================================== */

.ofw-ctaband {
	background: var(--ofw-orange);
}

.ofw-ctaband__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: clamp(36px, 4vw, 56px);
}

.ofw-ctaband h2 {
	font-size: clamp(26px, 3.2vw, 40px);
	color: var(--ofw-ink);
}

.ofw-ctaband p {
	margin: 10px 0 0;
	font-size: 18px;
	font-weight: 500;
	color: var(--ofw-orange-deep);
}

/* ==========================================================================
   20. BLOG / ARCHIVE / MISC
   ========================================================================== */

.ofw-postgrid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

@media (max-width: 1000px) {
	.ofw-postgrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.ofw-postgrid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ofw-post {
	background: var(--ofw-paper);
	border: 1px solid var(--ofw-border);
	display: flex;
	flex-direction: column;
}

.ofw-post img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.ofw-post__body {
	padding: 26px;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.ofw-post h2,
.ofw-post h3 {
	font-size: 21px;
	line-height: 1.2;
}

.ofw-post__date {
	font-family: var(--ofw-cond);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ofw-muted);
	margin-bottom: 10px;
}

.ofw-post p {
	margin: 12px 0 18px;
	font-size: 16px;
	color: var(--ofw-muted);
	flex: 1 1 auto;
}

.ofw-single {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	max-width: 780px;
	margin-inline: auto;
}

.ofw-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 44px;
}

.ofw-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid var(--ofw-border-2);
	font-family: var(--ofw-cond);
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--ofw-ink);
	text-decoration: none;
}

.ofw-pagination .page-numbers.current,
.ofw-pagination .page-numbers:hover {
	background: var(--ofw-ink);
	border-color: var(--ofw-ink);
	color: var(--ofw-paper);
}

.ofw-searchform {
	display: flex;
	gap: 10px;
	max-width: 520px;
}

.ofw-searchform input[type="search"] {
	flex: 1 1 auto;
	min-height: 52px;
	border: 1px solid var(--ofw-border-2);
	padding: 12px 14px;
	font-family: var(--ofw-sans);
	font-size: 16px;
}

.ofw-404 {
	text-align: center;
	padding-block: clamp(60px, 10vw, 140px);
}

.ofw-404 h1 {
	font-size: clamp(60px, 12vw, 140px);
	color: var(--ofw-orange);
}

/* Utility */
.ofw-mt-0 {
	margin-top: 0;
}

.ofw-center {
	text-align: center;
}

.alignwide {
	max-width: 1100px;
	margin-inline: auto;
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
}

.wp-caption-text,
figcaption {
	font-size: 15px;
	color: var(--ofw-muted);
	margin-top: 8px;
}

@media print {
	.ofw-header,
	.ofw-topbar,
	.ofw-stickybar,
	.ofw-footer {
		display: none !important;
	}
}
