/* BuilderDeck theme. Colours and fonts match the site's Elementor kit. */

:root {
	--navy: #0a1628;
	--navy-2: #0e1c33;
	--navy-3: #13233d;
	--ink: #ffffff;
	--muted: rgba(237, 237, 238, .62);
	--faint: rgba(237, 237, 238, .38);
	--line: rgba(255, 255, 255, .1);
	--line-2: rgba(255, 255, 255, .18);
	--green: #71bd4f;
	--green-2: #86d062;
	--cream: #f4f1e8;
	--dark: #0a0e16;
	--dark-muted: rgba(10, 14, 22, .7);
	--dark-line: rgba(10, 14, 22, .15);
	--red: #e8344e;
	--serif: "Fraunces", "Times New Roman", serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
	--wrap: 1500px;
	--gut: clamp(16px, 3vw, 40px);
	--sec-y: clamp(72px, 8vw, 116px);   /* the one vertical gap used by every section */
	--label-gap: clamp(36px, 4vw, 56px); /* space under each small label row */
	--head-gap: clamp(28px, 3vw, 44px);  /* space under each section heading */
	--r: 6px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 116px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
	margin: 0;
	min-height: 100vh;
	background: var(--navy);
	color: var(--ink);
	font: 400 16px/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
/* Base rules only inside the theme's own parts, with no weight, so Elementor pages keep their styles */
:where(.bdx-header, .bdx-footer, .bdx-homepage, .bdx-list, .bdx-404, .bdx-article, .bdx-main-plain) :where(img, svg, video) { max-width: 100%; height: auto; display: block; }
:where(.bdx-header, .bdx-footer, .bdx-homepage, .bdx-list, .bdx-404, .bdx-article, .bdx-main-plain) :where(a) { color: inherit; text-decoration: none; }
:where(.bdx-header, .bdx-footer, .bdx-homepage, .bdx-list, .bdx-404, .bdx-article, .bdx-main-plain) :where(button) { font: inherit; color: inherit; cursor: pointer; }
:where(.bdx-header, .bdx-footer, .bdx-homepage, .bdx-list, .bdx-404, .bdx-article-head) :where(h1, h2, h3, h4, h5, h6) { margin: 0; font-weight: 500; line-height: 1.15; }
:where(.bdx-header, .bdx-footer, .bdx-homepage, .bdx-list, .bdx-404, .bdx-article-head) :where(p) { margin: 0; }
:where(.bdx-header, .bdx-footer, .bdx-homepage, .bdx-list, .bdx-404) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.bdx-header, .bdx-footer, .bdx-homepage, .bdx-list, .bdx-404, .bdx-article) :where(figure, blockquote, dl, dd) { margin: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.bdx-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.bdx-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--green); color: var(--dark); padding: 10px 16px; border-radius: var(--r); }
.bdx-skip:focus { left: 8px; }

/* Type */
.bdx-g { color: var(--green); font-style: normal; }
.bdx-i, em.bdx-i { font-style: italic; }
.bdx-block { display: block; }
.bdx-h1, .bdx-h2 {
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(40px, 5.6vw, 84px);
	line-height: 1.02;
	letter-spacing: -.02em;
	margin-bottom: var(--head-gap);
	font-variation-settings: "opsz" 144;
}
.bdx-h2.bdx-i { font-style: italic; font-weight: 400; }
.bdx-lead { color: var(--muted); font-size: clamp(16px, 1.25vw, 18px); max-width: 62ch; margin-top: calc(var(--head-gap) * -.5); margin-bottom: var(--head-gap); }
.bdx-kicker { font: 500 12px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.bdx-kicker-g { color: var(--green); }

/* Small label row at the top of each section: the same space above and below the text */
.bdx-label {
	display: flex; justify-content: space-between; gap: 24px;
	font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
	color: var(--faint);
	padding: 0 0 20px;
	border-bottom: 1px solid var(--line);
	margin-bottom: var(--label-gap);
}
.bdx-label span:last-child:not(:first-child) { text-align: right; }

/* Buttons */
.bdx-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.bdx-btn {
	display: inline-flex; align-items: center; gap: 12px;
	font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
	padding: 19px 28px; border-radius: 2px; border: 1px solid transparent;
	transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
	white-space: nowrap;
}
.bdx-btn i { font-style: normal; transition: transform .3s var(--ease); }
.bdx-btn:hover i { transform: translateX(4px); }
.bdx-btn-solid { background: var(--green); color: var(--dark); }
.bdx-btn-solid:hover { background: var(--ink); }
.bdx-btn-line { border-color: var(--line-2); color: var(--ink); }
.bdx-btn-line:hover { background: var(--green); border-color: var(--green); color: var(--dark); }
.bdx-btn-pill { border-color: var(--dark); color: var(--dark); border-radius: 40px; padding: 14px 22px; font-size: 11px; }
.bdx-btn-pill:hover { background: var(--dark); color: var(--cream); }
.bdx-btn-sm { padding: 13px 18px; font-size: 11px; }

/* Header */
.bdx-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(10, 22, 40, .92);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
	transition: transform .35s var(--ease);
}
.admin-bar .bdx-header { top: 32px; }
.bdx-header-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; }
.bdx-logo img { width: var(--logo-w, 170px); height: auto; }
.bdx-logo span { font: 600 18px var(--sans); letter-spacing: .08em; }
.bdx-header-tools { display: flex; align-items: center; gap: 14px; }
.bdx-header-cta { padding: 13px 18px; font-size: 11px; }
.bdx-lang { font-size: 12px; }
.bdx-nav { border-top: 1px solid var(--line); }
.bdx-menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 30px; }
.bdx-menu > li { position: relative; }
.bdx-menu a { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/1 var(--sans); color: var(--muted); padding: 17px 0; transition: color .2s; }
.bdx-menu a:hover, .bdx-menu .current-menu-item > a, .bdx-menu .current-menu-ancestor > a { color: var(--ink); }
.bdx-menu .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--green); }
.bdx-menu .menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; }
.bdx-menu .sub-menu {
	position: absolute; top: 100%; left: -18px; min-width: 260px; z-index: 5;
	background: var(--navy-2); border: 1px solid var(--line); border-radius: var(--r);
	padding: 8px; box-shadow: 0 24px 48px rgba(0, 0, 0, .35);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s, transform .2s var(--ease), visibility .2s;
	max-height: 70vh; overflow-y: auto;
}
.bdx-menu li:hover > .sub-menu, .bdx-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.bdx-menu .sub-menu a { display: flex; padding: 11px 12px; border-radius: 4px; color: var(--muted); }
.bdx-menu .sub-menu a:hover { background: var(--navy-3); color: var(--ink); }
.bdx-menu .sub-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 10px; }
.bdx-sub-toggle { display: none; }
.bdx-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); background: none; border-radius: 4px; padding: 0 11px; flex-direction: column; justify-content: center; gap: 5px; }
.bdx-burger span { display: block; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.bdx-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.bdx-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bdx-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.bdx-scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 90; }

/* GTranslate: keep its floating switcher tidy inside the header */
.bdx-lang .gt_float_switcher { box-shadow: none !important; background: transparent !important; font-family: var(--mono) !important; }
.bdx-lang .gt_float_switcher .gt-selected { background: transparent !important; }
.bdx-lang .gt_float_switcher .gt-current-lang { color: var(--ink) !important; padding: 8px 10px !important; font-size: 12px !important; }
.bdx-lang .gt_float_switcher img { width: 16px !important; height: auto !important; }

.bdx-preview-note { background: var(--green); color: var(--dark); text-align: center; font: 600 12px/1.4 var(--mono); letter-spacing: .08em; padding: 10px var(--gut); }

/* Sections */
.bdx-sec { padding: var(--sec-y) 0; }
.bdx-sec + .bdx-sec:not(.bdx-light):not(.bdx-plan) { padding-top: 0; }
.bdx-light { background: var(--cream); color: var(--dark); }
.bdx-light + .bdx-sec { padding-top: var(--sec-y) !important; }
.bdx-light .bdx-label { color: rgba(10, 14, 22, .55); border-color: var(--dark-line); }
.bdx-light .bdx-kicker { color: rgba(10, 14, 22, .6); }
.bdx-head-row, .bdx-foot-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.bdx-head-row .bdx-h2 { margin-bottom: 0; }
.bdx-head-row { margin-bottom: var(--head-gap); }
.bdx-foot-row { align-items: center; margin-top: clamp(28px, 3vw, 44px); padding-top: clamp(24px, 2.5vw, 32px); border-top: 1px solid var(--line); }

/* Reveal on scroll (only when the script runs and motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
	.bdx-js .bdx-reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
	.bdx-js .bdx-reveal.is-in { opacity: 1; transform: none; }
}

/* Banner: split layout */
.bdx-hero {
	position: relative; isolation: isolate; overflow: hidden;
	background: radial-gradient(120% 90% at 85% 10%, #10233f 0%, var(--navy) 55%);
	padding-top: clamp(40px, 5vw, 72px);
}
.bdx-hero-bgfx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bdx-hero-bgfx::before {
	content: ""; position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(90% 80% at 30% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(90% 80% at 30% 40%, #000 20%, transparent 75%);
}
.bdx-hero-glow { position: absolute; width: 620px; height: 620px; left: -180px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(113, 189, 79, .22) 0%, rgba(113, 189, 79, 0) 65%); filter: blur(10px); }
.bdx-hero-glow.is-2 { left: auto; right: -220px; top: auto; bottom: -260px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(65, 120, 220, .18) 0%, rgba(65, 120, 220, 0) 65%); }
@media (prefers-reduced-motion: no-preference) {
	.bdx-hero-glow { animation: bdx-float 14s ease-in-out infinite alternate; }
	.bdx-hero-glow.is-2 { animation-duration: 18s; }
}
@keyframes bdx-float { to { transform: translate(60px, 40px) scale(1.08); } }

.bdx-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 4vw, 72px); align-items: center; }
.bdx-hero-left { position: relative; z-index: 2; padding: 12px 0 8px; }
.bdx-hero-copies { display: grid; }
.bdx-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.bdx-slide.is-active { opacity: 1; visibility: visible; }
.bdx-hero-eye { display: flex; align-items: center; gap: 14px; font: 500 12px/1.4 var(--mono); letter-spacing: .16em; color: var(--green); margin-bottom: 24px; }
.bdx-hero-eye span { width: 36px; height: 1px; background: var(--green); }
.bdx-hero-title {
	font-family: var(--serif); font-weight: 600;
	font-size: clamp(44px, 5.6vw, 96px); line-height: .96; letter-spacing: -.03em;
	margin-bottom: 26px; font-variation-settings: "opsz" 144;
}
.bdx-hero-title .bdx-g { display: block; font-weight: 300; font-style: italic; letter-spacing: -.02em; }
.bdx-hero-text { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; max-width: 52ch; color: rgba(255, 255, 255, .78); }
.bdx-hero-btns { margin-top: 34px; }
.bdx-hero-stats { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 38px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.bdx-hero-stats dt { font: 500 clamp(24px, 2vw, 32px)/1 var(--serif); color: var(--ink); }
.bdx-hero-stats dd { margin: 8px 0 0; font: 500 10.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
@media (prefers-reduced-motion: no-preference) {
	.bdx-slide .bdx-hero-eye, .bdx-slide .bdx-hero-title, .bdx-slide .bdx-hero-text { opacity: 0; transform: translateY(24px); }
	.bdx-slide.is-active .bdx-hero-eye, .bdx-slide.is-active .bdx-hero-title, .bdx-slide.is-active .bdx-hero-text { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
	.bdx-slide.is-active .bdx-hero-title { transition-delay: .1s; }
	.bdx-slide.is-active .bdx-hero-text { transition-delay: .22s; }
}

/* The photo in an angled frame */
.bdx-hero-media { position: relative; }
.bdx-hero-frame {
	position: relative; aspect-ratio: 5 / 4; border-radius: 14px; overflow: hidden;
	background: var(--navy-3);
	clip-path: polygon(0 0, calc(100% - 90px) 0, 100% 90px, 100% 100%, 0 100%);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.bdx-hero-img { position: absolute; inset: 0; margin: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1); z-index: 1; }
.bdx-hero-img.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
.bdx-hero-img.is-leaving { clip-path: inset(0 0 0 0); z-index: 1; transition: none; }
.bdx-hero-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease); }
.bdx-hero-img.is-active img { transform: scale(1); }
.bdx-hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 22, 40, .55) 0%, rgba(10, 22, 40, 0) 40%); }
.bdx-hero-corner { position: absolute; top: 0; right: 0; width: 127px; height: 127px; z-index: 3; background: linear-gradient(45deg, transparent 49.5%, var(--green) 49.5%, var(--green) 50.5%, transparent 50.5%); opacity: .9; pointer-events: none; }
.bdx-hero-cap {
	position: absolute; left: 18px; bottom: 18px; z-index: 3;
	display: flex; align-items: center; gap: 10px;
	padding: 11px 16px; border-radius: 40px;
	background: rgba(10, 22, 40, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, .16);
	font: 500 13px/1 var(--sans); color: var(--ink);
	opacity: 0; transform: translateY(12px); transition: opacity .6s .5s, transform .6s .5s var(--ease);
}
.bdx-hero-img.is-active .bdx-hero-cap { opacity: 1; transform: none; }
.bdx-hero-cap b { font: 500 11px var(--mono); color: var(--faint); padding-left: 10px; border-left: 1px solid var(--line-2); }
.bdx-hero-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(113, 189, 79, .6); }
@media (prefers-reduced-motion: no-preference) { .bdx-hero-dot { animation: bdx-ping 2s infinite; } }
@keyframes bdx-ping { 70% { box-shadow: 0 0 0 9px rgba(113, 189, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(113, 189, 79, 0); } }

/* Turning badge */
.bdx-hero-badge {
	position: absolute; left: -52px; top: 48px; z-index: 4;
	width: 124px; height: 124px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--green); color: var(--dark);
	box-shadow: 0 18px 40px -12px rgba(113, 189, 79, .55);
	transition: transform .4s var(--ease);
}
.bdx-hero-badge:hover { transform: scale(1.06); }
.bdx-hero-badge svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
.bdx-hero-badge text { font: 600 10.5px var(--mono); letter-spacing: .1em; fill: var(--dark); }
.bdx-hero-badge i { font-style: normal; font-size: 26px; line-height: 1; transition: transform .4s var(--ease); }
.bdx-hero-badge:hover i { transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) { .bdx-hero-badge svg { animation: bdx-spin 18s linear infinite; } }
@keyframes bdx-spin { to { transform: rotate(360deg); } }

/* Slide tabs with previews */
.bdx-hero-ui { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: clamp(28px, 3vw, 44px); padding-bottom: clamp(24px, 2.6vw, 36px); }
.bdx-hero-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); gap: 16px; flex: 1; }
.bdx-hero-tab { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: center; text-align: left; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px 8px 8px; color: var(--muted); overflow: hidden; transition: background .3s, border-color .3s, color .3s; }
.bdx-hero-tab:hover { border-color: var(--line-2); color: var(--ink); }
.bdx-hero-tab.is-active { background: rgba(113, 189, 79, .08); border-color: rgba(113, 189, 79, .45); color: var(--ink); }
.bdx-hero-thumb { width: 58px; height: 44px; border-radius: 6px; overflow: hidden; }
.bdx-hero-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) brightness(.8); transition: filter .4s; }
.bdx-hero-tab.is-active .bdx-hero-thumb img, .bdx-hero-tab:hover .bdx-hero-thumb img { filter: none; }
.bdx-hero-tabtxt { display: grid; gap: 4px; min-width: 0; }
.bdx-hero-num { font: 500 11px/1 var(--mono); color: var(--green); }
.bdx-hero-tabname { font: 500 13.5px/1.3 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bdx-hero-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.bdx-hero-bar i { display: block; height: 100%; width: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; }
.bdx-hero-tab.is-active .bdx-hero-bar i { animation: bdx-bar var(--hero-speed, 7s) linear forwards; }
.bdx-hero.is-paused .bdx-hero-tab.is-active .bdx-hero-bar i { animation-play-state: paused; }
@keyframes bdx-bar { to { transform: scaleX(1); } }
.bdx-hero-arrows { display: flex; gap: 10px; }
.bdx-arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(10, 22, 40, .4); font-size: 18px; transition: background .3s, color .3s, border-color .3s; }
.bdx-arrow:hover { background: var(--green); border-color: var(--green); color: var(--dark); }

/* Moving line */
.bdx-hero-ticker { position: relative; z-index: 3; border-top: 1px solid var(--line); overflow: hidden; padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.bdx-hero-ticker-track { display: flex; width: max-content; }
.bdx-hero-ticker-track span { white-space: nowrap; font: 500 11.5px/1.5 var(--mono); letter-spacing: .16em; color: rgba(255, 255, 255, .6); padding-right: 28px; }
.bdx-hero-ticker .bdx-g { font-style: normal; }
.bdx-tick-star { font-style: normal; color: var(--green); padding-left: 28px; }
@media (prefers-reduced-motion: no-preference) { .bdx-hero-ticker-track { animation: bdx-ticker 40s linear infinite; } }
@keyframes bdx-ticker { to { transform: translateX(-50%); } }

/* About (cream) */
.bdx-about .bdx-h2 { max-width: 20ch; }
.bdx-about .bdx-g { color: #4f9a2f; }
.bdx-about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px); }
.bdx-about-lead { font: 400 clamp(19px, 1.6vw, 24px)/1.5 var(--serif); margin-bottom: 22px; }
.bdx-about-text { color: var(--dark-muted); font-size: 15px; margin-bottom: 30px; max-width: 64ch; }
.bdx-about-lists { border-left: 1px solid var(--dark-line); padding-left: clamp(24px, 3.5vw, 50px); align-self: start; }
.bdx-about-lists .bdx-kicker { margin-bottom: 14px; }
.bdx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.bdx-chips:last-child { margin-bottom: 0; }
.bdx-chips li { font: 500 11px/1 var(--mono); letter-spacing: .12em; border: 1px solid var(--dark-line); border-radius: 40px; padding: 9px 15px; }

/* Services */
.bdx-serv-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.bdx-serv { position: relative; padding: clamp(24px, 2.4vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 230px; display: flex; flex-direction: column; transition: background .35s var(--ease); }
.bdx-serv:nth-child(3n) { border-right: 0; }
.bdx-serv:nth-last-child(-n+3) { border-bottom: 0; }
.bdx-serv:hover { background: var(--navy-2); }
.bdx-serv-num { font: 500 12px var(--mono); color: var(--faint); margin-bottom: 22px; }
.bdx-serv-arrow { position: absolute; top: 26px; right: 28px; color: var(--muted); transition: transform .35s var(--ease), color .35s; }
.bdx-serv:hover .bdx-serv-arrow { transform: translate(3px, -3px); color: var(--green); }
.bdx-serv-title { font: 500 clamp(26px, 2.3vw, 36px)/1.1 var(--serif); margin-bottom: 18px; }
.bdx-serv-text { color: var(--muted); font-size: 14.5px; margin-top: auto; }

/* Clients */
.bdx-cli-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: var(--head-gap); }
.bdx-cli-head .bdx-h2 { margin-bottom: 0; }
.bdx-cli-side .bdx-lead { margin: 0 0 26px; }
.bdx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; }
.bdx-stats div { border-top: 1px solid var(--line-2); padding-top: 12px; }
.bdx-stats dt { font: 500 clamp(26px, 2.5vw, 38px)/1 var(--serif); color: var(--green); }
.bdx-stats dd { margin: 8px 0 0; font: 500 11px/1.45 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.bdx-marquees { display: grid; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.bdx-marquee { overflow: hidden; }
.bdx-marquee-track { display: flex; gap: 14px; width: max-content; animation: bdx-marquee calc(var(--n, 30) * 2.2s) linear infinite; }
.bdx-marquee.is-reverse .bdx-marquee-track { animation-direction: reverse; }
.bdx-marquees:hover .bdx-marquee-track { animation-play-state: paused; }
@keyframes bdx-marquee { to { transform: translateX(calc(-50% - 7px)); } }
.bdx-logo-tile {
	flex: 0 0 auto; width: clamp(150px, 13vw, 196px); height: clamp(84px, 7vw, 104px);
	display: block; padding: 14px 20px; overflow: hidden;
	background: #fff; border-radius: var(--r);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
	transition: transform .4s var(--ease), background .4s;
}
.bdx-logo-tile img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; mix-blend-mode: multiply; transition: filter .4s, opacity .4s; }
.bdx-logo-tile:hover { transform: translateY(-4px); }
.bdx-logo-tile:hover img { filter: grayscale(1) contrast(1.1); opacity: .85; }
@media (prefers-reduced-motion: reduce) {
	.bdx-marquees { -webkit-mask-image: none; mask-image: none; }
	.bdx-marquee { overflow-x: auto; }
	.bdx-marquee-track { animation: none; }
	.bdx-marquee-track li[aria-hidden="true"] { display: none; }
}

/* Latest work: cover flow */
.bdx-cf-title { text-align: center; }
.bdx-cf { position: relative; outline: none; --cf-w: min(620px, 46vw); }
.bdx-cf:focus-visible .bdx-cf-item.is-active .bdx-cf-card { box-shadow: 0 0 0 3px var(--green), 0 50px 90px -40px rgba(0, 0, 0, .9); }
.bdx-cf-stage {
	position: relative; height: calc(var(--cf-w) * .75 + 40px);
	perspective: 1800px; perspective-origin: 50% 45%;
	overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.bdx-cf-stage.is-dragging { cursor: grabbing; }
.bdx-cf-item {
	position: absolute; left: 50%; top: 20px; width: var(--cf-w); aspect-ratio: 4 / 3; margin-left: calc(var(--cf-w) / -2);
	transform-style: preserve-3d;
	transition: transform .85s cubic-bezier(.2, .75, .2, 1), opacity .6s, filter .6s;
	will-change: transform;
}
.bdx-cf-stage.is-dragging .bdx-cf-item { transition: none; }
.bdx-cf-card { position: absolute; inset: 0; display: block; border-radius: 14px; overflow: hidden; background: var(--navy-3); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); -webkit-user-drag: none; }
.bdx-cf-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 1.2s var(--ease); }
.bdx-cf-item.is-active .bdx-cf-card img { transform: scale(1.03); }
.bdx-cf-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 22, 40, .92) 0%, rgba(10, 22, 40, .25) 40%, rgba(10, 22, 40, 0) 62%); transition: background .6s; }
.bdx-cf-item:not(.is-active) .bdx-cf-shade { background: rgba(10, 22, 40, .45); }
.bdx-cf-info { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 10px; padding: clamp(18px, 2vw, 30px); opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .6s var(--ease); }
.bdx-cf-item.is-active .bdx-cf-info { opacity: 1; transform: none; transition-delay: .25s; }
.bdx-cf-meta { display: flex; align-items: center; gap: 12px; font: 600 10.5px/1 var(--mono); letter-spacing: .16em; color: var(--green); }
.bdx-cf-meta b { color: var(--dark); background: var(--green); padding: 6px 8px; border-radius: 20px; font-weight: 600; }
.bdx-cf-name { font: 500 clamp(24px, 2.5vw, 38px)/1.05 var(--serif); letter-spacing: -.015em; }
.bdx-cf-view { position: absolute; top: 18px; right: 18px; font: 600 10.5px/1 var(--mono); letter-spacing: .14em; color: var(--dark); background: var(--ink); padding: 10px 13px; border-radius: 30px; opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .5s var(--ease), background .3s; }
.bdx-cf-view i { font-style: normal; }
.bdx-cf-item.is-active .bdx-cf-view { opacity: 1; transform: none; transition-delay: .3s; }
.bdx-cf-item.is-active .bdx-cf-card:hover .bdx-cf-view { background: var(--green); }
.bdx-cf-item:not(.is-active) .bdx-cf-card { cursor: pointer; }
.bdx-cf-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: clamp(26px, 3vw, 40px); }
.bdx-cf-dots { display: flex; gap: 8px; }
.bdx-cf-dot { width: 34px; height: 24px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.bdx-cf-dot i { display: block; width: 100%; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; position: relative; transition: background .3s; }
.bdx-cf-dot:hover i { background: rgba(255, 255, 255, .4); }
.bdx-cf-dot.is-active i { background: rgba(113, 189, 79, .3); }
.bdx-cf-dot.is-active i::after { content: ""; position: absolute; inset: 0; background: var(--green); transform-origin: left; animation: bdx-cfbar var(--cf-speed, 5s) linear forwards; }
.bdx-cf.is-paused .bdx-cf-dot.is-active i::after { animation-play-state: paused; }
.bdx-cf.is-still .bdx-cf-dot.is-active i::after { animation: none; }
@keyframes bdx-cfbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.bdx-cf-count { font: 500 13px/1 var(--mono); letter-spacing: .1em; color: var(--faint); min-width: 64px; text-align: center; }
.bdx-cf-count b { color: var(--ink); font-weight: 500; }
.bdx-work .bdx-foot-row { margin-top: clamp(30px, 3vw, 44px); }
@media (prefers-reduced-motion: reduce) { .bdx-cf-item, .bdx-cf-card img, .bdx-cf-info, .bdx-cf-view { transition: none; } }

/* What makes us unique */
.bdx-uni-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); }
.bdx-uni { display: flex; flex-direction: column; gap: 22px; border-top: 1px solid var(--line-2); padding-top: 22px; }
.bdx-uni.is-flip { flex-direction: column-reverse; justify-content: flex-end; border-top: 0; padding-top: 0; }
.bdx-uni.is-flip .bdx-uni-copy { border-top: 1px solid var(--line-2); padding-top: 22px; }
.bdx-uni-num { font: 300 clamp(64px, 7vw, 108px)/1 var(--serif); color: var(--green); margin: 14px 0 12px; }
.bdx-uni-title { font: 500 clamp(24px, 2.1vw, 32px)/1.15 var(--serif); margin-bottom: 14px; }
.bdx-uni-text { color: var(--muted); font-size: 15px; }
.bdx-uni-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.bdx-uni-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bdx-uni:hover .bdx-uni-img img { transform: scale(1.04); }

/* Why choose us: sticky heading column and numbered reasons */
.bdx-choose { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); }
.bdx-cho-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.bdx-cho-side { position: sticky; top: calc(var(--header-h) + 32px); }
.bdx-cho-side .bdx-h2 { font-size: clamp(38px, 4.6vw, 70px); }
.bdx-cho-lead { font: 400 clamp(18px, 1.5vw, 22px)/1.55 var(--serif); color: rgba(255, 255, 255, .9); margin-bottom: 34px; }
.bdx-cho-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 16px 30px; margin: 0; justify-content: start; }
.bdx-cho-stats div { border-left: 2px solid var(--green); padding-left: 14px; }
.bdx-cho-stats dt { font: 500 clamp(22px, 2vw, 30px)/1.1 var(--serif); }
.bdx-cho-stats dd { margin: 6px 0 0; font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); max-width: 16ch; }
.bdx-cho-list { display: grid; gap: 14px; counter-reset: none; }
.bdx-cho-item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: clamp(22px, 2.4vw, 34px); background: rgba(255, 255, 255, .025); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .35s, background .35s; }
.bdx-cho-item:hover { border-color: rgba(113, 189, 79, .45); background: rgba(113, 189, 79, .04); }
.bdx-cho-num { font: 500 13px/1 var(--mono); color: var(--green); padding-top: 8px; }
.bdx-cho-title { font: 500 clamp(20px, 1.7vw, 25px)/1.25 var(--serif); margin-bottom: 12px; }
.bdx-cho-item p { color: var(--muted); font-size: 15px; line-height: 1.75; }

/* Reviews */
.bdx-rev-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bdx-rev { display: flex; flex-direction: column; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, .02); transition: transform .4s var(--ease), border-color .4s; }
.bdx-rev:hover { transform: translateY(-4px); border-color: var(--line-2); }
.bdx-stars { color: #f5b301; letter-spacing: 4px; font-size: 15px; margin-bottom: 22px; }
.bdx-rev blockquote { margin: 0 0 28px; font: 400 18px/1.5 var(--serif); }
.bdx-rev figcaption { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.bdx-rev figcaption b { font: 600 13px var(--sans); }
.bdx-rev figcaption span { font: 500 10.5px/1.5 var(--mono); letter-spacing: .06em; color: var(--faint); }

/* Planning a show (new section) */
.bdx-plan { padding-top: 0; }
.bdx-plan-box {
	position: relative; overflow: hidden;
	display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 4vw, 64px); align-items: center;
	padding: clamp(32px, 4.5vw, 72px);
	border: 1px solid rgba(113, 189, 79, .35); border-radius: 10px;
	background:
		radial-gradient(120% 140% at 0% 0%, rgba(113, 189, 79, .16) 0%, rgba(113, 189, 79, 0) 55%),
		linear-gradient(135deg, var(--navy-2), var(--navy-3));
}
.bdx-plan-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border: 1px solid rgba(113, 189, 79, .2); border-radius: 50%; pointer-events: none; }
.bdx-plan-copy .bdx-kicker { margin-bottom: 18px; }
.bdx-plan-title { font: 500 clamp(34px, 3.8vw, 58px)/1.05 var(--serif); letter-spacing: -.02em; margin-bottom: 20px; }
.bdx-plan-title .bdx-g { font-weight: 400; }
.bdx-plan-text { color: var(--muted); font-size: 16px; margin-bottom: 30px; max-width: 46ch; }
.bdx-plan-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; z-index: 1; }
.bdx-plan-steps li { padding: 22px 20px; background: rgba(10, 22, 40, .55); border: 1px solid var(--line); border-radius: var(--r); }
.bdx-plan-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: var(--dark); font: 600 12px var(--mono); margin-bottom: 18px; }
.bdx-plan-steps h3 { font: 500 19px/1.25 var(--serif); margin-bottom: 8px; }
.bdx-plan-steps p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* How we work (text section after Planning a stand) */
.bdx-story { position: relative; overflow: hidden; }
.bdx-story-bg {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 0; pointer-events: none;
	font: 600 clamp(110px, 17vw, 300px)/.85 var(--serif); letter-spacing: -.04em; white-space: nowrap;
	color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .06);
}
.bdx-story .bdx-wrap { position: relative; z-index: 1; }
.bdx-story-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.bdx-story-side { position: sticky; top: calc(var(--header-h) + 32px); }
.bdx-story-side .bdx-kicker { margin-bottom: 18px; }
.bdx-story-title { font: 500 clamp(34px, 3.5vw, 54px)/1.06 var(--serif); letter-spacing: -.025em; margin-bottom: 34px; text-wrap: balance; }
.bdx-story-title .bdx-g { font-weight: 400; display: block; }
.bdx-story-steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.bdx-story-steps li { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); font: 500 15px/1.45 var(--sans); color: var(--muted); }
.bdx-story-steps li span { font: 500 12px/1 var(--mono); color: var(--green); }
.bdx-story-body { position: relative; padding-left: clamp(24px, 3vw, 48px); border-left: 1px solid rgba(113, 189, 79, .45); }
.bdx-story-body::before { content: ""; position: absolute; left: -4px; top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(113, 189, 79, .15); }
.bdx-story-text { font: 400 clamp(17px, 1.3vw, 19px)/1.85 var(--sans); color: var(--muted); }
.bdx-story-lead { display: block; margin-bottom: 18px; font: 400 clamp(22px, 2vw, 30px)/1.4 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.bdx-story-lead::first-letter { float: left; font: 500 clamp(64px, 6vw, 92px)/.82 var(--serif); color: var(--green); margin: 8px 14px 0 0; }

/* Blog */
.bdx-blog-head { text-align: center; margin-bottom: var(--head-gap); }
.bdx-blog-head .bdx-h2 { font-size: clamp(48px, 7vw, 110px); margin-bottom: 16px; }
.bdx-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Blog notes: shared look */
.bdx-note-link { display: flex; flex-direction: column; height: 100%; color: var(--ink); }
.bdx-note-img { position: relative; display: block; overflow: hidden; border-radius: var(--r); background: var(--navy-3); aspect-ratio: 16 / 10; }
.bdx-note-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.bdx-note-img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); pointer-events: none; }
.bdx-note-link:hover .bdx-note-img img { transform: scale(1.045); }
.bdx-note-body { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; flex: 1; }
.bdx-note-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .12em; color: var(--faint); }
.bdx-note-meta > * + *::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--faint); margin-right: 12px; vertical-align: middle; }
.bdx-note-meta { white-space: nowrap; }
.bdx-note-meta > * { white-space: nowrap; }
.bdx-note-cat { color: var(--green); text-transform: uppercase; }
.bdx-note-num { color: var(--ink); }
.bdx-note-title { font: 500 clamp(20px, 1.6vw, 24px)/1.25 var(--serif); letter-spacing: -.01em; transition: color .3s; }
.bdx-note-link:hover .bdx-note-title { color: var(--green); }
.bdx-note-text { color: var(--muted); font-size: 15px; line-height: 1.65; }
.bdx-note-more { margin-top: auto; padding-top: 6px; font: 600 11px/1 var(--sans); letter-spacing: .16em; color: var(--ink); display: inline-flex; align-items: center; gap: 10px; }
.bdx-note-more i { font-style: normal; color: var(--green); transition: transform .3s var(--ease); }
.bdx-note-link:hover .bdx-note-more i { transform: translateX(5px); }
.bdx-note-badge { position: absolute; top: 16px; left: 16px; background: var(--green); color: var(--dark); font: 600 10.5px/1 var(--mono); letter-spacing: .14em; padding: 8px 11px; border-radius: 3px; }

/* Home: one feature beside a list */
.bdx-notes { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.bdx-note-feature .bdx-note-img { aspect-ratio: 16 / 10; }
.bdx-note-feature .bdx-note-body { padding-top: 26px; gap: 14px; }
.bdx-note-feature .bdx-note-title { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.12; letter-spacing: -.02em; }
.bdx-note-feature .bdx-note-text { font-size: 16px; max-width: 58ch; }
.bdx-notes-list { display: grid; border-top: 1px solid var(--line); }
.bdx-note-row { border-bottom: 1px solid var(--line); }
.bdx-note-row .bdx-note-link { display: grid; grid-template-columns: minmax(130px, 38%) 1fr; gap: 22px; align-items: center; padding: 22px 0; flex-direction: row; }
.bdx-note-row .bdx-note-img { aspect-ratio: 4 / 3; }
.bdx-note-row .bdx-note-body { padding-top: 0; gap: 10px; }
.bdx-note-row .bdx-note-title { font-size: clamp(18px, 1.45vw, 22px); }
.bdx-note-row .bdx-note-more { color: var(--muted); }
.bdx-note-row .bdx-note-link:hover .bdx-note-more { color: var(--ink); }

/* Contact */
.bdx-con-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.bdx-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.bdx-tab { border: 1px solid var(--line-2); background: none; border-radius: 40px; padding: 10px 16px; font: 500 13px/1 var(--sans); color: var(--muted); transition: background .25s, color .25s, border-color .25s; }
.bdx-tab:hover { color: var(--ink); border-color: var(--ink); }
.bdx-tab.is-active { background: var(--green); border-color: var(--green); color: var(--dark); }
.bdx-pane { padding: 4px 0 30px; }
.bdx-pane .bdx-kicker { margin-bottom: 14px; }
.bdx-pane-title { font: 500 clamp(26px, 2.4vw, 36px)/1.15 var(--serif); margin-bottom: 14px; }
.bdx-pane-text { color: var(--muted); max-width: 52ch; }
.bdx-con-details { border-top: 1px solid var(--line); }
.bdx-con-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; margin-top: 22px; padding: 14px 18px; background: var(--green); color: var(--dark); border-radius: 40px; font: 600 11px/1 var(--mono); letter-spacing: .14em; }
.bdx-con-details summary::-webkit-details-marker { display: none; }
.bdx-con-details summary::after { content: "–"; font-size: 16px; }
.bdx-con-details:not([open]) summary::after { content: "+"; }
.bdx-con-lists { padding: 26px 4px 0; }
.bdx-con-lists .bdx-kicker { margin: 18px 0 8px; }
.bdx-con-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bdx-con-list a { font: 400 18px/1.3 var(--serif); word-break: break-word; }
.bdx-con-list a:hover { color: var(--green); }
.bdx-con-list span { font: 500 10.5px var(--mono); letter-spacing: .1em; color: var(--faint); }
.bdx-con-address { font: 400 17px/1.5 var(--serif); font-style: normal; padding: 6px 0 14px; border-bottom: 1px solid var(--line); }
.bdx-social { display: flex; gap: 10px; margin-top: 30px; }
.bdx-social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--muted); transition: background .25s, color .25s, border-color .25s; }
.bdx-social a:hover { background: var(--green); border-color: var(--green); color: var(--dark); }

/* Contact Form 7, styled to the theme */
.bdx-con-form .wpcf7 form > p, .bdx-con-form .wpcf7 .hf p { margin: 0; }
.bdx-con-form .hf p { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.bdx-con-form .hf br, .bdx-con-form label > br { display: none; }
.bdx-con-form label { display: block; font: 500 10.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 26px; }
.bdx-con-form input[type="text"], .bdx-con-form input[type="email"], .bdx-con-form input[type="tel"], .bdx-con-form select, .bdx-con-form textarea {
	width: 100%; margin-top: 10px; background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
	color: var(--ink); font: 400 15px/1.5 var(--sans); letter-spacing: 0; text-transform: none; padding: 8px 0; border-radius: 0;
	transition: border-color .25s;
}
.bdx-con-form select { -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.bdx-con-form select option { background: var(--navy); color: var(--ink); }
.bdx-con-form textarea { height: 110px; resize: vertical; }
.bdx-con-form input:focus, .bdx-con-form select:focus, .bdx-con-form textarea:focus { outline: 0; border-color: var(--green); }
.bdx-con-form .fdiscl { font-size: 12px; color: var(--faint); margin: 0 0 22px; }
.bdx-con-form .submitarea { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.bdx-con-form .submitarea p { margin: 0; }
.bdx-con-form .wpcf7-submit { background: var(--green); color: var(--dark); border: 0; padding: 18px 34px; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; border-radius: 2px; cursor: pointer; transition: background .25s; }
.bdx-con-form .wpcf7-submit:hover { background: var(--ink); }
.bdx-con-form .freplies { font: 500 10.5px var(--mono); letter-spacing: .12em; color: var(--faint); }
.bdx-con-form .wpcf7-not-valid-tip { font: 400 12px var(--sans); text-transform: none; letter-spacing: 0; color: #ff8a8a; margin-top: 6px; }
.bdx-con-form .wpcf7-response-output { margin: 18px 0 0 !important; border-radius: var(--r); font-size: 14px; }

/* Footer */
.bdx-footer { border-top: 1px solid var(--line); background: var(--navy); }
.bdx-foot-news { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); padding: clamp(48px, 5vw, 72px) 0; align-items: start; }
.bdx-foot-copy .bdx-kicker { margin-bottom: 12px; }
.bdx-foot-title { font: 500 clamp(26px, 2.6vw, 38px)/1.15 var(--serif); margin-bottom: 14px; }
.bdx-foot-title .bdx-g { font-style: italic; font-weight: 400; }
.bdx-foot-text { color: var(--muted); font-size: 14.5px; max-width: 52ch; }
.bdx-foot-form .tnp-subscription form, .bdx-foot-form .tnp-subscription-minimal form, .bdx-foot-form form { display: flex; gap: 0; max-width: none; margin: 0 0 14px; border-bottom: 1px solid var(--line-2); }
.bdx-foot-form .tnp-field { margin: 0; }
.bdx-foot-form .tnp-field-email { flex: 1; }
.bdx-foot-form .tnp-field label { position: absolute; left: -9999px; }
.bdx-foot-form input.tnp-email, .bdx-foot-form input[type="email"] { width: 100%; background: transparent !important; border: 0 !important; color: var(--ink) !important; font: 400 16px var(--sans) !important; padding: 14px 0 !important; }
.bdx-foot-form input.tnp-email::placeholder { color: var(--faint); }
.bdx-foot-form input.tnp-submit, .bdx-foot-form input[type="submit"] { background: transparent !important; border: 0 !important; color: var(--green) !important; font: 600 12px var(--mono) !important; letter-spacing: .14em !important; text-transform: uppercase; padding: 14px 0 14px 16px !important; cursor: pointer; width: auto !important; }
.bdx-foot-form input:focus { outline: 0; }
.bdx-foot-social { display: flex; gap: 22px; margin-top: 22px; }
.bdx-foot-social a { font: 500 11px var(--mono); letter-spacing: .14em; color: var(--muted); }
.bdx-foot-social a:hover { color: var(--green); }
.bdx-foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding: 22px 0 26px; font: 500 10.5px/1.5 var(--mono); letter-spacing: .12em; color: var(--faint); }
.bdx-foot-links { display: flex; gap: 22px; }
.bdx-foot-links a:hover { color: var(--ink); }

/* Pages, posts, lists */
.bdx-main-plain, .bdx-list, .bdx-404, .bdx-article { padding: var(--sec-y) 0; }
.bdx-prose-wrap { max-width: 860px; }
.bdx-page-title, .bdx-article-title { font: 500 clamp(38px, 5vw, 72px)/1.05 var(--serif); letter-spacing: -.02em; margin: 14px 0 36px; }
.bdx-article-head { max-width: 1000px; }
.bdx-article-img { margin-bottom: 40px; }
.bdx-article-img img { border-radius: var(--r); width: 100%; }
.bdx-prose { color: rgba(255, 255, 255, .84); font-size: 17px; line-height: 1.8; }
.bdx-prose > * + * { margin-top: 1.2em; }
.bdx-prose h2, .bdx-prose h3, .bdx-prose h4 { font-family: var(--serif); color: var(--ink); line-height: 1.2; margin-top: 1.8em; }
.bdx-prose h2 { font-size: 32px; }
.bdx-prose h3 { font-size: 25px; }
.bdx-prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.bdx-prose ul { list-style: disc; padding-left: 1.3em; }
.bdx-prose ol { list-style: decimal; padding-left: 1.3em; }
.bdx-prose img { border-radius: var(--r); }
.bdx-pager { margin-top: 44px; }
.bdx-pager .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.bdx-pager .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 4px; font: 500 13px var(--mono); }
.bdx-pager .current, .bdx-pager .page-numbers:hover { background: var(--green); border-color: var(--green); color: var(--dark); }
.bdx-404 .bdx-btns { margin-top: 30px; }

/* Elementor pages keep their own widths */
.bdx-main-el { min-height: 40vh; }

/* Tablet */
@media (max-width: 1100px) {
	:root { --header-h: 64px; }
	.bdx-burger { display: inline-flex; }
	.bdx-header-cta { display: none; }
	.bdx-nav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 110; width: min(380px, 88vw);
		background: var(--navy-2); border-left: 1px solid var(--line); border-top: 0;
		transform: translateX(100%); transition: transform .4s var(--ease);
		overflow-y: auto; padding: 80px 0 40px; visibility: hidden;
	}
	.bdx-nav.is-open { transform: none; visibility: visible; }
	.admin-bar .bdx-nav { top: 46px; }
	.bdx-menu { flex-direction: column; gap: 0; }
	.bdx-menu > li { border-bottom: 1px solid var(--line); }
	.bdx-menu a { padding: 16px 0; font-size: 16px; color: var(--ink); width: 100%; }
	.bdx-menu .menu-item-has-children > a::after { display: none; }
	.bdx-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 10px 12px; display: none; max-height: none; min-width: 0; }
	.bdx-menu li.is-open > .sub-menu { display: block; }
	.bdx-sub-toggle { display: block; position: absolute; right: 0; top: 6px; width: 44px; height: 44px; background: none; border: 0; color: var(--muted); font-size: 20px; }
	.bdx-menu li.is-open > .bdx-sub-toggle { transform: rotate(45deg); color: var(--green); }
	.bdx-menu .sub-menu a { padding: 10px 0; font-size: 14px; color: var(--muted); }
	.bdx-nav .bdx-wrap { padding: 0 24px; }

	.bdx-about-grid, .bdx-cli-head, .bdx-cho-grid, .bdx-con-grid, .bdx-foot-news, .bdx-plan-box { grid-template-columns: 1fr; }
	.bdx-about-lists { border-left: 0; padding-left: 0; border-top: 1px solid var(--dark-line); padding-top: 28px; }
	.bdx-serv-grid { grid-template-columns: 1fr 1fr; }
	.bdx-serv:nth-child(3n) { border-right: 1px solid var(--line); }
	.bdx-serv:nth-child(2n) { border-right: 0; }
	.bdx-serv:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
	.bdx-serv:nth-last-child(-n+2) { border-bottom: 0; }
	.bdx-rev-grid, .bdx-posts { grid-template-columns: 1fr 1fr; }
	.bdx-notes { grid-template-columns: 1fr; }
	.bdx-uni-grid { grid-template-columns: 1fr; gap: 44px; }
	.bdx-uni, .bdx-uni.is-flip { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
	.bdx-uni.is-flip .bdx-uni-img { order: -1; }
	.bdx-cho-side { position: static; }
	.bdx-hero-grid { grid-template-columns: 1fr; }
	.bdx-cf { --cf-w: min(560px, 62vw); }
	.bdx-story-grid { grid-template-columns: 1fr; }
	.bdx-story-side { position: static; }
	.bdx-hero-media { order: -1; max-width: 760px; }
	.bdx-hero-badge { left: auto; right: 18px; top: auto; bottom: -40px; width: 104px; height: 104px; }
	.bdx-hero-tabs { grid-template-columns: repeat(3, 1fr); }

}

/* Phone */
@media (max-width: 700px) {
	:root { --sec-y: 64px; }
	.bdx-label { flex-direction: column; gap: 8px; }
	.bdx-label span:last-child:not(:first-child) { text-align: left; }
	.bdx-header-top { height: 60px; }
	.bdx-logo img { width: min(var(--logo-w, 170px), 140px); }
	.bdx-lang { display: none; }
	.bdx-con-list a { font-size: 16px; word-break: normal; overflow-wrap: anywhere; }
	.bdx-serv-grid, .bdx-rev-grid, .bdx-posts, .bdx-plan-steps { grid-template-columns: 1fr; }
	.bdx-cf { --cf-w: 78vw; }
	.bdx-cf-dots { display: none; }
	.bdx-cf-nav { gap: 16px; }
	.bdx-hero { padding-top: 20px; }
	.bdx-hero-frame { aspect-ratio: 4 / 3; clip-path: polygon(0 0, calc(100% - 54px) 0, 100% 54px, 100% 100%, 0 100%); border-radius: 10px; }
	.bdx-hero-corner { width: 76px; height: 76px; }
	.bdx-hero-badge { width: 88px; height: 88px; right: 12px; bottom: -32px; }
	.bdx-hero-badge text { font-size: 9px; }
	.bdx-hero-badge i { font-size: 20px; }
	.bdx-hero-cap { left: 10px; bottom: 10px; font-size: 12px; padding: 9px 12px; }
	.bdx-hero-left { padding-top: 26px; }
	.bdx-hero-title { font-size: clamp(40px, 11.5vw, 56px); }
	.bdx-hero-text { font-size: 15.5px; }
	.bdx-hero-btns .bdx-btn { padding: 16px 18px; }
	.bdx-hero-stats { gap: 14px 24px; }
	.bdx-hero-tab { grid-template-columns: 1fr; padding: 6px; }
	.bdx-hero-thumb { width: 100%; height: 46px; }
	.bdx-hero-tabname { display: none; }
	.bdx-hero-num { padding: 2px 4px 4px; }
	.bdx-hero-tabs { gap: 8px; }
	.bdx-hero-arrows { display: none; }
	.bdx-note-row .bdx-note-meta time { display: none; }
	.bdx-blog-head .bdx-kicker { font-size: 10px; letter-spacing: .06em; }
	.bdx-note-row .bdx-note-link { grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; }
	.bdx-serv { min-height: 0; border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
	.bdx-serv:last-child { border-bottom: 0 !important; }
	.bdx-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.bdx-cho-stats { grid-template-columns: 1fr 1fr; }
	.bdx-cho-item { grid-template-columns: 1fr; gap: 10px; }
	.bdx-uni, .bdx-uni.is-flip { grid-template-columns: 1fr; }
	.bdx-con-form .hf p { grid-template-columns: 1fr; }
	.bdx-foot-bottom { flex-direction: column; align-items: flex-start; }
	.bdx-btn { padding: 17px 22px; }
}

/* Guards: on Elementor pages Hello's reset and the Elementor kit style plain links and buttons.
   These keep the theme's header, footer and buttons looking the same on every page. */
body .bdx-header a, body .bdx-footer a, body .bdx-homepage a { text-decoration: none; }
body .bdx-logo, body .bdx-foot-links a { color: inherit; }
body .bdx-foot-links a:hover { color: var(--ink); }
body .bdx-menu a { color: var(--muted); }
body .bdx-menu a:hover, body .bdx-menu .current-menu-item > a, body .bdx-menu .current-menu-ancestor > a { color: var(--ink); }
body .bdx-foot-social a { color: var(--muted); }
body .bdx-foot-social a:hover { color: var(--green); }
body .bdx-btn-solid { color: var(--dark); }
body .bdx-btn-solid:hover { color: var(--dark); }
body .bdx-btn-line { color: var(--ink); }
body .bdx-btn-line:hover { color: var(--dark); }
body .bdx-burger, body .bdx-burger:hover, body .bdx-burger:focus { background: none; color: var(--ink); border: 1px solid var(--line-2); padding: 0 11px; border-radius: 4px; }
body .bdx-sub-toggle, body .bdx-sub-toggle:hover, body .bdx-sub-toggle:focus { background: none; border: 0; color: var(--muted); padding: 0; }
@media (max-width: 1100px) { body .bdx-menu a { color: var(--ink); } body .bdx-menu .sub-menu a { color: var(--muted); } }

/* Pages built with Elementor carry their own heading; the plain page title stays hidden as it was on the live site */
body.elementor-page main.site-main > .page-header { display: none; }
