/*
Theme Name: H-WELD
Theme URI: https://www.instagram.com/h_weld_/
Author: H-WELD
Author URI: https://www.instagram.com/h_weld_/
Description: Ciemny, lekki motyw one-page H-WELD z pełną edycją w Gutenberg i Site Editor.
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.0
Version: 2.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: h-weld
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, featured-images, wide-blocks
*/

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00ff, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02ba, U+02bd-02c5, U+02c7-02cc, U+02ce-02d7, U+02dd-02ff, U+0304, U+0308, U+0329, U+1d00-1dbf, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20c0, U+2113, U+2c60-2c7f, U+a720-a7ff;
}

@font-face {
	font-family: "Barlow Condensed";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("assets/fonts/barlow-condensed-800-latin.woff2") format("woff2");
	unicode-range: U+0000-00ff, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304, U+0308, U+0329, U+2000-206f, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd;
}

@font-face {
	font-family: "Barlow Condensed";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("assets/fonts/barlow-condensed-800-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02ba, U+02bd-02c5, U+02c7-02cc, U+02ce-02d7, U+02dd-02ff, U+0304, U+0308, U+0329, U+1d00-1dbf, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20c0, U+2113, U+2c60-2c7f, U+a720-a7ff;
}

:root {
	--hw-black: #07090b;
	--hw-surface: #111418;
	--hw-surface-2: #171b20;
	--hw-text: #f5f3ee;
	--hw-muted: #a1a8ae;
	--hw-orange: #ff5a1f;
	--hw-orange-dark: #d94713;
	--hw-border: rgba(255, 255, 255, 0.12);
	--hw-border-strong: rgba(255, 255, 255, 0.2);
	--hw-radius: 16px;
	--hw-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
	--hw-gutter: clamp(24px, 4vw, 48px);
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 86px;
}

body {
	margin: 0;
	min-width: 320px;
	overflow-x: hidden;
	background: var(--hw-black);
	color: var(--hw-text);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
}

body.hwq-modal-open,
body.has-modal-open {
	overflow: hidden;
}

img,
svg,
video {
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	color: var(--hw-text);
	font-family: "Barlow Condensed", Impact, sans-serif;
	font-weight: 800;
	letter-spacing: -0.025em;
}

p {
	margin-top: 0;
}

.hw-main {
	overflow: clip;
}

.hw-container {
	width: min(1320px, calc(100% - (2 * var(--hw-gutter))));
	margin-right: auto !important;
	margin-left: auto !important;
}

.hw-legal-content,
.hw-section.hw-container {
	min-height: calc(100vh - 162px);
	padding-top: clamp(64px, 8vw, 110px);
	padding-bottom: clamp(64px, 8vw, 110px);
}

.hw-legal-content > h1,
.hw-section-title {
	margin-bottom: 36px;
	font-size: clamp(3rem, 7vw, 5.5rem);
}

.hw-legal-content > .wp-block-post-content {
	color: var(--hw-muted);
}

.hw-legal-content > .wp-block-post-content h2,
.hw-legal-content > .wp-block-post-content h3 {
	margin-top: 1.6em;
	color: var(--hw-text);
}

.hw-site-header,
.hw-site-footer,
.hw-hero,
.hw-module {
	padding-right: var(--hw-gutter);
	padding-left: var(--hw-gutter);
}

.hw-site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	height: 72px;
	border-bottom: 1px solid transparent;
	background: rgba(7, 9, 11, 0.88);
	backdrop-filter: blur(18px);
	transition: border-color 180ms ease, background 180ms ease;
}

.hw-site-header.is-scrolled {
	border-color: var(--hw-border);
	background: rgba(7, 9, 11, 0.96);
}

.hw-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(1320px, 100%);
	height: 72px;
	margin: 0 auto !important;
	gap: 28px;
}

.hw-brand {
	margin: 0;
	font-family: "Barlow Condensed", Impact, sans-serif;
	font-size: 1.7rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1;
	white-space: nowrap;
}

.hw-brand a {
	text-decoration: none;
}

.hw-brand span {
	color: var(--hw-orange);
}

.hw-main-nav {
	margin-left: auto;
}

.hw-main-nav .wp-block-navigation__responsive-container-open {
	display: none;
}

.hw-main-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-close {
	display: none;
}

.hw-main-nav .wp-block-navigation__responsive-container:not(.is-menu-open),
.hw-main-nav .wp-block-navigation__responsive-container-content,
.hw-main-nav .wp-block-navigation__container {
	display: flex;
	align-items: center;
}

.hw-main-nav .wp-block-navigation__container {
	margin: 0;
	padding: 0;
	gap: 28px;
	list-style: none;
}

.hw-main-nav a {
	color: var(--hw-muted);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: color 160ms ease;
}

.hw-main-nav a:hover,
.hw-main-nav a:focus-visible {
	color: var(--hw-text);
}

.hw-header-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.wp-block-buttons,
.hw-hero-actions,
.hw-proof-list,
.hw-section-head,
.hw-footer-inner,
.hw-footer-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.hw-section-head,
.hw-footer-inner {
	justify-content: space-between;
}

.hw-header-phone {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 700;
	white-space: nowrap;
}

.hw-header-phone a {
	text-decoration: none;
}

.wp-block-button__link,
.hwq__button {
	min-height: 48px;
	padding: 13px 22px;
	border: 1px solid transparent;
	border-radius: 14px;
	font-family: "Inter", sans-serif;
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none;
	transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.hw-button-primary .wp-block-button__link {
	background: var(--hw-orange);
	color: #fff;
	box-shadow: 0 10px 28px rgba(255, 90, 31, 0.18);
}

.hw-button-primary .wp-block-button__link:hover {
	background: var(--hw-orange-dark);
	transform: translateY(-2px);
}

.hw-button-secondary .wp-block-button__link {
	border-color: var(--hw-border-strong) !important;
	background: transparent !important;
	color: var(--hw-text) !important;
}

.hw-button-secondary .wp-block-button__link:hover {
	border-color: rgba(255, 255, 255, 0.4) !important;
	background: rgba(255, 255, 255, 0.05) !important;
}

.hw-header-quote .wp-block-button__link {
	min-height: 42px;
	padding: 11px 18px;
}

.hw-hero {
	padding-top: clamp(42px, 6vw, 78px);
	padding-bottom: clamp(64px, 7vw, 96px);
	background:
		radial-gradient(circle at 12% 15%, rgba(255, 90, 31, 0.08), transparent 24rem),
		var(--hw-black);
}

.hw-hero-grid,
.hw-services-grid,
.hw-about-process,
.hw-contact-faq {
	width: min(1320px, 100%) !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

.hw-hero-grid {
	display: grid !important;
	grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr) !important;
	align-items: center;
	gap: clamp(40px, 6vw, 88px);
}

.hw-hero-content {
	max-width: 680px;
	margin: 0 !important;
}

.hw-eyebrow {
	margin-bottom: 16px;
	color: var(--hw-orange);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.2;
	text-transform: uppercase;
}

.hw-hero-title {
	max-width: 760px;
	margin-bottom: 26px;
	font-size: clamp(3.8rem, 6.6vw, 7.2rem);
	line-height: 0.88;
}

.hw-hero-lead {
	max-width: 610px;
	margin-bottom: 32px;
	color: var(--hw-muted);
	font-size: clamp(1.02rem, 1.4vw, 1.2rem);
	line-height: 1.7;
}

.hw-hero-actions {
	display: flex;
	gap: 12px;
	margin-bottom: 34px;
}

.hw-proof-list {
	display: flex;
	gap: 8px 26px;
}

.hw-proof-list p {
	margin: 0;
	color: var(--hw-muted);
	font-size: 0.82rem;
	font-weight: 600;
}

.hw-proof-list span {
	margin-right: 6px;
	color: var(--hw-text);
	font-family: "Barlow Condensed", sans-serif;
	font-weight: 800;
}

.hw-hero-cover {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(480px, 48vw, 620px) !important;
	overflow: hidden;
	border: 1px solid var(--hw-border);
	border-radius: 18px;
	background:
		linear-gradient(145deg, transparent 0 42%, rgba(255, 255, 255, 0.06) 42.2% 42.8%, transparent 43% 100%),
		radial-gradient(circle at 74% 18%, rgba(255, 255, 255, 0.14), transparent 25%),
		linear-gradient(145deg, #1d2228, #0e1115 64%);
	box-shadow: var(--hw-shadow);
}

.hw-hero-cover::after {
	position: absolute;
	right: -10%;
	bottom: 14%;
	width: 78%;
	height: 30%;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 100% 0 0 0;
	content: "";
	transform: rotate(-8deg);
}

.hw-hero-cover .wp-block-cover__inner-container {
	z-index: 2;
	align-self: flex-end;
	width: 100%;
	padding: 24px;
}

.hw-cover-caption {
	max-width: 390px;
	margin: 0 !important;
	padding: 24px;
	border: 1px solid var(--hw-border);
	border-radius: 14px;
	background: rgba(7, 9, 11, 0.78);
	backdrop-filter: blur(14px);
}

.hw-cover-title {
	margin-bottom: 10px;
	color: var(--hw-text) !important;
	font-family: "Barlow Condensed", Impact, sans-serif;
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1;
}

.hw-cover-caption p:last-child {
	margin-bottom: 0;
	color: var(--hw-muted);
	font-size: 0.84rem;
}

.hw-cover-label {
	margin-bottom: 12px !important;
	color: var(--hw-orange) !important;
	font-size: 0.7rem !important;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hw-module {
	padding-top: clamp(70px, 8vw, 112px);
	padding-bottom: clamp(70px, 8vw, 112px);
	border-top: 1px solid var(--hw-border);
}

.hw-offer,
.hw-about {
	background: var(--hw-surface);
}

.hw-projects,
.hw-contact {
	background: var(--hw-black);
}

.hw-section-head {
	width: min(1320px, 100%) !important;
	margin: 0 auto 42px !important;
	gap: 30px;
}

.hw-section-head > .wp-block-group {
	max-width: 740px;
	margin: 0 !important;
}

.hw-section-head h2,
.hw-about h2,
.hw-contact h2 {
	margin-bottom: 0;
	font-size: clamp(2.7rem, 5vw, 5rem);
	line-height: 0.94;
}

.hw-section-intro {
	max-width: 430px;
	margin: auto 0 4px auto;
	color: var(--hw-muted);
	line-height: 1.7;
}

.hw-services-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 14px;
}

.hw-service-card,
.hw-process-step {
	position: relative;
	margin: 0 !important;
	border: 1px solid var(--hw-border);
	background: var(--hw-surface-2);
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hw-service-card {
	min-height: 235px;
	padding: 26px;
	border-radius: var(--hw-radius);
}

.hw-service-card:hover {
	border-color: var(--hw-border-strong);
	background: #1a1f25;
	transform: translateY(-4px);
}

.hw-card-index {
	margin-bottom: 28px;
	color: var(--hw-orange);
	font-family: "Barlow Condensed", sans-serif;
	font-size: 0.86rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.hw-service-card h3,
.hw-process-step h3 {
	margin-bottom: 10px;
	font-size: clamp(1.55rem, 2.4vw, 2.05rem);
	line-height: 1;
}

.hw-service-card > p:not(.hw-card-index, .hw-card-tags),
.hw-process-step > p:last-child {
	color: var(--hw-muted);
	font-size: 0.9rem;
	line-height: 1.55;
}

.hw-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 22px 0 0;
}

.hw-card-tags span {
	padding: 5px 9px;
	border: 1px solid var(--hw-border);
	border-radius: 999px;
	color: #c4c9cd;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.hw-section-link {
	margin: auto 0 4px auto;
	font-size: 0.88rem;
	font-weight: 700;
}

.hw-section-link a {
	text-decoration: none;
}

.hw-project-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	width: min(1320px, 100%) !important;
	margin: 0 auto !important;
}

.hw-project-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	border: 1px solid var(--hw-border);
	border-radius: var(--hw-radius);
	background-color: var(--hw-surface);
	transition: transform 220ms ease, border-color 220ms ease;
}

.hw-project-card--wide {
	grid-column: span 2;
}

.hw-project-card--one {
	background:
		linear-gradient(115deg, transparent 0 36%, rgba(245, 243, 238, 0.13) 36.2% 37%, transparent 37.2%),
		linear-gradient(28deg, #0d1013, #242a30);
}

.hw-project-card--two {
	background:
		repeating-linear-gradient(90deg, transparent 0 34px, rgba(245, 243, 238, 0.1) 35px 37px),
		linear-gradient(145deg, #20262c, #0d1013);
}

.hw-project-card--three {
	background:
		repeating-linear-gradient(155deg, transparent 0 43px, rgba(245, 243, 238, 0.11) 44px 47px),
		#11161a;
}

.hw-project-card--four {
	background:
		radial-gradient(circle at 72% 32%, rgba(255, 90, 31, 0.18), transparent 12rem),
		linear-gradient(150deg, #22282e, #0c0f12);
}

.hw-project-card::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 35%, rgba(7, 9, 11, 0.88) 100%);
	content: "";
	pointer-events: none;
}

.hw-project-card:hover {
	border-color: var(--hw-border-strong);
	transform: translateY(-4px);
}

.hw-project-card .wp-block-cover__inner-container {
	z-index: 2;
	align-self: flex-end;
	width: 100%;
	padding: 26px;
}

.hw-project-caption {
	margin: 0 !important;
}

.hw-project-caption p {
	margin-bottom: 6px;
	color: var(--hw-orange);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hw-project-caption h3 {
	max-width: 440px;
	margin: 0;
	font-size: clamp(1.8rem, 3.2vw, 3rem);
	line-height: 0.98;
}

.hw-about-process {
	display: grid !important;
	grid-template-columns: minmax(0, 0.85fr) minmax(500px, 1.15fr) !important;
	align-items: start;
	gap: clamp(46px, 8vw, 120px);
}

.hw-about-copy {
	max-width: 560px;
	margin: 0 !important;
}

.hw-about-copy h2 {
	margin-bottom: 28px;
}

.hw-about-lead {
	color: var(--hw-text) !important;
	font-size: 1.16rem;
	line-height: 1.65;
}

.hw-about-copy p:last-child {
	color: var(--hw-muted);
	line-height: 1.7;
}

.hw-process-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 14px;
}

.hw-process-step {
	min-height: 210px;
	padding: 26px;
	border-radius: var(--hw-radius);
}

.hw-process-step:nth-child(2),
.hw-process-step:nth-child(3) {
	background: #0f1215;
}

.hw-contact-faq {
	display: grid !important;
	grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr) !important;
	align-items: start;
	gap: clamp(40px, 7vw, 104px);
}

.hw-faq {
	margin: 0 !important;
}

.hw-faq h2 {
	margin-bottom: 34px;
}

.hw-faq-item {
	margin: 0 !important;
	padding: 20px 0;
	border-top: 1px solid var(--hw-border);
}

.hw-faq-item:last-child {
	border-bottom: 1px solid var(--hw-border);
}

.hw-faq-item summary {
	display: flex;
	align-items: center;
	min-height: 48px;
	cursor: pointer;
	font-weight: 700;
	list-style-position: outside;
}

.hw-faq-item p {
	padding: 14px 0 0 20px;
	color: var(--hw-muted);
	font-size: 0.92rem;
	line-height: 1.65;
}

.hw-contact-card {
	margin: 0 !important;
	padding: clamp(28px, 5vw, 54px);
	border: 1px solid var(--hw-border);
	border-radius: 18px;
	background: var(--hw-surface);
	box-shadow: var(--hw-shadow);
}

.hw-contact-card h2 {
	margin-bottom: 24px;
}

.hw-contact-note {
	max-width: 620px;
	color: var(--hw-muted);
	line-height: 1.7;
}

.hw-contact-links {
	margin: 30px 0 !important;
	border-top: 1px solid var(--hw-border);
}

.hw-contact-links p {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin: 0;
	padding: 15px 0;
	border-bottom: 1px solid var(--hw-border);
}

.hw-contact-links span {
	color: var(--hw-muted);
	font-size: 0.78rem;
}

.hw-contact-links a {
	font-weight: 700;
	text-align: right;
	text-decoration: none;
}

.hw-contact-quote,
.hw-contact-quote .wp-block-button__link {
	width: 100%;
}

.hw-contact-quote .wp-block-button__link {
	text-align: center;
}

.hw-site-footer {
	border-top: 1px solid var(--hw-border);
	background: var(--hw-black);
}

.hw-footer-inner {
	width: min(1320px, 100%);
	min-height: 90px;
	margin: 0 auto !important;
	gap: 20px;
}

.hw-footer-copy,
.hw-footer-links p {
	margin: 0;
	color: var(--hw-muted);
	font-size: 0.78rem;
}

.hw-footer-links {
	gap: 20px;
}

.hw-footer-links a {
	text-decoration: none;
}

.hw-motion-ready .hw-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 600ms ease, transform 600ms ease;
}

.hw-motion-ready .hw-reveal.is-visible {
	opacity: 1;
	transform: none;
}

.editor-styles-wrapper .hw-reveal {
	opacity: 1 !important;
	transform: none !important;
}

@media (max-width: 1120px) {
	.hw-main-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}

	.hw-main-nav .wp-block-navigation__responsive-container-open {
		display: grid !important;
		place-items: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 1px solid var(--hw-border);
		border-radius: 12px;
		background: var(--hw-surface);
		color: var(--hw-text);
		cursor: pointer;
	}

	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 1px solid var(--hw-border);
		border-radius: 12px;
		background: var(--hw-surface);
		color: var(--hw-text);
		cursor: pointer;
	}

	.wp-block-navigation__responsive-container.is-menu-open {
		position: fixed;
		z-index: 100000;
		inset: 0;
		display: flex !important;
		width: 100%;
		height: 100dvh;
		overflow: auto;
		padding: 24px var(--hw-gutter);
		background: var(--hw-black) !important;
		color: var(--hw-text) !important;
	}

	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close,
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog,
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		width: 100%;
	}

	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
		position: absolute;
		top: 16px;
		right: var(--hw-gutter);
	}

	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		display: flex;
		align-items: stretch;
		padding-top: 76px;
	}

	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		display: flex;
		align-items: stretch;
		width: 100%;
		margin: 0;
		padding: 0;
		gap: 0 !important;
		list-style: none;
		flex-direction: column;
	}

	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container a {
		display: flex;
		align-items: center;
		min-height: 68px;
		border-bottom: 1px solid var(--hw-border);
		color: var(--hw-text);
		font-family: "Barlow Condensed", sans-serif;
		font-size: 2.2rem;
		font-weight: 800;
	}

	.hw-hero-grid {
		grid-template-columns: minmax(0, 1fr) minmax(380px, 0.85fr) !important;
		gap: 42px;
	}

	.hw-services-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.hw-about-process,
	.hw-contact-faq {
		grid-template-columns: minmax(0, 1fr) minmax(430px, 1fr) !important;
		gap: 44px;
	}
}

@media (max-width: 860px) {
	.hw-header-inner {
		gap: 14px;
	}

	.hw-header-phone {
		display: none;
	}

	.hw-main-nav {
		order: 3;
		margin-left: 0;
	}

	.hw-header-actions {
		margin-left: auto;
	}

	.hw-hero-grid,
	.hw-about-process,
	.hw-contact-faq {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.hw-hero-content,
	.hw-about-copy {
		max-width: 700px;
	}

	.hw-hero-cover {
		min-height: 460px !important;
	}

	.hw-project-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hw-project-card--wide {
		grid-column: span 1;
	}

	.hw-project-card {
		min-height: 340px !important;
	}

	.hw-contact-faq {
		gap: 64px;
	}
}

@media (max-width: 620px) {
	:root {
		--hw-gutter: 18px;
	}

	html {
		scroll-padding-top: 76px;
	}

	.hw-site-header,
	.hw-header-inner {
		height: 66px;
	}

	.hw-brand {
		font-size: 1.45rem;
	}

	.hw-brand a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}

	.hw-header-actions {
		margin-left: auto;
	}

	.hw-header-quote .wp-block-button__link {
		min-height: 44px;
		padding: 10px 13px;
		border-radius: 11px;
		font-size: 0.8rem;
	}

	.hw-hero {
		padding-top: 34px;
		padding-bottom: 54px;
	}

	.hw-hero-grid {
		gap: 28px;
	}

	.hw-hero-title {
		margin-bottom: 20px;
		font-size: clamp(3.05rem, 15vw, 4.4rem);
	}

	.hw-hero-lead {
		margin-bottom: 25px;
		font-size: 0.96rem;
		line-height: 1.58;
	}

	.hw-hero-actions .wp-block-button,
	.hw-hero-actions .wp-block-button__link {
		width: 100%;
		text-align: center;
	}

	.hw-proof-list {
		justify-content: space-between;
		width: 100%;
		gap: 8px 16px;
	}

	.hw-hero-cover {
		min-height: 280px !important;
		border-radius: 16px;
	}

	.hw-hero-cover .wp-block-cover__inner-container {
		padding: 14px;
	}

	.hw-cover-caption {
		max-width: 100%;
		padding: 16px;
	}

	.hw-cover-title {
		font-size: 1.65rem;
	}

	.hw-module {
		padding-top: 56px;
		padding-bottom: 56px;
	}

	.hw-section-head {
		margin-bottom: 30px !important;
	}

	.hw-section-head h2,
	.hw-about h2,
	.hw-contact h2 {
		font-size: clamp(2.35rem, 11.5vw, 3.35rem);
	}

	.hw-section-intro,
	.hw-section-link {
		margin-left: 0;
	}

	.hw-services-grid,
	.hw-process-grid,
	.hw-project-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.hw-service-card {
		display: flex;
		min-height: 172px;
		padding: 18px;
		flex-direction: column;
	}

	.hw-service-card h3 {
		margin-bottom: 0;
		font-size: 1.4rem;
	}

	.hw-service-card > p:not(.hw-card-index, .hw-card-tags) {
		display: none;
	}

	.hw-card-tags {
		gap: 4px;
		margin-top: auto;
		padding-top: 14px;
	}

	.hw-card-tags span:nth-child(n + 3) {
		display: none;
	}

	.hw-card-tags span {
		padding: 4px 6px;
		font-size: 0.61rem;
	}

	.hw-process-step {
		min-height: 168px;
		padding: 18px;
	}

	.hw-process-step h3 {
		font-size: 1.5rem;
	}

	.hw-process-step > p:last-child {
		font-size: 0.76rem;
	}

	.hw-card-index {
		margin-bottom: 16px;
	}

	.hw-project-card {
		min-height: 220px !important;
	}

	.hw-project-card--wide {
		grid-column: span 2;
		min-height: 260px !important;
	}

	.hw-project-card .wp-block-cover__inner-container {
		padding: 18px;
	}

	.hw-project-caption h3 {
		font-size: 1.65rem;
	}

	.hw-contact-card {
		padding: 24px;
	}

	.hw-contact-links p {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}

	.hw-contact-links a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		max-width: 100%;
		font-size: 0.92rem;
		text-align: left;
		overflow-wrap: anywhere;
	}

	.hw-footer-inner {
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		padding: 22px 0;
	}

	.hw-footer-links a,
	.hw-section-link a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}

	.hw-site-header,
	.hw-cover-caption {
		backdrop-filter: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	.hw-motion-ready .hw-reveal {
		opacity: 1;
		transform: none;
	}
}
