/* ==========================================================================
   Urban Beavora Premium – front-end styles
   1 Fonts & tokens  2 Base  3 Layout  4 Buttons & links  5 Header & navigation
   6 Hero & page hero  7 Media & placeholders  8 Cards & grids  9 Sections
   10 Forms  11 Prose & blog  12 Footer  13 WordPress core  14 Motion & print
   ========================================================================== */

/* 1. Fonts & tokens ------------------------------------------------------- */
@font-face {
	font-family: "Barlow Condensed";
	src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Barlow Condensed";
	src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Montserrat";
	src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--navy: #16213B;
	--deep: #101A30;
	--gold: #D5AD59;
	--gold-light: #F2D99C;
	--gold-ink: #7A5C14;          /* gold dark enough for text on light backgrounds */
	--silver: #D6DCE5;
	--off: #F7F8FA;
	--white: #FFFFFF;
	--ink: #252B35;
	--muted: #566070;
	--line: #E1E5EB;
	--line-dark: rgba(214, 220, 229, 0.18);
	--on-navy: #E9EDF3;
	--on-navy-muted: #B7C0CE;
	--error: #A8261C;
	--ok: #1D6B3A;

	--font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Montserrat", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--wrap: 1240px;
	--gutter: clamp(20px, 4vw, 40px);
	--space: clamp(56px, 8vw, 104px);
	--radius: 6px;
	--header-h: 68px;
	--towerlines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 600' fill='none' stroke='%23D5AD59' stroke-width='1'%3E%3Cpath d='M80 600V430M110 600V350M140 600V262M165 600V178M185 600V96M200 600V0M215 600V112M235 600V196M260 600V280M290 600V366M320 600V446'/%3E%3Cpath d='M72 430h46M102 350h46M132 262h41M157 178h36M177 96h31M207 112h36M227 196h41M252 280h46M282 366h46' opacity='.6'/%3E%3C/svg%3E");
}
@media (min-width: 1100px) {
	:root { --header-h: 80px; }
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--off);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
body.ubp-locked { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5em; color: var(--navy); line-height: 1.1; text-wrap: balance; }
h1, h2, .ubp-h2, .ubp-head__title { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.005em; }
h3, h4, h5, h6 { font-family: var(--font-body); font-weight: 650; line-height: 1.3; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--gold-ink); }
address { font-style: normal; }
button { font: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; box-shadow: 0 0 0 5px var(--gold); border-radius: 2px; }
.ubp-main:focus-visible { box-shadow: none; outline: none; }
::selection { background: var(--gold-light); color: var(--deep); }

.ubp-h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.ubp-h3 { font-size: 1.25rem; }
.ubp-h4 { font-size: 1rem; margin-top: 2em; }

.ubp-icon { width: 1.5em; height: 1.5em; flex: none; }

/* 3. Layout ---------------------------------------------------------------- */
.ubp-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.ubp-wrap--narrow { max-width: calc(800px + var(--gutter) * 2); }

.ubp-section { padding-block: var(--space); background: var(--off); }
.ubp-section--white { background: var(--white); }
.ubp-section--tight { padding-block: calc(var(--space) * 0.7); }
.ubp-section--deep { background: var(--deep); color: var(--on-navy); }
.ubp-section--deep h2, .ubp-section--deep .ubp-head__title { color: var(--white); }
.ubp-section--deep .ubp-head__text, .ubp-section--deep .ubp-head__kicker { color: var(--on-navy-muted); }
.ubp-section--deep .ubp-more { color: var(--gold-light); }
.ubp-section__foot { margin: 2.5rem 0 0; }

.ubp-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 46rem; }
.ubp-head__title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); margin: 0; }
.ubp-head__text { margin: 0.9rem 0 0; color: var(--muted); font-size: 1.0625rem; }
.ubp-head__kicker { margin: 0 0 0.4rem; font-size: 0.875rem; font-weight: 600; color: var(--gold-ink); }
.ubp-head--split { display: grid; gap: 16px 48px; max-width: none; }
.ubp-head--split .ubp-head__text { margin-top: 0; }
.ubp-head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; max-width: none; }
@media (min-width: 900px) {
	.ubp-head--split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; }
}

.ubp-grid { display: grid; gap: clamp(18px, 2.4vw, 28px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 680px) { .ubp-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .ubp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.ubp-split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ubp-split__text > p { color: var(--ink); max-width: 38rem; }
@media (min-width: 900px) { .ubp-split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }

.ubp-intro { display: grid; gap: clamp(24px, 4vw, 64px); align-items: start; }
.ubp-intro__text { font-size: 1.0625rem; max-width: 42rem; }
@media (min-width: 900px) { .ubp-intro { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }

.ubp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
.ubp-empty { max-width: 44rem; color: var(--muted); margin-top: 2rem; }

/* 4. Buttons & links -------------------------------------------------------- */
.ubp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
	min-height: 48px; padding: 0.7em 1.35em;
	border: 1.5px solid transparent; border-radius: 4px;
	font-family: var(--font-body); font-size: 0.9375rem; font-weight: 650; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.ubp-btn .ubp-icon { width: 1.15em; height: 1.15em; }
.ubp-btn--gold { background: var(--gold); color: var(--deep); }
.ubp-btn--gold:hover { background: var(--gold-light); color: var(--deep); }
.ubp-btn--navy { background: var(--navy); color: var(--white); }
.ubp-btn--navy:hover { background: var(--deep); color: var(--gold-light); }
.ubp-btn--outline-light { border-color: rgba(214, 220, 229, 0.55); color: var(--white); background: transparent; }
.ubp-btn--outline-light:hover { border-color: var(--gold); color: var(--gold-light); }

.ubp-more { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 650; font-size: 0.9375rem; color: var(--navy); text-decoration: none; border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }
.ubp-more .ubp-icon { width: 1.05em; height: 1.05em; transition: transform 0.18s; }
.ubp-more:hover { color: var(--gold-ink); }
.ubp-more:hover .ubp-icon { transform: translateX(3px); }

/* 5. Header & navigation ---------------------------------------------------- */
.ubp-header { position: sticky; top: 0; z-index: 100; background: var(--navy); color: var(--white); border-bottom: 1px solid var(--line-dark); }
.admin-bar .ubp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ubp-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ubp-header { top: 0; } }
.ubp-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }

.ubp-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; flex: none; }
.ubp-brand picture { display: block; line-height: 0; }
.ubp-brand__mark { width: 48px; height: 48px; display: block; }
.ubp-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.ubp-brand__name { font-family: var(--font-body); font-weight: 700; font-size: 1.0625rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.ubp-brand__desc { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.17em; text-transform: uppercase; color: var(--silver); margin-top: 4px; }
.ubp-brand:hover { color: var(--white); }
.ubp-brand--custom img { max-height: 52px; width: auto; display: block; }
@media (min-width: 1100px) { .ubp-brand__mark { width: 56px; height: 56px; } }

.ubp-burger { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; background: transparent; color: var(--white); border: 1.5px solid rgba(214, 220, 229, 0.4); border-radius: 4px; cursor: pointer; font-size: 0.875rem; font-weight: 600; }
.ubp-burger span { display: inline-flex; }
.ubp-burger .ubp-burger__close { display: none; }
.ubp-burger[aria-expanded="true"] .ubp-burger__open { display: none; }
.ubp-burger[aria-expanded="true"] .ubp-burger__close { display: inline-flex; }
@media (max-width: 420px) {
	.ubp-header__inner { gap: 12px; }
	.ubp-brand { gap: 8px; min-width: 0; }
	.ubp-brand__mark { width: 44px; height: 44px; }
	.ubp-brand__name { font-size: 0.9375rem; letter-spacing: 0.04em; }
	.ubp-brand__desc { font-size: 0.625rem; letter-spacing: 0.13em; }
	.ubp-burger { padding: 0 10px; }
	.ubp-burger__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

.ubp-nav a { color: inherit; text-decoration: none; }
.ubp-nav__list, .ubp-nav__list ul { list-style: none; margin: 0; padding: 0; }
.ubp-nav__toggle { background: transparent; border: 0; color: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ubp-nav__toggle .ubp-icon { width: 1.1em; height: 1.1em; transition: transform 0.18s; }
.ubp-nav__toggle[aria-expanded="true"] .ubp-icon { transform: rotate(180deg); }
.ubp-nav__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9375rem; color: var(--white); white-space: nowrap; }
.ubp-nav__phone .ubp-icon { width: 1.1em; height: 1.1em; color: var(--gold); }

/* Mobile / tablet navigation panel */
@media (max-width: 1099.98px) {
	.ubp-nav {
		display: none; position: fixed; left: 0; right: 0; bottom: 0; top: var(--header-h); z-index: 99;
		background: var(--deep); color: var(--on-navy); overflow-y: auto; overscroll-behavior: contain;
		padding: 8px var(--gutter) 96px;
	}
	.admin-bar .ubp-nav { top: calc(var(--header-h) + 46px); }
	.ubp-header.is-open .ubp-nav { display: block; }
	.ubp-nav__list > li { border-bottom: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; align-items: center; }
	.ubp-nav__list > li > a { flex: 1 1 auto; padding: 15px 0; font-size: 1.0625rem; font-weight: 600; color: var(--white); min-height: 48px; }
	.ubp-nav__list a.is-current, .ubp-nav__list a[aria-current="page"], .ubp-nav__list .current-menu-item > a { color: var(--gold); }
	.ubp-nav__toggle { width: 48px; height: 48px; border-left: 1px solid var(--line-dark); }
	.ubp-mega, .ubp-nav__list .sub-menu { display: none; flex: 1 0 100%; padding: 0 0 16px; }
	.has-panel.is-open > .ubp-mega, .menu-item.is-open > .sub-menu { display: block; }
	.ubp-mega__col { padding-top: 12px; }
	.ubp-mega__head { display: block; padding: 8px 0; }
	.ubp-mega__title { display: block; font-weight: 700; color: var(--gold); }
	.ubp-mega__kicker { display: block; font-size: 0.8125rem; color: var(--on-navy-muted); }
	.ubp-mega__col li a, .ubp-nav__list .sub-menu a { display: block; padding: 10px 0 10px 14px; border-left: 1px solid var(--line-dark); font-size: 0.9375rem; color: var(--on-navy); }
	.ubp-mega__foot { display: grid; gap: 4px; margin-top: 12px; }
	.ubp-mega__foot a { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-weight: 600; color: var(--white); }
	.ubp-mega__foot .ubp-icon { color: var(--gold); width: 1.2em; height: 1.2em; }
	.ubp-nav__extra { display: grid; gap: 16px; margin-top: 24px; justify-items: start; }
	html:not(.ubp-js) .ubp-burger { display: none; }
	html:not(.ubp-js) .ubp-header__inner { flex-wrap: wrap; }
	html:not(.ubp-js) .ubp-nav { display: block; position: static; flex: 1 0 100%; padding: 0 0 16px; background: transparent; }
	html:not(.ubp-js) .ubp-mega { display: block; }
}

/* Desktop navigation */
@media (min-width: 1100px) {
	.ubp-burger { display: none; }
	.ubp-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; min-width: 0; }
	.ubp-nav__list { display: flex; align-items: center; gap: 2px; }
	.ubp-nav__list > li { display: flex; align-items: center; }
	.ubp-nav__list > li > a { display: block; padding: 10px 11px; font-size: 0.9375rem; font-weight: 550; color: var(--on-navy); border-radius: 3px; position: relative; white-space: nowrap; }
	.ubp-nav__list > li > a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.2s; }
	.ubp-nav__list > li > a:hover, .ubp-nav__list > li > a.is-current, .ubp-nav__list > .current-menu-item > a, .ubp-nav__list > .current-menu-ancestor > a { color: var(--white); }
	.ubp-nav__list > li > a:hover::after, .ubp-nav__list > li > a.is-current::after, .ubp-nav__list > .current-menu-item > a::after, .ubp-nav__list > .current-menu-ancestor > a::after { transform: scaleX(1); }
	.ubp-nav__toggle { width: 26px; height: 40px; margin-left: -8px; color: var(--on-navy-muted); border-radius: 3px; }
	.ubp-nav__extra { display: flex; align-items: center; gap: 18px; flex: none; }
	.ubp-nav__extra .ubp-btn { min-height: 44px; padding: 0.6em 1.1em; font-size: 0.875rem; }
	.ubp-nav__phone { display: none; }

	.ubp-mega {
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--white); color: var(--ink);
		border-top: 3px solid var(--gold); box-shadow: 0 24px 48px -24px rgba(16, 26, 48, 0.45);
		visibility: hidden; opacity: 0; transform: translateY(-6px);
		transition: opacity 0.16s, transform 0.16s, visibility 0s linear 0.16s;
	}
	.has-panel.is-open > .ubp-mega,
	.ubp-js .has-panel.is-hover > .ubp-mega,
	html:not(.ubp-js) .has-panel:hover > .ubp-mega,
	html:not(.ubp-js) .has-panel:focus-within > .ubp-mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
	.ubp-mega__inner { max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding: 32px var(--gutter) 0; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 0 56px; }
	.ubp-mega__head { display: block; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
	.ubp-mega__title { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.625rem; line-height: 1.1; color: var(--navy); }
	.ubp-mega__kicker { display: block; font-size: 0.8125rem; color: var(--muted); margin-top: 4px; }
	.ubp-mega__head:hover .ubp-mega__title { color: var(--gold-ink); }
	.ubp-mega__col--fm ul { columns: 2; column-gap: 32px; }
	.ubp-mega__col li { break-inside: avoid; }
	.ubp-mega__col li a { display: block; padding: 7px 0; font-size: 0.9375rem; font-weight: 500; color: var(--ink); }
	.ubp-mega__col li a:hover, .ubp-mega__col li a[aria-current="page"] { color: var(--gold-ink); text-decoration: underline; }
	.ubp-mega__col--dc { padding-left: 56px; border-left: 1px solid var(--line); }
	.ubp-mega__foot { grid-column: 1 / -1; display: flex; gap: 36px; margin-top: 26px; padding: 16px 0 18px; border-top: 1px solid var(--line); }
	.ubp-mega__foot a { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 650; color: var(--navy); }
	.ubp-mega__foot a:hover { color: var(--gold-ink); }
	.ubp-mega__foot .ubp-icon { width: 1.15em; height: 1.15em; color: var(--gold-ink); }

	/* Assigned WordPress menu dropdowns */
	.ubp-nav__list--wp > li { position: relative; }
	.ubp-nav__list--wp .sub-menu { position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--white); border-top: 3px solid var(--gold); box-shadow: 0 20px 40px -20px rgba(16, 26, 48, 0.45); padding: 10px 0; display: none; }
	.ubp-nav__list--wp li.is-open > .sub-menu, .ubp-nav__list--wp li:hover > .sub-menu { display: block; }
	.ubp-nav__list--wp .sub-menu a { display: block; padding: 9px 18px; color: var(--ink); font-size: 0.9375rem; }
	.ubp-nav__list--wp .sub-menu a:hover { color: var(--gold-ink); background: var(--off); }
	.ubp-nav__list--wp .sub-menu .sub-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; display: block; }
	.ubp-nav__list--wp .sub-menu .ubp-nav__toggle { display: none; }
}
@media (min-width: 1360px) {
	.ubp-nav__phone { display: inline-flex; }
	.ubp-nav__list > li > a { padding-inline: 14px; }
	.ubp-nav__list > li > a::after { left: 14px; right: 14px; }
}

/* 6. Hero & page hero -------------------------------------------------------- */
.ubp-hero { position: relative; background: var(--navy); color: var(--on-navy); overflow: hidden; }
.ubp-hero::before {
	content: ""; position: absolute; left: -40px; bottom: 0; width: min(520px, 70vw); height: 100%;
	background: var(--towerlines) left bottom / contain no-repeat; opacity: 0.16; pointer-events: none;
}
.ubp-hero__inner { position: relative; display: grid; gap: 36px; padding-block: clamp(40px, 7vw, 72px) clamp(36px, 6vw, 72px); }
.ubp-hero__title { color: var(--white); font-size: clamp(2.6rem, 7.2vw, 4.9rem); line-height: 0.98; margin: 0 0 0.35em; max-width: 12em; }
.ubp-hero__lead { font-size: clamp(1rem, 1.5vw, 1.1875rem); color: var(--on-navy); max-width: 34em; margin: 0; }
.ubp-hero__tagline { display: flex; align-items: center; gap: 14px; margin: clamp(28px, 4vw, 48px) 0 0; font-weight: 600; font-size: 0.9375rem; color: var(--gold-light); }
.ubp-hero__tagline::before { content: ""; width: 44px; height: 1px; background: var(--gold); flex: none; }
.ubp-hero__media { position: relative; }
.ubp-hero__media .ubp-media { border-radius: var(--radius); }
.ubp-hero__media::after { content: ""; position: absolute; inset: 14px -10px -10px 14px; border: 1px solid rgba(213, 173, 89, 0.45); border-radius: var(--radius); pointer-events: none; z-index: 0; }
.ubp-hero__media .ubp-media { position: relative; z-index: 1; }
.ubp-hero .ubp-ph, .ubp-pagehero .ubp-ph { background: linear-gradient(rgba(214, 220, 229, 0.07) 1px, transparent 1px) 0 0 / 100% 32px, linear-gradient(90deg, rgba(214, 220, 229, 0.07) 1px, transparent 1px) 0 0 / 32px 100%, linear-gradient(150deg, #263557 0%, #1B2947 70%); }
@media (min-width: 1000px) {
	.ubp-hero__inner { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); align-items: center; gap: 56px; min-height: min(680px, calc(100vh - var(--header-h))); }
	.ubp-hero__media { margin-right: calc((100vw - min(100vw, var(--wrap) + var(--gutter) * 2)) / -2 - var(--gutter) + 0px); }
	.ubp-hero__media .ubp-media { border-radius: var(--radius) 0 0 var(--radius); --ubp-ar: 5/4 !important; }
	.ubp-hero__media::after { right: 0; border-right: 0; border-radius: var(--radius) 0 0 var(--radius); }
}

.ubp-pagehero { position: relative; background: var(--navy); color: var(--on-navy); overflow: hidden; padding-block: clamp(28px, 5vw, 56px) clamp(36px, 6vw, 72px); }
.ubp-pagehero--deep { background: var(--deep); }
.ubp-pagehero::before {
	content: ""; position: absolute; right: -30px; bottom: 0; width: min(380px, 60vw); height: 115%;
	background: var(--towerlines) right bottom / contain no-repeat; opacity: 0.13; pointer-events: none;
}
.ubp-pagehero--deep::before { background: radial-gradient(circle, rgba(214, 220, 229, 0.5) 1px, transparent 1.4px) 0 0 / 22px 22px; width: 46%; right: 0; height: 100%; opacity: 0.16; -webkit-mask-image: linear-gradient(to left, #000, transparent); mask-image: linear-gradient(to left, #000, transparent); }
.ubp-pagehero__inner { position: relative; display: grid; gap: 32px; align-items: center; }
.ubp-pagehero__label { display: flex; align-items: center; gap: 12px; margin: 0 0 0.75rem; font-weight: 600; font-size: 0.9375rem; color: var(--gold-light); }
.ubp-pagehero__label::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.ubp-pagehero--deep .ubp-pagehero__label { color: var(--silver); }
.ubp-pagehero--deep .ubp-pagehero__label::before { background: var(--silver); }
.ubp-pagehero__title { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.75rem); line-height: 1.02; margin: 0; max-width: 16em; }
.ubp-pagehero__lead { margin: 1.1rem 0 0; font-size: clamp(1rem, 1.4vw, 1.125rem); max-width: 40em; color: var(--on-navy); }
.ubp-pagehero .ubp-wrap--narrow { position: relative; }
@media (min-width: 1000px) {
	.ubp-pagehero.has-media .ubp-pagehero__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; }
}

.ubp-crumbs { margin-bottom: clamp(20px, 3vw, 36px); font-size: 0.8125rem; }
.ubp-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; }
.ubp-crumbs li { display: inline-flex; align-items: center; color: var(--on-navy-muted); }
.ubp-crumbs li + li::before { content: "/"; margin: 0 10px; color: rgba(214, 220, 229, 0.4); }
.ubp-crumbs a { color: var(--on-navy); text-decoration: none; padding: 6px 0; }
.ubp-crumbs a:hover { color: var(--gold-light); text-decoration: underline; }

/* 7. Media & placeholders ---------------------------------------------------- */
.ubp-media { position: relative; display: block; margin: 0; aspect-ratio: var(--ubp-ar, 3/2); overflow: hidden; border-radius: var(--radius); background: var(--deep); }
.ubp-media__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ubp-ph {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; text-align: center;
	color: var(--silver);
	background:
		linear-gradient(rgba(214, 220, 229, 0.06) 1px, transparent 1px) 0 0 / 100% 32px,
		linear-gradient(90deg, rgba(214, 220, 229, 0.06) 1px, transparent 1px) 0 0 / 32px 100%,
		linear-gradient(150deg, #1B2847 0%, var(--deep) 70%);
}
.ubp-ph__mark { width: 52px; height: 52px; border: 1px solid rgba(214, 220, 229, 0.45); border-radius: 50%; display: grid; place-items: center; color: var(--silver); }
.ubp-ph__mark .ubp-icon { width: 24px; height: 24px; }
.ubp-ph__title { margin: 0; max-width: 22em; font-size: 0.8125rem; font-weight: 550; line-height: 1.4; color: var(--silver); }
.ubp-ph__brief { position: absolute; left: 10px; bottom: 10px; right: 10px; text-align: left; font-size: 0.75rem; line-height: 1.45; z-index: 2; }
.ubp-ph__brief summary { display: inline-block; cursor: pointer; padding: 5px 10px; border-radius: 3px; background: rgba(213, 173, 89, 0.16); color: var(--gold-light); font-weight: 600; list-style: none; }
.ubp-ph__brief summary::-webkit-details-marker { display: none; }
.ubp-ph__brief[open] { top: 10px; display: flex; flex-direction: column; justify-content: flex-end; }
.ubp-ph__brief[open] > div { order: -1; margin-bottom: 8px; padding: 12px; background: rgba(16, 26, 48, 0.96); border: 1px solid rgba(213, 173, 89, 0.4); border-radius: 4px; color: var(--on-navy); overflow-y: auto; max-height: 100%; }
.ubp-ph__brief p { margin: 0 0 6px; }

/* 8. Cards -------------------------------------------------------------------- */
.ubp-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 0.18s; }
.ubp-section--white .ubp-card { background: var(--off); }
.ubp-card:hover { border-color: var(--gold); }
.ubp-card > .ubp-media { border-radius: 0; flex: none; }
.ubp-card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 26px 24px 24px; }
.ubp-card__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 4px; background: var(--navy); color: var(--gold); margin-bottom: 16px; }
.ubp-card > .ubp-media + .ubp-card__body .ubp-card__icon { position: absolute; top: -23px; left: 24px; margin: 0; box-shadow: 0 0 0 3px var(--white); }
.ubp-section--white .ubp-card > .ubp-media + .ubp-card__body .ubp-card__icon { box-shadow: 0 0 0 3px var(--off); }
.ubp-card > .ubp-media + .ubp-card__body { padding-top: 40px; }
.ubp-card--dc .ubp-card__icon { background: var(--silver); color: var(--deep); }
.ubp-card__meta { margin: 0 0 6px; font-size: 0.8125rem; font-weight: 600; color: var(--gold-ink); }
.ubp-card__title { font-family: var(--font-body); font-size: 1.125rem; font-weight: 700; line-height: 1.3; margin: 0 0 10px; }
.ubp-card__title a { color: inherit; text-decoration: none; }
.ubp-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ubp-card__title a:hover { color: var(--gold-ink); }
.ubp-card__text { margin: 0 0 18px; color: var(--muted); font-size: 0.9375rem; }
.ubp-card .ubp-more { margin-top: auto; align-self: flex-start; position: relative; z-index: 2; }
.ubp-card__sub { margin: 4px 0 8px; font-size: 0.8125rem; font-weight: 650; color: var(--navy); }
.ubp-card__admin { margin: 12px 0 0; padding: 10px 12px; font-size: 0.75rem; background: #FFF8E5; border-left: 3px solid var(--gold); color: var(--ink); }
.ubp-card--post > .ubp-media { border-radius: 0; }
.ubp-card--slot { border-style: dashed; border-color: #C3CAD5; }
.ubp-card--industry .ubp-taglist a, .ubp-card .ubp-taglist a { position: relative; z-index: 2; }

/* On deep sections */
.ubp-section--deep .ubp-card { background: #17233F; border-color: var(--line-dark); }
.ubp-section--deep .ubp-card:hover { border-color: var(--silver); }
.ubp-section--deep .ubp-card__title, .ubp-section--deep .ubp-card__title a { color: var(--white); }
.ubp-section--deep .ubp-card__title a:hover { color: var(--gold-light); }
.ubp-section--deep .ubp-card__text { color: var(--on-navy-muted); }
.ubp-section--deep .ubp-card > .ubp-media + .ubp-card__body .ubp-card__icon { box-shadow: 0 0 0 3px #17233F; }
.ubp-section--deep .ubp-ph { background: linear-gradient(rgba(214, 220, 229, 0.06) 1px, transparent 1px) 0 0 / 100% 32px, linear-gradient(90deg, rgba(214, 220, 229, 0.06) 1px, transparent 1px) 0 0 / 32px 100%, linear-gradient(150deg, #22304F 0%, #1A2743 70%); }

.ubp-taglist { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.ubp-taglist a, .ubp-prose ul.is-style-ubp-tags li { display: inline-block; padding: 6px 12px; border: 1px solid #C9D0DA; border-radius: 100px; font-size: 0.8125rem; font-weight: 550; color: var(--navy); text-decoration: none; background: var(--white); }
.ubp-taglist a:hover { border-color: var(--gold); color: var(--gold-ink); }

/* Divisions */
.ubp-divisions { display: grid; gap: clamp(18px, 2.4vw, 28px); }
@media (min-width: 900px) { .ubp-divisions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ubp-division { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); }
.ubp-division > .ubp-media { border-radius: 0; }
.ubp-division__body { display: flex; flex-direction: column; flex: 1; padding: clamp(24px, 3vw, 36px); }
.ubp-division__kicker { margin: 0 0 8px; font-size: 0.875rem; font-weight: 600; color: var(--gold-ink); }
.ubp-division__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.05; margin: 0 0 14px; }
.ubp-division__title a { color: inherit; text-decoration: none; }
.ubp-division__title a:hover { color: var(--gold-ink); }
.ubp-division__text { color: var(--ink); margin: 0 0 20px; }
.ubp-division__list { list-style: none; padding: 16px 0 0; margin: 0 0 28px; border-top: 1px solid var(--line); display: grid; gap: 2px 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 520px) { .ubp-division__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ubp-division__list a { display: block; padding: 6px 0; font-size: 0.875rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.ubp-division__list a:hover { color: var(--gold-ink); text-decoration: underline; }
.ubp-division .ubp-btn { margin-top: auto; align-self: flex-start; }
.ubp-division--dc { background: var(--deep); color: var(--on-navy); border-color: var(--deep); border-top-color: var(--silver); background-image: radial-gradient(circle, rgba(214, 220, 229, 0.11) 1px, transparent 1.4px); background-size: 22px 22px; }
.ubp-division--dc .ubp-division__kicker { color: var(--silver); }
.ubp-division--dc .ubp-division__title { color: var(--white); }
.ubp-division--dc .ubp-division__title a:hover { color: var(--gold-light); }
.ubp-division--dc .ubp-division__text { color: var(--on-navy); }
.ubp-division--dc .ubp-division__list { border-top-color: var(--line-dark); }
.ubp-division--dc .ubp-division__list a { color: var(--on-navy); }
.ubp-division--dc .ubp-division__list a:hover { color: var(--gold-light); }
.ubp-division--dc .ubp-ph { background: linear-gradient(rgba(214, 220, 229, 0.06) 1px, transparent 1px) 0 0 / 100% 32px, linear-gradient(90deg, rgba(214, 220, 229, 0.06) 1px, transparent 1px) 0 0 / 32px 100%, linear-gradient(150deg, #22304F 0%, #1A2743 70%); }

/* 9. Sections ------------------------------------------------------------------ */
/* Service approach: drawn as a single service line with five stations. */
.ubp-approach { margin-top: clamp(40px, 6vw, 80px); padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); }
.ubp-approach__title { font-size: 0.9375rem; font-weight: 650; color: var(--gold-ink); margin: 0 0 28px; }
.ubp-approach__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.ubp-approach__step { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 18px; padding-bottom: 26px; }
.ubp-approach__step::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--gold); opacity: 0.55; }
.ubp-approach__step:last-child { padding-bottom: 0; }
.ubp-approach__step:last-child::before { display: none; }
.ubp-approach__node { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--gold); background: var(--white); color: var(--navy); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; position: relative; z-index: 1; }
.ubp-approach__name { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.1; color: var(--navy); align-self: end; }
.ubp-approach__text { font-size: 0.875rem; color: var(--muted); line-height: 1.5; }
@media (min-width: 900px) {
	.ubp-approach__list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 20px; }
	.ubp-approach__step { display: block; padding: 0; }
	.ubp-approach__step::before { left: 40px; right: -20px; top: 19px; bottom: auto; width: auto; height: 2px; }
	.ubp-approach__node { margin-bottom: 18px; }
	.ubp-approach__name { display: block; margin-bottom: 6px; }
	.ubp-approach__text { display: block; }
}

.ubp-points { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; gap: 20px 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .ubp-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .ubp-points { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ubp-points li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 12px; align-items: start; }
.ubp-points .ubp-icon { grid-row: span 2; color: var(--gold-ink); width: 26px; height: 26px; margin-top: 1px; }
.ubp-points strong { font-weight: 700; color: var(--navy); font-size: 0.9375rem; }
.ubp-points span { font-size: 0.875rem; color: var(--muted); grid-column: 2; }
.ubp-points--stack { margin-top: 0; grid-template-columns: minmax(0, 1fr) !important; padding: 24px; background: var(--off); border-radius: var(--radius); border: 1px solid var(--line); }

/* How we work */
.ubp-journey { display: grid; gap: clamp(28px, 5vw, 72px); }
.ubp-journey__intro p { color: var(--muted); max-width: 30rem; margin-bottom: 1.5rem; }
.ubp-journey__list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.ubp-journey__step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.ubp-journey__step:last-child { border-bottom: 1px solid var(--line); }
.ubp-journey__num { font-family: var(--font-display); font-weight: 600; font-size: 2.75rem; line-height: 0.9; color: var(--gold-ink); }
.ubp-journey__name { font-size: 1.0625rem; margin: 0 0 4px; }
.ubp-journey__step p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
@media (min-width: 900px) {
	.ubp-journey { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; }
	.ubp-journey__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* AMC band */
.ubp-amc { background: var(--navy); color: var(--on-navy); padding-block: var(--space); position: relative; overflow: hidden; }
.ubp-amc__inner { display: grid; gap: clamp(28px, 5vw, 72px); position: relative; }
.ubp-amc .ubp-h2 { color: var(--white); }
.ubp-amc__label { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 0.9375rem; font-weight: 600; color: var(--gold-light); }
.ubp-amc__label::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.ubp-amc__text > p { max-width: 36rem; }
.ubp-amc__small { margin: 1.5rem 0 0; font-size: 0.8125rem; color: var(--on-navy-muted); }
.ubp-amc__points { list-style: none; margin: 0; padding: 0; }
.ubp-amc__points li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.ubp-amc__points li:last-child { border-bottom: 1px solid var(--line-dark); }
.ubp-amc__points .ubp-icon { color: var(--gold); width: 26px; height: 26px; margin-top: 2px; }
.ubp-amc__points strong { display: block; color: var(--white); font-weight: 650; }
.ubp-amc__points span { display: block; font-size: 0.9375rem; color: var(--on-navy-muted); }
@media (min-width: 900px) { .ubp-amc__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; } }

/* Team */
.ubp-team { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(20px, 2.4vw, 28px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 960px) { .ubp-team { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 420px) { .ubp-team { grid-template-columns: minmax(0, 1fr); } }
.ubp-member .ubp-media { margin-bottom: 16px; }
.ubp-member__name { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.1; margin: 0 0 4px; }
.ubp-member__role { margin: 0 0 8px; font-size: 0.875rem; font-weight: 650; color: var(--gold-ink); }
.ubp-member__bio { margin: 0; font-size: 0.875rem; color: var(--muted); }

/* Closing CTA */
.ubp-cta { position: relative; background: var(--deep); color: var(--on-navy); padding-block: clamp(48px, 7vw, 88px); overflow: hidden; border-top: 1px solid var(--line-dark); }
.ubp-cta::before { content: ""; position: absolute; right: 4%; bottom: 0; width: min(340px, 50vw); height: 120%; background: var(--towerlines) right bottom / contain no-repeat; opacity: 0.14; pointer-events: none; }
.ubp-cta__inner { position: relative; display: grid; gap: 24px; }
.ubp-cta__title { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.02; margin: 0 0 0.35em; max-width: 15em; }
.ubp-cta__text { margin: 0; max-width: 38rem; }
.ubp-cta .ubp-actions { margin-top: 0; }
@media (min-width: 1000px) { .ubp-cta__inner { grid-template-columns: minmax(0, 7fr) auto; align-items: end; gap: 48px; } }

/* Notes */
.ubp-note { padding: 22px 24px; background: var(--off); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.9375rem; }
.ubp-section:not(.ubp-section--white) .ubp-note { background: var(--white); }
.ubp-note__title { font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.ubp-note p:last-child { margin-bottom: 0; }
.ubp-service__main .ubp-note { margin-top: 40px; }

.ubp-crosslink { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.ubp-crosslink p { margin: 0; font-weight: 550; color: var(--navy); }

/* Service detail */
.ubp-service { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 1000px) {
	.ubp-service { grid-template-columns: minmax(0, 1fr) 340px; }
	.ubp-service__side { position: sticky; top: calc(var(--header-h) + 28px); }
}
.ubp-sidecard { background: var(--navy); color: var(--on-navy); border-radius: var(--radius); padding: 28px 26px; border-top: 4px solid var(--gold); }
.ubp-sidecard__title { font-family: var(--font-display); font-size: 1.75rem; color: var(--white); margin: 0 0 10px; }
.ubp-sidecard p { font-size: 0.9375rem; margin-bottom: 20px; }
.ubp-sidecard .ubp-btn { width: 100%; }
.ubp-sidenav { margin-top: 24px; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--off); }
.ubp-sidenav__title { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 700; margin: 0 0 10px; }
.ubp-sidenav__title a { color: var(--navy); text-decoration: none; }
.ubp-sidenav ul { list-style: none; margin: 0; padding: 0; }
.ubp-sidenav li a { display: block; padding: 8px 0 8px 14px; border-left: 2px solid var(--line); font-size: 0.875rem; color: var(--ink); text-decoration: none; }
.ubp-sidenav li a:hover { color: var(--gold-ink); border-left-color: var(--gold); }
.ubp-sidenav li a[aria-current="page"] { border-left-color: var(--gold); font-weight: 700; color: var(--navy); }

/* Contact details list */
.ubp-contactlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ubp-contactlist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 0.9375rem; overflow-wrap: anywhere; }
.ubp-contactlist .ubp-icon { width: 20px; height: 20px; margin-top: 3px; color: var(--gold); }
.ubp-contactlist a { color: inherit; text-decoration: none; }
.ubp-contactlist a:hover { color: var(--gold-light); text-decoration: underline; }
.ubp-contactlist--dark .ubp-icon { color: var(--gold-ink); }
.ubp-contactlist--dark a:hover { color: var(--gold-ink); }
.ubp-contactlist--compact { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-dark); }

.ubp-record { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .ubp-record { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .ubp-record { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ubp-record li { padding-top: 18px; border-top: 2px solid var(--gold); display: grid; gap: 6px; align-content: start; }
.ubp-record__num { font-family: var(--font-display); font-weight: 600; font-size: 2rem; line-height: 1; color: var(--gold-ink); }
.ubp-record strong { color: var(--navy); }
.ubp-record li > span:last-child { font-size: 0.9375rem; color: var(--muted); }

.ubp-cover { display: grid; gap: 32px 56px; }
@media (min-width: 800px) { .ubp-cover { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } .ubp-cover__col:first-child .ubp-linklist { columns: 2; column-gap: 32px; } }
.ubp-cover .ubp-h3 a { color: var(--navy); text-decoration: none; }
.ubp-linklist { list-style: none; margin: 0; padding: 0; }
.ubp-linklist li { break-inside: avoid; }
.ubp-linklist a { display: flex; align-items: center; gap: 12px; padding: 9px 0; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.9375rem; border-bottom: 1px solid var(--line); }
.ubp-linklist a:hover { color: var(--gold-ink); }
.ubp-linklist .ubp-icon { width: 20px; height: 20px; color: var(--gold-ink); }
.ubp-linklist--plain { margin-top: 32px; }
.ubp-ticks { list-style: none; padding: 0; margin: 0; }
.ubp-ticks li { position: relative; padding: 5px 0 5px 26px; font-size: 0.9375rem; color: var(--muted); }
.ubp-ticks li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 12px; height: 6px; border-left: 2px solid var(--gold-ink); border-bottom: 2px solid var(--gold-ink); transform: rotate(-45deg); }

.ubp-projectfacts { margin: 0 0 40px; display: grid; gap: 0; }
.ubp-projectfacts > div { display: grid; gap: 4px 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.ubp-projectfacts dt { font-weight: 700; color: var(--navy); }
.ubp-projectfacts dd { margin: 0; color: var(--ink); }
@media (min-width: 700px) { .ubp-projectfacts > div { grid-template-columns: 200px minmax(0, 1fr); } }

/* 10. Forms -------------------------------------------------------------------- */
.ubp-contact { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 1000px) { .ubp-contact { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.ubp-contact__aside { padding: 28px 26px; background: var(--off); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); }
.ubp-contact__aside .ubp-actions { margin: 22px 0 0; }

.ubp-form__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin: 0 0 8px; }
.ubp-form__intro { color: var(--muted); max-width: 40rem; }
.ubp-form__req { font-size: 0.8125rem; color: var(--muted); margin: 0 0 18px; }
.ubp-form__grid { display: grid; gap: 18px 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .ubp-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ubp-field--wide { grid-column: 1 / -1; } }
.ubp-field label { display: block; font-weight: 650; font-size: 0.875rem; color: var(--navy); margin-bottom: 6px; }
.ubp-field__opt { font-weight: 450; color: var(--muted); }
.ubp-field input[type="text"], .ubp-field input[type="email"], .ubp-field input[type="tel"], .ubp-field select, .ubp-field textarea,
.ubp-search input[type="search"], .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	display: block; width: 100%; min-height: 48px; padding: 11px 14px;
	font: inherit; font-size: 1rem; color: var(--ink);
	background: var(--white); border: 1.5px solid #AEB7C4; border-radius: 4px;
	-webkit-appearance: none; appearance: none;
}
.ubp-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316213B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.ubp-field textarea { min-height: 140px; resize: vertical; }
.ubp-field input:hover, .ubp-field select:hover, .ubp-field textarea:hover { border-color: var(--navy); }
.ubp-field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.ubp-field__hint { margin: 6px 0 0; font-size: 0.8125rem; color: var(--muted); }
.ubp-field__error { margin: 6px 0 0; font-size: 0.875rem; font-weight: 600; color: var(--error); }
.ubp-field--check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.ubp-field--check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); }
.ubp-field--check label { margin: 0; font-weight: 500; color: var(--ink); }
.ubp-field--check .ubp-field__error { grid-column: 2; }
.ubp-field--hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.ubp-alert { padding: 18px 20px; border-radius: 4px; margin: 0 0 24px; border: 1.5px solid; }
.ubp-alert p { margin: 0 0 8px; }
.ubp-alert > :last-child { margin-bottom: 0; }
.ubp-alert--ok { background: #EDF7F0; border-color: var(--ok); color: #123F23; }
.ubp-alert--error { background: #FCEEEC; border-color: var(--error); color: #5F150F; }
.ubp-alert--error a { color: inherit; font-weight: 600; }
.ubp-alert ul { margin: 0; }

.ubp-search label { display: block; font-weight: 650; font-size: 0.875rem; margin-bottom: 6px; color: var(--navy); }
.ubp-search__row { display: flex; gap: 10px; max-width: 520px; }

/* 11. Prose & blog --------------------------------------------------------------- */
.ubp-prose { font-size: 1.0625rem; max-width: 46rem; }
.ubp-prose > :first-child { margin-top: 0; }
.ubp-prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.125rem); margin: 1.8em 0 0.6em; }
.ubp-prose h3 { font-size: 1.25rem; margin: 1.6em 0 0.5em; }
.ubp-prose h4 { font-size: 1.0625rem; margin: 1.5em 0 0.5em; }
.ubp-prose a { color: var(--navy); font-weight: 550; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.ubp-prose a:hover { color: var(--gold-ink); }
.ubp-prose li { margin-bottom: 0.4em; }
.ubp-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); color: var(--navy); font-weight: 500; }
.ubp-prose img { border-radius: var(--radius); height: auto; }
.ubp-prose figure { margin: 1.8em 0; }
.ubp-prose figcaption { font-size: 0.8125rem; color: var(--muted); margin-top: 8px; }
.ubp-prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; margin: 1.6em 0; }
.ubp-prose th, .ubp-prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.ubp-prose th { background: var(--off); color: var(--navy); }
.ubp-prose pre { overflow-x: auto; padding: 16px; background: var(--deep); color: var(--on-navy); border-radius: 4px; font-size: 0.875rem; }
.ubp-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

.ubp-prose ul.is-style-ubp-checklist { list-style: none; padding: 0; display: grid; gap: 0 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .ubp-prose ul.is-style-ubp-checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ubp-prose ul.is-style-ubp-checklist li { position: relative; margin: 0; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.ubp-prose ul.is-style-ubp-checklist li::before { content: ""; position: absolute; left: 3px; top: 1.25em; width: 13px; height: 7px; border-left: 2px solid var(--gold-ink); border-bottom: 2px solid var(--gold-ink); transform: rotate(-45deg); }
.ubp-prose ul.is-style-ubp-plain { list-style: none; padding: 0; }
.ubp-prose ul.is-style-ubp-plain li { margin: 0; padding: 11px 0 11px 18px; border-bottom: 1px solid var(--line); border-left: 2px solid var(--silver); font-size: 0.9375rem; }
.ubp-prose ul.is-style-ubp-plain li:first-child { border-top: 1px solid var(--line); }
.ubp-prose ul.is-style-ubp-tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ubp-prose ul.is-style-ubp-tags li { margin: 0; background: var(--off); }

.ubp-article__meta { margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 0.875rem; color: var(--on-navy-muted); }
.ubp-article__image { margin: 0 0 40px; }
.ubp-article__foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.post-navigation .nav-links { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 640px) { .post-navigation .nav-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } .post-navigation .nav-next { text-align: right; grid-column: 2; } }
.post-navigation a { display: block; text-decoration: none; font-weight: 650; color: var(--navy); }
.post-navigation a span { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--muted); }
.post-navigation a:hover { color: var(--gold-ink); }

.ubp-pagination, .pagination { margin-top: 48px; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; font-weight: 600; color: var(--navy); margin: 0 4px 4px 0; background: var(--white); }
.nav-links .page-numbers.current { background: var(--navy); color: var(--white); border-color: var(--navy); }
.nav-links a.page-numbers:hover { border-color: var(--gold); }
.ubp-pagelinks { margin-top: 24px; font-weight: 600; }

.ubp-comments { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.ubp-comments__list, .ubp-comments__list .children { list-style: none; padding: 0; }
.ubp-comments__list .children { padding-left: 24px; }
.ubp-comments__list .comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.comment-author .avatar { border-radius: 50%; vertical-align: middle; margin-right: 10px; }
.comment-metadata { font-size: 0.8125rem; margin: 4px 0 10px; }
.comment-form label { display: block; font-weight: 650; font-size: 0.875rem; margin-bottom: 6px; color: var(--navy); }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 450; }
.comment-form input[type="submit"] { min-height: 48px; padding: 0 1.4em; background: var(--navy); color: var(--white); border: 0; border-radius: 4px; font: inherit; font-weight: 650; cursor: pointer; }

/* 12. Footer ----------------------------------------------------------------------- */
.ubp-footer { background: var(--navy); color: var(--on-navy-muted); font-size: 0.9375rem; }
.ubp-footer__grid { display: grid; gap: 40px 32px; padding-block: clamp(48px, 6vw, 80px) clamp(36px, 5vw, 56px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .ubp-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ubp-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .ubp-footer__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(0, 0.85fr) minmax(0, 1.3fr); } .ubp-footer__brand { grid-column: auto; } }
.ubp-footer__logo { width: 132px; height: auto; display: block; margin: -14px 0 12px -14px; }
.ubp-footer__brand p { max-width: 26rem; margin-bottom: 0.9em; }
.ubp-footer__tagline { color: var(--gold-light); font-weight: 600; }
.ubp-footer__title { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 700; color: var(--white); margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line-dark); }
.ubp-footer__title a { color: inherit; text-decoration: none; }
.ubp-footer ul { list-style: none; margin: 0; padding: 0; }
.ubp-footer__col li a { display: inline-block; padding: 5px 0; color: var(--on-navy-muted); text-decoration: none; }
.ubp-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.ubp-footer__contact .ubp-contactlist { color: var(--on-navy); }
.ubp-footer__social { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px !important; }
.ubp-footer__base { background: var(--deep); border-top: 1px solid var(--line-dark); font-size: 0.8125rem; }
.ubp-footer__baseinner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px; padding-right: calc(var(--gutter) + 64px); }
.ubp-footer__baseinner p { margin: 0; }
.ubp-footer__legal { display: flex; gap: 20px; }
.ubp-footer__legal a { color: var(--on-navy-muted); }

/* Floating WhatsApp */
.ubp-wa { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px 0 13px; background: var(--deep); color: var(--white); border: 1.5px solid rgba(214, 220, 229, 0.5); border-radius: 100px; text-decoration: none; font-weight: 650; font-size: 0.875rem; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5); }
.ubp-wa .ubp-icon { width: 24px; height: 24px; color: #25D366; }
.ubp-wa:hover { color: var(--white); border-color: #25D366; }
@media (max-width: 640px) { .ubp-wa { padding: 0; width: 52px; height: 52px; justify-content: center; } .ubp-wa__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .ubp-wa .ubp-icon { width: 28px; height: 28px; } }
.ubp-header.is-open ~ .ubp-wa { display: none; }

/* 13. WordPress core ------------------------------------------------------------------ */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto !important; clip-path: none; height: auto; width: auto; left: 12px; top: 12px; z-index: 1000; padding: 12px 18px; background: var(--gold); color: var(--deep); font-weight: 700; text-decoration: none; border-radius: 4px; }
.alignleft { float: left; margin: 0.4em 1.6em 1em 0; }
.alignright { float: right; margin: 0.4em 0 1em 1.6em; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide { margin-inline: calc(var(--gutter) * -0.5); max-width: none; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-element-caption { font-size: 0.8125rem; color: var(--muted); }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.gallery-item { margin: 0; }
.wp-block-gallery img, .gallery img { border-radius: 4px; }
.sticky, .bypostauthor { display: block; }
@media (max-width: 600px) { .alignleft, .alignright { float: none; margin: 1em 0; } }

/* 14. Motion & print ------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
@media print {
	.ubp-header, .ubp-wa, .ubp-cta, .ubp-footer__grid, .ubp-burger { display: none !important; }
	body { background: #fff; }
	.ubp-pagehero, .ubp-hero { background: #fff !important; color: #000 !important; }
	.ubp-pagehero__title, .ubp-hero__title { color: #000 !important; }
}
