/* =========================================================
   Kony — main stylesheet
   ========================================================= */

:root {
	--ink:        #141414;
	--ink-2:      #1e1e1e;
	--ink-3:      #2a2a2a;
	--red:        #ed2024;
	--red-dark:   #c4161a;
	--steel:      #8a9099;
	--line:       #e3e5e8;
	--line-dark:  #333333;
	--paper:      #ffffff;
	--paper-2:    #f4f5f6;
	--text:       #1a1a1a;
	--text-mute:  #5c6169;

	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--font-head: 'Barlow Condensed', 'Inter', Impact, 'Arial Narrow', sans-serif;

	--wrap: 1200px;
	--radius: 4px;
	--shadow: 0 10px 40px rgba(20, 20, 20, .10);
}

/* ---------- Reset ---------- */

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 {
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.005em;
	text-transform: uppercase;
	margin: 0 0 .5em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

.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: -9999px;
	background: var(--red); color: #fff;
	padding: 10px 18px; z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

.eyebrow {
	font-family: var(--font-head);
	font-size: .95rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--red);
	font-weight: 600;
	margin: 0 0 .6em;
}

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	padding: .72em 1.5em;
	border: 2px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
	transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(20,20,20,.25); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn-lg { font-size: 1.15rem; padding: .85em 1.9em; }
.btn-sm { font-size: .92rem; padding: .55em 1.1em; }

.link-arrow {
	font-family: var(--font-head);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--red);
	text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; }

.pill {
	display: inline-block;
	font-family: var(--font-head);
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	background: var(--red);
	color: #fff;
	padding: .35em .9em;
	border-radius: 100px;
	margin-bottom: 1rem;
}

/* ---------- Stars ---------- */

.stars { display: inline-flex; gap: 2px; }
.star {
	width: 16px; height: 16px;
	background: rgba(255,255,255,.22);
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l2.9 6.3 6.9.8-5.1 4.7 1.4 6.8L12 17.3 5.9 20.6l1.4-6.8L2.2 9.1l6.9-.8z'/></svg>") center/contain no-repeat;
	        mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l2.9 6.3 6.9.8-5.1 4.7 1.4 6.8L12 17.3 5.9 20.6l1.4-6.8L2.2 9.1l6.9-.8z'/></svg>") center/contain no-repeat;
}
.star.full { background: #ffa41c; }
.star.half { background: linear-gradient(90deg, #ffa41c 50%, rgba(255,255,255,.22) 50%); }

.hero-rating {
	display: flex; align-items: center; gap: 10px;
	font-size: .95rem; color: var(--text-mute);
	margin: 0 0 1.6rem;
}
.hero-rating.small { margin-bottom: .8rem; font-size: .88rem; }

/* On dark backgrounds the empty star needs more contrast */
.hero .star:not(.full):not(.half) { background: rgba(255,255,255,.2); }

/* =========================================================
   Header
   ========================================================= */

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--ink);
	border-bottom: 1px solid var(--line-dark);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 74px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img, .brand .custom-logo { height: 34px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 32px; }

.nav-list {
	display: flex; align-items: center; gap: 28px;
	list-style: none; margin: 0; padding: 0;
}
.nav-list a {
	font-family: var(--font-head);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(255,255,255,.82);
	text-decoration: none;
	padding: 6px 0;
	border-bottom: 2px solid transparent;
	transition: color .18s, border-color .18s;
}
.nav-list a:hover,
.nav-list .current-menu-item > a {
	color: #fff;
	border-bottom-color: var(--red);
}

.nav-toggle {
	display: none;
	background: none; border: 0; cursor: pointer;
	padding: 10px; margin-right: -10px;
}
.nav-toggle-bars { display: block; width: 26px; }
.nav-toggle-bars span {
	display: block; height: 2px; background: #fff;
	margin: 5px 0; transition: transform .22s, opacity .22s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */

.hero {
	background:
		radial-gradient(900px 500px at 78% 40%, rgba(237,32,36,.16), transparent 60%),
		linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
	color: #fff;
	overflow: hidden;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 56px;
	align-items: center;
	padding-top: 72px;
	padding-bottom: 72px;
}

.hero-title { color: #fff; margin-bottom: .35em; }
.hero-text {
	font-size: 1.12rem;
	color: rgba(255,255,255,.74);
	max-width: 46ch;
	margin-bottom: 1.6rem;
}
.hero .hero-rating { color: rgba(255,255,255,.72); }
.hero .hero-rating strong { color: #fff; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.hero .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.center-actions { justify-content: center; }

.hero-media { position: relative; }
.hero-media img {
	width: 100%;
	max-height: 560px;
	object-fit: cover;
	object-position: center 42%;
	border-radius: 6px;
}
.hero-badge {
	position: absolute; top: 18px; left: 18px;
	background: var(--red); color: #fff;
	font-family: var(--font-head);
	font-size: .85rem; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase;
	padding: .4em 1em; border-radius: 100px;
}

/* =========================================================
   Trust bar
   ========================================================= */

.trustbar { background: var(--ink-3); color: #fff; }
.trustbar-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	padding-top: 0; padding-bottom: 0;
}
.trust-item {
	padding: 26px 18px;
	text-align: center;
	border-left: 1px solid rgba(255,255,255,.09);
}
.trust-item:first-child { border-left: 0; }
.trust-item strong {
	display: block;
	font-family: var(--font-head);
	font-size: 2rem;
	line-height: 1;
	color: var(--red);
	margin-bottom: 4px;
}
.trust-item span { font-size: .88rem; color: rgba(255,255,255,.68); }

/* =========================================================
   Sections
   ========================================================= */

.section { padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { margin-bottom: 0; }

.page-head {
	background: var(--ink);
	color: #fff;
	padding: 64px 0 56px;
}
.page-head h1 { color: #fff; margin-bottom: .2em; }
.page-head-text { color: rgba(255,255,255,.7); max-width: 52ch; margin: 0; }

/* ---------- Feature grid ---------- */

.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2px;
	background: var(--line);
	border: 1px solid var(--line);
}
.feature-card {
	background: #fff;
	padding: 34px 30px 32px;
	position: relative;
}
.feature-num {
	display: block;
	font-family: var(--font-head);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .2em;
	color: var(--red);
	margin-bottom: 12px;
}
.feature-card h3 { margin-bottom: .45em; }
.feature-card p { margin: 0; color: var(--text-mute); font-size: .97rem; }

/* ---------- Showcase ---------- */

.showcase { background: var(--paper-2); padding: 84px 0; }
.show-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
	padding: 34px 0;
}
.show-row.reverse .show-media { order: 2; }
.show-media img {
	width: 100%;
	border-radius: 6px;
	box-shadow: var(--shadow);
	max-height: 460px;
	object-fit: cover;
}
.show-copy h2 { margin-bottom: .35em; }
.show-copy p { color: var(--text-mute); font-size: 1.05rem; margin: 0; max-width: 46ch; }

/* ---------- Buy band ---------- */

.buyband { background: var(--ink); color: #fff; padding: 84px 0; }
.buy-grid {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: 56px;
	align-items: center;
}
.buy-media img {
	width: 100%;
	border-radius: 6px;
	max-height: 520px;
	object-fit: cover;
	object-position: center 45%;
}
.buy-copy h2 { color: #fff; }
.buy-copy > p { color: rgba(255,255,255,.72); }
.buy-note { font-size: .88rem; color: rgba(255,255,255,.45); margin: 1rem 0 0; }

.spec-list { margin: 0 0 1.8rem; }
.spec-row {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 11px 0;
	border-bottom: 1px solid rgba(255,255,255,.12);
	font-size: .97rem;
}
.spec-row dt { color: rgba(255,255,255,.6); margin: 0; }
.spec-row dd { margin: 0; font-weight: 600; text-align: right; }

/* Spec list on light background */
.specs-section .spec-row { border-bottom-color: var(--line); }
.specs-section .spec-row dt { color: var(--text-mute); }
.specs-section .spec-row dd { color: var(--text); }

/* ---------- Reviews ---------- */

.reviews { background: var(--paper-2); }
.review-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.review {
	background: #fff;
	margin: 0;
	padding: 30px 28px;
	border-radius: 6px;
	border-top: 3px solid var(--red);
	box-shadow: 0 2px 14px rgba(20,20,20,.05);
}
.review .stars { margin-bottom: 14px; }
.review .star:not(.full):not(.half) { background: rgba(0,0,0,.12); }
.review p { font-size: 1.08rem; font-weight: 500; margin-bottom: 1rem; }
.review cite { font-style: normal; font-size: .87rem; color: var(--text-mute); }
.review-link { margin-top: 32px; text-align: center; }
.review-link a {
	font-family: var(--font-head);
	font-weight: 700; text-transform: uppercase;
	letter-spacing: .08em; color: var(--red); text-decoration: none;
}
.review-link a:hover { text-decoration: underline; }

/* ---------- About ---------- */

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.about-copy p { color: var(--text-mute); font-size: 1.05rem; }

/* =========================================================
   Product pages
   ========================================================= */

.product-hero { background: var(--paper-2); padding: 64px 0 72px; }
.product-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.gallery-main {
	width: 100%;
	border-radius: 6px;
	background: #fff;
	box-shadow: var(--shadow);
	max-height: 560px;
	object-fit: cover;
	object-position: center 40%;
}
.gallery-thumbs {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
	margin-top: 12px;
}
.thumb {
	padding: 0; border: 2px solid transparent; background: #fff;
	border-radius: 4px; overflow: hidden; cursor: pointer;
	transition: border-color .18s;
}
.thumb:hover, .thumb.is-active { border-color: var(--red); }
.thumb img { aspect-ratio: 1; object-fit: cover; width: 100%; }

.product-info h1 { margin-bottom: .25em; }
.product-tagline { font-size: 1.15rem; color: var(--text-mute); margin-bottom: 1.2rem; }
.product-excerpt { font-size: 1.05rem; margin-bottom: 1.8rem; }
.product-info .buy-note { color: var(--text-mute); }

.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 28px;
}
.product-card {
	border: 1px solid var(--line);
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	display: flex;
	flex-direction: column;
	transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card-media { display: block; position: relative; background: var(--paper-2); }
.product-card-media img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.pill-float { position: absolute; top: 12px; left: 12px; margin: 0; }
.product-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card-body h2 { font-size: 1.4rem; margin-bottom: .3em; }
.product-card-body h2 a { text-decoration: none; }
.product-card-body h2 a:hover { color: var(--red); }
.product-card-tagline { color: var(--text-mute); font-size: .95rem; }
.product-card-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 14px; flex-wrap: wrap; }

/* =========================================================
   Contact
   ========================================================= */

.contact { background: var(--ink); color: #fff; }
.contact h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-intro > p { color: rgba(255,255,255,.72); max-width: 42ch; }

.contact-list { list-style: none; margin: 28px 0 0; padding: 0; }
.contact-list li {
	display: flex; gap: 16px; align-items: baseline;
	padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12);
}
.contact-list span {
	font-family: var(--font-head);
	text-transform: uppercase; letter-spacing: .12em;
	font-size: .85rem; color: rgba(255,255,255,.5);
	min-width: 90px;
}
.contact-list a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.contact-list a:hover { border-bottom-color: var(--red); }

.contact-form-wrap {
	background: rgba(255,255,255,.04);
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 8px;
	padding: 32px;
}
.field { margin: 0 0 18px; }
.field label {
	display: block;
	font-family: var(--font-head);
	font-size: .95rem; font-weight: 600;
	letter-spacing: .1em; text-transform: uppercase;
	color: rgba(255,255,255,.65);
	margin-bottom: 7px;
}
.field input, .field textarea {
	width: 100%;
	font: inherit;
	font-size: 1rem;
	color: #fff;
	background: rgba(0,0,0,.28);
	border: 1px solid rgba(255,255,255,.16);
	border-radius: var(--radius);
	padding: 12px 14px;
}
.field input:focus, .field textarea:focus {
	outline: none;
	border-color: var(--red);
	background: rgba(0,0,0,.4);
}
.field textarea { resize: vertical; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.notice-box {
	padding: 14px 18px;
	border-radius: var(--radius);
	margin-bottom: 20px;
	font-size: .97rem;
}
.notice-box.success { background: rgba(46,160,67,.16); border: 1px solid rgba(46,160,67,.5); }
.notice-box.error   { background: rgba(237,32,36,.14);  border: 1px solid rgba(237,32,36,.5); }

/* =========================================================
   Content typography
   ========================================================= */

.entry-content { font-size: 1.08rem; }
.entry-content h2 { margin-top: 1.8em; }
.entry-content h3 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content a { color: var(--red); }
.entry-content blockquote {
	margin: 1.6em 0; padding: 4px 0 4px 24px;
	border-left: 3px solid var(--red);
	font-size: 1.15rem;
}
.page-thumb { border-radius: 6px; margin-bottom: 2rem; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.post-card { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.post-card-body { padding: 22px; }
.post-card-body h2 { font-size: 1.4rem; }
.post-card-body h2 a { text-decoration: none; }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 12px;
	border: 1px solid var(--line); border-radius: var(--radius);
	text-decoration: none; font-weight: 600;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--red); border-color: var(--red); color: #fff; }

.error404-section { padding: 120px 0; }

/* =========================================================
   Footer
   ========================================================= */

.site-footer { background: var(--ink-2); color: rgba(255,255,255,.7); padding: 64px 0 0; }
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 48px;
	padding-bottom: 48px;
}
.footer-brand img { height: 32px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; font-size: .97rem; margin-bottom: 1.4rem; }
.footer-col h3 {
	font-size: 1.05rem; letter-spacing: .14em;
	color: #fff; margin-bottom: 1.1em;
}
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-list a { text-decoration: none; font-size: .97rem; }
.footer-list a:hover { color: #fff; }

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,.1);
	padding-top: 24px; padding-bottom: 32px;
	display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer-legal, .footer-copy { font-size: .82rem; color: rgba(255,255,255,.4); margin: 0; }
.footer-legal { max-width: 62ch; }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 980px) {
	.hero-grid,
	.buy-grid,
	.show-row,
	.about-grid,
	.contact-grid,
	.product-hero-grid { grid-template-columns: 1fr; gap: 36px; }

	.show-row.reverse .show-media { order: 0; }
	.hero-media img { max-height: 420px; }
	.feature-grid { grid-template-columns: repeat(2, 1fr); }
	.review-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.section, .showcase, .buyband { padding: 60px 0; }
}

@media (max-width: 860px) {
	.nav-toggle { display: block; order: 3; }

	.primary-nav {
		display: none;
		order: 4;
		flex-basis: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px 0 20px;
		border-top: 1px solid var(--line-dark);
	}
	.primary-nav.is-open { display: flex; }
	.header-inner { flex-wrap: wrap; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list li { border-bottom: 1px solid rgba(255,255,255,.08); }
	.nav-list a { display: block; padding: 14px 0; border-bottom: 0; }
	.nav-cta { margin-top: 18px; }

	.trustbar-grid { grid-template-columns: repeat(2, 1fr); }
	.trust-item:nth-child(3) { border-left: 0; }
	.trust-item { border-top: 1px solid rgba(255,255,255,.09); }
	.trust-item:nth-child(-n+2) { border-top: 0; }
}

@media (max-width: 620px) {
	body { font-size: 16px; }
	.feature-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 36px; }
	.gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
	.contact-form-wrap { padding: 24px 20px; }
	.hero-actions .btn { width: 100%; }
	.spec-row { flex-direction: column; gap: 2px; }
	.spec-row dd { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
