/* AMTAB theme — all front-end styles.
   Values are pinned against the live Elementor site (kit post-12.css + computed
   styles measured 2026-07): body #070707/#999999 Helvetica 19.2px, headings
   Roboto 100 orange, content boxed at 1140px with 10px gutters, breakpoints
   767 / 1024. */

/* ---------- Fonts (self-hosted, GDPR) ---------- */

@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 100;
	font-display: swap;
	src: url('../fonts/roboto-v51-latin-100.woff2') format('woff2');
}
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/roboto-v51-latin-regular.woff2') format('woff2');
}
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/roboto-v51-latin-500.woff2') format('woff2');
}
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/roboto-v51-latin-700.woff2') format('woff2');
}

/* ---------- Tokens ---------- */

:root {
	--c-bg: #070707;
	--c-surface: #383838;
	--c-surface-hover: #2f2f2f;
	--c-black: #000000;
	--c-text: #999999;
	--c-accent: #ff6600;
	--c-white: #ffffff;
	--c-border: #474646;
	--content: 1140px;
	--gutter: 10px;
	--font-body: Helvetica, sans-serif;
	--font-heading: 'Roboto', sans-serif;
}

/* ---------- Base ---------- */

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

/* No CSS smooth-scrolling: it animates the initial jump to #anchors on page
   load (e.g. after the form redirect). nav.js smooth-scrolls clicks instead. */
html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--font-body);
	font-size: 19.2px;
	line-height: 1.5;
}

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

a { color: var(--c-text); text-decoration: none; }
a:hover { color: var(--c-accent); }

h1, h2, h3, h4, h5, h6 { margin: 0 0 20px; }

h2 {
	color: var(--c-accent);
	font-family: var(--font-heading);
	font-size: 38.4px;
	font-weight: 100;
	letter-spacing: 1.9px;
	line-height: 1.45;
}

p { margin: 0 0 1em; }

/* Orange bullets, as on the live site (kit custom CSS) — content lists only. */
.site-main ul {
	list-style: none;
	padding-left: 1.2em;
	margin: 0 0 1em;
}
.site-main ul li::before {
	color: var(--c-accent);
	content: '\2022';
	font-weight: bolder;
	display: inline-block;
	width: 1em;
	margin-left: -1em;
}

/* ---------- Layout: boxed content, full-bleed opt-out ---------- */

.site-main > * {
	max-width: var(--content);
	margin-left: auto;
	margin-right: auto;
	padding: var(--gutter);
}
.site-main > .alignfull {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

/* Text-size variants used by the old text-editor widgets. */
.amtab-text-a { font-size: 15.36px; font-weight: 300; line-height: 1.2; }
.amtab-text-b { font-size: 15.36px; font-weight: 400; line-height: 1.4; }
.amtab-text-c { font-size: 13.44px; font-weight: 400; line-height: 1.4; }
.amtab-text-d { font-size: 15.36px; font-weight: 400; line-height: 1.2; }

.wp-block-buttons { display: flex; gap: 10px; justify-content: center; }
.wp-block-buttons.is-content-justification-left { justify-content: flex-start; }

/* Blocks inside a section group keep the 20px widget rhythm of the old site. */
.site-main .wp-block-group > * + * { margin-top: 20px; }
.site-main .wp-block-group > * { margin-bottom: 0; }

@media (max-width: 1024px) {
	:root { --content: 1024px; }
}
@media (max-width: 767px) {
	:root { --content: 767px; }
}

/* ---------- Header ---------- */

.site-header {
	background: var(--c-bg);
}
.header-inner {
	max-width: var(--content);
	margin: 0 auto;
	padding: 20px var(--gutter) 20px;
	display: flex;
	align-items: flex-start;
}
.header-nav-col,
.header-logo-col { width: 50%; padding: 0 var(--gutter); }
.header-logo-col { text-align: right; }

.site-logo { display: inline-block; }
.site-logo img { display: block; width: 300px; height: auto; }

.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 33px;
	height: 33px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--c-accent);
	cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded='true'] .icon-burger { display: none; }
.menu-toggle[aria-expanded='true'] .icon-close { display: block; }

/* Dropdown panel: in normal flow (pushes the page down), half-container wide. */
.site-nav {
	margin-top: 0;
	background: var(--c-surface);
	border: 3px solid var(--c-accent);
	border-radius: 10px;
	overflow: hidden;
}
.site-nav[hidden] { display: none; }
.site-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-menu a {
	display: block;
	padding: 6px 30px;
	color: var(--c-accent);
	font-family: var(--font-heading);
	font-size: 16.9px;
	font-weight: 700;
	letter-spacing: 1.8px;
	line-height: 2;
	text-decoration: none;
}
.site-menu a:hover,
.site-menu a:focus,
.site-menu .current-menu-item > a,
.site-menu .current_page_item > a {
	background: var(--c-surface-hover);
	color: var(--c-accent);
}

@media (max-width: 767px) {
	.site-logo img { width: 100%; }
	.site-menu a { padding: 6px 16px; }
}

/* ---------- Footer badge ---------- */

.site-footer {
	max-width: var(--content);
	margin: 0 auto;
	padding: 20px var(--gutter);
	text-align: center;
}
.site-footer img { display: inline-block; vertical-align: top; width: 300px; height: auto; }

/* ---------- Buttons ---------- */

.wp-block-button__link,
button.amtab-button {
	display: inline-block;
	background: var(--c-accent);
	color: var(--c-white);
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	text-transform: uppercase;
	text-decoration: none;
	border: 0;
	border-radius: 20px;
	padding: 8px 20px;
	cursor: pointer;
	line-height: 1.6;
}
.wp-block-button__link:hover,
button.amtab-button:hover { color: var(--c-white); opacity: 0.92; }

.btn-more-video .wp-block-button__link { font-weight: 600; padding: 6px 20px; }

/* ---------- Tagline (ACCURATE RELIABLE DURABLE) ---------- */

.amtab-tagline {
	color: var(--c-text);
	font-family: var(--font-body);
	font-size: 37px;
	font-weight: 100;
	letter-spacing: 8px;
	line-height: 1.5;
	text-align: center;
	padding: 8px 0;
}
@media (max-width: 1024px) {
	.amtab-tagline { font-size: 22px; }
}
@media (max-width: 767px) {
	.amtab-tagline { font-size: 11px; letter-spacing: 2.7px; }
}

/* ---------- Section headings with zero letter-spacing (home sections) ---------- */

.ls-0 { letter-spacing: 0 !important; }

/* ---------- Carousel ---------- */

.amtab-carousel {
	position: relative;
	padding-top: 10px;
	padding-bottom: 10px;
}
.amtab-carousel .amtab-track {
	display: flex;
	transition: transform 0.5s ease;
}
.amtab-carousel .wp-block-image {
	flex: 0 0 100%;
	margin: 0;
	min-width: 100%;
}
.amtab-carousel .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}
.amtab-carousel .wp-block-image figcaption {
	margin: 0;
	text-align: center;
	color: var(--c-accent);
	font-family: var(--font-heading);
	font-size: 38.4px;
	font-weight: 100;
	letter-spacing: 1.4px;
	line-height: 1.4;
}
/* Before JS boots, show only the first slide. */
.amtab-carousel:not(.is-ready) .wp-block-image:not(:first-of-type) { display: none; }
.amtab-carousel .amtab-viewport { overflow: hidden; }

.amtab-carousel .carousel-arrow {
	position: absolute;
	top: 40%;
	transform: translateY(-50%);
	background: none;
	border: 0;
	padding: 0;
	color: rgba(238, 238, 238, 0.9);
	cursor: pointer;
	z-index: 2;
	line-height: 1;
}
.amtab-carousel .carousel-arrow.prev { left: 30px; }
.amtab-carousel .carousel-arrow.next { right: 30px; }

.amtab-carousel .carousel-dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	padding: 10px 0 5px;
	margin: 0;
}
.amtab-carousel .carousel-dots button {
	width: 6px;
	height: 6px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #000;
	opacity: 0.2;
	cursor: pointer;
}
.amtab-carousel .carousel-dots button[aria-current='true'] { opacity: 1; }

@media (max-width: 1024px) {
	.amtab-carousel .wp-block-image figcaption { font-size: 30.7px; }
}
@media (max-width: 767px) {
	.amtab-carousel .wp-block-image figcaption { font-size: 23px; }
}

/* ---------- Home: solution / blurb grid ---------- */

.amtab-grid.wp-block-columns {
	gap: 16px;
	margin-top: 8px;
	margin-bottom: 8px;
}
.amtab-grid .wp-block-column {
	background: var(--c-surface);
	padding: 10px;
}
.amtab-grid .wp-block-column > * + * { margin-top: 20px; }
.amtab-grid h2 { text-align: center; }

.amtab-surface { background: var(--c-surface); }
.wp-block-group.amtab-surface { padding: 10px; }

/* ---------- Accordion (case studies) ---------- */

.amtab-accordion details {
	border: 1px solid var(--c-border);
	background: var(--c-surface);
}
.amtab-accordion details + details { border-top: 0; }
.amtab-accordion summary {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 15px 20px;
	cursor: pointer;
	color: var(--c-accent);
	font-size: 19.2px;
	font-weight: 700;
	line-height: 1.2;
}
.amtab-accordion summary::-webkit-details-marker { display: none; }
.amtab-accordion summary::before {
	content: '';
	flex: 0 0 19px;
	width: 19px;
	height: 19px;
	background-color: var(--c-accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M416 208H272V64c0-17.7-14.3-32-32-32h-32c-17.7 0-32 14.3-32 32v144H32c-17.7 0-32 14.3-32 32v32c0 17.7 14.3 32 32 32h144v144c0 17.7 14.3 32 32 32h32c17.7 0 32-14.3 32-32V304h144c17.7 0 32-14.3 32-32v-32c0-17.7-14.3-32-32-32z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M416 208H272V64c0-17.7-14.3-32-32-32h-32c-17.7 0-32 14.3-32 32v144H32c-17.7 0-32 14.3-32 32v32c0 17.7 14.3 32 32 32h144v144c0 17.7 14.3 32 32 32h32c17.7 0 32-14.3 32-32V304h144c17.7 0 32-14.3 32-32v-32c0-17.7-14.3-32-32-32z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.amtab-accordion details[open] > summary::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M416 208H32c-17.7 0-32 14.3-32 32v32c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32v-32c0-17.7-14.3-32-32-32z'/%3E%3C/svg%3E");
	        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M416 208H32c-17.7 0-32 14.3-32 32v32c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32v-32c0-17.7-14.3-32-32-32z'/%3E%3C/svg%3E");
}
.amtab-accordion .acc-body {
	border-top: 1px solid var(--c-border);
	padding: 15px 20px;
	font-size: 15.36px;
	line-height: 1.2;
}
.amtab-accordion .acc-body img { display: block; margin: 10px 0; }

/* ---------- Contact form (rendered by amtab-core plugin) ---------- */

.amtab-form { background: var(--c-surface); padding: 10px; }
.amtab-form .form-row { padding: 0 10px 20px; }
.amtab-form label {
	display: block;
	font-size: 15.36px;
	color: var(--c-text);
	margin-bottom: 4px;
}
.amtab-form input[type='text'],
.amtab-form input[type='email'],
.amtab-form textarea {
	width: 100%;
	background: var(--c-white);
	color: #1f2124;
	border: 1px solid #69727d;
	border-radius: 3px;
	font-family: var(--font-body);
	font-size: 15px;
	padding: 8px 16px;
}
.amtab-form textarea { min-height: 96px; resize: vertical; }
/* Attribution note left, Send right, on one row (wraps on narrow screens). */
.amtab-form .form-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 10px 20px;
	padding: 0 10px;
}
.amtab-form .form-footer button {
	background: var(--c-accent);
	color: var(--c-white);
	font-family: var(--font-body);
	font-size: 23px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	border: 0;
	border-radius: 20px;
	padding: 5px 30px;
	cursor: pointer;
	margin-left: auto;
}
.amtab-form .form-note {
	flex: 1 1 320px;
	font-size: 13px;
	margin: 0;
	padding: 0;
}
.amtab-form .form-message { padding: 10px; font-size: 15.36px; }
.amtab-form .form-message.is-error { color: var(--c-accent); }

/* Honeypot field — hidden from humans. */
.amtab-form .hp-field { position: absolute !important; left: -9999px !important; }

/* ---------- Google Maps embed ---------- */

.amtab-map iframe {
	display: block;
	width: 100%;
	height: 300px;
	border: 0;
}

/* ---------- Video page: playlist ---------- */

.amtab-playlist {
	display: flex;
	background: var(--c-black);
	min-height: 422px;
}
.amtab-playlist .playlist-player {
	flex: 1 1 auto;
	min-width: 0;
	background: var(--c-black);
}
.amtab-playlist .playlist-player video {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 422px;
	background: var(--c-black);
}
.amtab-playlist .playlist-items {
	flex: 0 0 370px;
	display: flex;
	flex-direction: column;
	background: var(--c-black);
}
.amtab-playlist .playlist-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--c-surface);
	padding: 0 16px;
	height: 56px;
	font-size: 14px;
}
.amtab-playlist .playlist-header .ph-title {
	color: var(--c-accent);
	font-weight: 700;
	letter-spacing: 1px;
}
.amtab-playlist .playlist-header .ph-count { color: var(--c-accent); }
.amtab-playlist .playlist-item {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--c-black);
	color: var(--c-accent);
	font-family: var(--font-body);
	font-size: 14px;
	text-align: left;
	text-transform: uppercase;
	border: 0;
	padding: 10px 16px 10px 0;
	height: 56px;
	cursor: pointer;
	width: 100%;
}
.amtab-playlist .playlist-item img {
	width: 75px;
	height: 36px;
	object-fit: cover;
	flex: 0 0 75px;
}
.amtab-playlist .playlist-item .pi-title { flex: 1 1 auto; }
.amtab-playlist .playlist-item .pi-duration { color: var(--c-text); }
.amtab-playlist .playlist-item[aria-current='true'] {
	background: #ffffff;
	color: #333333;
}

@media (max-width: 767px) {
	.amtab-playlist { flex-direction: column-reverse; min-height: 0; }
	.amtab-playlist .playlist-items { flex-basis: auto; }
	.amtab-playlist .playlist-player video { max-height: none; }
}

.amtab-divider {
	border: 0;
	border-top: 1px solid var(--c-black);
	margin: 20px auto;
	width: 100%;
}

/* ---------- Partners: hotspot world map ---------- */

.amtab-world { text-align: center; }
/* The old site hides the hotspot map on phones. */
@media (max-width: 767px) {
	.amtab-world { display: none; }
}
.amtab-world-box {
	position: relative;
	display: inline-block;
	margin: 0;
}
.amtab-world-box img {
	display: block;
	max-height: 710px;
	width: auto;
	max-width: 100%;
}
.amtab-world .dot {
	position: absolute;
	left: var(--x);
	top: var(--y);
	transform: translate(-50%, -100%);
	width: 18px;
	height: 24px;
	padding: 2px;
	background: var(--c-surface);
	border: 0;
	border-radius: 3px;
	color: var(--c-accent);
	cursor: pointer;
}
.amtab-world .dot svg { display: block; width: 100%; height: 100%; }
.amtab-world .dot .dot-label {
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	background: var(--c-surface);
	color: var(--c-text);
	font-size: 13px;
	line-height: 1.3;
	white-space: nowrap;
	padding: 4px 10px;
	border-radius: 3px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	z-index: 3;
}
.amtab-world .dot:hover .dot-label,
.amtab-world .dot:focus .dot-label { opacity: 1; }

/* ---------- Partners: directory rows ---------- */

.amtab-partner.wp-block-columns { gap: 0; margin-bottom: 0; }
.amtab-partner .wp-block-column:first-child {
	flex: 0 0 33.33%;
	text-align: center;
}
.amtab-partner .wp-block-column:last-child { flex: 1; }
.amtab-partner p { margin: 0; }
.amtab-partner strong { font-weight: 700; }
.amtab-partner .wp-block-image { margin: 0; }
@media (max-width: 767px) {
	.amtab-partner { font-size: 13.44px; }
}

/* ---------- Download page rows ---------- */

.amtab-download.wp-block-columns { margin-bottom: 20px; }
.amtab-download .wp-block-column > * + * { margin-top: 20px; }

/* ---------- SMQ page ---------- */

.amtab-smq-logo { background: var(--c-surface); }

/* ---------- Scroll entrance animations ---------- */

html.js-anim .anim-slide-up,
html.js-anim .anim-fade-up,
html.js-anim .anim-slide-down {
	opacity: 0;
}
html.js-anim .in-view.anim-slide-up { animation: amtabSlideUp 1s ease both; }
html.js-anim .in-view.anim-fade-up { animation: amtabFadeUp 1s ease both; }
html.js-anim .in-view.anim-slide-down { animation: amtabSlideDown 1s ease both; }

@keyframes amtabSlideUp {
	from { opacity: 1; transform: translateY(80px); }
	to { opacity: 1; transform: none; }
}
@keyframes amtabFadeUp {
	from { opacity: 0; transform: translateY(40px); }
	to { opacity: 1; transform: none; }
}
@keyframes amtabSlideDown {
	from { opacity: 1; transform: translateY(-60px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	html.js-anim .anim-slide-up,
	html.js-anim .anim-fade-up,
	html.js-anim .anim-slide-down { opacity: 1; animation: none; }
}

/* Badge hidden per Google's guidelines: the required reCAPTCHA attribution
   is shown as text inside the contact form instead. */
.grecaptcha-badge { visibility: hidden !important; }

/* ---------- 404 ---------- */

.section-404 { text-align: center; padding: 60px 10px; }
