/* ovkit.com landing: the breaker panel. Loaded only on the landing template (inc/enqueue.php). */

:root {
	--steel: #d7dadd;
	--steel-deep: #c4c9ce;
	--steel-edge: #aab0b6;
	--ink: #16181b;
	--ink-2: #3a3f46;
	--body: #24282d;
	--tape: #fafaf6;
	--live: #ff5f0f;
	--live-ink: #a63a00;
	--seam: rgba(22, 24, 27, 0.16);
	--f-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
	--f-body: "Barlow", system-ui, sans-serif;
	--f-hand: "Caveat", cursive;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--wrap: 1240px;
}

html { scroll-behavior: smooth; scrollbar-color: var(--steel-edge) var(--steel); }
body.bp {
	margin: 0;
	background: var(--steel);
	color: var(--body);
	font-family: var(--f-body);
	font-size: 18px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
body.bp ::selection { background: var(--live); color: var(--ink); }
body.bp a { color: inherit; text-underline-offset: 3px; }
body.bp :focus-visible { outline: 3px solid var(--live); outline-offset: 3px; border-radius: 2px; }
body.bp h1, body.bp h2 { font-family: var(--f-cond); color: var(--ink); text-wrap: balance; margin: 0; }
body.bp code { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 0.88em; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.bp-skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--tape); padding: 8px 14px; z-index: 10; }
.bp-skip:focus { left: 8px; }
.bp-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

/* Label tape: every label in the world is a strip of it. */
.bp-tape {
	display: inline-block;
	margin: 0;
	padding: 3px 9px 2px;
	background: var(--tape);
	color: var(--ink);
	font-family: var(--f-cond);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
}

/* Buttons */
.bp-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 15px 26px;
	background: var(--ink); color: var(--tape) !important;
	font-family: var(--f-cond); font-weight: 700; font-size: 19px; letter-spacing: 0.04em; text-transform: uppercase;
	text-decoration: none; border: 0; border-radius: 3px; cursor: pointer;
	box-shadow: 0 6px 14px -6px rgba(22, 24, 27, 0.55);
	transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.bp-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -8px rgba(22, 24, 27, 0.55); }
.bp-btn:active { transform: translateY(1px); box-shadow: 0 3px 8px -4px rgba(22, 24, 27, 0.55); }
.bp-btn--small { padding: 9px 16px; font-size: 15px; }
.bp-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-cond); font-weight: 600; font-size: 19px; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--live); }
.bp-link:hover { text-decoration-color: var(--ink); }

/* Top bar */
.bp-top {
	display: flex; align-items: center; gap: 32px;
	max-width: var(--wrap); margin: 0 auto; padding: 20px 32px;
}
.bp-mark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--f-cond); font-weight: 700; font-size: 24px; }
.bp-nav { display: flex; gap: 26px; margin-left: auto; }
.bp-nav a { font-family: var(--f-cond); font-weight: 600; font-size: 17px; letter-spacing: 0.03em; text-decoration: none; color: var(--ink-2); }
.bp-menu { display: none; position: relative; }
.bp-menu summary { list-style: none; cursor: pointer; font: 600 17px/1 var(--f-cond); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); padding: 10px 4px; }
.bp-menu summary::-webkit-details-marker { display: none; }
.bp-menu nav { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; display: flex; flex-direction: column; min-width: 190px; background: var(--tape); border: 1px solid var(--steel-edge); border-radius: 4px; box-shadow: 0 16px 30px -14px rgba(22,24,27,.5); padding: 6px 0; }
.bp-menu nav a { padding: 12px 18px; font: 600 18px/1 var(--f-cond); color: var(--ink); text-decoration: none; }
.bp-nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--live); text-decoration-thickness: 2px; }

/* Hero */
.bp-hero {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center;
	max-width: var(--wrap); margin: 0 auto; padding: 40px 32px 96px;
}
.bp-hero h1 { font-size: clamp(44px, 5.6vw, 84px); line-height: 0.95; font-weight: 700; letter-spacing: -0.01em; margin-top: 14px; }
.bp-hero h1 span { display: block; color: var(--ink-2); font-weight: 600; }
.bp-lede { font-size: 20px; max-width: 34ch; margin: 22px 0 30px; color: var(--body); }
.bp-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.bp-fine { font-size: 14px; color: var(--ink-2); margin: 18px 0 0; }

/* The panel */
.bp-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: 0; }
.bp-panel__box {
	position: relative; align-self: start; container-type: inline-size;
	background: #c9ced3;
	border: 1px solid var(--steel-edge);
	border-radius: 6px 0 0 6px;
	padding: 26px 24px 18px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 0 rgba(0, 0, 0, 0.06), 0 30px 50px -30px rgba(22, 24, 27, 0.55);
}
.bp-screw { position: absolute; width: 10px; height: 10px; }
.bp-screw:nth-child(1) { top: 9px; left: 9px; }
.bp-screw:nth-child(2) { top: 9px; right: 9px; }
.bp-screw:nth-child(3) { bottom: 9px; left: 9px; }
.bp-screw:nth-child(4) { bottom: 9px; right: 9px; }

.bp-rail { --bk: clamp(18px, calc((100cqw - 74px) / 11), 31px); display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 10px 0 12px; border-bottom: 1px solid var(--seam); }
.bp-rail:last-child { border-bottom: 0; }
.bp-group .bp-tape { font-size: 11px; padding: 2px 7px 1px; margin-bottom: 8px; }
.bp-group__breakers {
	display: flex; gap: 6px; padding: 6px 6px 18px;
	background: #b9bfc5; border-radius: 3px; box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.18);
}
.bp-breaker {
	position: relative; flex: 0 0 var(--bk); width: var(--bk); height: calc(var(--bk) * 1.6); padding: 0; border: 0; cursor: pointer;
	background: #1f2226;
	border-radius: 3px;
	box-shadow: 0 2px 3px -1px rgba(0, 0, 0, 0.45);
}
.bp-breaker__lever {
	position: absolute; left: 22%; right: 22%; height: 40%; bottom: 9%;
	border-radius: 2px;
	background: #c6cbd0;
	transition: bottom 0.3s var(--ease), background 0.2s;
}
.bp-breaker::before {
	content: ""; position: absolute; left: 50%; top: 6px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%;
	background: #3a3f45; transition: background 0.2s, box-shadow 0.2s;
}
.bp-breaker:hover .bp-breaker__lever { background: #e2e5e8; }
.bp-breaker::after { content: attr(data-n); position: absolute; left: -4px; right: -4px; top: calc(100% + 3px); font: 600 10px/1 var(--f-cond); color: var(--ink-2); text-align: center; }
.bp-breaker[aria-pressed="true"] .bp-breaker__lever { bottom: 51%; background: #ffffff; }
.bp-breaker[aria-pressed="true"]::before { background: var(--live); box-shadow: 0 0 8px 1px rgba(255, 95, 15, 0.75); }
.bp-breaker.is-current { box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--live); }

/* The schedule card taped inside the door */
.bp-schedule {
	position: relative; align-self: stretch;
	background: var(--tape);
	border: 1px solid var(--steel-edge); border-left: 0;
	border-radius: 0 6px 6px 0;
	padding: 22px 20px;
	background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(28, 42, 107, 0.13) 31px 32px);
	background-position: 0 66px;
	box-shadow: 0 30px 50px -30px rgba(22, 24, 27, 0.45);
}
.bp-schedule p { margin: 0; }
.bp-schedule__head { display: flex; justify-content: space-between; gap: 8px; font: 700 13px/1 var(--f-cond); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 18px !important; }
.bp-schedule__count { font-weight: 600; color: var(--ink-2); letter-spacing: 0.02em; text-transform: none; }
.bp-schedule__count b { color: var(--live-ink); }
.bp-schedule__n { font: 600 14px/32px var(--f-cond); color: var(--ink-2); letter-spacing: 0.04em; text-transform: uppercase; }
.bp-schedule__title { font: 600 29px/32px var(--f-hand); color: #1c2a6b; }
.bp-schedule__desc { font-size: 15px; line-height: 1.45; color: var(--body); min-height: 64px; padding-top: 5px; }
.bp-schedule__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; height: 32px; font: 600 13px/1 var(--f-cond); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2); }
.bp-schedule__log { list-style: none; margin: 32px 0 0; padding: 0; }
.bp-schedule__log li { display: flex; gap: 10px; font: 600 22px/32px var(--f-hand); color: #1c2a6b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-schedule__log li span { flex: none; font: 600 13px/32px var(--f-cond); color: var(--live-ink); }
.bp-schedule__hint { font-size: 13px; line-height: 32px; color: var(--ink-2); }
.bp-schedule__log:not(:empty) + .bp-schedule__hint { display: none; }
.bp-schedule.is-writing .bp-schedule__title { animation: bp-write 0.5s var(--ease); }
@keyframes bp-write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Stamps: severity by form, colour second */
.bp-stamp {
	display: inline-block; padding: 3px 8px 2px; border: 2px solid currentColor; border-radius: 2px;
	font: 700 12px/1 var(--f-cond); letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--ink); transform: rotate(-2deg);
}
.bp-stamp--solid { background: var(--ink); color: var(--tape); border-color: var(--ink); }
.bp-stamp--struck { color: var(--ink-2); text-decoration: line-through; text-decoration-thickness: 2px; }

/* Live circuits: the pain */
.bp-live { background: var(--ink); color: #d9dde1; padding: 104px 0 96px; }
body.bp .bp-live h2 { color: var(--tape); font-size: clamp(36px, 4.4vw, 60px); line-height: 1; font-weight: 700; max-width: 18ch; }
.bp-sub { font-size: 19px; max-width: 52ch; margin: 18px 0 0; }
.bp-live .bp-sub { color: #b9bfc6; }
.bp-circuits { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.bp-circuits li {
	display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: baseline;
	padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.bp-circuits p { margin: 0; }
.bp-circuits__what { font-family: var(--f-cond); font-weight: 600; font-size: 23px; line-height: 1.2; color: var(--tape); }
.bp-circuits__what code { color: var(--live); font-size: 0.82em; }
.bp-circuits__why { color: #b9bfc6; }
.bp-circuits__fix { font-family: var(--f-cond); font-weight: 600; font-size: 17px; letter-spacing: 0.02em; color: #d9dde1; display: flex; gap: 10px; align-items: baseline; }
.bp-circuits__fix .bp-tape { font-size: 11px; padding: 2px 6px 1px; flex: none; }

/* House rules */
.bp-rules { padding: 104px 0; }
.bp-rules__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; }
.bp-rules h2 { font-size: clamp(34px, 3.8vw, 52px); line-height: 1; font-weight: 700; }
.bp-legend { margin: 0; border-top: 2px solid var(--ink); }
.bp-legend div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 28px; padding: 20px 0; border-bottom: 1px solid var(--seam); }
.bp-legend dt { font-family: var(--f-cond); font-weight: 700; font-size: 21px; color: var(--ink); }
.bp-legend dd { margin: 0; }

/* Pro: the panel's orange door, with the inspection sheet taped to it */
.bp-pro { padding: 104px 0; }
.bp-door {
	position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: start;
	background: var(--live); color: var(--ink); border-radius: 6px; padding: 64px;
	box-shadow: 0 30px 60px -30px rgba(22, 24, 27, 0.55);
}
.bp-door__hinges { position: absolute; inset: 0; pointer-events: none; }
/* Hinges straddle the door's left edge: barrel with two knuckle seams and a pin cap. */
.bp-door__hinges i { position: absolute; left: -8px; width: 16px; height: 76px; border-radius: 8px; background: linear-gradient(180deg, #2a2d31 0 31%, #555a61 31% 34%, #2a2d31 34% 66%, #555a61 66% 69%, #2a2d31 69%); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35); }
.bp-door__hinges i::before { content: ""; position: absolute; left: 4px; top: -5px; width: 8px; height: 6px; border-radius: 2px; background: #555a61; }
.bp-door__hinges i:first-child { top: 72px; }
.bp-door__hinges i:last-child { bottom: 72px; }
.bp-door h2 { font-size: clamp(36px, 4.2vw, 58px); line-height: 1; font-weight: 700; max-width: 17ch; }
.bp-door .bp-sub { color: #3b1702; }
.bp-door .bp-fine { color: #3b1702; }
.bp-pro__list { list-style: none; padding: 0; margin: 28px 0; border-top: 2px solid var(--ink); }
.bp-pro__list li { padding: 14px 0; border-bottom: 1px solid rgba(22, 24, 27, 0.25); max-width: 60ch; }
.bp-pro__list b { font-family: var(--f-cond); font-size: 20px; color: var(--ink); }
.bp-price { font-family: var(--f-cond); font-size: 22px; color: var(--ink); margin: 0 0 18px; }
.bp-price b { font-size: 44px; letter-spacing: -0.01em; }
.bp-pro__form .ovkit-waitlist { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; margin: 0; }
.bp-pro__form input[type="email"] {
	flex: 1 1 240px; min-width: 0; padding: 14px 16px; font: 500 17px/1.2 var(--f-body);
	border: 2px solid var(--ink); border-radius: 3px; background: var(--tape); color: var(--ink);
}
.bp-pro__form input[type="email"]::placeholder { color: #5b6168; }
.bp-pro__form small { flex-basis: 100%; font-size: 14px; color: #3b1702; }
.bp-pro__form .ovkit-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ovkit-waitlist-done { font-family: var(--f-cond); font-weight: 600; font-size: 20px; color: var(--ink); padding: 14px 16px; border: 2px solid var(--ink); display: inline-block; background: var(--tape); }
.bp-report__tape { position: absolute; top: -12px; width: 74px; height: 24px; background: rgba(250, 250, 246, 0.75); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); }
.bp-report__tape--l { left: 18px; transform: rotate(-6deg); }
.bp-report__tape--r { right: 18px; transform: rotate(5deg); }

.bp-report { position: relative; margin: 8px 0 0; background: var(--tape); border: 0; border-radius: 2px; transform: rotate(1.2deg); padding: 22px 22px 8px; box-shadow: 0 30px 50px -34px rgba(22, 24, 27, 0.5); }
.bp-report figcaption { display: flex; justify-content: space-between; font: 700 14px/1 var(--f-cond); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.bp-report figcaption span { font-weight: 600; color: var(--ink-2); letter-spacing: 0.04em; }
.bp-report ul { list-style: none; margin: 0; padding: 0; }
.bp-report li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--seam); }
.bp-report li:last-child { border-bottom: 0; }
.bp-report b { display: block; font-family: var(--f-cond); font-weight: 600; font-size: 18px; color: var(--ink); }
.bp-report code { color: var(--ink-2); }
.bp-report .bp-stamp { justify-self: start; }

/* FAQ */
.bp-faq { padding: 96px 0; }
.bp-faq h2 { font-size: clamp(32px, 3.4vw, 46px); font-weight: 700; margin-bottom: 26px; }
.bp-faq details { border-top: 1px solid var(--seam); max-width: 860px; }
.bp-faq details:last-of-type { border-bottom: 1px solid var(--seam); }
.bp-faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--f-cond); font-weight: 600; font-size: 22px; color: var(--ink); }
.bp-faq summary::-webkit-details-marker { display: none; }
.bp-faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform 0.25s var(--ease); }
.bp-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.bp-faq details p { margin: 0 0 20px; max-width: 68ch; }

/* Close */
.bp-close { background: var(--steel-deep); padding: 72px 0; border-top: 1px solid var(--steel-edge); }
.bp-close .bp-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.bp-close h2 { font-size: clamp(34px, 4vw, 56px); font-weight: 700; line-height: 1; }

.bp-foot { background: var(--ink); color: #b9bfc6; padding: 34px 0; font-size: 15px; }
.bp-foot__grid { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.bp-foot p { margin: 0; }
.bp-foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.bp-foot a { color: #e1e4e7; text-decoration: none; }
.bp-foot a:hover { text-decoration: underline; text-decoration-color: var(--live); }

/* Narrow screens */
@media (max-width: 1020px) {
	.bp-hero { grid-template-columns: 1fr; gap: 40px; padding-bottom: 72px; }
	.bp-lede { max-width: 46ch; }
	.bp-rules__grid, .bp-door { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
	body.bp { font-size: 17px; }
	.bp-top { padding: 14px 16px; gap: 12px; }
	.bp-nav { display: none; }
	.bp-menu { display: block; }
	.bp-mark { margin-right: auto; }
	.bp-wrap { padding: 0 16px; }
	.bp-hero { padding: 20px 16px 56px; }
	.bp-panel { grid-template-columns: 1fr; }
	.bp-panel__box { border-radius: 0 0 6px 6px; padding: 20px 12px 12px; }
	/* The schedule rides above the breakers and stays on screen while you flip. */
	.bp-schedule { order: -1; position: sticky; top: 0; z-index: 2; border: 1px solid var(--steel-edge); border-bottom: 0; border-radius: 6px 6px 0 0; padding: 14px 16px 6px; }
	.bp-schedule__desc { min-height: 0; }
	.bp-schedule__log, .bp-schedule__hint { display: none; }
	.bp-door { padding: 40px 20px 28px; }
	.bp-door__hinges i { left: -6px; width: 12px; height: 56px; }
	.bp-report { transform: none; padding: 18px 14px 6px; }
	.bp-report code { font-size: 12px; overflow-wrap: anywhere; hyphens: none; }
	.bp-group__breakers { gap: 4px; padding: 4px; }
	.bp-rail { --bk: clamp(24px, calc((100cqw - 52px) / 11), 30px); }
	.bp-rail { gap: 8px 14px; }
	.bp-circuits li { grid-template-columns: 1fr; gap: 6px; }
	.bp-legend div { grid-template-columns: 1fr; gap: 6px; }
	.bp-live, .bp-rules, .bp-pro { padding: 72px 0; }
	.bp-pro .bp-wrap { padding: 0 12px; }
	.bp-report li { grid-template-columns: 76px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.bp-breaker__lever, .bp-btn { transition: none; }
	.bp-schedule.is-writing .bp-schedule__title { animation: none; }
}

/* Notice strip (time-sensitive advisories): a centred bar above the header */
.bp-alert { background: #0b0c0e; color: #d9dde1; }
.bp-alert .bp-wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 12px; padding-top: 10px; padding-bottom: 10px; font-size: 15px; line-height: 1.45; text-align: center; }
.bp-alert b { font-family: var(--f-cond); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); background: var(--live); padding: 3px 8px 2px; border-radius: 2px; }
.bp-alert a { color: #fff; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--live); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 600; }
.bp-alert a:hover { color: var(--live); }

.bp-top .bp-btn--small { white-space: nowrap; }
.bp-mark > span { white-space: nowrap; }
@media (max-width: 520px) {
	.bp-mark__pre { display: none; }
	.bp-alert .bp-wrap { font-size: 14px; }
}
