@font-face {
	font-family: "Roboto Condensed";
	src: url('../fonts/roboto-condensed-400.ttf') format('truetype');
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "Roboto Condensed";
	src: url('../fonts/roboto-condensed-400.ttf') format('truetype');
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

:root {
	--accent: #ff3037;
	--accent-soft: #ff595f;
	--charcoal: #2b2b2b;
	--text: #000000;
	--content: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: #f2f2f2;
	color: var(--text);
	font-family: Helvetica, Verdana, Arial, sans-serif;
	font-size: 18px;
	line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
h1, h2, h3, h4 {
	margin: 0 0 16px;
	color: #000;
	font-family: "Roboto Condensed", "Arial Narrow", Helvetica, sans-serif;
	font-weight: 400;
	line-height: 1.4;
}
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
p { margin: 0 0 18px; }

.site-frame { max-width: 100%; margin: 0 auto; background: #fff; overflow: hidden; }
.content-width { width: min(var(--content), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: -9999px; top: 8px; z-index: 1000; background: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; }

.site-header { background: #fff; position: relative; z-index: 50; }
.header-main { min-height: 116px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.logo-link { display: flex; justify-content: center; padding: 22px 40px 18px; }
.site-logo { width: min(540px, 100%); height: auto; }
.header-phone { justify-self: end; display: flex; align-items: center; gap: 12px; margin-right: 20px; color: #444; }
.header-phone::after { content: " "; display: block; float: right; background: url('../assets/header-phone.png') no-repeat; background-size: cover; background-position: center; height: 29px; width: 32px; }
.phone-icon { font-size: 23px; transform: rotate(-15deg); }
.navigation-bar { background: var(--charcoal); color: #fff; }
.navigation-inner { min-height: 58px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.primary-menu { display: flex; align-items: stretch; }
.primary-menu a { padding: 14px 20px; font-size: 15px; line-height: 30px; text-transform: uppercase; transition: background .2s; }
.primary-menu a:hover, .primary-menu a.active { background: var(--accent-soft); }
.tagline { justify-self: end; padding: 5px 20px; font-family: "Roboto Condensed", "Arial Narrow", Helvetica, sans-serif; font-size: 22px; line-height: 1.25; }
.menu-toggle { display: none; color: #fff; background: transparent; border: 0; padding: 10px 12px; text-transform: uppercase; }
.menu-bars { display: inline-flex; flex-direction: column; gap: 3px; margin-right: 8px; vertical-align: middle; }
.menu-bars i { display: block; width: 20px; height: 2px; background: currentColor; }

.home-hero { position: relative; min-height: 550px; background: url('../assets/hero-welding.jpg') 0 82% / cover no-repeat; }
.home-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,48,55,.68) 100%); }
.home-hero-inner { position: relative; z-index: 1; min-height: 550px; display: grid; grid-template-columns: 53% 47%; align-items: center; }
.home-hero-copy { grid-column: 2; color: #fff; padding-left: 20px; }
.home-hero-copy h1 { color: #fff; margin: 0 0 12px; font-size: 70px; font-weight: 700; line-height: 1.1; }
.home-hero-copy h1 span { display: block; font-size: 52px; }
.home-hero-copy p { margin: 0 0 4px; font-weight: 600; }
.light-button { display: inline-flex; gap: 10px; align-items: center; margin-top: 20px; padding: 10px 30px; color: #000; background: #fff; border-radius: 5px; transition: .25s ease; }
.light-button:hover { color: #ddd; background: #333; }

.section-pad { padding: 80px 0; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 400px; align-items: stretch; }
.feature-copy { align-self: center; padding: 10px 40px 10px 20px; }
.feature-copy h2 { font-size: 36px; }
.heading-rule { display: block; width: 100px; border-bottom: 2px solid #000; margin: 10px 0 24px; }
.heading-rule.centered { margin-inline: auto; }
.feature-photo { min-height: 400px; background-position: center; background-size: cover; }
.robotic-photo { background-image: url('../assets/robotic-welding.jpg'); }
.before-section { padding: 32px 0; }
.section-copy { padding: 0 20px; }
.before-section .section-copy { min-height: 400px; }
.sparks-break {
	min-height: 460px;
	background-image: url('../assets/welding-sparks.jpg');
	background-position: center;
	background-size: cover;
	background-attachment: scroll;
	background-repeat: no-repeat;
}
.connect-section { padding: 40px 0 50px; }
.centered-copy { text-align: center; }
.centered-copy a { text-decoration: underline; }

.subpage-hero {
	position: relative;
	min-height: 300px;
	display: flex;
	align-items: center;
	background-position: center;
	background-size: cover;
}
.subpage-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.43); }
.subpage-hero .content-width { position: relative; z-index: 1; }
.subpage-hero h1 { color: #fff; font-size: 40px; text-transform: uppercase; }
.about-hero { background-image: url('../assets/about-products.jpg'); }
.contact-hero { background-image: url('../assets/contact-welding.jpg'); }
.about-intro { padding: 80px 0; }
.about-intro-copy { padding-left: 35px; }
.about-shop-photo { background-image: url('../assets/about-shop.jpg'); }
.about-story {
	min-height: 640px;
	padding: 90px 0;
	background-image: linear-gradient(rgba(0,0,0,.32), rgba(0,0,0,.32)), url('../assets/about-welder.jpg');
	background-position: center;
	background-size: cover;
	background-attachment: scroll;
}
.about-story-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.story-card { background: rgba(255,255,255,.93); padding: 40px 60px; }
.second-card { margin: 80px 0 0 -50px; padding: 60px 70px; }
.our-products { padding: 40px 0 50px; }
.narrow-copy { max-width: 780px; }

.contact-section { padding: 60px 0 30px; }
.contact-width { width: min(1058px, calc(100% - 40px)); margin-inline: auto; }
.contact-form { display: grid; gap: 20px; margin-top: 26px; }
.contact-form fieldset { margin: 0; padding: 0; border: 0; }
.contact-form legend, .contact-form > label { display: block; font-weight: 700; }
.name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.name-grid label { display: flex; flex-direction: column-reverse; gap: 4px; font-size: 14px; font-weight: 400; }
.contact-form input, .contact-form textarea {
	width: 100%;
	padding: 9px 12px;
	color: #000;
	background: #fcfcfc;
	border: 1px solid #e6e6e6;
	border-radius: 4px;
	outline: none;
}
.contact-form > label input, .contact-form > label textarea { margin-top: 6px; }
.contact-form input:focus, .contact-form textarea:focus { background: #fff; border-color: #999; }
.submit-button { justify-self: start; padding: 10px 26px; color: #fff; background: #444; border: 1px solid #252525; border-radius: 4px; cursor: pointer; }
.submit-button:hover { background: #000; }
.form-note { padding: 10px 14px; background: #ededed; font-size: 15px; }

.product-page { padding: 20px 0 60px; }
.product-banner { width: 100%; height: auto; margin-bottom: 20px; }
.product-intro { margin: 32px 20px 36px; }
.product-intro h1 { font-size: 24px; }
.product-group { margin: 40px 20px 62px; }
.product-group > h2, .manuals-section h2 { font-size: 30px; }
.product-group a, .manuals-section a { color: #000; text-decoration: underline; }
.product-table-block { margin: 24px 0 42px; }
.product-table-block h3 { margin-bottom: 12px; }
.table-scroll { overflow-x: auto; outline-offset: 3px; }
.product-page table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.4; }
.product-page th, .product-page td { min-width: 125px; padding: 9px 10px; text-align: left; border: 1px solid #d5d5d5; }
.product-page th { background: #ededed; font-weight: 700; }
.product-page tbody tr:nth-child(even) { background: #f8f8f8; }
.manuals-banner { margin-top: 20px; }
.manuals-section { margin: 28px 20px 0; }
.manuals-section h2 { margin-top: 30px; }
.manuals-section li { margin-bottom: 8px; }

.footer-contact { background: #ededed; box-shadow: 0 0 2px 1px #474747; }
.footer-contact-grid { min-height: 118px; display: grid; grid-template-columns: 1.05fr 1.25fr 1fr; align-items: center; gap: 32px; }
.footer-contact h2 { margin: 0; font-size: 26px; }
.footer-detail { display: flex; align-items: flex-start; gap: 12px; font-size: 19px; line-height: 1.6; }
.footer-detail > span { font-size: 20px; }
.footer-detail a { display: block; clear:both; line-height: 32px; }
.footer-detail a.footer-phone::before { content: " "; background: url('../assets/footer-phone.png') no-repeat; background-size: cover; background-position: center; height: 32px; width: 32px; display: block; float: left; margin-right: 10px; }
.footer-detail a.footer-email::before { content: " "; background: url('../assets/footer-email.png') no-repeat; background-size: cover; background-position: center; height: 32px; width: 32px; display: block; float: left; margin-right: 10px; }
.footer-detail address { width: 300px; font-style: normal; }
.footer-detail address::before { content: " "; background: url('../assets/location-footer.png') no-repeat; background-size: auto; background-position: center; background-size: 100%; width: 32px; height: 60px; display: block; float: left; margin-right: 15px; }
.footer-navigation { min-height: 54px; display: flex; justify-content: center; align-items: center; gap: 0; background: var(--charcoal); color: #fff; }
.footer-navigation a { padding: 5px 10px; border-left: 1px solid rgba(255,255,255,.33); font-size: 12px; text-transform: uppercase; }
.footer-navigation a:first-child { border-left: 0; }
.footer-navigation a:hover { color: var(--accent-soft); }
.footer-copyright { background: #e8e8e8; color: var(--charcoal); padding: 5px 0 3px; font-size: 14px; }
.scroll-top { position: fixed; right: 20px; bottom: 18px; z-index: 30; width: 42px; height: 42px; padding: 0; color: #fff; background: rgba(43,43,43,.85); border: 0; border-radius: 3px; cursor: pointer; }
@media (max-width: 900px) {
	body { font-size: 16px; }
	.header-main { min-height: 96px; }
	.logo-link { padding-inline: 10px; }
	.navigation-inner { grid-template-columns: 34% 66%; }
	.menu-toggle { display: block; }
	.primary-menu { display: none; position: absolute; left: 20px; right: 20px; top: 100%; flex-direction: column; background: #666; }
	.primary-menu.is-open { display: flex; }
	.menu-area { position: relative; }
	.tagline { font-size: 18px; }
	.home-hero-inner { grid-template-columns: 44% 56%; }
	.home-hero-copy { grid-column: 2; }
	.home-hero-copy h1 { font-size: 50px; }
	.home-hero-copy h1 span { font-size: 38px; }
	.split-grid { grid-template-columns: 1fr; }
	.feature-photo { min-height: 360px; }
	.footer-contact-grid { grid-template-columns: 1fr 1fr; padding-block: 22px; }
	.footer-contact h2 { grid-column: 1 / -1; text-align: center; }
	.about-story-grid { grid-template-columns: 1fr; gap: 28px; }
	.second-card { margin: 0; }
}

@media (max-width: 600px) {
	.content-width { width: min(100% - 24px, var(--content)); }
	.header-main { grid-template-columns: 1fr; padding: 8px 0 12px; }
	.logo-link { padding: 10px 0 4px; }
	.site-logo { width: min(430px, 92%); }
	.header-phone { justify-self: center; margin: 0; font-size: 15px; }
	.navigation-inner { grid-template-columns: 24% 76%; }
	.tagline { font-size: 14px; text-align: right; padding-right: 0; }
	.home-hero, .home-hero-inner { min-height: 430px; }
	.home-hero { background-position: 28% center; }
	.home-hero::after { background: rgba(255,48,55,.58); }
	.home-hero-inner { display: flex; align-items: flex-end; padding-bottom: 44px; }
	.home-hero-copy { padding: 0 10px; }
	.home-hero-copy h1 { font-size: 42px; }
	.home-hero-copy h1 span { font-size: 32px; }
	.section-pad { padding: 48px 0; }
	.feature-copy { padding: 0 10px 28px; }
	.feature-copy h2 { font-size: 31px; }
	.before-section .section-copy { min-height: 0; }
	.sparks-break { min-height: 330px; background-attachment: scroll; }
	.subpage-hero { min-height: 260px; }
	.subpage-hero h1 { font-size: 34px; }
	.about-intro { padding: 48px 0; }
	.about-intro-copy { padding-left: 10px; }
	.about-story { padding: 40px 0; background-attachment: scroll; }
	.story-card, .second-card { margin: 0; padding: 30px 24px; }
	.name-grid { grid-template-columns: 1fr; gap: 12px; }
	.product-page { width: 100%; }
	.product-group > h2, .manuals-section h2 { font-size: 24px; }
	.product-page table { font-size: 14px; }
	.footer-contact-grid { grid-template-columns: 1fr; gap: 18px; }
	.footer-contact h2 { grid-column: auto; text-align: left; }
	.footer-navigation { flex-wrap: wrap; padding: 10px 0; }
	.scroll-top { right: 10px; bottom: 10px; }
}
