/*
Theme Name:   Optinovate
Description:  Lightweight WooCommerce theme for Optinovate Technologies in the "Cobalt" look: the slit lamp's cobalt-blue filter with a fluorescein yellow-green accent, wide Archivo headlines and a single slit beam.
Version:      1.0.0
Author:       Optinovate Technologies
Requires at least: 6.5
Requires PHP: 7.4
License:      GPL-2.0-or-later
Text Domain:  optinovate
*/

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

:root {
	--bg: #f6f7fa;
	--surface: #ffffff;
	--tint: #eef0f8;
	--ink: #0e1330;
	--muted: #59627d;
	--rule: #dce0ea;
	--brand: #1e2fa0;          /* cobalt filter */
	--brand-deep: #121d6b;
	--on-brand: #eef0ff;
	--glow: #c6f24e;           /* fluorescein under cobalt light */
	--whatsapp: #1faa53;
	--danger: #b3261e;
	--radius: 2px;
	--radius-lg: 3px;
	--display-width: 125;      /* wide, like chart optotypes */
	--font: "Archivo", system-ui, sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, monospace;
	--wrap: 1240px;
}

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

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

html {
	scroll-padding-top: 90px;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 17px/1.6 var(--font);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
}

:focus-visible {
	outline: 3px solid var(--glow);
	outline-offset: 2px;
}

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 24px;
}

.mono {
	font-family: var(--mono);
	font-size: 0.86em;
	letter-spacing: 0.01em;
}

.screen-reader-text,
.skip:not(:focus) {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 100;
	padding: 8px 14px;
	background: var(--surface);
}

/* ---------- Type ---------- */

.display {
	margin: 0 0 20px;
	font-size: clamp(38px, 5.2vw, 72px);
	font-weight: 750;
	font-variation-settings: "wdth" var(--display-width);
	line-height: 0.98;
	letter-spacing: -0.02em;
}

.display--m {
	font-size: clamp(34px, 4.2vw, 58px);
}

.h2,
.entry h2 {
	margin: 0 0 16px;
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 700;
	font-variation-settings: "wdth" 115;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.h3,
.entry h3 {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
}

.eyebrow {
	margin: 0 0 18px;
	font-family: var(--mono);
	font-size: 13px;
	letter-spacing: 0.04em;
	opacity: 0.85;
}

.eyebrow--dark {
	color: var(--brand);
	opacity: 1;
}

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 24px;
	border: 2px solid transparent;
	border-radius: var(--radius);
	font: 600 16px/1.2 var(--font);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn--small {
	padding: 10px 16px;
	font-size: 15px;
	white-space: nowrap;
}

.btn--primary {
	background: var(--brand);
	color: #fff;
}

.btn--primary:hover {
	background: var(--brand-deep);
}

.btn--glow {
	background: var(--glow);
	color: var(--brand-deep);
}

.btn--glow:hover {
	background: #fff;
}

.btn--ghost {
	border-color: currentColor;
	background: transparent;
	color: var(--ink);
}

.btn--ghost-light {
	border-color: rgba(238, 240, 255, 0.6);
	background: transparent;
	color: var(--on-brand);
}

.btn--ghost-light:hover {
	border-color: var(--on-brand);
}

.btn--whatsapp {
	background: var(--whatsapp);
	color: #fff;
}

.btn--whatsapp:hover {
	background: #178a43;
}

.cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 28px 0 0;
}

.quote-form {
	margin: 0;
}

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

.utility {
	background: var(--brand-deep);
	color: var(--on-brand);
	font: 13px/1.4 var(--mono);
}

.utility__inner {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-top: 9px;
	padding-bottom: 9px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--rule);
	backdrop-filter: blur(6px);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 76px;
}

.logo {
	flex: none;
}

.logo img {
	display: block;
	width: auto;
	height: 54px;
}

.nav {
	flex: 1;
}

.nav .menu {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav .menu > li {
	position: relative;
}

.nav .menu > li > a {
	display: block;
	padding: 10px 8px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
}

.nav .menu > li.menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin: 0 0 3px 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}

.nav .menu a:hover,
.nav .current-menu-item > a,
.nav .current-menu-ancestor > a {
	color: var(--brand);
}

.nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 50;
	min-width: 240px;
	margin: 0;
	padding: 8px;
	list-style: none;
	border: 1px solid var(--rule);
	border-top: 3px solid var(--brand);
	background: #fff;
	box-shadow: 0 16px 40px rgba(14, 19, 48, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.nav .sub-menu a {
	display: block;
	padding: 9px 12px;
	font-size: 15px;
	text-decoration: none;
}

.nav .sub-menu a:hover {
	background: var(--tint);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.search input[type="search"] {
	width: 140px;
	padding: 10px 12px;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	background: var(--bg);
	font: 15px/1.2 var(--font);
	color: var(--ink);
}

.search input[type="search"]:focus {
	background: #fff;
	border-color: var(--brand);
}

.cart-link,
.account-link {
	position: relative;
	display: flex;
	padding: 8px;
	color: var(--ink);
}

.cart-link:hover,
.account-link:hover,
.woocommerce-account .account-link {
	color: var(--brand);
}

.mobile-nav__actions {
	display: grid;
	gap: 10px;
}

.cart-count {
	position: absolute;
	top: 0;
	right: -2px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 10px;
	background: var(--brand);
	color: #fff;
	font: 500 12px/20px var(--mono);
	text-align: center;
}

.cart-count--empty {
	display: none;
}

.mobile-nav {
	display: none;
}

/* ---------- Title bands ---------- */

.band {
	padding: 40px 0 36px;
	background: var(--brand);
	color: var(--on-brand);
}

.band--page {
	background: var(--surface);
	color: var(--ink);
	border-bottom: 1px solid var(--rule);
}

.band__title {
	margin: 6px 0 10px;
	font-size: clamp(30px, 3.6vw, 48px);
	font-weight: 750;
	font-variation-settings: "wdth" var(--display-width);
	line-height: 1.02;
	letter-spacing: -0.015em;
}

.band__desc {
	max-width: 46em;
	opacity: 0.9;
}

.band__desc p {
	margin: 0 0 10px;
}

.woocommerce-breadcrumb {
	margin: 0 0 8px;
	font: 13px/1.5 var(--mono);
	opacity: 0.85;
}

.woocommerce-breadcrumb a {
	text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
	text-decoration: underline;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 22px;
}

.chip {
	padding: 7px 14px;
	border: 1px solid rgba(238, 240, 255, 0.35);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.chip:hover {
	border-color: var(--on-brand);
}

.chip--on {
	border-color: var(--glow);
	background: var(--glow);
	color: var(--brand-deep);
}

.entry .chips .chip,
.band--page .chip {
	border-color: var(--rule);
}

/* ---------- Homepage hero ---------- */

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	max-width: var(--wrap);
	margin: 32px auto 0;
	padding: 0 24px;
}

.hero__panel {
	position: relative;
	overflow: hidden;
	padding: 64px 56px 48px;
	border-radius: var(--radius-lg) 0 0 var(--radius-lg);
	background: var(--brand);
	color: var(--on-brand);
}

.hero__lead {
	max-width: 36em;
	margin: 0;
	font-size: 19px;
	opacity: 0.92;
}

.hero__facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin: 44px 0 0;
	padding: 22px 0 0;
	border-top: 1px solid rgba(238, 240, 255, 0.25);
	list-style: none;
	font-size: 14px;
	line-height: 1.4;
}

.hero__facts strong {
	display: block;
	font-family: var(--mono);
	font-size: 15px;
	color: var(--glow);
}

.hero__product {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0;
	padding: 32px;
	border: 1px solid var(--rule);
	border-left: 0;
	border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
	background: var(--surface);
}

.hero__img {
	display: block;
	width: 100%;
	max-height: 460px;
	object-fit: contain;
}

.hero__product figcaption {
	margin-top: 16px;
	color: var(--muted);
	text-align: center;
}

/* The signature: a slit beam scans across the panel, leaves, and comes back — like a slit lamp examining the eye.
   It never stops on top of the text. */
.beam {
	position: absolute;
	top: -10%;
	left: -12%;
	width: 26px;
	height: 120%;
	transform: rotate(8deg);
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.9) 50%, rgba(198, 242, 78, 0.55) 62%, transparent);
	filter: blur(3px);
	mix-blend-mode: screen;
	pointer-events: none;
	opacity: 0;
	animation: sweep 9s ease-in-out 0.3s infinite;
}

.beam--slim {
	width: 14px;
	animation-duration: 8s;
}

@keyframes sweep {
	0% {
		left: -12%;
		opacity: 0;
	}

	3% {
		opacity: 1;
	}

	30% {
		left: 108%;
		opacity: 1;
	}

	31%,
	100% {
		left: 108%;
		opacity: 0;
	}
}

.lit {
	color: var(--glow);
}

.hero__panel > :not(.beam),
.lamp-hero__text > :not(.beam) {
	position: relative; /* Text stays above the beam. */
}

/* ---------- Sections ---------- */

.section {
	padding: 80px 0;
}

.section--tint {
	background: var(--surface);
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
}

.section--rule {
	border-top: 1px solid var(--rule);
}

.section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
}

.more {
	color: var(--muted);
	font-weight: 600;
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 56px;
	align-items: center;
}

.split p {
	max-width: 32em;
	margin: 0 0 28px;
	color: var(--muted);
}

/* ---------- Category grid ---------- */

.cats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.cat {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px;
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg);
	background: #fff;
	text-decoration: none;
	transition: border-color 0.15s, transform 0.15s;
}

.cat:hover {
	border-color: var(--brand);
	transform: translateY(-2px);
}

.cat__img {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 150px;
	margin-bottom: 8px;
}

.cat__img img {
	width: auto;
	max-height: 150px;
	object-fit: contain;
}

.cat__name {
	font-weight: 700;
	font-size: 18px;
}

.cat__count {
	color: var(--muted);
}

/* ---------- Magnification ladder ---------- */

.ladder {
	padding: 24px;
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg);
	background: #fff;
	color: var(--ink);
}

.ladder__row {
	display: grid;
	grid-template-columns: minmax(130px, 1.4fr) repeat(5, minmax(0, 1fr));
	align-items: center;
	min-height: 58px;
	border-top: 1px solid var(--rule);
	text-decoration: none;
}

a.ladder__row:hover {
	background: var(--tint);
}

.ladder__head {
	min-height: 40px;
	border-top: 0;
	color: var(--muted);
	font: 500 14px/1 var(--mono);
}

.ladder__step {
	text-align: center;
}

.ladder__name strong {
	display: block;
	font-size: 18px;
}

.ladder__name em {
	color: var(--muted);
	font: normal 13px/1.2 var(--mono);
}

.ladder__cell {
	display: flex;
	justify-content: center;
}

.dot {
	width: 16px;
	height: 16px;
	border: 2px solid var(--rule);
	border-radius: 50%;
}

.dot--on {
	border-color: var(--brand);
	background: var(--brand);
	box-shadow: 0 0 0 4px rgba(30, 47, 160, 0.12);
}

.ladder--large .ladder__row {
	min-height: 72px;
}

.ladder--large .dot {
	width: 22px;
	height: 22px;
}

/* ---------- Homepage product strip ---------- */

.products-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.card {
	padding: 20px;
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg);
	background: #fff;
}

.card__img img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: contain;
}

.card__name {
	margin: 14px 0 6px;
	font-size: 17px;
	line-height: 1.3;
}

.card__name a {
	text-decoration: none;
}

.card__price {
	margin: 0;
}

.price-amount {
	font-weight: 500;
	font-size: 18px;
}

.price-amount--request {
	color: var(--brand);
}

.price-note {
	color: var(--muted);
}

/* ---------- Process, facts, FAQ ---------- */

.steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.steps li {
	counter-increment: step;
	color: var(--muted);
	font-size: 16px;
}

.steps li::before {
	content: counter(step);
	display: block;
	margin-bottom: 12px;
	color: var(--brand);
	font: 500 28px/1 var(--mono);
}

.steps strong {
	display: block;
	margin-bottom: 6px;
	color: var(--ink);
	font-size: 18px;
}

.facts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
}

.fact p {
	margin: 0;
	color: var(--muted);
}

.faq {
	max-width: 820px;
}

.faq details {
	border-top: 1px solid var(--rule);
}

.faq details:last-of-type {
	border-bottom: 1px solid var(--rule);
}

.faq summary {
	padding: 18px 0;
	font-weight: 600;
	font-size: 18px;
	cursor: pointer;
}

.faq details p {
	margin: 0 0 18px;
	color: var(--muted);
}

/* ---------- Slit-lamp page ---------- */

.lamp-hero {
	padding: 64px 0 72px;
	background: var(--brand);
	color: var(--on-brand);
}

.lamp-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 56px;
	align-items: center;
}

.lamp-hero__text {
	position: relative;
	overflow: hidden;
	padding: 8px 0;
}

.models {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.model {
	display: flex;
	flex-direction: column;
	padding: 24px;
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg);
	background: #fff;
}

.model__img img {
	display: block;
	width: 100%;
	height: 280px;
	object-fit: contain;
}

.model__type {
	margin: 18px 0 4px;
	color: var(--brand);
}

.model__name {
	margin: 0 0 8px;
	font-size: 26px;
	font-variation-settings: "wdth" 118;
	line-height: 1.1;
}

.model__fit {
	margin: 0 0 16px;
	color: var(--muted);
}

.specs {
	margin: 0 0 18px;
	font-size: 15px;
}

.specs div {
	display: grid;
	grid-template-columns: 76px 1fr;
	gap: 12px;
	padding: 9px 0;
	border-top: 1px solid var(--rule);
}

.specs dt {
	color: var(--muted);
	font: 500 13px/1.6 var(--mono);
}

.specs dd {
	margin: 0;
}

.model__price {
	margin: auto 0 14px;
}

.model__actions {
	display: grid;
	gap: 10px;
}

.model__actions .btn {
	width: 100%;
}

.model__more {
	margin-top: 14px;
	color: var(--muted);
	font-size: 15px;
}

/* ---------- Text pages and blog ---------- */

.entry {
	max-width: 780px;
	margin: 48px 0 80px;
}

.entry--wide {
	max-width: none;
}

.entry > :first-child {
	margin-top: 0;
}

.entry p,
.entry ul,
.entry ol {
	margin: 0 0 18px;
}

/* Low specificity on purpose: any button or component style (quote page, account menu, notices) wins. */
.entry :where(a:not(.btn, .button)) {
	color: var(--brand);
}

.entry h2 {
	margin-top: 40px;
}

.entry h3 {
	margin-top: 28px;
}

.entry img {
	border-radius: var(--radius-lg);
}

.entry table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 24px;
	font-size: 15px;
}

.entry th,
.entry td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--rule);
	text-align: left;
}

.entry__image {
	margin: 40px 0 0;
}

.entry__image img {
	width: 100%;
	max-height: 460px;
	object-fit: cover;
	border-radius: var(--radius-lg);
}

/* Category text under the products */

.term-more {
	padding-top: 8px;
	border-top: 1px solid var(--rule);
}

.term-more .entry {
	margin: 40px 0 0;
}

/* About and Contact */

.split--top {
	align-items: start;
}

.section .chips .chip {
	border-color: var(--rule);
}

.section .chips .chip:hover {
	border-color: var(--brand);
}

.facts--four {
	gap: 36px 48px;
	margin-top: 28px;
}

.company {
	margin: 0 0 12px;
	font-size: 15px;
}

.company div {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 12px;
	padding: 9px 0;
	border-top: 1px solid var(--rule);
}

.company dt {
	color: var(--muted);
	font: 500 13px/1.6 var(--mono);
}

.company dd {
	margin: 0;
}

.company a {
	color: var(--brand);
}

.company-card .h3 {
	margin-bottom: 12px;
}

.ways {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}

.contact {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	gap: 24px;
	align-items: start;
}

.way {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.way p {
	flex: 1;
	margin: 0 0 16px;
	color: var(--muted);
	font-size: 15px;
}

.way .btn {
	padding: 11px 16px;
	font-size: 15px;
}

.contact__form .entry {
	margin: 0;
}

.contact__hint {
	margin: 0 0 16px;
	color: var(--muted);
}

/* MetForm contact form in the theme's style (overrides the form's own Elementor styling). */
.contact__form .elementor-section {
	margin: 0 0 12px !important;
	padding: 0 !important;
}

.contact__form .elementor-section > .elementor-container {
	gap: 12px;
	max-width: none;
	padding: 0 !important;
}

.contact__form .elementor-column > .elementor-widget-wrap,
.contact__form .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
	padding: 0 !important;
}

.contact__form .elementor-widget:not(:last-child) {
	margin-bottom: 12px !important;
}

.contact__form .mf-input:not(.mf-checkbox-input) {
	width: 100%;
	height: auto !important;
	min-height: 46px !important;
	margin: 0 !important;
	padding: 11px 12px !important;
	border: 1px solid #c6cbda !important;
	border-radius: var(--radius) !important;
	background: #fff !important;
	color: var(--ink) !important;
	font: 16px/1.4 var(--font) !important;
	box-shadow: none !important;
}

.contact__form textarea.mf-input {
	min-height: 140px !important;
}

.contact__form .mf-input:focus {
	border-color: var(--brand) !important;
	outline: 2px solid rgba(30, 47, 160, 0.18);
}

.contact__form .mf-input::placeholder {
	color: var(--muted) !important;
	opacity: 1;
}

.contact__form .elementor-widget-mf-gdpr-consent,
.contact__form .elementor-widget-mf-gdpr-consent label {
	color: var(--muted) !important;
	font-size: 14px !important;
}

.contact__form .metform-btn {
	padding: 14px 28px !important;
	border: 0 !important;
	border-radius: var(--radius) !important;
	background: var(--brand) !important;
	color: #fff !important;
	font: 600 16px/1.2 var(--font) !important;
	cursor: pointer;
}

.contact__form .metform-btn:hover {
	background: var(--brand-deep) !important;
}

/* Retinoscopy calculator page */

.section .blog-cta {
	margin-bottom: 0;
}

.tool-note {
	margin: 14px 0 0;
	font-size: 14px;
	opacity: 0.85;
}

.tool-card {
	color: var(--ink);
}

.checks {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.checks li {
	position: relative;
	padding: 10px 0 10px 30px;
	border-top: 1px solid var(--rule);
}

.checks li::before {
	content: "";
	position: absolute;
	top: 15px;
	left: 4px;
	width: 12px;
	height: 7px;
	border-bottom: 2px solid var(--brand);
	border-left: 2px solid var(--brand);
	transform: rotate(-45deg);
}

/* Blog articles */

.band__title--article {
	max-width: 22em;
	font-size: clamp(28px, 3.2vw, 44px);
}

.band--page .eyebrow a {
	text-decoration: none;
}

.band--page .eyebrow a:hover {
	text-decoration: underline;
}

.entry .entry__image {
	margin: 0 0 32px;
}

.entry--article h2 {
	font-size: clamp(24px, 2.4vw, 30px);
}

.entry--article h3 {
	font-size: 21px;
}

.entry h4 {
	margin: 26px 0 6px;
	font-size: 18px;
	line-height: 1.3;
}

.entry h5 {
	margin: 22px 0 4px;
	font-size: 16px;
	line-height: 1.3;
}

.entry ul,
.entry ol {
	padding-left: 22px;
}

.entry li {
	margin: 0 0 6px;
}

.entry figure {
	margin: 32px 0;
}

.entry figure img {
	display: block;
	width: 100%;
	height: auto;
}

.entry figcaption {
	margin-top: 8px;
	color: var(--muted);
	font: 13px/1.5 var(--mono);
}

.entry .faq {
	margin: 16px 0 32px;
}

.entry .faq details > :not(summary) {
	color: var(--muted);
}

.blog-cta.blog-cta--article {
	flex-direction: column;
	align-items: flex-start;
	margin: 48px 0 0;
}

.blog-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	flex: none;
}

.blog-cta--article .h3 {
	margin: 0 0 6px;
}

.posts--flush {
	margin: 0;
}

.elementor-page {
	min-height: 40vh;
}

.posts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 48px 0;
}

.post-card {
	padding: 18px;
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg);
	background: #fff;
}

.post-card {
	display: flex;
	flex-direction: column;
	transition: border-color 0.15s;
}

.post-card:hover {
	border-color: var(--brand);
}

.post-card__img {
	display: block;
	overflow: hidden;
	border-radius: var(--radius);
}

.post-card__img img {
	display: block;
	width: 100%;
	height: 200px;
	object-fit: cover;
}

/* No photo: a cobalt tile with the resting slit beam, so the grid stays even. */
.post-card__img--none {
	position: relative;
	height: 200px;
	background: var(--brand);
}

.post-card__img--none::after {
	content: "";
	position: absolute;
	top: -10%;
	left: 62%;
	width: 14px;
	height: 120%;
	transform: rotate(8deg);
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85) 50%, rgba(198, 242, 78, 0.55) 62%, transparent);
	filter: blur(2px);
}

.blog-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 0 0 80px;
	padding: 28px 32px;
	border: 1px solid var(--rule);
	border-left: 4px solid var(--brand);
	border-radius: var(--radius-lg);
	background: #fff;
}

.blog-cta p {
	margin: 0;
	color: var(--muted);
}

.blog-cta .eyebrow {
	margin-bottom: 8px;
	color: var(--brand);
}

.post-card__date {
	margin: 14px 0 4px;
	color: var(--muted);
}

.post-card__title {
	margin: 0 0 8px;
	font-size: 20px;
	line-height: 1.25;
}

.post-card__title a {
	text-decoration: none;
}

.post-card p {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
}

.search--page {
	display: flex;
	gap: 10px;
	margin: 24px 0;
}

.search--page input[type="search"] {
	flex: 1;
	width: auto;
	padding: 14px;
	font-size: 16px;
}

.nav-links {
	display: flex;
	gap: 8px;
	margin-bottom: 64px;
}

.nav-links .page-numbers {
	padding: 8px 14px;
	border: 1px solid var(--rule);
	text-decoration: none;
}

.nav-links .current {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
}

/* ---------- Talk band + footer ---------- */

.talk {
	padding: 56px 0;
	background: var(--brand-deep);
	color: var(--on-brand);
}

.talk__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.talk__title {
	margin: 0 0 6px;
	font-size: 28px;
	font-variation-settings: "wdth" var(--display-width);
}

.talk p {
	max-width: 36em;
	margin: 0;
	opacity: 0.9;
}

.talk__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.site-footer {
	padding: 56px 0 32px;
	font-size: 15px;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
	gap: 32px;
}

.site-footer strong {
	display: block;
	margin-bottom: 10px;
}

.site-footer a {
	display: block;
	padding: 3px 0;
	color: var(--muted);
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--ink);
}

.site-footer p {
	margin: 0 0 12px;
	color: var(--muted);
}

.site-footer__base {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--rule);
	color: var(--muted);
	font: 13px/1.5 var(--mono);
}

/* ---------- Below full desktop width: the menu moves into the burger ---------- */

@media (max-width: 1239px) {
	.nav,
	.search--mobile {
		display: none;
	}

	.mobile-nav {
		display: block;
	}

	.mobile-nav summary {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		list-style: none;
		cursor: pointer;
	}

	.mobile-nav summary::-webkit-details-marker {
		display: none;
	}

	.burger,
	.burger::before,
	.burger::after {
		display: block;
		width: 22px;
		height: 2px;
		background: var(--ink);
		transition: transform 0.15s;
	}

	.burger {
		position: relative;
	}

	.burger::before,
	.burger::after {
		content: "";
		position: absolute;
		left: 0;
	}

	.burger::before {
		top: -7px;
	}

	.burger::after {
		top: 7px;
	}

	.mobile-nav[open] .burger {
		background: transparent;
	}

	.mobile-nav[open] .burger::before {
		transform: translateY(7px) rotate(45deg);
	}

	.mobile-nav[open] .burger::after {
		transform: translateY(-7px) rotate(-45deg);
	}

	.mobile-nav__panel {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		max-height: calc(100vh - 120px);
		overflow-y: auto;
		padding: 16px 24px 24px;
		border-bottom: 1px solid var(--rule);
		background: #fff;
		box-shadow: 0 20px 40px rgba(14, 19, 48, 0.12);
	}

	.search--mobile input[type="search"] {
		width: 100%;
		padding: 12px;
		font-size: 16px;
	}

	.menu--mobile {
		margin: 12px 0 16px;
		padding: 0;
		list-style: none;
	}

	.menu--mobile a {
		display: block;
		padding: 12px 0;
		border-bottom: 1px solid var(--rule);
		font-weight: 600;
		text-decoration: none;
	}

	.menu--mobile .sub-menu {
		margin: 0;
		padding: 0 0 0 16px;
		list-style: none;
	}

	.menu--mobile .sub-menu a {
		font-weight: 400;
	}

	.menu--folding > .menu-item-has-children {
		position: relative;
	}

	.submenu-toggle {
		position: absolute;
		top: 0;
		right: 0;
		width: 52px;
		height: 48px;
		border: 0;
		background: none;
		cursor: pointer;
	}

	.submenu-toggle::after {
		content: "";
		display: block;
		width: 8px;
		height: 8px;
		margin: -4px auto 0;
		border-right: 2px solid var(--ink);
		border-bottom: 2px solid var(--ink);
		transform: rotate(45deg);
	}

	.is-open > .submenu-toggle::after {
		margin-top: 2px;
		transform: rotate(-135deg);
	}

	.menu--folding .sub-menu {
		display: none;
	}

	.menu--folding .is-open > .sub-menu {
		display: block;
	}
}

/* ---------- Tablet ---------- */

@media (max-width: 980px) {
	.header-actions .search,
	.header-quote,
	.utility__where {
		display: none;
	}

	.utility__inner {
		justify-content: center;
	}

	.search--mobile {
		display: block;
	}

	.site-header__inner {
		gap: 12px;
	}

	.header-actions {
		gap: 4px;
	}

	.hero,
	.split,
	.lamp-hero__inner,
	.facts,
	.contact {
		grid-template-columns: 1fr;
	}

	.hero__panel {
		border-radius: var(--radius-lg) var(--radius-lg) 0 0;
	}

	.hero__product {
		border-top: 0;
		border-left: 1px solid var(--rule);
		border-radius: 0 0 var(--radius-lg) var(--radius-lg);
	}

	.cats {
		grid-template-columns: repeat(2, 1fr);
	}

	.products-strip,
	.models,
	.posts,
	.steps {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* ---------- Phone ---------- */

@media (max-width: 640px) {
	body {
		font-size: 16px;
	}

	.wrap,
	.hero {
		padding-left: 16px;
		padding-right: 16px;
	}

	.utility__inner {
		justify-content: center;
	}

	.utility__where {
		display: none;
	}

	.logo img {
		height: 42px;
	}

	.site-header__inner {
		min-height: 64px;
	}

	.hero__panel {
		padding: 40px 24px 32px;
	}

	.hero__facts,
	.products-strip,
	.models,
	.posts,
	.steps,
	.site-footer__grid,
	.ways {
		grid-template-columns: 1fr;
	}

	.cat__img {
		height: 110px;
	}

	.cat__img img {
		max-height: 110px;
	}

	.ladder {
		padding: 12px;
	}

	.ladder__row {
		grid-template-columns: minmax(92px, 1.2fr) repeat(5, minmax(0, 1fr));
	}

	.ladder__name strong {
		font-size: 15px;
	}

	/* On phones the column of model names has no room for the word; the steps (6,5× … 40×) speak for themselves. */
	.ladder__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.talk__inner,
	.site-footer__base,
	.blog-cta {
		flex-direction: column;
		align-items: flex-start;
	}

	.section {
		padding: 56px 0;
	}

	.band {
		padding: 28px 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.beam {
		display: none;
	}

	.cat,
	.btn,
	.nav .sub-menu {
		transition: none;
	}
}
