/* Tubing Testers Fleet (design idea 2) — main styles */
:root {
	--tt-blue: #005DAB;
	--tt-navy: #06254A;
	--tt-accent: #FFC72C;
	--tt-tint: #EEF3F9;
	--tt-ink: #1B2533;
	--tt-muted: #C9D6E6;
	--tt-line: #D5DFEA;
	--tt-slab: Rockwell, "Rockwell Std", "Arvo", Georgia, serif;
	--tt-body: Arial, Helvetica, sans-serif;
	--tt-wrap: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--tt-ink); font-family: var(--tt-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tt-blue); }
a:hover { color: var(--tt-navy); }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0; }
.slab { font-family: var(--tt-slab); font-weight: 700; }
.wrap { max-width: var(--tt-wrap); margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--tt-accent); color: var(--tt-navy); padding: 12px 16px; font-weight: 700; }
.skip-link:focus { left: 16px; top: 16px; }
:focus-visible { outline: 3px solid var(--tt-accent); outline-offset: 2px; }
[id] { scroll-margin-top: 24px; }

/* Signature hazard stripe */
.stripe { height: 14px; background: repeating-linear-gradient(-45deg, var(--tt-accent) 0 18px, var(--tt-navy) 18px 36px); }

/* Utilities */
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack--lg { gap: 48px; }
.lead { font-size: 18px; line-height: 1.65; }
.tag { display: inline-flex; align-self: flex-start; background: var(--tt-accent); color: var(--tt-navy); font-weight: 700; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; padding: 8px 14px; line-height: 1.2; }
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--tt-blue); }
.more { font-weight: 700; font-size: 17px; }
.more--accent { color: var(--tt-accent); }
.more--accent:hover { color: #fff; }
.section { padding: 104px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-title { font-size: clamp(34px, 4vw, 52px); line-height: 1.05; color: var(--tt-navy); }
.section-title--xl { font-size: clamp(38px, 4.6vw, 58px); line-height: 1; }
.section-title--md { font-size: clamp(30px, 3.4vw, 44px); }
.section-title--light { color: #fff; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split--top { align-items: start; }
.split--end { align-items: end; gap: 48px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 17px 26px; font-size: 18px; text-transform: uppercase; text-decoration: none; line-height: 1; transition: background-color .15s, color .15s, transform .15s; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 14px 22px; font-size: 16px; min-height: 44px; }
.btn--accent { background: var(--tt-accent); color: var(--tt-navy); }
.btn--accent:hover { background: #fff; color: var(--tt-navy); }
.btn--navy { background: var(--tt-navy); color: #fff; }
.btn--navy:hover { background: #fff; color: var(--tt-navy); }
.btn--blue { background: var(--tt-blue); color: #fff; }
.btn--blue:hover { background: var(--tt-navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header { background: var(--tt-navy); position: relative; z-index: 20; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.site-logo img { height: 72px; width: auto; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 34px; align-items: center; }
.site-nav a { color: #fff; text-decoration: none; font-size: 18px; text-transform: uppercase; letter-spacing: .5px; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--tt-accent); }
.site-nav .menu li { position: relative; }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: -16px; min-width: 230px; background: var(--tt-navy); border-top: 4px solid var(--tt-accent); display: none; }
.site-nav .sub-menu a { display: block; padding: 10px 16px; font-size: 16px; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: block; }
.site-header__call { display: flex; flex-direction: column; align-items: flex-end; color: var(--tt-muted); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.site-header__call a { color: var(--tt-accent); text-decoration: none; font-size: 22px; letter-spacing: 0; text-transform: none; }
.site-header__call a:hover { color: #fff; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: var(--tt-accent); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle__bar { display: block; width: 24px; height: 3px; background: var(--tt-navy); }

/* Hero (also inner-page hero) */
.hero, .page-hero { position: relative; background: var(--tt-navy); min-height: 640px; display: flex; align-items: flex-end; }
.page-hero { min-height: 440px; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__wrap { position: relative; width: 100%; }
.hero__panel { background: var(--tt-blue); color: #fff; max-width: 680px; padding: 48px 48px 44px; display: flex; flex-direction: column; gap: 22px; border-top: 10px solid var(--tt-accent); }
.hero__panel--sm { max-width: 620px; padding: 36px 40px 34px; gap: 16px; }
.hero__kicker { color: var(--tt-accent); font-size: 20px; text-transform: uppercase; letter-spacing: 1px; }
.hero__title { font-size: clamp(44px, 5.2vw, 66px); line-height: 1.02; }
.page-hero__title { font-size: clamp(38px, 4.4vw, 56px); line-height: 1.04; }
.hero__lede { font-size: 19px; line-height: 1.55; }

/* Specs band */
.specs { background: var(--tt-accent); color: var(--tt-navy); }
.specs__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 44px; padding-bottom: 44px; }
.spec { padding: 0 24px; border-right: 3px solid var(--tt-navy); }
.spec:first-child { padding-left: 0; }
.spec:last-child { border-right: 0; }
.spec__num { font-size: clamp(34px, 3.6vw, 48px); line-height: 1; }
.spec__label { font-weight: 700; font-size: 15px; padding-top: 8px; }

/* Service rows */
.rows { display: flex; flex-direction: column; border-top: 3px solid var(--tt-navy); }
.row { display: grid; grid-template-columns: 140px minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--tt-line); text-decoration: none; color: var(--tt-ink); }
.row:hover { color: var(--tt-ink); }
.row__num { font-size: 88px; line-height: .9; color: var(--tt-navy); transition: color .15s; }
.row:hover .row__num { color: var(--tt-blue); }
.row__body { display: flex; flex-direction: column; gap: 12px; }
.row__body h3 { font-size: 28px; font-weight: 700; color: var(--tt-blue); }
.row__body p { font-size: 17px; line-height: 1.6; }
.row__more { font-weight: 700; color: var(--tt-navy); }
.row:hover .row__more { text-decoration: underline; text-decoration-color: var(--tt-accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.row__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* About */
.about { background: var(--tt-navy); color: #fff; padding: 104px 0; }
.about__quote { font-size: clamp(28px, 3vw, 38px); line-height: 1.2; }
.about__text { color: var(--tt-muted); }
.collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.collage img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.collage .collage__wide { grid-column: span 2; aspect-ratio: 16 / 9; }

/* HSE */
.hse { background: var(--tt-tint); padding: 104px 0; }
.certs { list-style: none; margin: 0; padding: 0; background: #fff; border-top: 8px solid var(--tt-blue); }
.certs li { padding: 20px 24px; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 17px; }
.certs li + li { border-top: 1px solid var(--tt-line); }
.certs li span:last-child { color: var(--tt-blue); text-align: right; }
.badges { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.badge { background: #fff; padding: 12px; min-height: 96px; display: flex; align-items: center; justify-content: center; }
.badge img { max-height: 80px; width: auto; object-fit: contain; }

/* Mosaic + gallery page grid */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 12px; }
.mosaic a { display: block; overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.mosaic a:hover img, .gallery a:hover img { transform: scale(1.04); }
.mosaic__big { grid-column: span 2; grid-row: span 2; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery a { display: block; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s; }

/* Inner pages */
.service-list { display: flex; flex-direction: column; gap: 104px; }
.service { border-top: 3px solid var(--tt-navy); padding-top: 40px; }
.split__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.offset-shadow { border-top: 8px solid var(--tt-accent); }
.split--flip .split__media { order: 2; }
.service__num { font-size: 64px; line-height: .9; color: var(--tt-navy); }
.facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { background: var(--tt-accent); color: var(--tt-navy); font-weight: 700; font-size: 15px; padding: 10px 14px; }
.entry-content { font-size: 18px; line-height: 1.7; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3 { font-family: var(--tt-slab); color: var(--tt-navy); }
.entry-content h2 { font-size: 36px; }
.entry-content h3 { font-size: 26px; }
.post-item + .post-item { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--tt-line); }

/* Locations + footer */
.locations { background: var(--tt-blue); color: #fff; padding: 88px 0; }
.locations__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.location { background: var(--tt-navy); color: #fff; text-decoration: none; padding: 32px; display: flex; flex-direction: column; gap: 10px; border-top: 8px solid var(--tt-accent); transition: transform .15s; }
.location:hover { color: #fff; transform: translateY(-3px); }
.location__label { font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--tt-muted); }
.location__phone { font-size: clamp(30px, 3.2vw, 40px); color: var(--tt-accent); line-height: 1.1; }
.site-footer { background: var(--tt-navy); color: var(--tt-muted); font-size: 14px; }
.site-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 32px; padding-bottom: 32px; }
.site-footer__inner img { height: 56px; width: auto; }
.site-footer__nav { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 700; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--tt-accent); }

/* Responsive */
@media (max-width: 1100px) {
	.site-nav .menu { gap: 22px; }
	.badges { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.row { grid-template-columns: 90px minmax(0, 1fr); }
	.row__num { font-size: 64px; }
	.row__img { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.site-header__inner { flex-wrap: wrap; }
	.site-header__call { margin-left: auto; }
	.site-nav { display: none; order: 4; width: 100%; }
	.site-nav.is-open { display: block; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid #1E3E66; }
	.site-nav .menu a { display: block; padding: 14px 0; border-bottom: 1px solid #1E3E66; }
	.site-nav .sub-menu { position: static; display: block; border: 0; padding: 0 0 0 16px; }
}
@media (max-width: 820px) {
	.split, .locations__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.split--flip .split__media { order: 0; }
	.specs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
	.spec, .spec:first-child { padding: 0 16px 0 0; border-right: 0; border-left: 3px solid var(--tt-navy); padding-left: 16px; }
	.hero, .page-hero { flex-direction: column; align-items: stretch; min-height: 0; }
	.hero__bg { position: relative; height: 280px; }
	.hero__wrap { padding: 0; }
	.hero__panel, .hero__panel--sm { max-width: none; padding: 36px 24px; }
	.mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
	.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.section, .about, .hse { padding: 64px 0; }
	.locations { padding: 64px 0; }
	.service-list { gap: 64px; }
}
@media (max-width: 560px) {
	.site-header__call { display: none; }
	.nav-toggle { margin-left: auto; }
	.site-logo img { height: 56px; }
	.row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.certs li { flex-direction: column; gap: 2px; }
	.certs li span:last-child { text-align: left; }
}
