/* ==========================================================================
   Waterjet Natural Cutting, Inc. — site stylesheet
   ========================================================================== */

:root {
	--blue: #0f63a8;
	--blue-dark: #0b4c82;
	--blue-band: rgba(22, 74, 135, 0.88);
	--slate: #2b323a;
	--ink: #212226;
	--orange: #f7a531;
	--orange-dark: #e08f17;
	--text: #3a3f45;
	--muted: #6b7178;
	--light: #f1f2f4;
	--line: #dde1e6;
	--white: #ffffff;
	--font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
	--font-label: "Raleway", "Montserrat", Arial, sans-serif;
	--container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4, h5 {
	font-family: var(--font-head);
	color: var(--blue);
	line-height: 1.15;
	margin: 0 0 0.6em;
}

p { margin: 0 0 1.1em; }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.sr-only {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	z-index: 100;
	background: var(--blue);
	color: var(--white);
	padding: 10px 16px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* --- Buttons --- */

.btn {
	display: inline-block;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--white);
	background: var(--blue);
	border: 0;
	padding: 14px 24px;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn:hover, .btn:focus { background: var(--blue-dark); color: var(--white); }
.btn-orange { background: var(--orange); }
.btn-orange:hover, .btn-orange:focus { background: var(--orange-dark); }
.btn-pill { border-radius: 40px; padding: 15px 32px; font-size: 17px; }
.btn-light { background: #e4e7eb; color: var(--text); }
.btn-light:hover, .btn-light:focus { background: #d3d7dc; color: var(--text); }

/* --- Section headings (orange underline) --- */

.kicker {
	display: inline-block;
	font-family: var(--font-head);
	font-size: 17px;
	text-transform: uppercase;
	color: var(--ink);
	margin-bottom: 6px;
	padding-bottom: 4px;
	border-bottom: 3px solid var(--orange);
}

.section-title {
	font-family: var(--font-head);
	font-weight: 800;
	font-size: clamp(30px, 3.6vw, 48px);
	text-transform: uppercase;
	color: var(--blue);
	margin: 0 0 18px;
}

.underline::after {
	content: "";
	display: block;
	width: 50px;
	height: 4px;
	margin-top: 16px;
	background: var(--orange);
}
.text-center .underline::after { margin-left: auto; margin-right: auto; }

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

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	border-top: 9px solid var(--blue);
	background: var(--white);
	position: relative;
	z-index: 20;
}

.header-main {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	padding-top: 14px;
	padding-bottom: 14px;
}

.header-call {
	font-family: var(--font-head);
	text-transform: uppercase;
	font-size: 15px;
	color: var(--ink);
	line-height: 1.3;
}
.header-call a {
	display: block;
	font-weight: 700;
	font-size: 28px;
	color: var(--blue);
	text-decoration: none;
	letter-spacing: 0.01em;
}

.brand {
	text-align: center;
	text-decoration: none;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: clamp(26px, 2.5vw, 42px);
	line-height: 0.98;
	text-transform: uppercase;
	color: var(--blue);
}
.brand:hover { color: var(--blue-dark); }

.header-cta { justify-self: end; }

/* --- Primary navigation with center notch --- */

.site-nav { background: var(--slate); }

.nav-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: stretch;
	min-height: 60px;
}

.nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 6px;
}
.nav-list.right { justify-content: flex-end; }

.nav-list a {
	display: block;
	position: relative;
	padding: 18px 14px;
	font-family: var(--font-head);
	font-size: 15px;
	text-transform: uppercase;
	color: #e9ecef;
	text-decoration: none;
	white-space: nowrap;
}
.nav-list a::after {
	content: "";
	position: absolute;
	left: 14px; right: 14px; bottom: 12px;
	height: 3px;
	background: var(--orange);
	transform: scaleX(0);
	transition: transform 0.2s ease;
}
.nav-list a:hover::after,
.nav-list a:focus::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { font-weight: 700; color: var(--white); }

.nav-notch {
	background: var(--white);
	clip-path: polygon(0 0, 100% 0, 91% 100%, 9% 100%);
	padding: 8px 52px 10px;
	margin: 0 12px;
	display: flex;
	align-items: center;
	text-align: center;
	font-family: var(--font-head);
	font-size: 15px;
	line-height: 1.25;
	text-transform: uppercase;
	color: var(--ink);
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	background: none;
	border: 0;
	color: var(--white);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 16px 0;
	cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
	position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }

/* ==========================================================================
   Hero slider (home)
   ========================================================================== */

.hero {
	position: relative;
	height: clamp(480px, 44vw, 720px);
	overflow: hidden;
	background: #1c1f23;
}

.hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.9s ease, visibility 0.9s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }

.hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.04);
	transition: transform 7s linear;
}
.hero-slide.is-active .hero-bg { transform: scale(1); }
.hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(10, 14, 20, 0.55) 0%, rgba(10, 14, 20, 0.2) 55%, rgba(10, 14, 20, 0.35) 100%);
}
.hero-slide.align-right .hero-bg::after {
	background: linear-gradient(270deg, rgba(10, 14, 20, 0.55) 0%, rgba(10, 14, 20, 0.2) 55%, rgba(10, 14, 20, 0.35) 100%);
}

.hero-content {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding-bottom: 80px;
}
.hero-slide.align-right .hero-content { align-items: flex-end; text-align: right; }

.hero-box {
	background: rgba(24, 24, 26, 0.88);
	color: var(--white);
	padding: 22px 34px 20px;
	max-width: 620px;
}
.hero-box h2 {
	font-weight: 800;
	font-size: clamp(32px, 3.4vw, 54px);
	text-transform: uppercase;
	color: var(--white);
	margin: 0 0 8px;
}
.hero-box p {
	margin: 0;
	font-size: clamp(16px, 1.3vw, 21px);
	line-height: 1.3;
	color: #f1f1f1;
}

.hero-btn {
	display: inline-block;
	background: #1d6cb0;
	color: var(--white);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: clamp(20px, 2vw, 32px);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 18px 36px;
	transition: background-color 0.2s ease;
}
.hero-btn:hover, .hero-btn:focus { background: var(--blue-dark); color: var(--white); }
.hero-slide.align-right .hero-btn { margin-right: 0; }

.hero-band {
	position: absolute;
	left: 0; right: 0;
	bottom: 46px;
	z-index: 3;
	background: rgba(24, 24, 26, 0.9);
	color: var(--white);
}
.hero-band .container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 26px;
	min-height: 80px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: clamp(13px, 1.1vw, 20px);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.hero-band span { flex: 1; }
.hero-band span:first-child { text-align: right; }

.stars {
	display: flex;
	align-items: flex-end;
	flex: 0 0 auto;
	margin: -26px 0 -6px;
}
.stars svg { display: block; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45)); }
.stars svg + svg { margin-left: -12px; }

.hero-dots {
	position: absolute;
	left: 50%;
	bottom: 14px;
	transform: translateX(-50%);
	z-index: 4;
	display: flex;
	gap: 10px;
}
.hero-dots button {
	width: 12px; height: 12px;
	padding: 0;
	border: 2px solid var(--white);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}
.hero-dots button[aria-current="true"] { background: var(--white); }

/* Image slides with the caption artwork baked in (mockup slides).
   The hotspot sits over the baked-in button, positioned in % of the slide. */
.hero.hero-images {
	height: auto;
	aspect-ratio: 1920 / 850;
}
.hero-images .hero-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero-hotspot {
	position: absolute;
	z-index: 2;
	overflow: hidden;
	color: transparent;
	font-size: 1px;
	text-decoration: none;
}
.hero-hotspot:hover { background: rgba(255, 255, 255, 0.08); }
.hero-hotspot:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.hero-images .hero-dots { bottom: 2%; }

/* ==========================================================================
   Service cards (home)
   ========================================================================== */

.service-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	padding-top: 50px;
	padding-bottom: 50px;
}

.service-card {
	position: relative;
	display: block;
	aspect-ratio: 573 / 425;
	overflow: hidden;
	text-decoration: none;
	background: #222;
}
.service-card img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}
.service-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.7) 100%);
}
.service-card::after {
	content: "";
	position: absolute;
	inset: 15px;
	z-index: 2;
	border: 1px solid rgba(255, 255, 255, 0.6);
	pointer-events: none;
}
.service-card span {
	position: absolute;
	left: 0; right: 0; bottom: 34px;
	z-index: 3;
	text-align: center;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: clamp(26px, 2.4vw, 46px);
	text-transform: uppercase;
	color: var(--white);
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.service-card span::after {
	content: "";
	display: block;
	width: 48px; height: 4px;
	margin: 12px auto 0;
	background: var(--orange);
}
.service-card:hover img, .service-card:focus img { transform: scale(1.06); }

/* Cards and gallery tiles whose label, frame and shading are part of the photo:
   drop the CSS overlays and keep the text label for screen readers only. */
.service-card.baked::before,
.service-card.baked::after,
.mosaic-tile.baked::after { content: none; }
.service-card.baked span,
.mosaic-tile.baked span {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.service-card.baked:hover img, .service-card.baked:focus img,
.mosaic-tile.baked:hover img, .mosaic-tile.baked:focus img { transform: scale(1.03); }

/* ==========================================================================
   Welcome / about
   ========================================================================== */

.blueprint {
	background-color: var(--light);
	background-image:
		radial-gradient(circle at 12% 30%, rgba(255, 255, 255, 0.9) 0, rgba(255, 255, 255, 0) 40%),
		linear-gradient(rgba(15, 99, 168, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(15, 99, 168, 0.045) 1px, transparent 1px);
	background-size: auto, 32px 32px, 32px 32px;
}

.welcome {
	position: relative;
	padding: 80px 0;
	background: #efefef;
	overflow: hidden;
}
.welcome::before {
	content: "";
	position: absolute;
	top: 0; bottom: 0; left: 0;
	width: 370px;
	background: url("../images/home/welcome-bg.jpg") left center / cover no-repeat;
	-webkit-mask-image: linear-gradient(90deg, #000 55%, transparent);
	mask-image: linear-gradient(90deg, #000 55%, transparent);
}
.welcome .container { position: relative; }

.welcome-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.welcome .section-title { font-size: clamp(32px, 3.4vw, 50px); line-height: 1; margin-top: 10px; }

.welcome-media {
	border-bottom: 7px solid var(--blue);
	box-shadow: 0 20px 40px rgba(20, 30, 45, 0.18);
	background: var(--white);
}
.welcome-media img { width: 100%; }

.section { padding: 80px 0; }
.section-alt { background: var(--light); }

.two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
}

#about .section-title { font-size: clamp(26px, 2.6vw, 38px); }

.checklist {
	list-style: none;
	margin: 0 0 1.2em;
	padding: 0;
}
.checklist li {
	position: relative;
	padding: 7px 0 7px 34px;
	border-bottom: 1px solid var(--line);
}
.checklist li::before {
	content: "";
	position: absolute;
	left: 4px; top: 13px;
	width: 14px; height: 8px;
	border-left: 3px solid var(--orange);
	border-bottom: 3px solid var(--orange);
	transform: rotate(-45deg);
}
.checklist.cols-2 { columns: 2; column-gap: 40px; }
.checklist.cols-2 li { break-inside: avoid; }
.services-box .checklist li {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 16px;
	color: var(--blue);
}

.feature-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	margin-top: 50px;
}
.feature {
	background: var(--white);
	border-top: 5px solid var(--blue);
	padding: 34px 34px 20px;
	box-shadow: 0 10px 30px rgba(20, 30, 45, 0.08);
}
.feature:nth-child(2) { border-top-color: var(--orange); }
.feature h3 {
	display: flex;
	align-items: center;
	gap: 14px;
	font-weight: 800;
	font-size: 24px;
	text-transform: uppercase;
}
.feature h3 svg { flex: 0 0 auto; }
.feature .ital { font-style: italic; }

/* --- Quick actions: quote / order form / shipping --- */

.action-strip {
	display: grid;
	grid-template-columns: 1fr 1fr 1.2fr;
	gap: 24px;
	margin-top: 30px;
}
.action {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	min-height: 150px;
	padding: 26px 30px;
	text-decoration: none;
	color: var(--white);
	background: var(--blue);
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.action:hover, .action:focus { background: var(--blue-dark); color: var(--white); transform: translateY(-3px); }
.action.orange { background: var(--orange); color: var(--ink); }
.action.orange:hover, .action.orange:focus { background: var(--orange-dark); color: var(--ink); }
.action strong {
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 26px;
	text-transform: uppercase;
	line-height: 1.1;
}
.action small { font-size: 15px; opacity: 0.9; }
.action.shipping {
	background: #e6eef8;
	padding: 0;
	align-items: center;
	overflow: hidden;
}
.action.shipping:hover { transform: none; }
.action.shipping img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Industries
   ========================================================================== */

.industry-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin: 40px 0;
}
.industry-card {
	background: var(--white);
	box-shadow: 0 8px 24px rgba(20, 30, 45, 0.1);
	overflow: hidden;
}
.industry-card img {
	width: 100%;
	aspect-ratio: 158 / 138;
	object-fit: cover;
}
.industry-card h3 {
	margin: 0;
	padding: 16px 18px;
	font-size: 17px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--ink);
	border-top: 4px solid var(--orange);
}

.tag-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}
.tag-list li {
	padding: 7px 16px;
	border: 1px solid #c9d3df;
	background: var(--white);
	border-radius: 30px;
	font-size: 15px;
	font-weight: 500;
	color: var(--blue-dark);
}

/* --- Featured projects strip (former home slider images) --- */

.projects-strip {
	overflow: hidden;
	background: var(--ink);
	padding: 14px 0;
}
.projects-track {
	display: flex;
	gap: 14px;
	width: max-content;
	animation: projects-scroll 70s linear infinite;
}
.projects-strip:hover .projects-track { animation-play-state: paused; }
.projects-track img { height: 200px; width: auto; }
@keyframes projects-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* ==========================================================================
   Gallery teaser (home)
   ========================================================================== */

.blue-band {
	position: relative;
	background-size: cover;
	background-position: center;
	color: var(--white);
}
.blue-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--blue-band);
}
.blue-band > * { position: relative; }
.blue-band.baked { background-position: right center; }
.blue-band.baked::before { background: rgba(22, 74, 135, 0.35); }

.gallery-intro { padding-top: 90px; padding-bottom: 70px; }
.gallery-intro .section-title { color: var(--white); font-size: clamp(36px, 4vw, 60px); }
.gallery-intro p { font-size: 19px; margin: 0; }
.gallery-intro a { color: var(--white); }

.mosaic {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 1px;
	background: #d0d4d9;
}
.mosaic-tile {
	position: relative;
	grid-column: span 2;
	height: 300px;
	overflow: hidden;
	text-decoration: none;
	background: #333;
}
.mosaic-tile.wide { grid-column: span 3; height: 360px; }
.mosaic-tile.baked { height: auto; aspect-ratio: 640 / 426; }
.mosaic-tile.baked.wide { aspect-ratio: 960 / 631; }
.mosaic-tile img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}
.mosaic-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.72) 100%);
}
.mosaic-tile span {
	position: absolute;
	left: 40px; bottom: 30px;
	z-index: 1;
	font-family: var(--font-label);
	font-weight: 700;
	font-size: clamp(22px, 1.8vw, 32px);
	text-transform: uppercase;
	color: var(--white);
}
.mosaic-tile:hover img, .mosaic-tile:focus img { transform: scale(1.05); }

.gallery-cta { padding-top: 60px; padding-bottom: 60px; }

/* ==========================================================================
   Quote form section
   ========================================================================== */

.quote {
	position: relative;
	overflow: hidden;
	padding: 100px 0 90px;
}
.quote-bg {
	position: absolute;
	inset: -60px;
	background-size: cover;
	background-position: center;
	filter: blur(14px);
}
.quote-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(236, 240, 245, 0.84);
}
.quote .container { position: relative; }
.quote .section-title { font-size: clamp(34px, 3.8vw, 56px); margin-bottom: 40px; }

.dark-form { max-width: 970px; margin: 0 auto; }
.dark-form .form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}
.dark-form .form-col { display: flex; flex-direction: column; gap: 22px; }

.dark-form input[type="text"],
.dark-form input[type="email"],
.dark-form input[type="tel"],
.dark-form textarea {
	width: 100%;
	font: inherit;
	font-size: 18px;
	letter-spacing: 0.04em;
	color: var(--white);
	background: rgba(40, 44, 54, 0.82);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 6px;
	padding: 16px 18px;
}
.dark-form textarea { flex: 1; min-height: 210px; resize: vertical; }
.dark-form ::placeholder { color: #dfe3e8; opacity: 1; }
.dark-form input:focus, .dark-form textarea:focus {
	outline: 3px solid var(--orange);
	outline-offset: 1px;
}

.form-extras {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	margin-top: 26px;
	align-items: start;
}
.form-extras label { display: block; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.form-extras input[type="file"] { font-size: 15px; max-width: 100%; }
.captcha-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.captcha-row img { border: 1px solid #c4cad2; background: var(--white); }
.captcha-row input[type="text"] { width: 160px; }
.captcha-row img[hidden] { display: none; }
.captcha-refresh { font-size: 14px; font-weight: 500; }
.captcha-error {
	flex: 1 1 100%;
	padding: 10px 12px;
	font-size: 14px;
	color: #8a1c14;
	background: #fdecea;
	border-left: 4px solid #b3261e;
}
.form-note { font-size: 14px; color: var(--muted); }

.form-submit { text-align: center; margin-top: 34px; }
.form-submit .btn { font-family: var(--font-body); font-size: 20px; padding: 16px 56px; }

/* Hosted form embed (WordPress theme) */
.form-embed {
	max-width: 820px;
	margin: 0 auto;
	background: var(--white);
	padding: 10px 10px 4px;
	box-shadow: 0 14px 40px rgba(20, 30, 45, 0.14);
}
.light-form .form-embed { box-shadow: none; padding: 0; max-width: none; }
.form-embed iframe { display: block; width: 100%; height: 1050px; border: 0; }
.form-embed .form-note { text-align: center; margin: 10px 0; }

/* ==========================================================================
   Inner pages
   ========================================================================== */

.page-banner {
	position: relative;
	padding: 90px 0 80px;
	background-size: cover;
	background-position: center;
	color: var(--white);
}
.page-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(14, 22, 34, 0.92) 0%, rgba(14, 22, 34, 0.7) 50%, rgba(15, 99, 168, 0.55) 100%);
}
.page-banner .container { position: relative; }
.page-banner h1 {
	font-weight: 800;
	font-size: clamp(34px, 4vw, 58px);
	text-transform: uppercase;
	color: var(--white);
	margin: 0;
}
.breadcrumb {
	margin-top: 22px;
	font-family: var(--font-head);
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #c9d3df;
}
.breadcrumb a { color: var(--white); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }

.content-section { padding: 70px 0; }

.prose h2 {
	font-weight: 800;
	font-size: clamp(24px, 2.2vw, 32px);
	text-transform: uppercase;
	margin-top: 1.4em;
}
.prose h2:first-child { margin-top: 0; }
.prose h2::after {
	content: "";
	display: block;
	width: 44px; height: 4px;
	margin-top: 12px;
	background: var(--orange);
}

.media-stack { display: flex; flex-direction: column; gap: 24px; }
.media-stack img {
	width: 100%;
	border-bottom: 6px solid var(--blue);
	box-shadow: 0 14px 30px rgba(20, 30, 45, 0.14);
}

.photo-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 50px;
}
.photo-row img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	box-shadow: 0 8px 22px rgba(20, 30, 45, 0.12);
}

/* --- Comparison accordion (waterjet page) --- */

.compare { margin-top: 60px; }
.compare .section-title { font-size: clamp(24px, 2.6vw, 36px); }

.accordion details {
	border: 1px solid var(--line);
	margin-bottom: 10px;
	background: var(--white);
}
.accordion summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 24px;
	background: var(--slate);
	color: var(--white);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 18px;
	text-transform: uppercase;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
	content: "+";
	font-size: 26px;
	line-height: 1;
	color: var(--orange);
}
.accordion details[open] summary { background: var(--blue); }
.accordion details[open] summary::after { content: "\2212"; color: var(--white); }
.accordion summary:hover { background: var(--blue-dark); }
.accordion .accordion-body { padding: 18px 24px 8px; }

/* --- Cut quality cards --- */

.quality-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}
.quality-card {
	display: grid;
	grid-template-columns: 150px 1fr;
	gap: 26px;
	padding: 28px;
	background: var(--white);
	border-left: 5px solid var(--blue);
	box-shadow: 0 10px 28px rgba(20, 30, 45, 0.1);
}
.quality-card:nth-child(even) { border-left-color: var(--orange); }
.quality-card h2 {
	grid-column: 1 / -1;
	font-size: 21px;
	font-weight: 800;
	margin: 0;
}
.quality-card img { width: 150px; height: 150px; object-fit: cover; }
.quality-card .checklist { margin: 0; }
.quality-card .checklist li { font-size: 16px; }

/* --- Gallery page tabs --- */

.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 30px 0 0;
	padding: 0;
	border-bottom: 4px solid var(--blue);
}
.tabs a {
	display: block;
	padding: 14px 26px;
	background: #e4e7eb;
	color: var(--text);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 15px;
	text-transform: uppercase;
	text-decoration: none;
}
.tabs a:hover { background: #d3d7dc; }
.tabs a[aria-selected="true"] { background: var(--blue); color: var(--white); }

.tab-panel { padding-top: 30px; }
.tab-panel[hidden] { display: none; }
.tab-panel h2 { font-weight: 800; text-transform: uppercase; font-size: 26px; }

.thumb-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.thumb-grid a {
	display: block;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(20, 30, 45, 0.12);
}
.thumb-grid img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.thumb-grid a:hover img, .thumb-grid a:focus img { transform: scale(1.06); }

/* --- Contact page --- */

.contact-grid {
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: 50px;
	align-items: start;
}
.contact-card {
	background: var(--slate);
	color: #e9ecef;
	padding: 36px;
	border-top: 6px solid var(--orange);
}
.contact-card h2 { color: var(--white); font-size: 24px; font-weight: 800; text-transform: uppercase; }
.contact-card dl { margin: 0; }
.contact-card dt {
	font-family: var(--font-head);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--orange);
	margin-top: 18px;
}
.contact-card dd { margin: 4px 0 0; font-size: 20px; }
.contact-card a { color: var(--white); }
.contact-card img { margin-top: 28px; width: 100%; }

.light-form {
	background: var(--white);
	padding: 40px;
	box-shadow: 0 14px 40px rgba(20, 30, 45, 0.12);
	border-top: 6px solid var(--blue);
}
.light-form h2 { font-weight: 800; text-transform: uppercase; font-size: 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.field .req { color: #b3261e; font-size: 14px; margin-left: 4px; }
.field .hint { font-size: 14px; color: var(--muted); margin-left: 4px; }
.light-form input[type="text"],
.light-form input[type="email"],
.light-form input[type="tel"],
.light-form textarea {
	width: 100%;
	font: inherit;
	padding: 12px 14px;
	border: 1px solid #c4cad2;
	border-radius: 4px;
	background: #fafbfc;
}
.light-form textarea { min-height: 200px; resize: vertical; }
.light-form input:focus, .light-form textarea:focus {
	outline: 3px solid rgba(15, 99, 168, 0.35);
	border-color: var(--blue);
	background: var(--white);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 10px; }

.thanks-box {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
	padding: 60px 40px;
	background: var(--white);
	border-top: 6px solid var(--blue);
	box-shadow: 0 14px 40px rgba(20, 30, 45, 0.12);
}
.thanks-box h2 { font-weight: 800; font-size: clamp(28px, 3vw, 40px); text-transform: uppercase; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	background: var(--ink);
	color: #d6d9dd;
	border-top: 6px solid var(--blue);
	font-size: 17px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr 1fr 1fr;
	gap: 30px;
	padding-top: 50px;
	padding-bottom: 40px;
}

.footer-grid h2 {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 19px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--white);
	margin: 0 0 26px;
	padding-bottom: 10px;
	border-bottom: 1px solid #4a4d53;
	position: relative;
}
.footer-grid h2::after {
	content: "";
	position: absolute;
	left: 0; bottom: -4px;
	width: 100px; height: 6px;
	background: var(--orange);
}
.footer-grid > div:nth-child(even) h2::after { background: var(--blue); }

.footer-grid p { font-weight: 300; line-height: 1.45; }
.footer-grid a { color: #d6d9dd; text-decoration: none; }
.footer-grid a:hover { color: var(--orange); }

.footer-links { list-style: none; margin: 0; padding: 0; font-weight: 300; line-height: 1.5; }

.footer-certs {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}
.footer-certs li { text-align: center; }
.footer-certs img { height: 64px; width: auto; margin: 0 auto 8px; }
.footer-certs span {
	display: block;
	font-size: 12px;
	line-height: 1.3;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #c1c5ca;
}

.footer-contact { font-weight: 300; line-height: 1.45; }
.footer-contact strong { font-weight: 700; color: var(--white); }
.footer-contact p { margin-bottom: 14px; }

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	border-top: 1px solid #4a4d53;
	padding-top: 24px;
	padding-bottom: 28px;
	font-size: 15px;
	font-weight: 300;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #d6d9dd; }
.footer-bottom a:hover { color: var(--orange); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
	.nav-list a { padding: 18px 9px; font-size: 14px; }
	.nav-list a::after { left: 9px; right: 9px; }
	.nav-notch { padding: 8px 40px 10px; font-size: 13px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
	body { font-size: 16px; }

	.header-main {
		grid-template-columns: 1fr auto;
		grid-template-areas: "brand brand" "call cta";
		gap: 14px 20px;
	}
	.brand { grid-area: brand; }
	.header-call { grid-area: call; }
	.header-cta { grid-area: cta; }
	.header-call a { font-size: 22px; }

	.nav-inner {
		grid-template-columns: 1fr;
		min-height: 0;
	}
	.nav-toggle { display: flex; }
	.nav-notch {
		order: -1;
		clip-path: none;
		margin: 0 -24px;
		padding: 10px 24px;
		justify-content: center;
		font-size: 13px;
		border-bottom: 1px solid var(--line);
	}
	.nav-notch br { display: none; }
	.nav-list {
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
	.site-nav.is-open .nav-list { display: flex; }
	.nav-list.right { justify-content: flex-start; }
	.nav-list a { padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 15px; }
	.nav-list a::after { display: none; }
	.nav-list a[aria-current="page"] { color: var(--orange); }

	.hero-band .container { gap: 14px; min-height: 64px; }
	.stars svg { width: 30px; height: 30px; }
	.stars svg:nth-child(3) { width: 42px; height: 42px; }

	.service-cards { grid-template-columns: 1fr; gap: 24px; padding-top: 30px; padding-bottom: 30px; }
	.service-card { aspect-ratio: 16 / 8; }

	.welcome-grid, .two-col, .feature-grid { grid-template-columns: 1fr; gap: 36px; }
	.action-strip { grid-template-columns: 1fr 1fr; }
	.action.shipping { grid-column: 1 / -1; min-height: 0; }
	.industry-cards { grid-template-columns: repeat(2, 1fr); }

	.mosaic-tile, .mosaic-tile.wide { grid-column: span 3; height: 240px; }
	.mosaic-tile.first { grid-column: span 6; }

	.quality-grid { grid-template-columns: 1fr; }
	.contact-grid { grid-template-columns: 1fr; }
	.thumb-grid { grid-template-columns: repeat(3, 1fr); }
	.photo-row { grid-template-columns: repeat(2, 1fr); }

	.section, .welcome { padding: 56px 0; }
	.content-section { padding: 50px 0; }
	.page-banner { padding: 60px 0 54px; }
}

@media (max-width: 640px) {
	.container { padding: 0 16px; }
	.nav-notch { margin: 0 -16px; }

	.header-main { grid-template-areas: "brand" "call" "cta"; grid-template-columns: 1fr; text-align: center; }
	.header-cta { justify-self: center; }
	.btn-pill { padding: 12px 26px; font-size: 15px; }

	.hero { height: 560px; }
	.hero-content, .hero-slide.align-right .hero-content { align-items: stretch; text-align: left; padding-bottom: 150px; }
	.hero-box { padding: 18px 20px; }
	.hero-btn { text-align: center; padding: 14px 20px; letter-spacing: 0.08em; }
	.hero-band { bottom: 40px; }
	.hero-band .container { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; gap: 4px 12px; }
	.hero-band span { flex: 1 1 100%; text-align: center !important; font-size: 12px; }
	.hero-band .stars { order: -1; margin: -30px auto 0; }

	.action-strip { grid-template-columns: 1fr; }
	.industry-cards { grid-template-columns: 1fr 1fr; gap: 14px; }
	.checklist.cols-2 { columns: 1; }

	.mosaic-tile, .mosaic-tile.wide, .mosaic-tile.first { grid-column: span 6; height: 220px; }
	.mosaic-tile span { left: 20px; bottom: 18px; }

	.dark-form .form-grid, .form-extras, .field-row { grid-template-columns: 1fr; }

	.quality-card { grid-template-columns: 1fr; padding: 22px; }
	.thumb-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.tabs a { padding: 12px 14px; font-size: 13px; }
	.light-form, .contact-card { padding: 24px; }

	.footer-grid { grid-template-columns: 1fr; }
	.projects-track img { height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero-slide, .hero-bg, .service-card img, .mosaic-tile img, .thumb-grid img { transition: none; }
	.projects-track { animation: none; }
	.projects-strip { overflow-x: auto; }
}

/* Photos with baked-in labels keep their own proportions at every width,
   so the labels are never cropped by the responsive height rules above. */
.service-card.baked { aspect-ratio: 573 / 425; }
.mosaic-tile.baked,
.mosaic-tile.baked.wide,
.mosaic-tile.baked.first { height: auto; }
