/* Mactec 2026 theme stylesheet. One file, hand-written. Round 2 (Oct 12, 2026): the visual system Andrew asked for after
   studying vikingmasek.com, on Mactec's own facts: wide heavy uppercase headlines (Archivo, width 125, weight 900),
   18 px body text, navy / dark / blue / red, flat grey tiles, dark photo bands, a navy gradient for the asks, 120 px sections. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62.5% 125%; font-display: swap; src: url(../fonts/archivo-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: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62.5% 125%; font-display: swap; src: url(../fonts/archivo-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--navy: #183068; /* the blue in Mactec's logo */
	--dark: #0b1a3a;
	--blue: #2b5bbf;
	--blue-dark: #1f4494;
	--accent: #183068; /* Mactec's logo blue; white text on it: 12:1 */
	--accent-dark: #0f2048;
	--ink: #183068;
	--text: #3b4350;
	--muted: #3b4350;
	--soft: #5b6472; /* 1.5.0: 5.3:1 on the page grey (was 4.3:1) */
	--tile: #ededed;
	--tile-line: #d9d9d9;
	--page: #f4f4f4;
	--line: #d7dde6;
	--line-light: #e3e8ef;
	--on-dark: #c9d3e3;
	--dark-line: #26365c;
	--grad: linear-gradient(180deg, #1f3d7a 0%, #0a1530 100%);
	--white: #ffffff;
	--font-head: "Archivo", "Arial Black", Impact, sans-serif;
	--font-body: "Noto Sans JP", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--wrap: 1140px;
	--gutter: 24px;
	--radius: 3px;
	--section: 120px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 18px; line-height: 1.5; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-stretch: 125%; font-weight: 900; line-height: 1; letter-spacing: 0; text-transform: uppercase; color: var(--navy); margin: 0 0 0.5em; }
h1 { font-size: clamp(40px, 5vw, 64px); }
h2 { font-size: clamp(32px, 3.4vw, 44px); }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
.h-blue { color: var(--blue); }
.h-xl { font-size: clamp(34px, 3.75vw, 48px); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { color: var(--navy); }
.lead { font-size: 20px; line-height: 1.5; color: var(--text); }
.small { font-size: 14px; color: var(--soft); }
.t-center { text-align: center; }
.eyebrow { font-family: var(--font-body); font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); margin: 0 0 16px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.icon { width: 1.1em; height: 1.1em; flex: 0 0 auto; }
.icon-big { width: 48px; height: 48px; stroke: var(--blue); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-block: var(--section); }
.section-tight { padding-block: 72px; }
.band { background: var(--page); }
.band-tile { background: var(--tile); }
.band-dark { background: var(--dark); color: #fff; }
.band-navy { background: var(--navy); color: #fff; }
.band-grad { background: var(--grad); color: #fff; }
.band-dark h1, .band-dark h2, .band-dark h3, .band-navy h1, .band-navy h2, .band-navy h3, .band-grad h1, .band-grad h2, .band-grad h3 { color: #fff; }
.band-dark p, .band-navy p, .band-grad p, .band-dark .lead, .band-navy .lead, .band-grad .lead { color: var(--on-dark); }
.band-dark strong, .band-navy strong, .band-grad strong { color: #fff; }
.band-dark a, .band-navy a, .band-grad a { color: #fff; }
.band-photo { position: relative; overflow: hidden; background: var(--dark); color: #fff; }
.band-photo > .band-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.band-photo > .wrap { position: relative; }
.band-photo h2, .band-photo h3 { color: #fff; }
.band-photo p { color: #dfe6f0; }
.grid { display: grid; gap: 24px; }
.grid > * { min-width: 0; }
select { max-width: 100%; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section-head { max-width: 70ch; margin-bottom: 48px; }
.section-head.is-centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 0; }
.section-head .lead { margin: 14px 0 0; }
.section-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-light); }
.section-foot p { margin: 0; }
.prose { max-width: 72ch; }
.prose.is-centered { margin: 0 auto; text-align: center; }
.prose h2 { font-size: clamp(26px, 2.4vw, 30px); }
.prose h3 { font-size: 20px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.prose img { border-radius: var(--radius); }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 24px; border-radius: var(--radius); font-family: var(--font-body); font-weight: 500; font-size: 18px; line-height: 1.2; text-decoration: none; text-align: center; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-secondary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-secondary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-sm { padding: 8px 13px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn-row-tight { gap: 10px 18px; margin-top: auto; padding-top: 8px; justify-content: center; }
.call-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--navy); }
.call-link-light { color: #fff; }
.call-link-light:hover { color: #fff; text-decoration: underline; }
.call-link-big { font-size: 20px; }
.call-link-big .icon { width: 22px; height: 22px; }
.learn { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); text-decoration: none; }
.learn:hover { color: var(--blue); }
.learn-light { color: #fff; }

/* ---------- Utility bar and header ---------- */
.utility-bar { background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.utility-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 28px; min-height: 44px; padding-top: 0; padding-bottom: 0; }
.utility-bar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
.utility-bar a:hover { text-decoration: underline; }
.utility-call { display: inline-flex; align-items: center; gap: 8px; }
.utility-call .icon { width: 16px; height: 16px; }
.utility-sep { opacity: 0.7; }
.site-header { background: #fff; border-bottom: 1px solid var(--line-light); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.site-logo { display: block; flex: 0 0 auto; }
.site-logo img { width: 210px; height: auto; }
.site-logo-text { font-family: var(--font-head); font-stretch: 125%; font-weight: 900; font-size: 28px; color: var(--navy); text-transform: uppercase; }
.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.header-buttons { display: flex; gap: 10px; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; }
.site-nav .menu, .site-nav .menu ul { list-style: none; margin: 0; padding: 0; }
.site-nav .menu { display: flex; align-items: center; gap: 4px; }
.site-nav .menu > li { position: relative; }
.site-nav .menu > li > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--navy); text-decoration: none; font-weight: 400; font-size: 18px; white-space: nowrap; border-bottom: 2px solid transparent; }
.site-nav .menu > li > a:hover, .site-nav .menu > li:focus-within > a, .site-nav .menu > li.current-menu-item > a, .site-nav .menu > li.current-menu-ancestor > a { border-bottom-color: var(--navy); }
.site-nav .menu > li.mactec-quote-menu { display: none; }
.site-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 300px; background: #fff; border-top: 3px solid var(--blue); box-shadow: 0 16px 40px rgba(3, 21, 32, 0.18); padding: 14px 0; z-index: 30; }
.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu, .site-nav .menu > li.is-open > .sub-menu { display: block; }
.site-nav .sub-menu a { display: block; padding: 10px 22px; color: var(--navy); text-decoration: none; font-size: 16px; }
.site-nav .sub-menu a:hover { color: var(--blue); background: var(--page); }
.mactec-submenu-toggle { display: none; }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 10px; border: 0; background: transparent; color: var(--navy); font: inherit; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.menu-toggle .icon { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { background-color: var(--page); background-image: repeating-linear-gradient(135deg, rgba(20, 41, 66, 0.06) 0 1px, transparent 1px 48px); }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 32px; padding-top: 96px; padding-bottom: 96px; }
.hero-split .hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; }
.hero-centered .hero-inner { justify-items: center; text-align: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; max-width: 60ch; }
.hero-centered .hero-copy { align-items: center; max-width: 72ch; }
.hero-copy .eyebrow { margin: 0; }
.hero-copy h1 { margin: 0; max-width: 18ch; }
.hero-copy .lead { margin: 0; font-size: 26px; line-height: 1.3; color: var(--navy); max-width: 32ch; }
.hero-centered .hero-copy .lead { font-size: 20px; line-height: 1.5; color: var(--text); max-width: 50ch; }
.hero-copy .btn-row { margin-top: 6px; }
.hero-centered .btn-row { justify-content: center; }
.hero-media img { width: 100%; height: 420px; object-fit: cover; }
.hero-media-contain img { height: auto; max-height: 520px; object-fit: contain; margin: 0 auto; }
.hero-centered .hero-media { margin-top: 24px; width: 100%; }
.hero-centered .hero-media img { max-height: 560px; width: auto; max-width: 100%; }
.hero-intro { font-size: 16px; color: var(--soft); }
.crumbs { font-size: 14px; color: var(--soft); }
.crumbs a { text-decoration: none; color: var(--soft); }
.crumbs a:hover { color: var(--navy); }
.tags { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 0; padding: 0; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); text-decoration: none; }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: 0 0 auto; }
a.tag:hover { color: var(--blue); }
.tag-plain { color: var(--text); }
.tag-plain::before { background: var(--soft); }
.bar { padding: 24px 0; background: var(--tile); }

/* ---------- Tiles and cards ---------- */
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 40px 24px 36px; background: var(--tile); text-decoration: none; color: var(--text); }
.tile-media { width: 100%; display: flex; justify-content: center; align-items: center; }
.tile-media img { height: 220px; width: auto; max-width: 100%; object-fit: contain; }
.tile-media-photo img { width: 100%; height: 220px; object-fit: cover; }
.tile h3 { margin: 0; font-size: 20px; }
.tile h3 a { color: inherit; text-decoration: none; }
.tile p { margin: 0; font-size: 16px; line-height: 1.5; }
.tile .learn { margin-top: auto; }
.tile-navy { background: var(--navy); color: #fff; justify-content: center; }
.tile-navy h3 { color: #fff; }
.tile-navy p { color: var(--on-dark); }
a.tile:hover h3, a.tile:hover .learn { color: var(--blue); }
a.tile-navy:hover h3 { color: #fff; }
.machine-tile .spec-list { width: 100%; margin: 6px 0 0; text-align: left; }
.spec-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--tile-line); font-size: 14px; line-height: 1.4; }
.spec-row dt { font-weight: 600; color: var(--navy); flex: 0 0 46%; margin: 0; }
.spec-row dd { margin: 0; text-align: right; }
.machine-tile .card-packs { font-size: 14px; }
.ptile { position: relative; display: flex; align-items: flex-end; min-height: 260px; background: var(--dark); overflow: hidden; text-decoration: none; color: #fff; }
.ptile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; filter: grayscale(0.3); transition: opacity 0.2s ease; }
.ptile:hover img { opacity: 0.45; }
.ptile-label { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.ptile-label strong { font-family: var(--font-head); font-stretch: 125%; font-weight: 900; font-size: 20px; line-height: 1; text-transform: uppercase; color: #fff; }
.ptile-label span { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.ptile-plain { background: var(--navy); }
.card { display: flex; flex-direction: column; background: var(--tile); border: 0; border-radius: 0; overflow: hidden; text-decoration: none; color: inherit; }
a.card:hover h3 { color: var(--blue); }
.card-media { background: #fff; display: flex; justify-content: center; align-items: center; padding: 20px; }
.card-media img { width: 100%; height: 240px; object-fit: cover; }
.card-media-contain img { width: auto; max-width: 100%; height: 220px; object-fit: contain; }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 24px; flex: 1 1 auto; }
.card-body h3 { margin: 0; font-size: 20px; }
.card-body h3 a { text-decoration: none; color: inherit; }
.card-body p { margin: 0; font-size: 16px; }
.card-link { display: inline-block; margin-top: auto; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); text-decoration: none; }
.link-cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.link-card .card-body { padding: 20px 24px; }
.reasons { text-align: center; }
.reason { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.reason h3 { margin: 0; font-size: 20px; }
.reason p { margin: 0; font-size: 16px; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.facts details { border-bottom: 1px solid var(--line-light); }
.facts summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-family: var(--font-head); font-stretch: 125%; font-weight: 900; font-size: 17px; line-height: 1.2; text-transform: uppercase; color: var(--navy); }
.facts summary::-webkit-details-marker { display: none; }
.facts summary::after { content: "+"; font-family: var(--font-body); font-weight: 400; font-size: 26px; line-height: 1; color: var(--blue); }
.facts details[open] summary::after { content: "\2212"; }
.facts p { margin: 0 0 18px; font-size: 16px; }
.facts .learn { margin-bottom: 18px; }
.service-grid { align-items: center; gap: 56px; }
.service-media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.customers-card { display: flex; flex-direction: column; gap: 14px; padding: 36px; background: var(--dark); color: #fff; }
.customers-card h3 { color: #fff; font-size: 20px; margin: 0; }
.customers-card p { margin: 0; font-size: 20px; line-height: 1.4; color: #fff; }
.customers-card .small { color: var(--on-dark); font-size: 14px; }

/* ---------- Checklists, proof, bands ---------- */
.checklist { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.5; }
.checklist .icon { width: 22px; height: 22px; margin-top: 4px; color: var(--blue); stroke-width: 2.6; }
.checklist a { color: var(--navy); font-weight: 600; }
.checklist a:hover { color: var(--blue); }
.proof h2 { margin-bottom: 16px; }
.proof .mactec-range-customers-line { font-size: 18px; font-weight: 500; color: var(--navy); margin: 0 0 22px; }
.proof-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.proof-media img { width: 100%; max-height: 480px; object-fit: contain; }
.proof-videos { margin-top: 64px; }
.quote-band { background: var(--grad); color: #fff; }
.quote-band-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; padding-top: 96px; padding-bottom: 96px; }
.quote-band h2 { color: #fff; margin-bottom: 10px; }
.quote-band p { margin: 0; color: #dfe6f0; max-width: 60ch; }
.quote-band .btn-row { justify-content: center; }
.closing-ask { background: var(--navy); color: #fff; }
.closing-ask-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-top: 88px; padding-bottom: 88px; }
.closing-ask h2 { color: #fff; margin-bottom: 10px; }
.closing-ask p { margin: 0; color: var(--on-dark); max-width: 60ch; }
.hotline { background: var(--dark); color: #fff; text-align: center; border-bottom: 1px solid var(--dark-line); }
.hotline-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 28px; padding-bottom: 28px; }
.hotline h2 { color: #fff; font-size: 20px; margin: 0; }
.hotline a, .site-footer .hotline a { color: #fff; font-weight: 700; font-size: 20px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.hotline a:hover, .site-footer .hotline a:hover { color: #fff; text-decoration: underline; }
.fold { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 40px; }
.fold > summary { cursor: pointer; font-family: var(--font-head); font-stretch: 125%; font-weight: 900; font-size: 17px; text-transform: uppercase; color: var(--navy); padding: 18px 0; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: "+"; font-family: var(--font-body); font-weight: 400; font-size: 26px; line-height: 1; color: var(--blue); }
.fold[open] > summary::after { content: "\2212"; }
.fold-body { padding: 8px 0 28px; }
.spec-details { margin: 12px 0; }
.spec-details > summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.spec-content { margin-top: 8px; }
.machine-box { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--line-light); }
.machine-box-media img { width: 100%; height: auto; object-fit: contain; max-height: 320px; }
.machine-box-videos { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.details-text { margin-top: 40px; }
.options-grid { align-items: start; gap: 56px; }
.planning-grid { align-items: start; gap: 56px; }
.others-grid { gap: 16px; }
.others-grid .tile { padding: 28px 24px; }
.table-wrap { background: #fff; border: 1px solid var(--line-light); overflow-x: auto; }

/* ---------- Forms ---------- */
.form-section { background: var(--grad); color: #fff; }
.form-grid { align-items: start; gap: 56px; }
.form-intro h2 { margin-bottom: 14px; }
.form-section .form-intro h2 { color: #fff; }
.form-section .form-intro .lead { color: #dfe6f0; }
.form-section .form-intro .call-link { color: #fff; }
.form-card { background: #fff; color: var(--text); border-radius: var(--radius); padding: 28px; }
.form-card h2, .form-card h3 { color: var(--navy); }
.form-card p { color: var(--text); }
.form-card .mactec-growth-quote { margin: 0; padding: 0; background: transparent; }
.form-card .mactec-growth-quote__intro h2 { font-size: 26px; }
.gform_wrapper .gform_fields { list-style: none; margin: 0; padding: 0; }
.gform_wrapper .gform_fields > .gfield { list-style: none; }
.gform_wrapper input[type="text"], .gform_wrapper input[type="email"], .gform_wrapper input[type="tel"], .gform_wrapper input[type="number"], .gform_wrapper select, .gform_wrapper textarea { width: 100%; min-height: 46px; border: 1px solid #b9c2cf; border-radius: var(--radius); padding: 0 12px; font: inherit; font-size: 16px; background: #fff; color: #222; }
.gform_wrapper textarea { min-height: 110px; padding: 10px 12px; }
.gform_wrapper .gfield_label, .gform_wrapper label { font-weight: 600; font-size: 14px; color: var(--navy); }
.gform_wrapper .gform_button, .gform_wrapper input[type="submit"], .gform_wrapper button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; padding: 16px 24px; border: 0; border-radius: var(--radius); background: var(--accent); color: #fff; font: inherit; font-weight: 500; font-size: 18px; cursor: pointer; }
.gform_wrapper .gform_button:hover, .gform_wrapper input[type="submit"]:hover { background: var(--accent-dark); }
.contacts { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.contact-card { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; background: var(--tile); }
.contact-card span { color: var(--soft); font-size: 14px; }

/* ---------- Dialogs ---------- */
.dialog { border: 0; border-radius: var(--radius); padding: 0; max-width: min(92vw, 640px); width: 100%; box-shadow: 0 20px 60px rgba(3, 21, 32, 0.4); }
.dialog::backdrop { background: rgba(3, 21, 32, 0.7); }
.dialog-inner { position: relative; padding: 32px 28px 28px; }
.dialog-inner h2 { font-size: 26px; margin-right: 44px; }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--tile); color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.dialog-close .icon { width: 22px; height: 22px; }

/* ---------- Articles, lists, pages ---------- */
.article-head { padding: 56px 0 8px; }
.article-head h1 { margin-bottom: 12px; }
.article-date, .post-date { color: var(--soft); font-size: 14px; }
.article-body { padding-block: 16px 56px; }
.article-figure { margin: 0 0 24px; }
.article-figure img { max-height: 480px; width: auto; }
.post-list { display: grid; gap: 20px; }
.post-card { flex-direction: row; }
.post-card .card-media { flex: 0 0 30%; }
.post-card .card-media-contain img { height: 180px; }
.post-card .card-body h3 { font-size: 20px; }
.post-card .card-body h2 { font-size: 22px; margin: 0; }
.paging { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.paging a, .paging span, .wp-pagenavi a, .wp-pagenavi span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.wp-pagenavi { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.acf-section { padding: 64px 0; }
.acf-section + .acf-section { padding-top: 0; }
.acf-section.bg-navy { background: var(--dark); color: #fff; padding: 72px 0; }
.acf-section.bg-navy + .acf-section { padding-top: 64px; }
.acf-section.bg-navy h2, .acf-section.bg-navy h3, .acf-section.bg-navy strong { color: #fff; }
.acf-section.bg-navy p { color: var(--on-dark); }
.acf-section.bg-navy a { color: #fff; }
.standard { margin-bottom: 24px; }
.buckets .card-media img { height: 200px; }
.industry-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px 24px; }
.industry { display: flex; align-items: center; gap: 14px; }
.industry-icon img { width: 56px; height: 56px; object-fit: contain; }
.industry-name h3 { margin: 0; font-size: 18px; }
.industry-name small { color: var(--soft); }
.timeline-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.timeline-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: start; }
.timeline-year { font-family: var(--font-head); font-stretch: 125%; font-weight: 900; font-size: 28px; color: var(--blue); }
.gallery-item { margin: 0; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; }
.gallery-item figcaption { font-size: 14px; color: var(--soft); margin-top: 6px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.type-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line-light); text-decoration: none; color: inherit; }
.search-results { list-style: none; padding: 0; display: grid; gap: 8px; }

/* ---------- Footer (white, the same clean logo as the header; Andrew, Oct 12: no box behind the logo) ---------- */
.site-footer { background: #fff; color: var(--text); border-top: 1px solid var(--line-light); }
.site-footer a { color: var(--navy); text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.footer-inner { display: grid; grid-template-columns: 1.3fr 2.4fr; gap: 40px; padding-top: 60px; padding-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer-logo { display: block; }
.footer-logo img { width: 210px; height: auto; }
.footer-address { font-style: normal; color: var(--text); font-size: 15px; line-height: 1.6; }
.footer-address strong { color: var(--navy); }
.footer-phone { margin: 0; font-size: 15px; }
.footer-phone a { font-weight: 700; }
.btn-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--navy); font: inherit; font-size: 15px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.btn-link:hover { color: var(--blue); }
.footer-nav .footer-menu, .footer-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.footer-nav .footer-menu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.footer-nav .footer-menu > li > a, .mactec-footer-group-title { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; }
.footer-nav .sub-menu { display: flex; flex-direction: column; gap: 9px; }
.footer-nav .sub-menu a { font-size: 15px; color: var(--text); }
.footer-nav .sub-menu a:hover { color: var(--blue); }
.footer-legal { background: var(--page); border-top: 1px solid var(--line-light); }
.footer-legal-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 16px; font-size: 13px; color: var(--soft); }
.footer-legal a { color: var(--soft); }
.footer-legal-links { display: flex; gap: 16px; }

/* ---------- Plugin markup (Mactec Growth) ---------- */
.mactec-journey-panel { background: transparent; padding: 0; margin: 0 0 24px; }
.mactec-journey-inner { max-width: none; padding: 0; }
.mactec-journey-panel h2 { font-size: clamp(26px, 2.4vw, 30px); }
.mactec-journey-table { overflow-x: auto; border: 1px solid var(--line-light); background: #fff; margin: 16px 0; }
.mactec-journey-table table { border-collapse: collapse; width: 100%; font-size: 15px; }
.mactec-journey-table caption { text-align: left; padding: 12px 14px; font-weight: 700; color: var(--navy); }
.mactec-journey-table th, .mactec-journey-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-light); vertical-align: top; line-height: 1.45; }
.mactec-journey-table thead th { background: var(--tile); color: var(--navy); }
.mactec-journey-answer { margin-top: 24px; }
.mactec-journey-answer h3 { font-size: 20px; }
.mactec-journey-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 16px 0; }
.mactec-journey-cards article { background: var(--tile); padding: 24px; }
.mactec-journey-cards h3 { font-size: 20px; }
.mactec-journey-note { font-size: 14px; color: var(--soft); }
.mactec-journey-links { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 16px; }
#mactec-applications { padding: 72px var(--gutter); max-width: var(--wrap); margin: 0 auto; }
.mactec-growth-discovery, .mactec-buyer-guidance { background: transparent; padding: 0; margin: 0 0 24px; }
.mactec-growth-discovery-inner { max-width: none; padding: 0; }
.mactec-growth-discovery h2, .mactec-buyer-guidance h2 { font-size: clamp(24px, 2.2vw, 28px); }
.mactec-growth-project-evidence { margin-top: 0; padding-top: 0; border-top: 0; }
.mactec-growth-project-evidence h2 { font-size: 20px; margin: 28px 0 14px; }
.stories-grid { gap: 56px; align-items: start; }
.stories-grid .eyebrow { margin-bottom: 12px; }
.mactec-growth-project-evidence ul, .mactec-guide-links ul, .mactec-growth-related-navigation ul { padding-left: 1.2em; }
.mactec-pouch-questions, .mactec-product-questions { display: grid; gap: 16px; }
.mactec-pouch-questions h3, .mactec-product-questions h3 { font-size: 20px; margin-bottom: 4px; }
.mactec-growth-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.mactec-growth-button, a.mactec-growth-button { display: inline-flex; align-items: center; justify-content: center; padding: 16px 24px; border-radius: var(--radius); background: var(--accent); color: #fff; font-weight: 500; font-size: 18px; text-decoration: none; }
.mactec-growth-button:hover { background: var(--accent-dark); color: #fff; }
.mactec-growth-quote { background: transparent; }
.mactec-growth-quote__intro h2 { font-size: 26px; }
.mactec-quote-call { font-size: 15px; color: var(--text); }
.mactec-growth-page { padding-bottom: 0; }
.mactec-growth-page .mactec-growth-header, .mactec-growth-page .mactec-growth-content { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.mactec-growth-page .mactec-growth-header { padding-top: 64px; }
.mactec-growth-page .mactec-growth-content { padding-bottom: 72px; }
.mactec-growth-page > .mactec-growth-discovery { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.mactec-growth-page .mactec-growth-content > *:not(section):not(.mactec-journey-panel):not(aside) { max-width: 76ch; }
.mactec-growth-breadcrumbs { font-size: 14px; color: var(--soft); margin-bottom: 12px; }
.mactec-growth-breadcrumbs a { text-decoration: none; color: var(--soft); }
.mactec-growth-lead { font-size: 20px; color: var(--navy); }
.mactec-videos-grid figure { margin: 0; }
.mactec-paid-sticky-quote { font-family: var(--font-body); }
#mactec-pack-expo { max-width: none; }

/* ---------- Phones and tablets ---------- */
@media (max-width: 1023px) {
	.menu-toggle { display: inline-flex; }
	.header-buttons { display: flex; }
	.header-right { flex-direction: row; align-items: center; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; box-shadow: 0 16px 30px rgba(3, 21, 32, 0.12); }
	.mactec-nav-open .site-nav { display: block; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu > li > a { min-height: 48px; padding: 0 8px; font-size: 17px; border-bottom: 0; }
	.site-nav .menu > li.mactec-quote-menu { display: none; }
	.site-nav .menu > li.mactec-quote-menu > a { margin: 12px 0 0; justify-content: center; background: var(--accent); color: #fff; font-weight: 500; border-radius: var(--radius); }
	.site-nav .sub-menu { display: none; position: static; border: 0; box-shadow: none; padding: 0 0 8px 16px; }
	.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu { display: none; }
	.site-nav .menu > li.is-open > .sub-menu, .site-nav .menu > li.is-open:hover > .sub-menu, .site-nav .menu > li.is-open:focus-within > .sub-menu { display: block; }
	.site-nav .menu > li.menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
	.site-nav .menu > li.menu-item-has-children > a { flex: 1 1 auto; }
	.site-nav .menu > li.menu-item-has-children > .sub-menu { flex: 1 1 100%; }
	.mactec-submenu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; }
	.mactec-submenu-toggle::before { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); }
	.mactec-submenu-toggle[aria-expanded="true"]::before { transform: rotate(-135deg); }
}
html.mactec-nav-open { overflow: hidden; }
@media (max-width: 1024px) {
	.footer-inner { grid-template-columns: 1fr; }
	.footer-nav .footer-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	:root { --gutter: 16px; --section: 72px; }
	body { font-size: 17px; }
	h1 { font-size: 40px; }
	h2 { font-size: 30px; }
	.h-xl { font-size: 34px; }
	.section-tight, .acf-section { padding-block: 56px; }
	.grid-2, .grid-3 { grid-template-columns: 1fr; }
	.hero-inner, .hero-split .hero-inner { grid-template-columns: 1fr; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
	.hero-copy .lead { font-size: 22px; }
	.hero-centered .hero-copy .lead { font-size: 18px; }
	.hero-media img { height: 260px; }
	.hero-media-contain img, .hero-centered .hero-media img { max-height: 320px; }
	.utility-sep, .utility-place { display: none; }
	.site-logo img { width: 170px; }
	.btn-row { flex-direction: column; align-items: stretch; }
	.btn-row .btn, .btn-row .call-link { justify-content: center; }
	.section-foot { flex-direction: column; align-items: stretch; }
	.section-head { margin-bottom: 32px; }
	.post-card { flex-direction: column; }
	.post-card .card-media { flex: none; }
	.machine-box, .type-row { grid-template-columns: 1fr; }
	.timeline-list li { grid-template-columns: 1fr; }
	.mactec-journey-cards { grid-template-columns: 1fr; }
	.footer-nav .footer-menu { grid-template-columns: 1fr; }
	.quote-band-inner { padding-top: 64px; padding-bottom: 64px; }
	.closing-ask-inner { padding-top: 56px; padding-bottom: 56px; }
	.dialog-inner { padding: 24px 18px 20px; }
	.form-card { padding: 18px; }
	.tile { padding: 32px 20px 28px; }
	.tile-media img { height: 180px; }
	.ptile { min-height: 200px; }
	.proof-grid { grid-template-columns: 1fr; gap: 32px; }
	.service-media img { min-height: 240px; max-height: 300px; }
	.customers-card { padding: 28px 22px; }
}

/* ---------- Overrides of plugin styles written for the agency theme ---------- */
.hero .mactec-hero-sub { color: var(--navy); text-shadow: none; font-weight: 400; margin: 0; }
.proof-videos .mactec-videos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.proof-videos h2 { font-size: clamp(24px, 2.2vw, 28px); }
.mactec-videos { padding: 0; margin: 0; }
.home .mactec-videos { margin-top: 40px; }
@media (max-width: 767px) { .proof-videos .mactec-videos-grid { grid-template-columns: 1fr; } }
.form-card .gform_wrapper .gform_button, .form-card .gform_wrapper input[type="submit"], .mactec-growth-quote .gform_button { background: var(--accent) !important; color: #fff !important; border: 0 !important; }
.form-card .gform_wrapper .gform_button:hover, .form-card .gform_wrapper input[type="submit"]:hover { background: var(--accent-dark) !important; }
#hero .mactec-hero-sub, .hero .mactec-hero-sub, #hero .caption .mactec-hero-sub { color: var(--navy) !important; text-shadow: none !important; font-weight: 400 !important; line-height: 1.3 !important; margin: 0 !important; }
.hero-centered .mactec-hero-sub, #hero.hero-centered .mactec-hero-sub { color: var(--text) !important; line-height: 1.5 !important; }

/* ---------- Round 4 (Oct 12, late): pictures lead, words follow ---------- */
.hero-split .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; padding-top: 72px; padding-bottom: 72px; }
.hero-split h1 { font-size: clamp(40px, 4.5vw, 58px); max-width: 14ch; }
.hero-split .hero-media img { width: 100%; height: 520px; object-fit: cover; }
.hero-split .hero-media-contain img { height: auto; max-height: 640px; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; }
.home .hero-split .hero-inner { padding-bottom: 0; align-items: end; }
.home .hero-split .hero-copy { padding-bottom: 72px; }
.stats-strip { background: #fff; border-bottom: 1px solid var(--line-light); }
.stats { list-style: none; margin: 0 auto; padding: 28px var(--gutter); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stats li { display: flex; flex-direction: column; gap: 4px; padding-left: 18px; border-left: 3px solid var(--blue); }
.stats strong { font-family: var(--font-head); font-stretch: 125%; font-weight: 900; font-size: 40px; line-height: 1; color: var(--navy); }
.stats span { font-size: 15px; color: var(--text); }
.eyebrow-light { color: #fff; }
.tiles-big .tile-media img { height: 300px; }
.tiles-big .tile { padding: 44px 24px 36px; }
.tile-media-photo img { height: 240px; }
.tiles-big .tile-media-photo img { height: 300px; }
.ptiles .ptile { min-height: 320px; }
.ptile img { opacity: 0.55; filter: none; }
.ptile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 21, 32, 0) 35%, rgba(3, 21, 32, 0.85) 100%); }
.ptile-label { z-index: 1; }
.ptile:hover img { opacity: 0.7; }
.video-band .mactec-videos { max-width: 960px; margin: 0 auto; }
.video-band .mactec-videos h2, .video-band .mactec-videos-grid figcaption { color: #fff; text-align: center; }
.video-band .mactec-videos h2 { margin-bottom: 32px; }
.video-band .mactec-videos-grid { grid-template-columns: 1fr; gap: 0; }
.video-band .mactec-video img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.video-band .mactec-video figcaption { color: var(--on-dark); margin-top: 12px; }
.stories-side { display: flex; flex-direction: column; gap: 16px; }
.stories-photo img { width: 100%; height: 300px; object-fit: cover; }
.mactec-journey-cards article { background: var(--tile); padding: 28px; }
.mactec-journey-cards h3 { font-size: 20px; }
.service-media img { min-height: 420px; }
.proof-media img { max-height: none; height: 100%; min-height: 420px; object-fit: cover; }
/* 1.7.6: show the Pouch catalog machine in full, on a neutral canvas, at every screen size. */
.proof-media.proof-media-catalog { display: flex; align-items: center; background: #fff; padding: 24px; }
.proof-media.proof-media-catalog img { display: block; width: 100%; height: auto; min-height: 0; max-height: none; object-fit: contain; }
.fold + .fold { margin-top: 0; border-top: 0; }
@media (max-width: 1024px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.hero-split .hero-inner, .home .hero-split .hero-inner { padding-top: 48px; padding-bottom: 48px; align-items: start; }
	.home .hero-split .hero-copy { padding-bottom: 0; }
	.hero-split .hero-media img, .hero-split .hero-media-contain img { height: auto; max-height: 360px; }
	.stats { grid-template-columns: 1fr; gap: 16px; padding: 24px var(--gutter); }
	.stats strong { font-size: 32px; }
	.tiles-big .tile-media img, .tiles-big .tile-media-photo img { height: 220px; }
	.ptiles .ptile { min-height: 220px; }
	.service-media img, .proof-media img { min-height: 240px; max-height: 320px; }
}

/* ---------- Round 5 (Oct 12, 22:45): their home page composition, section for section, in Mactec's colours ---------- */
.vm-hero { position: relative; overflow: hidden; background: #fff; }
.vm-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(104deg, var(--page) 0 46%, #fff 46.2%); }
.vm-hero-drawing { position: absolute; left: -6%; top: 40px; width: 46%; height: auto; opacity: 0.07; filter: grayscale(1) contrast(1.2); pointer-events: none; }
.vm-hero-inner { position: relative; text-align: center; padding-top: 120px; }
.vm-hero .eyebrow-big { font-family: var(--font-head); font-stretch: 125%; font-weight: 300; font-size: clamp(26px, 3.2vw, 44px); letter-spacing: 0; line-height: 1; text-transform: uppercase; color: var(--navy); margin: 0 0 10px; }
.vm-hero h1 { font-size: clamp(42px, 5.2vw, 66px); margin: 0 auto; max-width: 18ch; }
.lineup { position: relative; margin-top: 24px; overflow: hidden; width: 100%; display: flex; justify-content: center; }
.lineup img { height: 340px; width: auto; max-width: none; flex: 0 0 auto; }
.promo-bar { position: relative; background: var(--blue); color: #fff; }
.promo-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) auto; align-items: center; gap: 32px; padding-top: 30px; padding-bottom: 30px; }
.promo-bar h2 { color: #fff; font-size: 28px; margin: 0 0 4px; }
.promo-bar p { margin: 0; color: #fff; font-size: 17px; }
.promo-bar .promo-when { font-size: 14px; color: #dbe4ff; }
.vm-hero-cta { position: relative; text-align: center; padding: 40px 0 96px; }
.why-band { position: relative; background: var(--dark); color: #fff; overflow: hidden; min-height: 700px; display: flex; align-items: center; }
.why-band .why-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; object-fit: cover; height: 100%; }
.why-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark) 0 38%, rgba(11, 26, 58, 0.82) 58%, rgba(11, 26, 58, 0.25) 100%); z-index: 1; }
.why-band > .wrap { position: relative; z-index: 2; width: 100%; }
.why-band h2 { color: #fff; text-align: center; max-width: 22ch; margin: 0 auto 120px; }
.why-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 900px; margin: 0 auto; }
.why-item { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.why-item h3 { color: #fff; font-size: 20px; margin: 0; max-width: 14ch; }
.cards-row { display: flex; gap: 48px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 24px; margin: 0 -24px; padding-left: 24px; padding-right: 24px; scrollbar-width: thin; }
.cards-row::-webkit-scrollbar { height: 6px; }
.cards-row::-webkit-scrollbar-thumb { background: #cfd4dc; border-radius: 3px; }
.mcard { flex: 0 0 296px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 24px; min-height: 590px; background: var(--tile); padding: 36px 30px; text-decoration: none; color: inherit; }
.mcard h3 { margin: 0; font-size: 20px; min-height: 2.2em; }
.mcard-media { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; }
.mcard-media img { max-height: 300px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.mcard:hover h3 { color: var(--blue); }
.cards-foot { text-align: center; margin-top: 40px; }
.cards-foot p { margin: 0 0 24px; }
.industry-band { background: var(--grad); color: #fff; position: relative; overflow: hidden; }
.industry-band::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 48px); }
.industry-band > * { position: relative; }
.industry-band h2 { color: #fff; }
.industry-band .lead { color: #e6ecf7; }
.industry-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 0 24px; }
.itile { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; overflow: hidden; text-decoration: none; }
.itile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.itile::after { content: ""; position: absolute; inset: 0; background: rgba(8, 20, 44, 0.4); transition: background 0.2s ease; }
.itile:hover::after { background: rgba(8, 20, 44, 0.25); }
.itile strong { position: relative; z-index: 1; font-family: var(--font-head); font-stretch: 125%; font-weight: 900; font-size: 22px; line-height: 1.05; text-transform: uppercase; color: #fff; text-align: center; padding: 0 20px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
.story-band { background: var(--tile); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.story-copy .eyebrow { margin-bottom: 10px; }
.story-copy h2 { margin-bottom: 24px; }
.story-copy .mactec-journey-cards { display: block; margin: 0 0 8px; }
.story-copy .mactec-journey-cards article { background: transparent; padding: 0 0 18px; }
.story-copy .mactec-journey-cards article + article { border-top: 1px solid #d9d9d9; padding-top: 18px; }
.story-copy .mactec-journey-cards h3 { font-size: 18px; margin-bottom: 6px; }
.story-copy .mactec-journey-cards p { margin-bottom: 8px; }
.story-copy .mactec-growth-project-evidence > h2, .story-copy .mactec-journey-note, .story-copy .mactec-growth-project-evidence > p { display: none; }
.story-photo { position: relative; min-height: 590px; }
.story-photo img { width: 100%; height: 100%; min-height: 590px; object-fit: cover; }
.story-card { position: absolute; top: 60px; right: 130px; width: 340px; min-height: 440px; background: rgba(12, 26, 58, 0.92); color: #fff; padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.story-card .eyebrow { color: #c9d3e3; margin: 0; }
.story-card p { margin: 0; font-size: 22px; line-height: 1.35; color: #fff; }
.here-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.here-photo img { width: 100%; height: 100%; min-height: 580px; object-fit: cover; }
.acc { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.acc details { background: var(--tile); }
.acc summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 50px; font-family: var(--font-head); font-stretch: 125%; font-weight: 900; font-size: 20px; line-height: 1.15; text-transform: uppercase; color: var(--navy); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-family: var(--font-body); font-weight: 400; font-size: 30px; line-height: 1; color: var(--navy); }
.acc details[open] summary::after { content: "\2212"; }
.acc details[open] summary { padding-bottom: 12px; }
.acc .acc-body { padding: 0 50px 32px; }
.acc .acc-body p { margin: 0 0 18px; }
.inform-band { background: var(--grad); color: #fff; }
.inform-band h2 { color: #fff; text-align: center; margin: 0 auto 64px; max-width: 24ch; }
.inform-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px; }
.icard { display: flex; flex-direction: column; gap: 20px; }
.icard img { width: 100%; height: 200px; object-fit: cover; }
.icard h3 { font-family: var(--font-head); font-stretch: 125%; font-weight: 700; font-size: 22px; line-height: 1.2; text-transform: none; color: #fff; margin: 0; padding: 0 24px; }
.icard .btn { align-self: flex-start; margin-left: 24px; }
.help-block { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); margin: 120px auto; max-width: var(--wrap); padding: 0 var(--gutter); }
.help-photo { position: relative; min-height: 400px; }
.help-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.help-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 20, 44, 0) 40%, rgba(8, 20, 44, 0.75) 100%); }
.help-photo h2 { position: absolute; left: 60px; bottom: 50px; z-index: 1; color: #fff; font-size: clamp(36px, 4vw, 56px); margin: 0; max-width: 10ch; }
.help-form { background: var(--tile); padding: 48px 56px; display: flex; flex-direction: column; gap: 16px; }
.help-form h3 { font-size: 20px; margin: 0; }
.help-form p { margin: 0 0 8px; }
.help-form .gform_wrapper input[type="text"], .help-form .gform_wrapper input[type="email"], .help-form .gform_wrapper input[type="tel"], .help-form .gform_wrapper select, .help-form .gform_wrapper textarea { background: #fff; border-color: #d2d6de; }
.help-form .btn-row { margin-top: 8px; }
.hotline { background: var(--dark); }
@media (max-width: 1024px) {
	.industry-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.inform-cards { gap: 32px; }
	.story-card { right: 24px; }
	.why-band .why-photo { width: 100%; }
	.why-band::before { background: rgba(11, 26, 58, 0.78); }
}
@media (max-width: 767px) {
	.vm-hero-inner { padding-top: 56px; }
	.lineup img { height: 190px; }
	.promo-inner { grid-template-columns: 1fr; gap: 14px; padding-top: 24px; padding-bottom: 24px; }
	.vm-hero-cta { padding: 28px 0 56px; }
	.why-band { min-height: 0; padding: 72px 0; }
	.why-band h2 { margin-bottom: 56px; }
	.why-items { grid-template-columns: 1fr; gap: 36px; }
	.cards-row { gap: 16px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
	.mcard { flex-basis: 78vw; min-height: 460px; }
	.industry-tiles { grid-template-columns: 1fr; padding: 0 16px; }
	.itile { aspect-ratio: 4 / 3; }
	.story-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
	.story-photo, .story-photo img { min-height: 420px; }
	.story-card { position: static; width: auto; min-height: 0; margin-top: -120px; margin-left: 16px; margin-right: 16px; padding: 28px 24px; }
	.here-grid { grid-template-columns: 1fr; }
	.here-photo img { min-height: 300px; max-height: 360px; }
	.acc summary { padding: 22px 24px; font-size: 17px; }
	.acc .acc-body { padding: 0 24px 24px; }
	.inform-cards { grid-template-columns: 1fr; }
	.icard h3, .icard .btn { padding-left: 0; margin-left: 0; }
	.help-block { grid-template-columns: 1fr; margin: 64px auto; }
	.help-photo { min-height: 300px; }
	.help-photo h2 { left: 24px; bottom: 24px; }
	.help-form { padding: 28px 20px; }
}

.help-form .mactec-growth-quote__intro h2 { font-size: 26px; }
.help-form .form-card, .help-form .mactec-growth-quote { background: transparent; padding: 0; box-shadow: none; }
.help-form .gform_wrapper { background: transparent; }

/* ---------- Round 6 (Oct 13): the motion their site has, without their libraries ---------- */
/* Sticky header (theirs: header--sticky, 0.2 s). */
.site-header { position: sticky; top: 0; transition: box-shadow 0.2s ease-in-out; }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(11, 26, 58, 0.12); }
.site-header.is-stuck .header-inner { padding-top: 8px; padding-bottom: 8px; }
.site-header.is-stuck .site-logo img { width: 170px; }
.header-inner, .site-logo img { transition: padding 0.2s ease-in-out, width 0.2s ease-in-out; }
/* Drop-down menus ease in (theirs: transform / max-height 0.3 s). */
/* The expanded navigation is used below 1024px. Its closed submenus must not
   inherit the invisible-but-space-taking desktop dropdown animation. */
@media (min-width: 1024px) {
	.site-nav .sub-menu { display: block; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out, visibility 0s linear 0.2s; }
	.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu, .site-nav .menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
/* Hover (theirs: all 0.2 s ease-in-out on links and buttons; images scale). */
.btn { transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11, 26, 58, 0.18); }
.learn, .card-link, .tag, .site-nav .menu > li > a { transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out; }
.mcard { transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; }
.mcard:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(11, 26, 58, 0.12); }
.mcard-media img { transition: transform 0.3s ease-in-out; }
.mcard:hover .mcard-media img { transform: scale(1.04); }
.itile img, .icard img, .ptile img, .tile-media img, .stories-photo img, .here-photo img { transition: transform 0.4s ease-in-out, opacity 0.2s ease-in-out; }
.itile:hover img, .icard:hover img, .ptile:hover img { transform: scale(1.05); }
.icard { overflow: hidden; }
.tile { transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; }
a.tile:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(11, 26, 58, 0.12); }
/* Accordion eases open (theirs: accordion 0.2 s). */
@keyframes mactec-acc-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.acc details[open] .acc-body, .facts details[open] > p, .fold[open] > .fold-body { animation: mactec-acc-open 0.2s ease-out; }
.acc summary::after, .facts summary::after, .fold > summary::after { transition: transform 0.2s ease-in-out; display: inline-block; }
.acc details[open] summary::after, .facts details[open] summary::after, .fold[open] > summary::after { transform: rotate(180deg); }
/* Carousel (theirs: Splide, 3 per page, arrows outside, dots on phones, 400 ms). */
.carousel { position: relative; }
.carousel-arrow { position: absolute; top: 45%; z-index: 2; width: 56px; height: 56px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 20px rgba(11, 26, 58, 0.2); transition: background-color 0.2s ease-in-out, opacity 0.2s ease-in-out, transform 0.2s ease-in-out; }
.carousel-arrow .icon { width: 26px; height: 26px; }
.carousel-prev { left: -28px; }
.carousel-prev .icon { transform: rotate(180deg); }
.carousel-next { right: -28px; }
.carousel-arrow:hover { background: var(--blue); transform: scale(1.06); }
.carousel-arrow[disabled] { opacity: 0.25; cursor: default; transform: none; }
.carousel-dots { display: none; justify-content: center; gap: 10px; margin-top: 8px; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #c9cfd9; cursor: pointer; padding: 0; transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out; }
.carousel-dots button.is-active { background: var(--navy); transform: scale(1.3); }
.cards-row { scroll-behavior: smooth; scrollbar-width: none; scroll-padding: 0 24px; }
.cards-row::-webkit-scrollbar { display: none; }
/* Promo bar: closable, slides away (theirs: banner_animation 0.5 s). */
.promo-bar { transition: max-height 0.5s ease-in-out, opacity 0.4s ease-in-out; max-height: 400px; overflow: hidden; }
.promo-bar.is-closed { max-height: 0; opacity: 0; }
.promo-close { position: absolute; top: 14px; right: 18px; width: 40px; height: 40px; border: 0; background: transparent; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: background-color 0.2s ease-in-out; }
.promo-close:hover { background: rgba(255, 255, 255, 0.18); }
.promo-close .icon { width: 24px; height: 24px; }
@media (max-width: 1024px) { .carousel-arrow { display: none; } .carousel-dots { display: flex; } }
@media (max-width: 767px) { .promo-close { top: 8px; right: 8px; } }

/* Round 7 (Oct 13): the story card counts its numbers up as it comes into view, like their stats card. */
.story-card { gap: 18px; }
.story-card .stat { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.story-card .stat-num { font-family: var(--font-head); font-stretch: 125%; font-weight: 900; font-size: 52px; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.story-card .stat-label { font-size: 15px; line-height: 1.35; color: #c9d3e3; }
.story-card .story-customers { margin: 10px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 15px; line-height: 1.45; color: #dfe6f0; }

/* ---------- 1.5.0: Gravity Forms error and success states (Oct 14 audit). !important beats the plugin's form sheet, which loads before this file. ---------- */
.gform_wrapper .gform_validation_errors { background: #fff4f5 !important; border: 1px solid #f0c3c9 !important; border-radius: var(--radius); padding: 12px 14px !important; margin: 0 0 16px !important; }
.gform_wrapper .gform_validation_errors h2, .gform_wrapper .gform_validation_errors .gform_submission_error { font-family: var(--font-body) !important; font-size: 15px !important; font-weight: 600 !important; font-stretch: 100%; line-height: 1.4 !important; letter-spacing: 0; text-transform: none !important; color: #9b1c1c !important; margin: 0 !important; }
.gform_wrapper .gfield_error .gfield_label, .gform_wrapper .gfield_error label { color: #9b1c1c !important; }
.gform_wrapper .gfield_error input[type="text"], .gform_wrapper .gfield_error input[type="email"], .gform_wrapper .gfield_error input[type="tel"], .gform_wrapper .gfield_error input[type="number"], .gform_wrapper .gfield_error select, .gform_wrapper .gfield_error textarea { border: 2px solid #c62828 !important; }
.gform_wrapper .gfield_error .gfield_description, .gform_wrapper .gfield_error .validation_message, .gform_wrapper .gfield_validation_message { color: #9b1c1c !important; font-size: 14px !important; line-height: 1.4; font-weight: 600 !important; margin: 6px 0 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
.gform_wrapper .gform_confirmation_message { font-size: 17px; line-height: 1.5; padding: 16px 18px; border: 1px solid #bfe3c8; border-radius: var(--radius); background: #f2fbf4; color: var(--navy); }
.form-section .gform_confirmation_message { color: #fff; background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.35); }

/* 1.7.0: the ad landing pages' first phone screen (hub hero and plugin-template header). 1.7.1: no flex rule on the hero
   buttons; the theme's own column layout at <= 767 px already stacks them full width (a flex-basis of 100% turned each
   button into its own 116 px column on phones). */
.hero-audience { margin: -6px 0 0; font-size: 19px; line-height: 1.5; color: var(--navy); font-weight: 600; max-width: 50ch; }
.hero-customers .mactec-range-customers-line { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text); }
.hero-customers .mactec-range-customers-line strong { color: var(--navy); }
.hero-explore { margin-top: -4px; }
.hero-text .hero-intro { max-width: 60ch; }
.hero-text .hero-intro p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--soft); }
.detail-hero .hero-audience, .detail-hero-copy .hero-audience { margin: 10px 0 0; font-size: 19px; line-height: 1.5; color: var(--navy); font-weight: 600; max-width: 50ch; }
.detail-hero .hero-intro { margin-top: 14px; max-width: 60ch; }
.detail-hero .hero-intro p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--soft); }
.hero-proof { margin: 8px 0 0; font-size: 16px; line-height: 1.6; color: var(--text); max-width: 60ch; }
@media (max-width: 650px) {
	.hero-audience { font-size: 17px; }
}

/* 1.7.7: show each reviewed equipment photograph in full, including old gallery/news/service slots. */
body #mactec-main img.mactec-clean-machine-photo { object-fit: contain; }
.gallery-item img.mactec-clean-machine-photo { width: 100%; height: 220px; object-fit: contain; background: #fff; }
.post-card .card-media img.mactec-clean-machine-photo { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.range-resource-grid > a > img.mactec-clean-machine-photo,
.range-application-card > img.mactec-clean-machine-photo,
.range-project-image img.mactec-clean-machine-photo { object-fit: contain; background: #fff; }
