/* Signal - homepage template. */

.signal-home { font-family: var(--sg-font); color: var(--sg-ink); }

/* ---------- Shared bits ---------------------------------------------------- */
.sh-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
}
.sh-section-title {
	margin: 14px 0 0;
	font: 800 clamp(26px, 3vw, 40px)/1.1 var(--sg-display);
	letter-spacing: -.02em;
}
.sh-section-title--light { color: #fff; }
.signal-home .sh-underline-link {
	font: 800 12px/1 var(--sg-font);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--sg-ink);
	text-decoration: none;
	border-bottom: 2px solid var(--sg-red);
	padding-bottom: 5px;
	white-space: nowrap;
}
.sh-btn {
	display: inline-flex;
	align-items: center;
	height: 50px;
	padding: 0 28px;
	border-radius: 2px;
	font: 800 13px/1 var(--sg-font);
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .15s, color .15s, border-color .15s;
	white-space: nowrap;
}
.signal-home .sh-btn--red { background: var(--sg-red); color: #fff; }
.signal-home .sh-btn--red:hover { background: #fff; color: var(--sg-ink); }
.signal-home .sh-btn--ghost { border: 1px solid rgba(255, 255, 255, .38); color: #fff; }
.signal-home .sh-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Hero ------------------------------------------------------------ */
.sh-hero {
	position: relative;
	background: #0b0b0d;
	min-height: 600px;
	display: flex;
	overflow: hidden;
}
.sh-hero__media {
	position: absolute;
	inset: 0;
	background: #0b0b0d; /* any uncovered pixel stays dark, never page-white */
}
.sh-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: scale(1);
	transition: opacity .9s ease, transform 8s linear;
}
.sh-hero__slide.is-active { opacity: 1; transform: scale(1.03); }
.sh-hero__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 78% 82%;
}
.sh-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(8,8,10,.94) 0%, rgba(8,8,10,.82) 40%, rgba(8,8,10,.25) 70%, rgba(8,8,10,.45) 100%);
}
.sh-hero__inner {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	padding-top: 70px;
}
.sh-hero__content {
	max-width: 620px;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.sh-hero__copies { display: grid; }
.sh-hero__copy {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity .45s ease, visibility .45s;
}
.sh-hero__copy.is-active {
	opacity: 1;
	visibility: visible;
}
.sh-hero__eyebrow-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 22px;
}
.sh-hero__dash { width: 34px; height: 2px; background: var(--sg-red); }
.sh-hero__title {
	margin: 0;
	font: 900 clamp(30px, 5.2vw, 72px)/0.98 var(--sg-display);
	letter-spacing: -.025em;
	color: #fff;
	overflow-wrap: anywhere; /* a long single word can't push past a narrow phone */
	text-wrap: balance;
}
.sh-hero__text {
	margin: 22px 0 0;
	max-width: 470px;
	font: 400 17px/1.65 var(--sg-font);
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .45); /* stays legible where the photo is bright */
}
.sh-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

/* hero tab bar */
.sh-hero__tabs {
	display: flex;
	flex-wrap: wrap;
	margin-top: 60px;
	border-top: 1px solid rgba(255, 255, 255, .18);
}
.signal-home .sh-hero__tab {
	position: relative;
	flex: 1 1 220px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 20px 22px 24px 0;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	color: rgba(255, 255, 255, .55);
	transition: color .25s ease;
}
.sh-hero__tab.is-active { color: #fff; }
.sh-hero__bar {
	position: absolute;
	top: -1px;
	left: 0;
	height: 2px;
	background: var(--sg-red);
	width: 0;
}
/* the active tab's bar fills over the 6s slide interval (see signal-home.js)
   and freezes while the slider is paused on hover/focus */
@keyframes shBar { from { width: 0; } to { width: 100%; } }
.sh-hero__tab.is-active .sh-hero__bar { animation: shBar 6s linear forwards; }
.sh-hero.is-paused .sh-hero__tab.is-active .sh-hero__bar { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
	.sh-hero__tab.is-active .sh-hero__bar { animation: none; width: 100%; }
}
.sh-hero__tab-row { display: flex; align-items: center; gap: 12px; }
.sh-hero__num {
	font: 600 11px/1 ui-monospace, Menlo, monospace;
	letter-spacing: .12em;
	color: rgba(255, 255, 255, .42);
	transition: color .25s ease;
}
.sh-hero__tab.is-active .sh-hero__num { color: var(--sg-red); }
.sh-hero__pipe { width: 1px; height: 11px; background: rgba(255, 255, 255, .24); }
.sh-hero__tab-label { font: 800 15px/1.2 var(--sg-font); letter-spacing: -.01em; }

/* ---------- Stats ------------------------------------------------------------ */
.sh-stats { background: var(--sg-ink); color: #fff; }
/* 2x2 by default, one full-width row of four on wide screens - never 3+1 */
.sh-stats__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sh-stats__cell {
	padding: 30px 23px;
	text-align: center;
	border-left: 1px solid rgba(255, 255, 255, .12);
}
.sh-stats__cell:nth-child(odd) { border-left: 0; }
.sh-stats__cell:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
@media (min-width: 900px) {
	.sh-stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.sh-stats__label { white-space: nowrap; }
	.sh-stats__cell { border-top: 0; }
	.sh-stats__cell:nth-child(odd) { border-left: 1px solid rgba(255, 255, 255, .12); }
	.sh-stats__cell:first-child { border-left: 0; }
}
.sh-stats__num { font: 900 clamp(18px, 5vw, 34px)/1 var(--sg-display); letter-spacing: -.02em; white-space: nowrap; }
.sh-stats__num--red { color: var(--sg-red); }
.sh-stats__label { margin-top: 8px; font: 500 12.5px/1.5 var(--sg-font); color: #a4a4ac; text-wrap: balance; }

/* ---------- About / quality ---------------------------------------------------- */
.sh-about { background: #fff; }
.sh-about__grid {
	padding-top: var(--sg-sect);
	padding-bottom: var(--sg-sect);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 60px;
	align-items: start;
}
.sh-about__title {
	margin: 18px 0 0;
	font: 800 clamp(28px, 3.4vw, 46px)/1.08 var(--sg-display);
	letter-spacing: -.02em;
	max-width: 16ch;
	text-wrap: balance;
}
.sh-about__text {
	margin: 24px 0 28px;
	max-width: 52ch;
	font: 400 17px/1.7 var(--sg-font);
	color: #4a4a53;
}
.sh-about__cells {
	display: grid;
	border: 1px solid #e7e7ea;
	background: #fff;
}
.sh-about__cell { padding: 24px 26px; }
.sh-about__cell + .sh-about__cell { border-top: 1px solid #e7e7ea; }
.sh-about__cell-title { font: 800 15px/1.3 var(--sg-font); }
.sh-about__cell p { margin: 7px 0 0; font: 400 14px/1.6 var(--sg-font); color: var(--sg-mut); }

/* ---------- Featured products --------------------------------------------------- */
.sh-products {
	background: #f4f4f6;
	border-top: 1px solid #e7e7ea;
}
.sh-products > .signal-container { padding-top: var(--sg-sect); padding-bottom: var(--sg-sect); }
.sh-ptabs {
	display: flex;
	flex-wrap: wrap;
	margin-top: 34px;
	border-bottom: 1px solid #dcdce1;
}
.signal-home .sh-ptabs__btn {
	padding: 14px 24px;
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	cursor: pointer;
	font: 800 13px/1 var(--sg-font);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #7a7a83;
	transition: color .2s ease;
}
.sh-ptabs__btn:hover { color: var(--sg-ink); }
.sh-ptabs__btn.is-active { color: var(--sg-ink); border-bottom-color: var(--sg-red); }
.sh-products__panel { display: none; margin-top: 32px; }
.sh-products__panel.is-active { display: block; }

/* ---------- Support desk (dark band, three numbered cards) ------------------- */
.sh-desk { background: var(--sg-ink); color: #fff; }
.sh-desk > .signal-container { padding-top: var(--sg-sect); padding-bottom: var(--sg-sect); }
.sh-desk__lede {
	flex: 0 1 560px;
	margin: 0;
	text-align: right;
	font: 400 15px/1.65 var(--sg-font);
	color: #9a9aa2;
}
.sh-desk__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 40px;
}
.signal-home .sh-desk__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px 26px 24px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 3px;
	color: #fff;
	text-decoration: none;
	overflow: hidden;
	transition: border-color .2s, transform .2s, background .2s;
}
.signal-home .sh-desk__card:hover {
	border-color: rgba(255, 255, 255, .4);
	background: rgba(255, 255, 255, .04);
	transform: translateY(-3px);
}
/* oversized ghost numeral, tucked into the corner */
.sh-desk__num {
	position: absolute;
	right: 14px;
	top: 4px;
	font: 900 88px/1 var(--sg-display);
	letter-spacing: -.05em;
	color: rgba(255, 255, 255, .06);
	transition: color .2s;
}
.signal-home .sh-desk__card:hover .sh-desk__num { color: rgba(226, 27, 35, .3); }
.sh-desk__title {
	position: relative;
	font: 800 19px/1.2 var(--sg-display);
	letter-spacing: -.015em;
	padding-top: 10px;
}
.sh-desk__title::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 26px;
	height: 2px;
	background: var(--sg-red);
}
.sh-desk__text {
	font: 400 14px/1.6 var(--sg-font);
	color: #a4a4ac;
}
.sh-desk__cta {
	margin-top: auto;
	padding-top: 12px;
	font: 800 12px/1 var(--sg-font);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--sg-red);
}
.signal-home .sh-desk__card:hover .sh-desk__cta { color: #fff; }
.sh-desk__heading { max-width: 22ch; }
@media (min-width: 900px) {
	.sh-desk__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.sh-desk__grid { grid-template-columns: 1fr; }
}

/* ---------- Responsive ----------------------------------------------------------------- */
@media (max-width: 767px) {
	.sh-hero { min-height: 0; } /* content-driven on phones */
	.sh-hero__scrim { background: linear-gradient(180deg, rgba(8,8,10,.7) 0%, rgba(8,8,10,.86) 55%, rgba(8,8,10,.94) 100%); }
	.sh-hero__inner { padding-top: 40px; }
	.sh-hero__tabs { margin-top: 36px; border-top: none; }
	.signal-home .sh-hero__tab { padding: 14px 12px 16px 0; flex-basis: 100%; }

	/* hero buttons: full width, stacked */
	.sh-hero__actions { flex-direction: column; align-items: stretch; }
	.sh-hero__actions .sh-btn { width: 100%; justify-content: center; }

	/* featured tabs: equal-width segments across the full row */
	.sh-ptabs { display: grid; grid-template-columns: repeat(3, 1fr); }
	.signal-home .sh-ptabs__btn { padding: 12px 4px; font-size: 11px; letter-spacing: .04em; text-align: center; }
	.sh-products__panel { margin-top: 24px; }
}
