/* ==========================================================================
   Universal Survey: theme.css
   --------------------------------------------------------------------------
   Loaded on the front end (wp_enqueue_style) and in the editor canvas
   (add_editor_style), so editing looks like the site.

   Design tokens are NOT defined here: they come from theme.json as
   --wp--preset--* / --wp--custom--* variables. This file holds what
   theme.json cannot express: motifs, colour context, block style variations
   (is-style-*), components (us-*) and per-pattern rules (is-pattern-*).

    1. Motif & mask assets
    2. Colour context (light / dark sections)
    3. Base refinements
    4. Template layout glue (sections, header/main/footer)
    5. Core block refinements + block styles
    6. Icon utilities (has-icon-*)
    7. Motifs (is-style-contour)
    8. Site header (parts/header.html)
    9. Site footer (parts/footer.html) + WhatsApp float
   10. Components (Part A of the static blocks.css)
   11. Patterns (Part B: one section per is-pattern-<slug>)
   12. Templates (blog, search, 404, plain page)
   13. Motion preferences & print

   Breakpoints (min-width): 600px, 782px (core columns stop stacking),
   1024px (desktop navigation), 1280px.
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Motif & mask assets
   The contour and reticle share one 1200×800 canvas: drawn with the same
   size and position, the reticle sits exactly on the contour peak (900,400).
   Masks are painted with background-color, so they take any palette colour.
   -------------------------------------------------------------------------- */
:root {
	--us-motif-contour: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='800' viewBox='0 0 1200 800'%3E%3Cpath fill='none' stroke='%235AB4E6' stroke-opacity='0.16' stroke-width='1' d='M0 181Q40 208 50 224Q60 240 65 264Q70 288 74 336Q77 384 83 400Q89 416 100 424Q112 431 156 441Q200 451 210 458Q220 464 225 472Q230 480 232 488Q233 496 231 508Q229 520 200 572Q171 624 166 648Q161 672 168 691Q176 710 204 736Q232 762 256 800M316 800Q271 672 268 656Q266 640 270 620Q275 600 295 552Q315 504 316 492Q318 480 316 468Q314 456 307 444Q300 432 290 423Q280 414 224 392Q168 371 152 358Q137 344 132 332Q126 320 122 304Q119 288 118 236Q116 184 120 160Q123 136 134 121Q144 106 212 74Q280 43 352 0M367 800Q341 720 338 680Q336 640 345 612Q354 584 383 536Q412 488 414 472Q416 456 406 440Q395 424 370 404Q346 384 329 376Q312 368 268 354Q224 341 206 330Q189 320 182 312Q176 304 170 292Q165 280 164 256Q162 232 170 204Q179 176 195 156Q211 136 233 120Q255 104 427 0M710 0Q800 6 865 0M419 800Q394 768 386 744Q379 720 378 696Q376 672 382 648Q387 624 398 605Q408 586 423 569Q438 552 494 512Q550 472 556 460Q563 448 562 436Q562 424 553 410Q544 397 528 388Q512 378 452 356Q392 335 336 322Q280 310 260 302Q240 293 230 282Q219 272 215 260Q211 248 212 232Q213 216 220 200Q228 184 242 168Q256 152 284 132Q312 112 368 80Q424 49 456 36Q488 23 516 20Q544 18 599 29Q654 40 751 52Q848 63 876 56Q904 48 980 0M617 800Q528 786 504 778Q480 769 464 752Q448 736 442 716Q437 696 441 672Q445 648 458 626Q472 604 492 587Q512 570 560 541Q607 512 616 503Q624 494 630 483Q635 472 637 452Q639 432 634 408Q630 384 598 312Q567 240 566 228Q566 216 570 204Q575 192 592 176Q608 161 632 152Q656 143 680 140Q704 137 760 139Q816 141 844 136Q872 130 892 120Q912 110 964 72Q1016 33 1074 0M889 800Q936 780 952 777Q968 774 984 778Q1000 782 1026 800M1074 800Q1008 729 992 720Q976 711 964 708Q952 706 940 710Q928 714 892 744Q856 773 828 782Q800 792 768 793Q736 794 648 783Q560 772 539 766Q518 760 503 750Q488 741 478 726Q469 712 467 696Q465 680 471 660Q477 640 490 624Q502 608 519 594Q536 581 583 554Q630 528 643 512Q656 496 659 484Q662 472 662 452Q661 432 648 352Q635 272 637 256Q639 240 648 226Q656 211 668 202Q680 194 692 190Q704 185 768 175Q832 165 860 156Q888 147 908 136Q928 124 984 80Q1040 37 1060 26Q1080 16 1124 0M1200 401Q1176 360 1172 340Q1167 320 1171 304Q1175 288 1200 252M1119 800Q1034 696 1018 680Q1003 664 978 648Q954 632 929 624Q904 616 884 616Q864 615 852 620Q840 625 836 632Q832 640 833 672Q834 704 830 716Q826 728 813 739Q800 750 780 756Q760 762 704 762Q648 763 600 756Q552 748 538 742Q525 736 516 728Q507 720 501 708Q495 696 495 684Q495 672 501 656Q507 640 522 624Q536 608 555 596Q574 584 615 564Q656 544 667 532Q678 520 682 496Q685 472 678 412Q671 352 670 328Q670 304 674 284Q679 264 688 252Q696 239 705 232Q714 224 729 217Q744 210 800 195Q856 180 880 170Q904 160 924 147Q944 134 988 98Q1032 61 1060 45Q1088 29 1116 20Q1144 12 1200 10M1200 439Q1156 368 1150 344Q1144 320 1146 308Q1148 296 1154 284Q1160 272 1200 225M1200 781Q1168 785 1152 778Q1136 771 1124 758Q1112 746 1080 702Q1048 659 1024 638Q1000 618 976 607Q952 596 920 588Q888 581 848 578Q808 576 786 580Q765 584 762 592Q758 600 763 632Q768 664 766 680Q765 696 756 708Q747 720 734 726Q720 732 688 736Q656 740 620 736Q584 733 562 722Q541 712 536 704Q530 696 528 688Q526 680 530 664Q535 648 552 632Q568 615 592 603Q616 591 660 578Q704 566 711 559Q718 552 718 540Q718 528 706 464Q694 400 692 372Q690 344 694 320Q698 296 710 276Q722 256 745 242Q768 227 820 210Q873 192 896 182Q920 171 940 158Q959 144 996 112Q1032 80 1060 63Q1088 46 1116 37Q1144 28 1200 30M1200 480Q1137 376 1130 348Q1124 320 1126 304Q1129 288 1136 276Q1142 264 1200 201M1200 139Q1177 176 1140 214Q1104 253 1098 266Q1091 280 1088 292Q1086 304 1087 320Q1088 336 1094 356Q1099 376 1126 436Q1154 496 1165 532Q1176 567 1181 600Q1186 632 1185 641Q1184 650 1180 656Q1176 661 1172 662Q1168 662 1160 658Q1152 655 1118 628Q1084 600 1058 587Q1032 574 1004 566Q976 558 904 544Q832 531 808 522Q784 512 771 500Q758 488 748 472Q739 456 733 436Q727 416 725 396Q723 376 725 356Q727 336 733 320Q739 304 748 292Q758 280 771 270Q784 260 867 226Q950 192 967 180Q984 168 1020 134Q1056 101 1080 87Q1104 73 1120 69Q1136 65 1148 64Q1160 64 1172 68Q1184 72 1200 87M1114 92Q1128 88 1140 88Q1152 89 1160 93Q1168 97 1172 104Q1177 112 1176 124Q1175 136 1164 154Q1152 173 1118 206Q1085 240 1079 252Q1073 264 1070 280Q1068 296 1072 328Q1077 360 1098 428Q1120 496 1120 512Q1120 528 1116 536Q1112 544 1104 548Q1096 552 1084 552Q1072 552 980 540Q888 527 856 520Q824 512 804 500Q784 489 768 468Q753 448 746 420Q738 392 740 364Q743 336 754 316Q766 296 791 278Q816 260 895 230Q974 200 987 190Q1000 181 1036 147Q1072 113 1086 104Q1101 96 1114 92ZM1090 136Q1103 128 1116 128Q1129 128 1131 132Q1133 136 1131 144Q1129 152 1120 162Q1112 172 1084 194Q1057 216 1052 236Q1046 256 1048 288Q1051 320 1067 388Q1083 456 1082 472Q1081 488 1076 496Q1072 503 1064 508Q1056 514 1040 517Q1024 520 972 519Q920 518 880 510Q840 502 816 488Q792 475 778 458Q765 440 758 416Q752 392 754 368Q757 344 768 324Q780 304 794 292Q808 280 824 272Q841 264 930 236Q1020 208 1030 200Q1040 193 1059 168Q1078 144 1090 136ZM874 270Q915 256 950 254Q984 251 996 256Q1008 262 1014 271Q1019 280 1032 324Q1046 368 1052 400Q1057 432 1054 452Q1050 472 1037 483Q1024 494 1008 498Q992 502 972 504Q952 505 908 500Q864 495 836 482Q808 469 798 458Q788 448 782 438Q776 428 772 414Q768 400 768 384Q767 368 770 356Q773 344 780 332Q786 320 797 309Q808 298 820 290Q832 283 874 270ZM876 297Q904 288 924 288Q943 288 956 292Q968 297 977 304Q986 312 995 328Q1004 344 1010 364Q1015 384 1015 404Q1015 424 1009 436Q1003 448 990 458Q976 467 952 472Q928 476 900 472Q872 469 850 458Q829 448 816 432Q803 416 800 396Q796 376 804 356Q812 336 830 321Q848 306 876 297ZM884 309Q904 304 920 305Q936 306 948 311Q960 316 970 326Q979 336 985 348Q991 360 994 376Q997 392 994 408Q991 424 984 434Q976 443 964 450Q952 456 928 458Q904 460 884 456Q864 451 848 440Q832 429 824 414Q815 400 815 384Q815 368 824 352Q833 336 848 325Q864 314 884 309ZM863 336Q876 328 898 326Q920 323 932 327Q944 331 952 338Q960 345 966 356Q972 368 974 380Q975 392 972 404Q969 416 962 424Q954 432 941 437Q928 442 912 442Q896 442 880 437Q864 432 854 424Q844 416 838 404Q833 392 834 380Q835 368 842 356Q850 344 863 336ZM868 364Q878 352 895 349Q912 346 924 352Q936 357 942 370Q948 384 944 396Q940 408 934 412Q928 417 916 419Q904 421 892 418Q881 416 875 412Q869 408 864 400Q859 392 859 384Q859 376 868 364Z'/%3E%3Cpath fill='none' stroke='%235AB4E6' stroke-opacity='0.24' stroke-width='1.4' d='M490 800Q448 781 434 762Q419 744 414 720Q408 696 412 672Q415 648 424 628Q434 608 448 592Q462 576 517 540Q572 504 584 492Q596 480 603 460Q610 440 606 420Q603 400 598 388Q592 375 580 360Q568 345 520 312Q472 279 452 272Q432 265 384 262Q336 260 316 254Q295 248 287 236Q279 224 284 208Q289 192 304 176Q320 161 340 148Q360 136 388 124Q416 112 444 104Q472 96 572 93Q672 90 744 98Q816 107 840 104Q864 102 888 92Q912 81 1031 0M1200 739Q1176 743 1164 738Q1152 733 1110 682Q1067 632 1038 612Q1009 592 972 580Q936 568 872 557Q808 546 787 537Q766 528 755 517Q744 506 736 489Q727 472 720 448Q713 424 710 396Q707 368 709 348Q711 328 716 314Q720 300 728 288Q736 275 748 264Q760 254 776 246Q792 237 844 218Q896 200 916 190Q936 181 952 170Q968 158 1004 126Q1040 93 1064 78Q1088 62 1120 54Q1152 45 1164 45Q1176 45 1200 53M1200 535Q1121 384 1115 368Q1109 352 1107 336Q1105 320 1107 304Q1109 288 1114 276Q1120 264 1200 176M600 632Q614 624 635 620Q656 617 672 622Q688 627 694 634Q701 640 704 648Q708 656 708 664Q708 672 704 680Q700 688 688 696Q677 704 658 708Q640 711 624 710Q608 708 594 702Q580 696 574 688Q568 680 570 668Q572 656 579 648Q586 640 600 632ZM879 281Q910 272 927 271Q944 270 960 273Q976 276 988 286Q1000 295 1007 308Q1014 320 1023 352Q1032 384 1034 408Q1035 432 1030 446Q1024 461 1010 470Q997 480 966 485Q936 490 900 486Q864 481 840 468Q815 456 801 436Q787 416 784 392Q782 368 786 356Q789 344 797 332Q805 320 826 305Q848 290 879 281Z'/%3E%3C/svg%3E");
	--us-motif-reticle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='800' viewBox='0 0 1200 800'%3E%3Cg fill='none' stroke='%235AB4E6' stroke-opacity='0.55' stroke-width='1'%3E%3Ccircle cx='900' cy='400' r='26'/%3E%3Ccircle cx='900' cy='400' r='6'/%3E%3Cpath d='M836 400H866M934 400H964M900 336V366M900 434V464'/%3E%3C/g%3E%3C/svg%3E");
	--us-motif-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M0 .5H64M.5 0V64' fill='none' stroke='%23FFFFFF' stroke-opacity='.045'/%3E%3Cpath d='M.5 0V5M.5 59V64M0 .5H5M59 .5H64' fill='none' stroke='%235AB4E6' stroke-opacity='.38'/%3E%3C/svg%3E");
	--us-mask-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1L13.38 8.67L16.67 7.33L15.33 10.62L23 12L15.33 13.38L16.67 16.67L13.38 15.33L12 23L10.62 15.33L7.33 16.67L8.67 13.38L1 12L8.67 10.62L7.33 7.33L10.62 8.67Z'/%3E%3C/svg%3E");
	--us-mask-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	--us-mask-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
	--us-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111418' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	--us-mask-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384'/%3E%3C/svg%3E");
}


/* --------------------------------------------------------------------------
   2. Colour context
   Components read these local variables instead of palette tokens, so the
   same markup works on light and dark backgrounds. Dark context = contrast /
   contrast-2 backgrounds, covers and anything marked .is-dark.
   -------------------------------------------------------------------------- */
:root,
:where(.is-light, .has-base-background-color, .has-surface-background-color, .has-primary-tint-background-color) {
	--us-color-text: var(--wp--preset--color--contrast);
	--us-color-muted: var(--wp--preset--color--muted);
	--us-color-link: var(--wp--preset--color--primary-dark);
	--us-color-link-hover: var(--wp--preset--color--primary-deep);
	--us-color-accent: var(--wp--preset--color--primary-dark);
	--us-color-icon: var(--wp--preset--color--primary);
	--us-color-focus: var(--wp--preset--color--primary-dark);
	--us-color-border: var(--wp--preset--color--border);
	--us-color-border-strong: var(--wp--preset--color--border-strong);
	--us-color-panel: var(--wp--preset--color--base);
	--us-color-panel-alt: var(--wp--preset--color--surface);
	--us-color-tile: var(--wp--preset--color--primary-tint);
	--us-color-tile-icon: var(--wp--preset--color--primary-dark);
	--us-btn-outline: var(--wp--preset--color--primary-dark);
	--us-btn-outline-border: var(--wp--preset--color--primary-dark);
	--us-btn-outline-hover-bg: var(--wp--preset--color--primary-dark);
	--us-btn-outline-hover-text: var(--wp--preset--color--base);
}

:where(.is-dark, .has-contrast-background-color, .has-contrast-2-background-color, .wp-block-cover:not(.is-light)) {
	--us-color-text: var(--wp--preset--color--base);
	--us-color-muted: var(--wp--preset--color--muted-light);
	--us-color-link: var(--wp--preset--color--primary-light);
	--us-color-link-hover: var(--wp--preset--color--base);
	--us-color-accent: var(--wp--preset--color--primary-light);
	--us-color-icon: var(--wp--preset--color--primary-light);
	--us-color-focus: var(--wp--preset--color--primary-light);
	--us-color-border: var(--wp--preset--color--border-dark);
	--us-color-border-strong: rgba(255, 255, 255, 0.28);
	--us-color-panel: var(--wp--preset--color--contrast-2);
	--us-color-panel-alt: rgba(255, 255, 255, 0.08);
	--us-color-tile: rgba(90, 180, 230, 0.12);
	--us-color-tile-icon: var(--wp--preset--color--primary-light);
	--us-btn-outline: var(--wp--preset--color--base);
	--us-btn-outline-border: rgba(255, 255, 255, 0.55);
	--us-btn-outline-hover-bg: var(--wp--preset--color--base);
	--us-btn-outline-hover-text: var(--wp--preset--color--contrast);
	color: var(--us-color-text);
}

:where(.is-light, .has-base-background-color, .has-surface-background-color, .has-primary-tint-background-color) {
	color: var(--us-color-text);
}

/* `muted` text colour is context-aware: muted-light on dark (AA) */
.has-muted-color {
	color: var(--us-color-muted) !important;
}


/* --------------------------------------------------------------------------
   3. Base refinements (theme.json sets fonts, sizes, colours, headings)
   -------------------------------------------------------------------------- */
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--wp--custom--header--height) + var(--wp--preset--spacing--40));
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

p, li, dt, dd, h1, h2, h3, h4, h5, h6, figcaption, td, th, address {
	overflow-wrap: break-word;
}

address {
	font-style: normal;
}

[hidden] {
	display: none !important;
}

::selection {
	background-color: rgba(31, 138, 192, 0.24);
}

/* headings set in a smaller preset keep a heading-like line height */
:where(h1, h2, h3, h4, h5, h6):is(.has-large-font-size, .has-medium-font-size, .has-small-font-size) {
	line-height: 1.3;
	letter-spacing: -0.005em;
}

:where(h1, h2):is(.has-display-font-size) {
	line-height: 1.04;
	letter-spacing: -0.032em;
}

/* Links: colour comes from theme.json (context-aware --us-color-link) */
:root :where(a:where(:not(.wp-element-button))) {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	transition: color var(--wp--custom--transition--fast), text-decoration-color var(--wp--custom--transition--fast);
}

:root :where(a:where(:not(.wp-element-button)):hover) {
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: 3px solid var(--us-color-focus);
	outline-offset: 3px;
}

/* the skip-link target receives focus programmatically; no ring around <main> */
main:focus {
	outline: none;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
	word-wrap: normal !important;
}

.skip-link.screen-reader-text:focus {
	position: fixed !important;
	top: 0.75rem;
	left: 0.75rem;
	z-index: var(--wp--custom--z-index--skip-link);
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.875rem 1.25rem;
	overflow: visible;
	clip-path: none;
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--primary-dark);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	text-decoration: underline;
	border-radius: var(--wp--custom--radius--button);
	box-shadow: var(--wp--preset--shadow--lg);
	outline: 3px solid var(--wp--preset--color--primary-dark);
	outline-offset: 2px;
}

/* one address / contact line per span */
.us-line {
	display: block;
}


/* --------------------------------------------------------------------------
   4. Template layout glue
   header / main / footer sit flush (no root block gap); the page content's
   full-width sections sit flush and carry the section rhythm (spacing-80).
   A section's own padding (block attribute) always wins: these rules have
   zero specificity, or target pattern classes only.
   -------------------------------------------------------------------------- */
.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}

:root .wp-site-blocks > *,
:root .site-main > *,
:root .wp-block-post-content > .wp-block-group.alignfull {
	margin-block: 0;
}

.wp-site-blocks > main,
.wp-site-blocks > .site-main {
	flex: 1 0 auto;
}

:is(.wp-block-post-content, .is-root-container) > .alignfull {
	margin-block-start: 0;
	margin-block-end: 0;
}

:where(.wp-block-post-content, .is-root-container) > :where(.wp-block-group.alignfull) {
	padding-block: var(--wp--preset--spacing--80);
}

/* sections that are a full-bleed cover (hero, photo page-header) own their padding */
:where(.wp-block-post-content, .is-root-container) > :where(.wp-block-group.alignfull:has(> .wp-block-cover.alignfull)) {
	padding-block: 0;
}

/* Flow rhythm refinements: eyebrow → heading, heading → text, text → buttons */
:root :where(.is-style-eyebrow) + :where(h1, h2, h3, h4, h5, h6, .wp-block-post-title, .wp-block-query-title) {
	margin-block-start: var(--wp--preset--spacing--30);
}

:root :where(h1, h2, h3, h4, h5, h6) + :where(p, ul, ol, dl) {
	margin-block-start: var(--wp--preset--spacing--30);
}

:root :where(h1, h2) + :where(.is-style-lead) {
	margin-block-start: var(--wp--preset--spacing--40);
}

:root :where(p, ul, ol, dl, .wp-block-list) + :where(.wp-block-buttons) {
	margin-block-start: var(--wp--preset--spacing--50);
}

/* Grid groups: `columns-N` (Additional CSS class) sets the desktop column count
   columns-2: 1 → 2 (600)   columns-3: 1 → 2 (600) → 3 (1024)   columns-4: 1 → 2 (600) → 4 (1024) */
.wp-block-group.is-layout-grid:is(.columns-2, .columns-3, .columns-4) {
	grid-template-columns: minmax(0, 1fr);
}

.wp-block-group.is-layout-grid > * {
	min-width: 0;
}

@media (min-width: 600px) {
	.wp-block-group.is-layout-grid:is(.columns-2, .columns-3, .columns-4) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.wp-block-group.is-layout-grid.columns-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.wp-block-group.is-layout-grid.columns-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}


/* --------------------------------------------------------------------------
   5. Core block refinements + block styles (registered in inc/block-styles.php)
   -------------------------------------------------------------------------- */

/* Buttons: colours, border, padding, type come from theme.json elements.button */
.wp-block-buttons {
	gap: var(--wp--preset--spacing--30);
}

.wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	min-height: 3rem;
	text-align: center;
	transition:
		background-color var(--wp--custom--transition--fast),
		border-color var(--wp--custom--transition--fast),
		color var(--wp--custom--transition--fast),
		box-shadow var(--wp--custom--transition--fast);
}

.wp-block-button .wp-block-button__link:active {
	box-shadow: inset 0 2px 4px rgba(17, 20, 24, 0.25);
}

/* Arrow (style `arrow`, `outline-arrow`, or the class `has-arrow`) */
.wp-block-button:is(.is-style-arrow, .is-style-outline-arrow, .has-arrow) > .wp-block-button__link::after {
	content: "";
	flex: none;
	width: 1.125rem;
	height: 1.125rem;
	margin-right: -0.25rem;
	background-color: currentColor;
	-webkit-mask: var(--us-mask-arrow) center / contain no-repeat;
	mask: var(--us-mask-arrow) center / contain no-repeat;
	transition: transform var(--wp--custom--transition--base);
}

/* Outline (core style `outline`) and `outline-arrow`: flip to white on dark */
.wp-block-button:is(.is-style-outline, .is-style-outline-arrow) > .wp-block-button__link {
	padding: 0.6875rem 1.5rem;
	border-width: 2px;
	border-style: solid;
	border-color: var(--us-btn-outline-border);
}

.wp-block-button:is(.is-style-outline, .is-style-outline-arrow) > .wp-block-button__link:not(.has-background) {
	background-color: transparent;
	background-image: none;
}

.wp-block-button:is(.is-style-outline, .is-style-outline-arrow) > .wp-block-button__link:not(.has-text-color) {
	color: var(--us-btn-outline);
}

.wp-block-button:is(.is-style-outline, .is-style-outline-arrow) > .wp-block-button__link:hover {
	border-color: var(--us-btn-outline-hover-bg);
	background-color: var(--us-btn-outline-hover-bg);
	color: var(--us-btn-outline-hover-text);
}

/* Phone (style `phone`): a quiet text link with the phone icon in a tinted disc */
.wp-block-button.is-style-phone > .wp-block-button__link {
	position: relative;
	min-height: 2.75rem;
	padding: 0 0 0 3rem;
	border: 0;
	border-radius: var(--wp--custom--radius--button);
	background: none;
	color: var(--us-color-text);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.wp-block-button.is-style-phone > .wp-block-button__link::before,
.wp-block-button.is-style-phone > .wp-block-button__link::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 2.375rem;
	height: 2.375rem;
	margin-top: -1.1875rem;
	transition: background-color var(--wp--custom--transition--fast);
}

.wp-block-button.is-style-phone > .wp-block-button__link::before {
	border-radius: 50%;
	background-color: var(--us-color-tile);
}

.wp-block-button.is-style-phone > .wp-block-button__link::after {
	background-color: var(--us-color-tile-icon);
	-webkit-mask: var(--us-mask-phone) center / 1.125rem no-repeat;
	mask: var(--us-mask-phone) center / 1.125rem no-repeat;
}

.wp-block-button.is-style-phone > .wp-block-button__link:hover {
	background: none;
	color: var(--us-color-link);
}

.wp-block-button.is-style-phone > .wp-block-button__link:hover::before {
	background-color: var(--wp--preset--color--primary-dark);
}

.wp-block-button.is-style-phone > .wp-block-button__link:hover::after {
	background-color: var(--wp--preset--color--base);
}

.wp-block-button.is-style-phone > .wp-block-button__link:active {
	box-shadow: none;
}

/* Paragraph `eyebrow`: compass star in brand blue + small uppercase label */
.is-style-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	color: var(--us-color-accent);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: var(--wp--custom--letter-spacing--eyebrow);
	text-transform: uppercase;
	text-wrap: balance;
}

.is-style-eyebrow::before {
	content: "";
	flex: none;
	width: 1rem;
	height: 1rem;
	background-color: var(--us-color-icon);
	-webkit-mask: var(--us-mask-star) center / contain no-repeat;
	mask: var(--us-mask-star) center / contain no-repeat;
}

.is-style-eyebrow.has-text-align-center {
	justify-content: center;
}

@media (min-width: 782px) {
	.is-style-eyebrow {
		font-size: var(--wp--preset--font-size--small);
		letter-spacing: 0.13em;
	}
}

/* Paragraph `lead` */
.is-style-lead {
	max-width: var(--wp--custom--measure--narrow);
	color: var(--us-color-muted);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.55;
}

.is-style-lead.has-text-align-center {
	margin-inline: auto;
}

/* Paragraph `arrow-link`: the link inside gets a trailing arrow */
.is-style-arrow-link {
	font-weight: 600;
}

.is-style-arrow-link a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	text-decoration-line: none;
}

.is-style-arrow-link a::after {
	content: "";
	flex: none;
	width: 1.125em;
	height: 1.125em;
	background-color: currentColor;
	-webkit-mask: var(--us-mask-arrow) center / contain no-repeat;
	mask: var(--us-mask-arrow) center / contain no-repeat;
	transition: transform var(--wp--custom--transition--base);
}

.is-style-arrow-link a:hover {
	text-decoration-line: underline;
	text-decoration-thickness: 1px;
}

/* List: base markers + style `checklist` (+ class `us-columns-2`) */
.wp-block-list > li::marker {
	color: var(--us-color-icon);
}

.wp-block-list.is-style-checklist {
	display: grid;
	gap: 0.75rem;
	padding: 0;
	list-style: none;
}

.is-style-checklist > li {
	position: relative;
	margin: 0 !important;
	padding-left: 2rem;
}

.is-style-checklist > li::before,
.is-style-checklist > li::after {
	content: "";
	position: absolute;
	left: 0;
	top: calc((1lh - 1.25rem) / 2);
	width: 1.25rem;
	height: 1.25rem;
}

.is-style-checklist > li::before {
	border-radius: 50%;
	background-color: var(--us-color-tile);
}

.is-style-checklist > li::after {
	background-color: var(--us-color-tile-icon);
	-webkit-mask: var(--us-mask-check) center / 0.6875rem no-repeat;
	mask: var(--us-mask-check) center / 0.6875rem no-repeat;
}

@media (min-width: 600px) {
	.is-style-checklist.us-columns-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: var(--wp--preset--spacing--50);
	}
}

/* Image: captions + style `framed` (survey registration marks on two corners) */
.wp-block-image figcaption,
.wp-element-caption {
	margin-top: 0.625rem;
	color: var(--us-color-muted);
	font-size: var(--wp--preset--font-size--small);
}

.wp-block-image.is-style-framed,
.wp-block-post-featured-image.is-style-framed {
	position: relative;
	padding: 0.75rem;
}

:is(.wp-block-image, .wp-block-post-featured-image).is-style-framed img {
	width: 100%;
	border-radius: var(--wp--custom--radius--small);
}

:is(.wp-block-image, .wp-block-post-featured-image).is-style-framed::before,
:is(.wp-block-image, .wp-block-post-featured-image).is-style-framed::after {
	content: "";
	position: absolute;
	width: 2.25rem;
	height: 2.25rem;
	border: 0 solid var(--us-color-icon);
	pointer-events: none;
}

:is(.wp-block-image, .wp-block-post-featured-image).is-style-framed::before {
	top: 0;
	left: 0;
	border-top-width: 2px;
	border-left-width: 2px;
}

:is(.wp-block-image, .wp-block-post-featured-image).is-style-framed::after {
	right: 0;
	bottom: 0;
	border-right-width: 2px;
	border-bottom-width: 2px;
}

/* Cover: dark fallback + section padding. The photo covers are high-key, so
   every cover uses a contrast overlay at dim-70 (dim-80 on the CTA card). */
.wp-block-cover {
	background-color: var(--wp--preset--color--contrast);
}

:where(.wp-block-cover) {
	min-height: 26rem;
	padding-block: var(--wp--preset--spacing--80);
}

/* Cover style `scrim-left`: from 1024px the overlay becomes a left-weighted
   scrim, dense behind the copy (≥ 4.5:1 even on bright sky), lighter over the
   subject on the right. Below 1024px the copy spans the photo: plain overlay. */
@media (min-width: 1024px) {
	.wp-block-cover.is-style-scrim-left > .wp-block-cover__background {
		opacity: 0.82 !important;
		-webkit-mask-image: linear-gradient(90deg, #000 0%, #000 45%, rgba(0, 0, 0, 0.6) 72%, rgba(0, 0, 0, 0.35) 100%);
		mask-image: linear-gradient(90deg, #000 0%, #000 45%, rgba(0, 0, 0, 0.6) 72%, rgba(0, 0, 0, 0.35) 100%);
	}
}

/* Separator: default = short accent rule, `wide` = hairline */
.wp-block-separator {
	width: 3rem;
	margin-inline: 0;
	border: 0;
	border-top: var(--wp--custom--border--width-strong) solid var(--us-color-icon);
	opacity: 1;
}

.wp-block-separator.is-style-wide {
	width: 100%;
	border-top: var(--wp--custom--border--width) solid var(--us-color-border);
}

.wp-block-separator.has-text-align-center,
.has-text-align-center > .wp-block-separator {
	margin-inline: auto;
}

/* Table */
.wp-block-table table {
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--small);
	font-variant-numeric: tabular-nums;
}

.wp-block-table :is(th, td) {
	padding: 0.875rem 1rem;
	border: 0;
	border-bottom: var(--wp--custom--border--width) solid var(--us-color-border);
	text-align: left;
	vertical-align: top;
}

.wp-block-table thead {
	border-bottom: var(--wp--custom--border--width-strong) solid var(--us-color-text);
}

.wp-block-table thead th {
	color: var(--us-color-muted);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background-color: var(--us-color-panel-alt);
}

/* Columns style `divided`: each column gets the survey scale-bar rule (hairline
   with a short brand segment), like the static stats band. Four columns sit
   2 × 2 below 782px instead of stacking. */
.wp-block-columns.is-style-divided > .wp-block-column {
	position: relative;
	padding-top: var(--wp--preset--spacing--40);
	border-top: var(--wp--custom--border--width) solid var(--us-color-border);
}

.wp-block-columns.is-style-divided > .wp-block-column::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 2.5rem;
	height: 2px;
	background-color: var(--us-color-icon);
}

.wp-block-columns.is-style-divided > .wp-block-column > * + * {
	margin-block-start: 0.625rem;
}

@media (max-width: 781.98px) {
	.wp-block-columns.is-style-divided:not(.is-not-stacked-on-mobile):has(> .wp-block-column:nth-child(4)) {
		column-gap: var(--wp--preset--spacing--40);
	}

	.wp-block-columns.is-style-divided:not(.is-not-stacked-on-mobile):has(> .wp-block-column:nth-child(4)) > .wp-block-column {
		flex-basis: calc(50% - var(--wp--preset--spacing--40) / 2) !important;
		flex-grow: 0;
	}
}

/* Quote */
.wp-block-quote {
	font-style: normal;
}

.wp-block-quote cite {
	color: var(--us-color-muted);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
}

/* Social links style `whatsapp-float`: the fixed WhatsApp bubble (footer part) */
.wp-block-social-links.is-style-whatsapp-float {
	position: fixed;
	right: calc(1rem + env(safe-area-inset-right, 0px));
	bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
	z-index: var(--wp--custom--z-index--float);
	gap: 0;
	margin: 0;
	padding: 0;
}

.wp-block-social-links.is-style-whatsapp-float .wp-social-link {
	width: 3.5rem;
	height: 3.5rem;
	margin: 0;
	border-radius: 50%;
	box-shadow: 0 6px 16px rgba(17, 20, 24, 0.22), 0 2px 4px rgba(17, 20, 24, 0.12);
	transition:
		background-color var(--wp--custom--transition--fast),
		box-shadow var(--wp--custom--transition--base),
		transform var(--wp--custom--transition--base);
}

.wp-block-social-links.is-style-whatsapp-float .wp-social-link:not(.has-background) {
	background-color: var(--wp--preset--color--whatsapp);
	color: var(--wp--preset--color--base);
}

.wp-block-social-links.is-style-whatsapp-float .wp-block-social-link-anchor {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 0;
	border-radius: 50%;
	-webkit-tap-highlight-color: transparent;
}

.wp-block-social-links.is-style-whatsapp-float .wp-block-social-link-anchor svg {
	width: 1.75rem;
	height: 1.75rem;
}

.wp-block-social-links.is-style-whatsapp-float .wp-social-link:hover {
	background-color: var(--wp--custom--color--whatsapp-hover) !important;
	box-shadow: 0 10px 24px rgba(17, 20, 24, 0.26), 0 3px 6px rgba(17, 20, 24, 0.12);
	transform: none;
}

/* double ring: visible on light, dark and photo backgrounds alike */
.wp-block-social-links.is-style-whatsapp-float .wp-block-social-link-anchor:focus-visible {
	outline: 2px solid var(--wp--preset--color--base);
	outline-offset: 2px;
	box-shadow: 0 0 0 6px var(--wp--preset--color--primary-dark);
}

@media (min-width: 1024px) {
	.wp-block-social-links.is-style-whatsapp-float {
		right: calc(1.5rem + env(safe-area-inset-right, 0px));
		bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
	}
}

/* the editor shows the bubble in place, not fixed over the canvas */
.editor-styles-wrapper .wp-block-social-links.is-style-whatsapp-float,
.block-editor-block-list__layout .wp-block-social-links.is-style-whatsapp-float {
	position: static;
	justify-content: flex-end;
}

/* Search, pagination */
.wp-block-search__input {
	min-height: 3rem;
	padding: 0.6875rem 0.875rem;
	border: 1px solid var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--input);
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

.wp-block-search__input:focus-visible {
	border-color: var(--wp--preset--color--primary-dark);
	outline: 2px solid var(--wp--preset--color--primary-dark);
	outline-offset: 0;
}

.wp-block-query-pagination {
	gap: var(--wp--preset--spacing--30);
	margin-block-start: var(--wp--preset--spacing--60);
	font-weight: 600;
}

.wp-block-query-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	border-radius: var(--wp--custom--radius--button);
	text-decoration: none;
}

.wp-block-query-pagination .page-numbers.current {
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}


/* --------------------------------------------------------------------------
   6. Icon utilities: Additional CSS class `has-icon-<name>`
   - on a paragraph: icon before the text (footer / contact lines)
   - on a button:    icon before the label (e.g. "WhatsApp us")
   Icons: phone, map-pin, mail, whatsapp, license, clock, external-link,
   filter, cadastral, engineering, topography, hydrography, quantity,
   compass-star, check, shield. (Larger icons and tiles: the
   universal-survey/icon block from the Universal Survey Core plugin.)
   -------------------------------------------------------------------------- */
.has-icon-phone { --us-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384'/%3E%3C/svg%3E"); }
.has-icon-map-pin { --us-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.has-icon-mail { --us-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7'/%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3C/svg%3E"); }
.has-icon-whatsapp { --us-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E"); }
.has-icon-license { --us-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 22h5a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v3.3'/%3E%3Cpath d='M14 2v5a1 1 0 0 0 1 1h5'/%3E%3Cpath d='m7.69 16.479 1.29 4.88a.5.5 0 0 1-.698.591l-1.843-.849a1 1 0 0 0-.879.001l-1.846.85a.5.5 0 0 1-.692-.593l1.29-4.88'/%3E%3Ccircle cx='6' cy='14' r='3'/%3E%3C/svg%3E"); }
.has-icon-clock { --us-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }
.has-icon-external-link { --us-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E"); }
.has-icon-filter { --us-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 5h20'/%3E%3Cpath d='M6 12h12'/%3E%3Cpath d='M9 19h6'/%3E%3C/svg%3E"); }
.has-icon-cadastral { --us-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 8 6-3-6-3v10'/%3E%3Cpath d='m8 11.99-5.5 3.14a1 1 0 0 0 0 1.74l8.5 4.86a2 2 0 0 0 2 0l8.5-4.86a1 1 0 0 0 0-1.74L16 12'/%3E%3Cpath d='m6.49 12.85 11.02 6.3'/%3E%3Cpath d='M17.51 12.85 6.5 19.15'/%3E%3C/svg%3E"); }
.has-icon-engineering { --us-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 10V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5'/%3E%3Cpath d='M14 6a6 6 0 0 1 6 6v3'/%3E%3Cpath d='M4 15v-3a6 6 0 0 1 6-6'/%3E%3Crect x='2' y='15' width='20' height='4' rx='1'/%3E%3C/svg%3E"); }
.has-icon-topography { --us-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 3 4 8 5-5 5 15H2L8 3z'/%3E%3C/svg%3E"); }
.has-icon-hydrography { --us-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12q2.5 2 5 0t5 0 5 0 5 0'/%3E%3Cpath d='M2 19q2.5 2 5 0t5 0 5 0 5 0'/%3E%3Cpath d='M2 5q2.5 2 5 0t5 0 5 0 5 0'/%3E%3C/svg%3E"); }
.has-icon-quantity { --us-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z'/%3E%3Cpath d='m7 16.5-4.74-2.85'/%3E%3Cpath d='m7 16.5 5-3'/%3E%3Cpath d='M7 16.5v5.17'/%3E%3Cpath d='M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z'/%3E%3Cpath d='m17 16.5-5-3'/%3E%3Cpath d='m17 16.5 4.74-2.85'/%3E%3Cpath d='M17 16.5v5.17'/%3E%3Cpath d='M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z'/%3E%3Cpath d='M12 8 7.26 5.15'/%3E%3Cpath d='m12 8 4.74-2.85'/%3E%3Cpath d='M12 13.5V8'/%3E%3C/svg%3E"); }
.has-icon-compass-star { --us-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 1L13.38 8.67L16.67 7.33L15.33 10.62L23 12L15.33 13.38L16.67 16.67L13.38 15.33L12 23L10.62 15.33L7.33 16.67L8.67 13.38L1 12L8.67 10.62L7.33 7.33L10.62 8.67Z'/%3E%3C/svg%3E"); }
.has-icon-check { --us-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.has-icon-shield { --us-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }

p[class*="has-icon-"] {
	position: relative;
	padding-left: 1.875rem;
}

p[class*="has-icon-"]::before {
	content: "";
	position: absolute;
	top: calc((1lh - 1.125rem) / 2);
	left: 0;
	width: 1.125rem;
	height: 1.125rem;
	background-color: var(--us-color-icon);
	-webkit-mask: var(--us-icon-mask) center / contain no-repeat;
	mask: var(--us-icon-mask) center / contain no-repeat;
}

.wp-block-button[class*="has-icon-"] > .wp-block-button__link::before {
	content: "";
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	background-color: currentColor;
	-webkit-mask: var(--us-icon-mask) center / contain no-repeat;
	mask: var(--us-icon-mask) center / contain no-repeat;
}


/* --------------------------------------------------------------------------
   7. Motifs: group style `contour` (faint topographic contour lines, peak
   right of centre). On a group without a background colour it also turns
   the group into a dark section.
   -------------------------------------------------------------------------- */
.is-style-contour {
	background-image: var(--us-motif-contour);
	background-repeat: no-repeat;
	background-position: 75% 50%;
	background-size: 75rem 50rem;
}

.is-style-contour:not(.has-background) {
	--us-color-text: var(--wp--preset--color--base);
	--us-color-muted: var(--wp--preset--color--muted-light);
	--us-color-link: var(--wp--preset--color--primary-light);
	--us-color-link-hover: var(--wp--preset--color--base);
	--us-color-accent: var(--wp--preset--color--primary-light);
	--us-color-icon: var(--wp--preset--color--primary-light);
	--us-color-focus: var(--wp--preset--color--primary-light);
	--us-color-border: var(--wp--preset--color--border-dark);
	--us-color-panel: var(--wp--preset--color--contrast-2);
	--us-color-tile: rgba(90, 180, 230, 0.12);
	--us-color-tile-icon: var(--wp--preset--color--primary-light);
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}


/* --------------------------------------------------------------------------
   8. Site header: parts/header.html
   Bar: logo · nav · (phone + Get a Quote). The template-part wrapper is the
   sticky element (a sticky child could not outlive its same-height parent).
   Below 1024px the core Navigation block shows its menu button and overlay;
   the actions are hidden below 600px (Contact is in the menu).
   -------------------------------------------------------------------------- */
.wp-site-blocks > header.wp-block-template-part,
.wp-site-blocks > .wp-block-template-part:has(> .site-header) {
	position: sticky;
	top: var(--wp-admin--admin-bar--position-offset, 0px);
	z-index: var(--wp--custom--z-index--header);
}

.site-header {
	border-bottom: var(--wp--custom--border--width) solid var(--wp--preset--color--border);
	transition: box-shadow var(--wp--custom--transition--base);
}

.site-header.is-scrolled {
	box-shadow: 0 1px 2px rgba(17, 20, 24, 0.04), 0 10px 28px -14px rgba(17, 20, 24, 0.22);
}

.site-header .site-header__bar {
	gap: var(--wp--preset--spacing--40);
	min-height: var(--wp--custom--header--height);
}

.site-header .wp-block-site-logo {
	flex: 0 0 auto;
	line-height: 0;
}

.site-header .wp-block-site-logo a {
	display: block;
	border-radius: 4px;
}

.site-header .wp-block-site-logo img {
	width: auto;
	height: var(--wp--custom--header--logo-height);
}

.site-header .site-header__menu {
	flex: 1 1 auto;
	gap: var(--wp--preset--spacing--40);
	min-width: 0;
}

.site-header .site-header__nav {
	order: 2;
}

.site-header .site-header__actions {
	order: 1;
	gap: var(--wp--preset--spacing--40);
}

.site-header .site-header__actions .wp-block-button__link {
	min-height: 2.75rem;
	padding: 0.5rem 1.25rem;
	font-size: 0.9375rem;
}

.site-header .site-header__actions .is-style-phone .wp-block-button__link {
	padding: 0 0 0 3rem;
}

/* Menu button (core) */
.site-header .wp-block-navigation__responsive-container-open {
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-right: -0.5rem;
	border-radius: var(--wp--custom--radius--button);
	color: var(--wp--preset--color--contrast);
	transition: background-color var(--wp--custom--transition--fast);
}

.site-header .wp-block-navigation__responsive-container-open:hover {
	background-color: var(--wp--preset--color--surface);
}

.site-header .wp-block-navigation__responsive-container-open svg,
.site-header .wp-block-navigation__responsive-container-close svg {
	width: 1.75rem;
	height: 1.75rem;
}

/* Menu overlay (core, below 1024px): white panel, large rows with a quiet arrow;
   the current page swaps the arrow for the compass star */
.site-header .wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wp--preset--spacing--30) var(--wp--style--root--padding-right) var(--wp--preset--spacing--60) var(--wp--style--root--padding-left);
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	top: calc((var(--wp--custom--header--height) - 2.75rem) / 2);
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: var(--wp--custom--radius--button);
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: stretch;
	padding-top: calc(var(--wp--custom--header--height) + var(--wp--preset--spacing--20));
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: stretch;
	gap: 0;
	width: 100%;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	width: 100%;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content.wp-block-navigation-item__content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	min-height: 3.5rem;
	padding: 0.75rem 0;
	border-bottom: var(--wp--custom--border--width) solid var(--wp--preset--color--border);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after {
	content: "";
	flex: none;
	width: 1.125rem;
	height: 1.125rem;
	background-color: var(--wp--preset--color--border-strong);
	-webkit-mask: var(--us-mask-arrow) center / contain no-repeat;
	mask: var(--us-mask-arrow) center / contain no-repeat;
	transition: transform var(--wp--custom--transition--base), background-color var(--wp--custom--transition--fast);
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content.wp-block-navigation-item__content:hover,
.site-header .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content.wp-block-navigation-item__content {
	color: var(--wp--preset--color--primary-dark);
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover::after {
	background-color: var(--wp--preset--color--primary-dark);
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content::after {
	background-color: var(--wp--preset--color--primary);
	-webkit-mask-image: var(--us-mask-star);
	mask-image: var(--us-mask-star);
}

@media (max-width: 599.98px) {
	.site-header .site-header__actions {
		display: none;
	}
}

/* 600–1023px: keep the menu button + overlay (core switches at 600px) */
@media (min-width: 600px) and (max-width: 1023.98px) {
	.site-header .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.site-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}

	.site-header .site-header__actions .is-style-phone .wp-block-button__link {
		width: 2.75rem;
		padding: 0;
		font-size: 0;
	}

	.site-header .site-header__actions .is-style-phone .wp-block-button__link::before,
	.site-header .site-header__actions .is-style-phone .wp-block-button__link::after {
		left: 0.1875rem;
	}
}

/* Desktop navigation */
@media (min-width: 1024px) {
	html {
		scroll-padding-top: calc(var(--wp--custom--header--height-desktop) + var(--wp--preset--spacing--40));
	}

	.site-header .site-header__bar {
		gap: var(--wp--preset--spacing--50);
		min-height: var(--wp--custom--header--height-desktop);
	}

	.site-header .wp-block-site-logo img {
		height: var(--wp--custom--header--logo-height-desktop);
	}

	.site-header .site-header__nav {
		order: 1;
	}

	.site-header .site-header__actions {
		order: 2;
		padding-left: var(--wp--preset--spacing--40);
		border-left: var(--wp--custom--border--width) solid var(--wp--preset--color--border);
	}

	.site-header .wp-block-navigation .wp-block-navigation-item__content {
		position: relative;
		display: flex;
		align-items: center;
		min-height: 2.75rem;
		padding: 0.5rem 0.875rem;
		border-radius: var(--wp--custom--radius--button);
		text-decoration: none;
		transition: color var(--wp--custom--transition--fast);
	}

	.site-header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover,
	.site-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content.wp-block-navigation-item__content {
		color: var(--wp--preset--color--primary-dark);
	}

	/* hover / current: a precise 2px rule under the label */
	.site-header .wp-block-navigation .wp-block-navigation-item__content::after {
		content: "";
		position: absolute;
		right: 0.875rem;
		bottom: 0.375rem;
		left: 0.875rem;
		height: 2px;
		background-color: var(--wp--preset--color--primary);
		transform: scaleX(0);
		transform-origin: left center;
		transition: transform var(--wp--custom--transition--base);
	}

	.site-header .wp-block-navigation .wp-block-navigation-item__content:hover::after,
	.site-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content::after {
		transform: scaleX(1);
	}
}

/* 1024–1279px: icon-only phone button (the number stays its accessible name) */
@media (min-width: 1024px) and (max-width: 1279.98px) {
	.site-header .site-header__actions .is-style-phone .wp-block-button__link {
		width: 2.75rem;
		padding: 0;
		font-size: 0;
	}

	.site-header .site-header__actions .is-style-phone .wp-block-button__link::before,
	.site-header .site-header__actions .is-style-phone .wp-block-button__link::after {
		left: 0.1875rem;
	}
}


/* --------------------------------------------------------------------------
   9. Site footer: parts/footer.html (+ the WhatsApp float, section 5)
   -------------------------------------------------------------------------- */
.site-footer__main {
	position: relative;
	padding-top: var(--wp--preset--spacing--80);
	padding-bottom: calc(var(--wp--preset--spacing--40) + 4.5rem); /* room for the WhatsApp float */
	background-position: right -30rem top -16rem;
	font-size: var(--wp--preset--font-size--small);
}

.site-footer__main .site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
}

.site-footer__main .site-footer__grid > * {
	margin: 0;
}

.site-footer__brand > * + * {
	margin-block-start: var(--wp--preset--spacing--40);
}

.site-footer__main .site-footer__logo {
	width: fit-content;
	line-height: 0;
}

.site-footer__logo .wp-block-site-logo a {
	display: block;
}

.site-footer__logo .wp-block-site-logo img {
	width: auto;
	height: var(--wp--custom--footer--logo-height);
}

.site-footer__main .site-footer__tagline {
	max-width: 23rem;
	color: var(--wp--preset--color--muted-light);
	font-size: 0.9375rem;
	line-height: 1.65;
}

/* columns: the heading's bottom margin is the only gap */
.site-footer__main .site-footer__col > * {
	margin-block: 0;
}

.site-footer__main .site-footer__heading {
	margin-bottom: var(--wp--preset--spacing--40);
	color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: var(--wp--custom--letter-spacing--eyebrow);
	text-transform: uppercase;
	text-wrap: nowrap;
}

.site-footer__main .site-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__links > li + li {
	margin-top: 0.125rem;
}

.site-footer__main a:where(:not(.wp-element-button)) {
	color: var(--wp--preset--color--base);
	text-decoration-color: rgba(255, 255, 255, 0.35);
}

.site-footer__main a:where(:not(.wp-element-button)):hover {
	color: var(--wp--preset--color--primary-light);
	text-decoration-color: currentColor;
}

.site-footer__main .site-footer__links a:where(:not(.wp-element-button)) {
	display: inline-flex;
	align-items: center;
	min-height: 2.25rem;
	padding-block: 0.25rem;
	color: var(--wp--preset--color--muted-light);
	line-height: 1.4;
	text-decoration-line: none;
}

.site-footer__main .site-footer__links a:where(:not(.wp-element-button)):hover {
	color: var(--wp--preset--color--base);
	text-decoration-line: underline;
}

.site-footer__main .site-footer__contact > * {
	margin: 0;
	color: var(--wp--preset--color--muted-light);
	line-height: 1.55;
}

.site-footer__main .site-footer__contact > * + * {
	margin-top: 0.875rem;
}

.site-footer__contact a {
	font-variant-numeric: tabular-nums;
}

.site-footer__main .site-footer__bottom {
	gap: 0.5rem var(--wp--preset--spacing--50);
	margin-top: var(--wp--preset--spacing--70);
	padding-top: var(--wp--preset--spacing--40);
	border-top: var(--wp--custom--border--width) solid var(--wp--preset--color--border-dark);
	color: var(--wp--preset--color--muted-light);
	font-size: var(--wp--preset--font-size--x-small);
	line-height: 1.5;
}

.site-footer__main .site-footer__bottom > * {
	margin: 0;
}

.site-footer__main .site-footer__license {
	padding-left: 1.5rem;
	color: var(--wp--preset--color--base);
	font-weight: 600;
	letter-spacing: 0.02em;
}

.site-footer__main .site-footer__license::before {
	width: 1rem;
	height: 1rem;
	top: calc((1lh - 1rem) / 2);
}

@media (min-width: 600px) {
	.site-footer__main .site-footer__grid {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr) minmax(0, 1.15fr);
	}

	.site-footer__main .site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1024px) {
	.site-footer__main {
		padding-bottom: var(--wp--preset--spacing--50);
		background-position: right -18rem top -12rem;
	}

	.site-footer__main .site-footer__grid {
		grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.7fr) minmax(0, 1.15fr) minmax(0, 1.1fr);
		gap: var(--wp--preset--spacing--50);
	}

	.site-footer__main .site-footer__brand {
		grid-column: auto;
		padding-right: var(--wp--preset--spacing--50);
	}
}


/* ==========================================================================
   10. COMPONENTS (static blocks.css Part A, adapted to block markup)
   Icon tiles are universal-survey/icon blocks (plugin) with a tile; the
   static `.us-icon-tile` class is kept as an alias for the same look.
   ========================================================================== */

/* A1. Section head: eyebrow + heading (+ lead); `is-split` puts a link or
   button bottom-right (≥782px). Block: group.us-section-head (flow), or for
   split: group.us-section-head.is-split (flex, space-between, align bottom)
   containing group.us-section-head__main + paragraph/buttons. */
.us-section-head > :is(h1, h2, h3) {
	max-width: var(--wp--custom--measure--heading);
}

.us-section-head > p:not(.is-style-eyebrow) {
	max-width: var(--wp--custom--measure--text);
}

.us-section-head + * {
	margin-block-start: var(--wp--preset--spacing--60);
}

.us-section-head.is-split {
	justify-content: space-between;
	align-items: flex-end;
	gap: var(--wp--preset--spacing--40) var(--wp--preset--spacing--60);
}

.us-section-head.is-split > .us-section-head__main {
	flex: 1 1 30rem;
}

.us-section-head__main > :is(h2, h3) {
	max-width: var(--wp--custom--measure--heading);
}

.us-section-head__main > p:not(.is-style-eyebrow) {
	max-width: var(--wp--custom--measure--text);
}

.us-section-head.is-split > :not(.us-section-head__main) {
	flex: 0 0 auto;
}

.us-section-head.has-text-align-center > *,
.us-section-head.is-centered > * {
	margin-inline: auto;
	text-align: center;
}

.us-section-head.is-centered > .is-style-eyebrow {
	justify-content: center;
}

/* A6. Icon tile alias (static markup); the icon block styles itself */
.us-icon-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: var(--wp--custom--icon--tile);
	height: var(--wp--custom--icon--tile);
	border-radius: var(--wp--custom--icon--tile-radius);
	background-color: var(--us-color-tile);
	color: var(--us-color-tile-icon);
}

.us-icon-tile svg {
	width: 1.5rem;
	height: 1.5rem;
}

/* A7. Card: group style `card`. White panel, hairline border, 12px radius;
   on dark sections it becomes a contrast-2 panel. A first-child image bleeds
   to the card edges. A linked heading makes the whole card clickable when the
   card has the class `has-stretched-link` (or the link has `us-stretched-link`). */
.is-style-card {
	--us-card-pad: var(--wp--preset--spacing--50);
	position: relative;
	display: flex;
	flex-direction: column;
	padding: var(--us-card-pad);
	border: var(--wp--custom--border--width) solid var(--us-color-border);
	border-radius: var(--wp--custom--radius--card);
	color: var(--us-color-text);
	transition:
		border-color var(--wp--custom--transition--base),
		box-shadow var(--wp--custom--transition--base),
		transform var(--wp--custom--transition--base);
}

.is-style-card:not(.has-background) {
	background-color: var(--us-color-panel);
}

/* a card with its own dark background: dark context + dark border */
.is-style-card.has-contrast-background-color,
.is-style-card.has-contrast-2-background-color {
	border-color: var(--wp--preset--color--contrast);
}

.is-style-card > .wp-block-image:first-child {
	margin: calc(var(--us-card-pad) * -1) calc(var(--us-card-pad) * -1) 0;
	overflow: hidden;
	border-radius: calc(var(--wp--custom--radius--card) - 1px) calc(var(--wp--custom--radius--card) - 1px) 0 0;
	border-bottom: var(--wp--custom--border--width) solid var(--us-color-border);
}

.is-style-card > .wp-block-image:first-child img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 0;
	transition: transform 600ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

.is-style-card :where(h3) {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.is-style-card > p:not([class*="is-style-"]):not([class*="us-"]) {
	color: var(--us-color-muted);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.us-stretched-link,
.is-style-card.has-stretched-link :is(h2, h3, h4) a {
	color: inherit;
	text-decoration-line: none;
}

.us-stretched-link::after,
.is-style-card.has-stretched-link :is(h2, h3, h4) a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: var(--wp--custom--radius--card);
}

.us-stretched-link:focus-visible,
.is-style-card.has-stretched-link :is(h2, h3, h4) a:focus-visible {
	outline: none;
}

.us-stretched-link:focus-visible::after,
.is-style-card.has-stretched-link :is(h2, h3, h4) a:focus-visible::after {
	outline: 3px solid var(--us-color-focus);
	outline-offset: 3px;
}

.is-style-card:is(:has(.us-stretched-link), .has-stretched-link):hover {
	border-color: var(--us-color-border-strong);
	box-shadow: var(--wp--preset--shadow--md);
}

.is-style-card:has(.us-stretched-link):hover .us-stretched-link,
.is-style-card.has-stretched-link:hover :is(h2, h3, h4) a {
	color: var(--us-color-link);
}

/* decorative affordance row at the bottom of a linked card ("Explore service") */
.is-style-card > .us-card__more {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: var(--wp--preset--spacing--40);
	color: var(--us-color-link);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

.us-card__more::after {
	content: "";
	flex: none;
	width: 1.125rem;
	height: 1.125rem;
	background-color: currentColor;
	-webkit-mask: var(--us-mask-arrow) center / contain no-repeat;
	mask: var(--us-mask-arrow) center / contain no-repeat;
	transition: transform var(--wp--custom--transition--base);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.is-style-card:is(:has(.us-stretched-link), .has-stretched-link):hover {
		transform: translateY(-3px);
	}

	.is-style-card:is(:has(.us-stretched-link), .has-stretched-link):hover > .wp-block-image:first-child img {
		transform: scale(1.03);
	}

	.is-style-card:is(:has(.us-stretched-link), .has-stretched-link):hover .us-card__more::after,
	.is-style-arrow-link a:hover::after {
		transform: translateX(3px);
	}
}

/* A8. Stats: core/columns style `divided` (section 5) or group.us-stats (grid)
   of group.us-stat; inside: paragraph.us-stat__value + paragraph.us-stat__label */
.wp-block-group.us-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
}

.us-stat {
	position: relative;
	padding-top: var(--wp--preset--spacing--40);
	border-top: var(--wp--custom--border--width) solid var(--us-color-border);
}

.us-stat::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 2.5rem;
	height: 2px;
	background-color: var(--us-color-icon);
}

.wp-block-group.us-stat > * + * {
	margin-block-start: 0.625rem;
}

.us-stat__value {
	color: var(--us-color-text);
	font-size: var(--wp--preset--font-size--huge);
	font-weight: 700;
	line-height: 1;
	letter-spacing: var(--wp--custom--letter-spacing--numeral);
	font-variant-numeric: tabular-nums lining-nums;
	white-space: nowrap;
}

/* the unit ("+") is highlighted text: <mark class="has-inline-color has-primary-light-color"> */
.us-stat__value :is(mark, .us-stat__unit) {
	margin-left: 0.04em;
	background: none;
	color: var(--us-color-icon);
}

.us-stat__label {
	max-width: 13em;
	color: var(--us-color-muted);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.45;
	text-wrap: balance;
}

@media (min-width: 782px) {
	.wp-block-group.us-stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--wp--preset--spacing--50);
	}
}

/* A9. Feature: group.us-feature = icon block (tile soft) + h3 + paragraph */
.us-feature {
	position: relative;
	padding-top: var(--wp--preset--spacing--50);
	border-top: var(--wp--custom--border--width) solid var(--us-color-border);
}

.us-feature::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 2.5rem;
	height: 2px;
	background-color: var(--us-color-icon);
}

.us-feature > :is(.us-icon-tile, .wp-block-universal-survey-icon) + * {
	margin-block-start: var(--wp--preset--spacing--40);
}

.us-feature h3 {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.us-feature > p:not([class*="is-style-"]):not([class*="us-"]) {
	color: var(--us-color-muted);
	font-size: 0.9375rem;
}

/* A10. Avatar: initials in a primary-dark circle (paragraph.us-avatar) */
.us-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	background-color: var(--wp--preset--color--primary-dark);
	box-shadow: 0 0 0 4px var(--us-color-tile);
	color: var(--wp--preset--color--base);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.03em;
}

/* A11. Tag (static label; also the project card's emirate terms) */
.us-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	width: fit-content;
	padding: 0.25rem 0.625rem;
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--us-color-tile);
	color: var(--us-color-accent);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.us-tag a {
	color: inherit;
	text-decoration: none;
}

.us-tag.is-outline {
	padding-block: calc(0.25rem - 1px);
	border: 1px solid var(--us-color-border-strong);
	background-color: transparent;
	color: var(--us-color-text);
}

/* Filter chips (rendered by the plugin's project-filter block) */
.us-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0.5rem 0.625rem 0.5rem 1.125rem;
	border: 1px solid var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color var(--wp--custom--transition--fast), border-color var(--wp--custom--transition--fast), color var(--wp--custom--transition--fast);
}

.us-chip:hover {
	border-color: var(--wp--preset--color--primary-dark);
	color: var(--wp--preset--color--primary-dark);
}

.us-chip[aria-pressed="true"] {
	border-color: var(--wp--preset--color--contrast);
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

.us-chip__count {
	min-width: 1.75rem;
	padding: 0.125rem 0.5rem;
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--x-small);
	font-variant-numeric: tabular-nums;
	text-align: center;
}

.us-chip[aria-pressed="true"] .us-chip__count {
	background-color: rgba(255, 255, 255, 0.16);
	color: var(--wp--preset--color--base);
}

/* Tag list: core/list.us-tags (software chips, page-header stats) */
.wp-block-list.us-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0;
	list-style: none;
}

.us-tags > li {
	margin: 0 !important;
	padding: 0.375rem 0.75rem;
	border: 1px solid var(--us-color-border);
	border-radius: var(--wp--custom--radius--button);
	background-color: var(--us-color-panel);
	color: var(--us-color-text);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.35;
}

/* A12. Filter bar (plugin block universal-survey/project-filter) */
.us-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--30) var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--base);
}

.us-filter[hidden] {
	display: none;
}

.us-filter > * {
	margin: 0;
}

.us-filter__label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

.us-filter__label svg {
	width: 1.125rem;
	height: 1.125rem;
	color: var(--wp--preset--color--primary);
}

.us-filter__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.us-filter__status {
	margin-left: auto;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	font-variant-numeric: tabular-nums;
}

.us-filter + *,
.wp-block-universal-survey-project-filter + * {
	margin-block-start: var(--wp--preset--spacing--50) !important;
}

@media (max-width: 599.98px) {
	.us-filter {
		padding: var(--wp--preset--spacing--40);
	}

	.us-filter__chips {
		width: 100%;
	}

	.us-filter__status {
		margin-left: 0;
	}
}

/* A13. Project cards: core/query > core/post-template.us-project-grid
   (layout default) > li.wp-block-post. Each li IS the card. Its children:
     core/post-terms (term us_emirate)        → the emirate pill row
     core/post-title (h3, not linked)         → the project name
     universal-survey/project-details         → spec, location, consultant
   The details block renders <div class="us-project-details is-card …"> around
   its paragraphs, so it is set to display:contents and the paragraphs become
   rows of the card itself (margin-top:auto on the consultant then pins it to
   the card's bottom edge, and the "lone last card" grid below can place them).
   Add `has-numbers` to the post template for the "No. 01" counters. */
.wp-block-post-template.us-project-grid,
.us-project-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--40);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: us-project;
}

@media (min-width: 600px) {
	.wp-block-post-template.us-project-grid,
	.us-project-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.wp-block-post-template.us-project-grid,
	.us-project-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--wp--preset--spacing--50);
	}
}

.us-project-grid > .wp-block-post,
.us-project-card {
	--us-card-pad: var(--wp--preset--spacing--50);
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	padding: var(--us-card-pad);
	overflow: hidden;
	border: var(--wp--custom--border--width) solid var(--us-color-border);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--us-color-panel);
	color: var(--us-color-text);
	counter-increment: us-project;
}

.wp-block-post-template.us-project-grid > .wp-block-post {
	margin: 0;
}

.us-project-grid :is(.wp-block-post, .us-project-details, .us-project-card) > * {
	margin-block: 0;
}

/* the details block's rows become card rows */
.us-project-grid .us-project-details {
	display: contents;
}

/* survey registration tick in the top-right corner */
.us-project-grid > .wp-block-post::after,
.us-project-card::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 3.5rem;
	height: 3.5rem;
	background:
		linear-gradient(var(--us-color-icon), var(--us-color-icon)) right 1.125rem top 1.5rem / 0.75rem 1px no-repeat,
		linear-gradient(var(--us-color-icon), var(--us-color-icon)) right 1.5rem top 1.125rem / 1px 0.75rem no-repeat;
	opacity: 0.6;
	pointer-events: none;
}

/* the pill row: core/post-terms (or a group .us-project-card__top around it).
   `has-numbers` appends "No. 01" at the right end of the same row. */
.us-project-grid :is(.wp-block-post-terms, .us-project-card__top) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	padding-right: 2rem;
	font-size: var(--wp--preset--font-size--x-small);
	line-height: 1.4;
}

.us-project-card__top > * {
	margin: 0 !important;
}

/* each term is a pill (core renders <span class="us-term">, or <a> when the
   taxonomy is publicly queryable) */
.us-project-grid :is(.wp-block-post-terms .us-term, .wp-block-post-terms > a, .us-tag) {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	width: fit-content;
	padding: 0.25rem 0.625rem;
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--us-color-tile);
	color: var(--us-color-accent);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.04em;
	white-space: nowrap;
	text-decoration: none;
}

.us-project-grid .wp-block-post-terms__separator {
	display: none;
}

.us-project-card__no,
.us-project-grid.has-numbers :is(.wp-block-post-terms, .us-project-card__top)::after {
	color: var(--us-color-muted);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: 0.08em;
	font-variant-numeric: tabular-nums;
	text-transform: uppercase;
}

.us-project-grid.has-numbers :is(.wp-block-post-terms, .us-project-card__top)::after {
	content: "No. " counter(us-project, decimal-leading-zero);
}

.us-project-grid :is(.us-project-card__title, .wp-block-post-title) {
	margin-block-start: var(--wp--preset--spacing--40);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.28;
	letter-spacing: -0.01em;
}

.us-project-grid .us-project-card__spec {
	margin-block-start: 0.375rem;
	color: var(--us-color-muted);
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
	line-height: 1.45;
}

.us-project-grid .us-project-card__location {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin-block: var(--wp--preset--spacing--40);
	color: var(--us-color-text);
	font-size: 0.9375rem;
	line-height: 1.45;
}

.us-project-card__location svg {
	flex: none;
	width: 1.125rem;
	height: 1.125rem;
	margin-top: 0.08em;
	color: var(--us-color-icon);
}

.us-project-grid .us-project-card__consultant {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	margin-top: auto;
	padding-top: var(--wp--preset--spacing--30);
	border-top: 1px solid var(--us-color-border);
	color: var(--us-color-text);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
}

.us-project-card__label {
	color: var(--us-color-muted);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* A last card left alone in its row spans the row and unfolds horizontally.
   Counting uses `of :not([hidden])`, so it follows the emirate filter. */
@media (min-width: 600px) and (max-width: 1023.98px) {
	.us-project-grid > :nth-child(odd of :not([hidden])):nth-last-child(1 of :not([hidden])) {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: auto auto 1fr;
		column-gap: calc(var(--wp--preset--spacing--40) + 2 * var(--us-card-pad));
		align-items: start;
	}

	.us-project-grid > :nth-child(odd of :not([hidden])):nth-last-child(1 of :not([hidden])) :is(.us-project-card__top, .wp-block-post-terms) { grid-area: 1 / 1; }
	.us-project-grid > :nth-child(odd of :not([hidden])):nth-last-child(1 of :not([hidden])) :is(.us-project-card__title, .wp-block-post-title) { grid-area: 2 / 1; }
	.us-project-grid > :nth-child(odd of :not([hidden])):nth-last-child(1 of :not([hidden])) .us-project-card__spec { grid-area: 3 / 1; }

	.us-project-grid > :nth-child(odd of :not([hidden])):nth-last-child(1 of :not([hidden])) .us-project-card__location {
		grid-area: 2 / 2;
		align-self: center;
		margin-block: var(--wp--preset--spacing--40) 0;
	}

	.us-project-grid > :nth-child(odd of :not([hidden])):nth-last-child(1 of :not([hidden])) .us-project-card__consultant {
		grid-area: 3 / 2;
		margin-top: var(--wp--preset--spacing--30);
	}
}

@media (min-width: 1024px) {
	.us-project-grid > :nth-child(3n + 1 of :not([hidden])):nth-last-child(1 of :not([hidden])) {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-template-rows: auto auto 1fr;
		column-gap: calc(var(--wp--preset--spacing--50) + 2 * var(--us-card-pad));
		align-items: start;
	}

	.us-project-grid > :nth-child(3n + 1 of :not([hidden])):nth-last-child(1 of :not([hidden])) :is(.us-project-card__top, .wp-block-post-terms) { grid-area: 1 / 1; }
	.us-project-grid > :nth-child(3n + 1 of :not([hidden])):nth-last-child(1 of :not([hidden])) :is(.us-project-card__title, .wp-block-post-title) { grid-area: 2 / 1; }
	.us-project-grid > :nth-child(3n + 1 of :not([hidden])):nth-last-child(1 of :not([hidden])) .us-project-card__spec { grid-area: 3 / 1; }

	.us-project-grid > :nth-child(3n + 1 of :not([hidden])):nth-last-child(1 of :not([hidden])) :is(.us-project-card__location, .us-project-card__consultant) {
		grid-row: 2 / span 2;
		align-self: center;
		margin: var(--wp--preset--spacing--40) 0 0;
	}

	.us-project-grid > :nth-child(3n + 1 of :not([hidden])):nth-last-child(1 of :not([hidden])) .us-project-card__location {
		grid-column: 2;
	}

	.us-project-grid > :nth-child(3n + 1 of :not([hidden])):nth-last-child(1 of :not([hidden])) .us-project-card__consultant {
		grid-column: 3;
		padding-top: 0;
		border-top: 0;
	}
}

/* A14. Facts: group.us-facts > group rows > 2 paragraphs (term, value).
   (Also styles a static <dl class="us-facts"> with div > dt + dd.) */
.wp-block-group.us-facts,
dl.us-facts {
	display: grid;
}

.us-facts > * {
	display: grid;
	grid-template-columns: minmax(6.5rem, 0.8fr) minmax(0, 1.4fr);
	gap: 0.25rem var(--wp--preset--spacing--40);
	align-items: baseline;
	margin: 0 !important;
	padding-block: 0.875rem;
	border-top: 1px solid var(--us-color-border);
}

.us-facts > *:last-child {
	border-bottom: 1px solid var(--us-color-border);
}

.us-facts > * > * {
	margin: 0 !important;
}

.us-facts > * > :first-child {
	color: var(--us-color-muted);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.5;
	text-transform: uppercase;
}

.us-facts > * > :last-child:not(:first-child) {
	color: var(--us-color-text);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.5;
	font-variant-numeric: tabular-nums;
}

/* A15. Spec list: core/list.us-spec-list, each item "Name <strong>2</strong>"
   (the bold quantity becomes the ×N badge) */
.wp-block-list.us-spec-list {
	padding: 0;
	list-style: none;
}

.us-spec-list > li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--30);
	margin: 0 !important;
	padding-block: 0.625rem;
	border-top: 1px solid var(--us-color-border);
	font-size: 0.9375rem;
	line-height: 1.45;
}

.us-spec-list > li:last-child {
	padding-bottom: 0;
}

.us-spec-list > li > strong:last-child,
.us-qty {
	flex: none;
	min-width: 2.5rem;
	padding: 0.125rem 0.5rem;
	border-radius: var(--wp--custom--radius--button);
	background-color: var(--us-color-panel-alt);
	color: var(--us-color-text);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	line-height: 1.5;
	text-align: center;
}

.us-spec-list > li > strong:last-child::before,
.us-qty::before {
	content: "×";
	content: "×" / "";
	margin-right: 0.0625rem;
	color: var(--us-color-muted);
}

/* Specs (methodology accuracy rows): group.us-specs > group rows > 2 paragraphs */
.wp-block-group.us-specs,
dl.us-specs {
	display: grid;
	font-size: 0.875rem;
}

.us-specs > * {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.125rem var(--wp--preset--spacing--30);
	margin: 0 !important;
	padding-block: 0.5rem;
	border-top: 1px solid var(--us-color-border);
}

.us-specs > * > * {
	margin: 0 !important;
}

.us-specs > * > :first-child {
	color: var(--us-color-muted);
}

.us-specs > * > :last-child:not(:first-child) {
	color: var(--us-color-text);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

/* A16. Contact list: group.us-contact-list > group rows (flex, no wrap) >
   icon block (sm, soft tile) + group.us-contact-list__body > paragraphs
   .us-contact-list__label / .us-contact-list__value / .us-contact-list__link */
.us-contact-list {
	padding: 0;
	list-style: none;
}

.us-contact-list > * {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--40);
	margin: 0 !important;
	padding-block: var(--wp--preset--spacing--40);
	border-top: 1px solid var(--us-color-border);
}

.us-contact-list > *:last-child {
	border-bottom: 1px solid var(--us-color-border);
}

.us-contact-list__body {
	flex: 1 1 auto;
	min-width: 0;
}

.us-contact-list .us-contact-list__body > * {
	margin-block: 0;
}

.us-contact-list .us-contact-list__body > * + * {
	margin-block-start: 0.25rem;
}

.us-contact-list__label {
	color: var(--us-color-muted);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.us-contact-list__value {
	color: var(--us-color-text);
	font-weight: 600;
	line-height: 1.5;
	font-variant-numeric: tabular-nums;
}

.us-contact-list__value a:where(:not(.wp-element-button)) {
	color: inherit;
	text-decoration-color: var(--us-color-border-strong);
}

.us-contact-list__value a:where(:not(.wp-element-button)):hover {
	color: var(--us-color-link);
	text-decoration-color: currentColor;
}

.us-contact-list__link {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

/* A17. Form card (contact): group.us-form-card > h3 + p + WPForms block */
.us-form-card {
	padding: var(--wp--preset--spacing--50);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--wp--preset--color--base);
	box-shadow: var(--wp--preset--shadow--md);
}

.us-form-card > h3 {
	font-size: var(--wp--preset--font-size--x-large);
}

.us-form-card > p:not([class*="is-style-"]):not([class*="us-"]) {
	color: var(--wp--preset--color--muted);
	font-size: 0.9375rem;
}

.us-form-card > :is(.wpforms-container, .wp-block-wpforms-form-selector, .us-form) {
	margin-block-start: var(--wp--preset--spacing--50);
}

/* WPForms fields in the theme's look (labels, 48px fields, focus ring) */
.us-form-card .wpforms-container .wpforms-field-label {
	color: var(--wp--preset--color--contrast);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.35;
}

.us-form-card .wpforms-container .wpforms-required-label {
	color: var(--wp--custom--color--error);
}

.us-form-card .wpforms-container :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], select, textarea) {
	width: 100%;
	max-width: 100%;
	min-height: 3rem;
	padding: 0.6875rem 0.875rem;
	border: 1px solid var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--input);
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.45;
}

.us-form-card .wpforms-container textarea {
	min-height: 9.5rem;
}

.us-form-card .wpforms-container :is(input, select, textarea):focus {
	border-color: var(--wp--preset--color--primary-dark);
	outline: 2px solid var(--wp--preset--color--primary-dark);
	outline-offset: 0;
	box-shadow: 0 0 0 5px rgba(31, 138, 192, 0.16);
}

.us-form-card .wpforms-container .wpforms-error {
	color: var(--wp--custom--color--error);
	font-weight: 600;
}

.us-form-card .wpforms-container .wpforms-submit {
	min-height: 3rem;
	padding: 0.6875rem 1.5rem;
	border: 2px solid var(--wp--preset--color--primary-dark);
	border-radius: var(--wp--custom--radius--button);
	background-color: var(--wp--preset--color--primary-dark);
	color: var(--wp--preset--color--base);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
}

.us-form-card .wpforms-container .wpforms-submit:hover {
	border-color: var(--wp--preset--color--primary-deep);
	background-color: var(--wp--preset--color--primary-deep);
}

/* Submit row: button to the right with the brand arrow, like the designed form. */
.us-form-card .wpforms-container .wpforms-submit-container {
	display: flex;
	justify-content: flex-end;
}

.us-form-card .wpforms-container .wpforms-submit {
	display: inline-flex;
	gap: 0.5rem;
	align-items: center;
}

.us-form-card .wpforms-container .wpforms-submit::after {
	content: "";
	flex: none;
	width: 1.125rem;
	height: 1.125rem;
	margin-right: -0.25rem;
	background-color: currentColor;
	-webkit-mask: var(--us-mask-arrow) center / contain no-repeat;
	mask: var(--us-mask-arrow) center / contain no-repeat;
	transition: transform var(--wp--custom--transition--base);
}

.us-form-card .wpforms-container .wpforms-submit:hover::after {
	transform: translateX(3px);
}

/* WPForms paints the confirmation panel from `div.wpforms-container-full
   .wpforms-confirmation-container-full` (0,2,1), so the theme's own rule needs the
   element selector too or the stock lime-green panel wins. */
.us-form-card div.wpforms-container .wpforms-confirmation-container-full {
	margin-block-end: 0;
	padding: 0.875rem 1rem;
	border: 1px solid rgba(31, 138, 192, 0.35);
	border-radius: var(--wp--custom--radius--small);
	background: var(--wp--preset--color--primary-tint);
	color: var(--wp--preset--color--contrast);
	font-weight: 600;
}

.us-form-card div.wpforms-container .wpforms-confirmation-container-full p {
	margin: 0;
	color: inherit;
}


/* ==========================================================================
   11. PATTERNS (static blocks.css Part B). Every section is a full-width
   core/group (tagName section) with className is-pattern-<slug>.
   Section padding (spacing-80) comes from section 4.
   ========================================================================== */

/* hero: section > cover (alignfull, style scrim-left, dim-70) > group.us-hero */
.is-pattern-hero .wp-block-cover {
	min-height: clamp(36rem, 84svh, 50rem);
	padding-top: calc(var(--wp--preset--spacing--80) + 0.5rem);
	padding-bottom: var(--wp--preset--spacing--80);
}

.us-hero > h1 {
	max-width: 12.5em;
}

.us-hero > .is-style-lead {
	max-width: 36rem;
	color: rgba(255, 255, 255, 0.84);
}

.us-hero > h1 + .is-style-lead {
	margin-block-start: var(--wp--preset--spacing--50);
}

.us-hero > .wp-block-buttons {
	margin-block-start: var(--wp--preset--spacing--60);
}

@media (max-width: 599.98px) {
	.us-hero > .wp-block-buttons > .wp-block-button {
		flex: 1 1 100%;
	}

	.us-hero > .wp-block-buttons .wp-block-button__link {
		width: 100%;
	}
}

/* stats: figures band, contrast (reads as one dark masthead under the hero) */
:is(.wp-block-post-content, .is-root-container) > .is-pattern-stats {
	padding-block: var(--wp--preset--spacing--70);
}

.is-pattern-stats.has-contrast-background-color {
	border-top: 1px solid var(--wp--preset--color--border-dark);
}

.is-pattern-stats > :is(.us-stats, .wp-block-columns) {
	margin-block-start: 0;
}

/* intro: text + framed image (home) */
.is-pattern-intro .wp-block-columns {
	gap: var(--wp--preset--spacing--60) clamp(2.5rem, 7vw, 6.5rem);
}

.us-intro__text > p:not([class*="is-style-"]):not([class*="us-"]) {
	max-width: var(--wp--custom--measure--text);
}

.us-intro__text > .is-style-checklist {
	margin-block-start: var(--wp--preset--spacing--50);
}

.us-intro__text > .is-style-arrow-link {
	margin-block-start: var(--wp--preset--spacing--40);
}

/* services-grid: 5 service cards + 1 dark "talk to a surveyor" tile */
.wp-block-group.us-card-grid {
	gap: var(--wp--preset--spacing--40);
}

@media (min-width: 1024px) {
	.wp-block-group.us-card-grid {
		gap: var(--wp--preset--spacing--50);
	}
}

.us-service-card > p:not([class*="is-style-"]):not([class*="us-"]) {
	max-width: 30rem;
}

/* side-by-side cards share row tracks (image · title · summary · more) */
@supports (grid-template-rows: subgrid) {
	@media (min-width: 600px) {
		.us-card-grid > .us-service-card {
			grid-row: span 4;
		}

		.us-card-grid > .us-service-card:not(.is-cta) {
			display: grid;
			grid-template-rows: subgrid;
			row-gap: 0;
		}

		.us-card-grid > .us-service-card:not(.is-cta) > * + * {
			margin-block-start: var(--wp--style--block-gap, 1.5rem);
		}

		.us-card-grid > .us-service-card:not(.is-cta) > .us-card__more {
			margin-block-start: 0;
		}
	}
}

.us-service-card.is-cta {
	justify-content: flex-start;
	background-image: var(--us-motif-contour);
	background-repeat: no-repeat;
	background-position: right -40rem top -14rem;
	background-size: 75rem 50rem;
}

.us-service-card.is-cta > :is(.us-icon-tile, .wp-block-universal-survey-icon) + * {
	margin-block-start: var(--wp--preset--spacing--50);
}

.us-service-card.is-cta h3 {
	max-width: 13em;
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1.2;
}

.us-service-card.is-cta > .wp-block-buttons {
	margin-top: auto;
	padding-top: var(--wp--preset--spacing--50);
}

.us-service-card.is-cta .wp-block-button,
.us-service-card.is-cta .wp-block-button__link {
	width: 100%;
}

.us-service-card.is-cta > .us-card__phone {
	margin-block-start: var(--wp--preset--spacing--30);
	color: var(--us-color-muted);
	font-size: var(--wp--preset--font-size--small);
	text-align: center;
}

.us-service-card.is-cta > .us-card__phone a {
	color: var(--wp--preset--color--base);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* why-us: section head (left, sticky on desktop) + 2 × 2 features */
.is-pattern-why-us .wp-block-columns {
	gap: var(--wp--preset--spacing--60) clamp(2.5rem, 6vw, 6rem);
}

.wp-block-group.us-feature-grid {
	gap: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
}

.us-why__head > .wp-block-buttons {
	margin-block-start: var(--wp--preset--spacing--50);
}

@media (min-width: 782px) {
	.wp-block-columns > .wp-block-column.us-why__head {
		flex: 0 0 36%;
	}
}

@media (min-width: 1024px) {
	.us-why__head {
		position: sticky;
		top: calc(var(--wp--custom--header--height-desktop) + var(--wp--preset--spacing--50));
		align-self: flex-start;
	}
}

/* featured-projects: section head + query (6 featured) + "View all projects" */
.is-pattern-featured-projects .wp-block-query {
	margin-block-start: var(--wp--preset--spacing--60);
}

/* cta: an inset, rounded cover card on a surface band. Directly after another
   surface section the band continues it (no top padding). Text left, actions
   right with a hairline divider from 1024px. Overlay dim-80. */
:is(.wp-block-post-content, .is-root-container) > .wp-block-group.is-pattern-cta {
	padding-block: var(--wp--preset--spacing--80);
}

:is(.wp-block-post-content, .is-root-container) > .has-surface-background-color + .wp-block-group.is-pattern-cta.has-surface-background-color {
	padding-top: 0;
}

.is-pattern-cta > .wp-block-cover {
	min-height: 0;
	padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--50);
	border-radius: var(--wp--custom--radius--card);
}

@media (min-width: 782px) {
	.is-pattern-cta > .wp-block-cover {
		padding: var(--wp--preset--spacing--70);
	}
}

.wp-block-group.us-cta {
	display: grid;
	gap: var(--wp--preset--spacing--50);
}

.wp-block-group.us-cta > * {
	margin: 0;
}

.us-cta__text > h2 {
	max-width: 15em;
}

.us-cta__text > p:not([class*="is-style-"]):not([class*="us-"]) {
	max-width: 34rem;
	color: rgba(255, 255, 255, 0.84);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.55;
}

.us-cta__actions > .us-cta__phone {
	margin-block-start: var(--wp--preset--spacing--40);
	color: rgba(255, 255, 255, 0.84);
	font-size: var(--wp--preset--font-size--small);
}

.us-cta__phone a {
	color: var(--wp--preset--color--base);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

@media (max-width: 599.98px) {
	.us-cta__actions .wp-block-button {
		flex: 1 1 100%;
	}

	.us-cta__actions .wp-block-button__link {
		width: 100%;
	}
}

@media (min-width: 1024px) {
	.wp-block-group.us-cta {
		grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
		align-items: stretch;
		gap: var(--wp--preset--spacing--60);
	}

	.wp-block-group.us-cta__actions {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding-left: var(--wp--preset--spacing--60);
		border-left: 1px solid rgba(255, 255, 255, 0.16);
	}

	.us-cta__actions .wp-block-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.us-cta__actions .wp-block-button,
	.us-cta__actions .wp-block-button__link {
		width: 100%;
	}
}

/* page-header: top of inner pages (holds the h1).
   Default: contrast band + contour, reticle and fading survey grid.
   Photo variant (page-header-photo): the section holds a cover (alignfull). */
.is-pattern-page-header {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.is-pattern-page-header:not(:has(> .wp-block-cover)) {
	padding-block: var(--wp--preset--spacing--80) calc(var(--wp--preset--spacing--80) - 0.5rem);
	background-image: var(--us-motif-contour);
	background-repeat: no-repeat;
	background-position: 62% 50%;
	background-size: 75rem 50rem;
}

.is-pattern-page-header:not(:has(> .wp-block-cover))::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--us-motif-grid);
	background-position: right -1px top -1px;
	background-size: 4rem 4rem;
	-webkit-mask-image: linear-gradient(to left, #000 0%, rgba(0, 0, 0, 0.5) 40%, transparent 80%);
	mask-image: linear-gradient(to left, #000 0%, rgba(0, 0, 0, 0.5) 40%, transparent 80%);
	pointer-events: none;
}

.is-pattern-page-header > .wp-block-cover {
	min-height: clamp(22rem, 38vw, 30rem);
	padding-block: var(--wp--preset--spacing--80);
}

.us-page-header > :is(h1, .wp-block-post-title, .wp-block-query-title) {
	max-width: 15em;
}

.us-page-header > .is-style-lead {
	max-width: 38rem;
	color: rgba(255, 255, 255, 0.82);
}

.us-page-header > :is(h1, .wp-block-post-title, .wp-block-query-title) + .is-style-lead {
	margin-block-start: var(--wp--preset--spacing--40);
}

.us-page-header > .wp-block-buttons {
	margin-block-start: var(--wp--preset--spacing--50);
}

/* optional stat chips under the lead: core/list.us-tags.us-page-header__stats,
   items like "<strong>25</strong> projects" */
.us-page-header > .us-page-header__stats {
	margin-block-start: var(--wp--preset--spacing--50);
	gap: var(--wp--preset--spacing--20);
}

.us-page-header__stats > li {
	display: inline-flex;
	align-items: baseline;
	gap: 0.375rem;
	padding: 0.4375rem 0.9375rem;
	border-color: var(--us-color-border-strong);
	border-radius: var(--wp--custom--radius--pill);
	background-color: var(--us-color-panel-alt);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: var(--us-color-muted);
	font-size: var(--wp--preset--font-size--small);
}

.us-page-header__stats strong {
	color: var(--us-color-text);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

@media (min-width: 782px) {
	/* the control-point reticle sits on the contour peak (same canvas) */
	.is-pattern-page-header:not(:has(> .wp-block-cover)) {
		background-image: var(--us-motif-reticle), var(--us-motif-contour);
		background-position: 75% 50%;
	}
}

/* story: about text + framed image + key facts */
.is-pattern-story .wp-block-columns {
	gap: var(--wp--preset--spacing--60) clamp(2.5rem, 7vw, 6.5rem);
}

.us-story__text > p:not([class*="is-style-"]):not([class*="us-"]) {
	max-width: var(--wp--custom--measure--text);
}

.us-story__text > h2 + p {
	margin-block-start: var(--wp--preset--spacing--50);
}

.us-story__aside > .us-facts {
	margin-block-start: var(--wp--preset--spacing--50);
}

@media (min-width: 782px) {
	.wp-block-columns > .wp-block-column.us-story__aside {
		flex: 0 0 42%;
	}
}

@media (min-width: 1024px) {
	.us-story__aside {
		position: sticky;
		top: calc(var(--wp--custom--header--height-desktop) + var(--wp--preset--spacing--50));
		align-self: flex-start;
	}
}

/* mission: 3 commitments (cards: head row = icon + number) */
.wp-block-group.us-mission-item__head,
.wp-block-group.us-method-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.us-mission-item__head > *,
.us-method-card__head > * {
	margin: 0 !important;
}

.us-mission-item__no,
.us-method-card__no {
	color: var(--us-color-muted);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: 0.08em;
	font-variant-numeric: tabular-nums;
}

.us-mission-item > .us-mission-item__head + *,
.us-method-card > .us-method-card__head + * {
	margin-block-start: var(--wp--preset--spacing--50);
}

@media (min-width: 600px) and (max-width: 1023.98px) {
	:is(.is-pattern-mission, .is-pattern-team) .wp-block-group.is-layout-grid.columns-3 {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (min-width: 782px) {
	:is(.is-pattern-mission, .is-pattern-team) .wp-block-group.is-layout-grid.columns-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* team: role cards (card.us-person: avatar paragraph + group.us-person__body) */
.wp-block-group.us-person {
	flex-direction: row;
	align-items: center;
	gap: var(--wp--preset--spacing--40);
}

.wp-block-group.us-person > * {
	margin: 0;
}

.us-person__body > * {
	margin-block: 0;
}

.us-person__body > * + * {
	margin-block-start: 0.25rem;
}

.us-person__role {
	color: var(--us-color-muted);
	font-size: 0.9375rem;
	line-height: 1.4;
}

/* closing note under a card grid: group (flex) = icon block (sm) + paragraph.
   Shared by team (.us-team-note) and equipment (.us-equipment-note). */
:is(.us-team-note, .us-equipment-note) {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--us-color-muted);
	font-size: 0.9375rem;
	line-height: 1.45;
}

:is(.us-team-note, .us-equipment-note) > * {
	margin: 0;
}

:is(.is-pattern-team, .is-pattern-equipment) > :is(.us-team-note, .us-equipment-note) {
	margin-block-start: var(--wp--preset--spacing--50);
}

:is(.us-team-note, .us-equipment-note) > .wp-block-universal-survey-icon {
	border-radius: 50%;
}

/* license: trade-license "certificate" card on a contrast section */
.is-pattern-license {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.is-pattern-license::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--us-motif-grid);
	background-position: right -1px top -1px;
	background-size: 4rem 4rem;
	-webkit-mask-image: linear-gradient(to left, #000 0%, rgba(0, 0, 0, 0.45) 45%, transparent 85%);
	mask-image: linear-gradient(to left, #000 0%, rgba(0, 0, 0, 0.45) 45%, transparent 85%);
	pointer-events: none;
}

.is-pattern-license .wp-block-columns {
	gap: var(--wp--preset--spacing--60) clamp(2.5rem, 6vw, 6rem);
}

.us-license__text > p:not([class*="is-style-"]):not([class*="us-"]) {
	max-width: var(--wp--custom--measure--narrow);
	color: var(--us-color-muted);
}

.us-license-card {
	position: relative;
	padding: var(--wp--preset--spacing--50);
	border: 1px solid var(--us-color-border);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--us-color-panel);
	box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
}

/* reticle accent centred on the card's top-right corner */
.us-license-card::after {
	content: "";
	position: absolute;
	top: -4rem;
	right: -4rem;
	width: 8rem;
	height: 8rem;
	background-image: var(--us-motif-reticle);
	background-repeat: no-repeat;
	background-position: -52.25rem -21rem;
	background-size: 75rem 50rem;
	pointer-events: none;
}

.wp-block-group.us-license-card__head {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--40);
	padding-bottom: var(--wp--preset--spacing--40);
}

.us-license-card__head > * {
	margin: 0 !important;
}

.us-license-card__head .wp-block-group > * {
	margin-block: 0;
}

.us-license-card__title {
	color: var(--us-color-muted);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.us-license-card__no {
	color: var(--us-color-text);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	font-variant-numeric: tabular-nums;
}

.us-license-card > .us-facts {
	margin-block-start: 0;
}

.us-license-card .us-facts > *:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

@media (min-width: 782px) {
	.us-license-card {
		padding: var(--wp--preset--spacing--60);
	}

	.wp-block-columns > .wp-block-column.us-license__card-col {
		flex: 0 0 52%;
	}
}

/* qhse: intro (left) + 8 commitments (right): group.us-commitments (grid) >
   group.us-commitment (h3 + paragraph), check tile drawn by CSS */
.is-pattern-qhse .wp-block-columns {
	gap: var(--wp--preset--spacing--60) clamp(2.5rem, 6vw, 6rem);
}

.wp-block-group.us-commitments {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
	padding: 0;
	list-style: none;
}

.us-commitments > * {
	margin: 0 !important;
}

.us-commitment {
	position: relative;
	padding-top: var(--wp--preset--spacing--40);
	padding-left: 2.75rem;
	border-top: 1px solid var(--us-color-border);
}

.us-commitment::before,
.us-commitment::after {
	content: "";
	position: absolute;
	left: 0;
	top: calc(var(--wp--preset--spacing--40) + 0.0625rem);
	width: 1.75rem;
	height: 1.75rem;
}

.us-commitment::before {
	border-radius: var(--wp--custom--radius--small);
	background-color: var(--us-color-tile);
}

.us-commitment::after {
	background-color: var(--us-color-tile-icon);
	-webkit-mask: var(--us-mask-check) center / 0.875rem no-repeat;
	mask: var(--us-mask-check) center / 0.875rem no-repeat;
}

.us-commitment > h3 {
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.4;
	letter-spacing: -0.005em;
}

.wp-block-group.us-commitment > p {
	margin-block-start: 0.25rem;
	color: var(--us-color-muted);
	font-size: 0.9375rem;
	line-height: 1.55;
}

@media (min-width: 600px) {
	.wp-block-group.us-commitments {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 782px) {
	.wp-block-columns > .wp-block-column.us-qhse__intro {
		flex: 0 0 34%;
	}
}

@media (min-width: 1024px) {
	.us-qhse__intro {
		position: sticky;
		top: calc(var(--wp--custom--header--height-desktop) + var(--wp--preset--spacing--50));
		align-self: flex-start;
	}
}

/* service-index: jump links to the 5 services.
   group.us-service-index > heading.us-service-index__title (h2) +
   core/list.us-service-index__list > list items with class has-icon-<service>,
   each holding one link (#anchor). Numbers 01–05 are CSS counters. */
:is(.wp-block-post-content, .is-root-container) > .is-pattern-service-index {
	padding-block: var(--wp--preset--spacing--60);
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.us-service-index__title {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	color: var(--us-color-muted);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: var(--wp--custom--letter-spacing--eyebrow);
	text-transform: uppercase;
}

.wp-block-list.us-service-index__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.625rem;
	padding: 0;
	list-style: none;
	counter-reset: us-service;
}

.us-service-index > .us-service-index__list {
	margin-block-start: var(--wp--preset--spacing--40);
}

.us-service-index__list > li {
	margin: 0 !important;
	counter-increment: us-service;
}

.us-service-index__list > li > a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.875rem;
	height: 100%;
	min-height: 3.75rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--small);
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: border-color var(--wp--custom--transition--fast), background-color var(--wp--custom--transition--fast), color var(--wp--custom--transition--fast);
}

.us-service-index__list > li > a::before {
	content: "";
	flex: none;
	width: 1.5rem;
	height: 1.5rem;
	background-color: var(--wp--preset--color--primary);
	-webkit-mask: var(--us-icon-mask, var(--us-mask-star)) center / contain no-repeat;
	mask: var(--us-icon-mask, var(--us-mask-star)) center / contain no-repeat;
}

.us-service-index__list > li > a::after {
	content: counter(us-service, decimal-leading-zero);
	margin-left: auto;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 400;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.06em;
}

.us-service-index__list > li > a:hover {
	border-color: var(--wp--preset--color--primary);
	background-color: var(--wp--preset--color--primary-tint);
	color: var(--wp--preset--color--primary-deep);
}

@media (min-width: 600px) {
	.wp-block-list.us-service-index__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.wp-block-list.us-service-index__list {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: var(--wp--preset--spacing--30);
	}

	.us-service-index__list > li > a {
		flex-direction: column;
		align-items: flex-start;
		justify-content: space-between;
		gap: var(--wp--preset--spacing--40);
		min-height: 8.5rem;
		padding: 1.125rem 1.125rem 1.25rem;
	}

	.us-service-index__list > li > a::before {
		width: 1.75rem;
		height: 1.75rem;
	}

	.us-service-index__list > li > a::after {
		position: absolute;
		top: 1.125rem;
		right: 1.125rem;
	}
}

/* service-detail: one per service (anchor = service id). Image and text in two
   columns; add `is-reversed` on the 2nd and 4th section to swap sides. */
.is-pattern-service-detail .wp-block-columns {
	gap: var(--wp--preset--spacing--60) clamp(2.5rem, 6vw, 6rem);
}

.us-service-detail__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--card);
	box-shadow: var(--wp--preset--shadow--md);
}

.us-service-detail__body > h2 {
	max-width: 15em;
}

.us-service-detail__body > p:not([class*="is-style-"]):not([class*="us-"]) {
	max-width: var(--wp--custom--measure--text);
	color: var(--us-color-muted);
}

.us-service-detail__body > h2 + p {
	margin-block-start: var(--wp--preset--spacing--40);
}

.us-service-detail__body > .is-style-checklist {
	margin-block-start: var(--wp--preset--spacing--50);
	padding-top: var(--wp--preset--spacing--50);
	border-top: 1px solid var(--us-color-border);
	font-size: 0.9375rem;
}

@media (min-width: 782px) {
	.is-pattern-service-detail.is-reversed .wp-block-columns {
		flex-direction: row-reverse;
	}
}

/* methodology: 4 method cards with stated accuracies (contrast + contour) */
:is(.wp-block-post-content, .is-root-container) > .is-pattern-methodology,
.is-pattern-methodology {
	background-image: var(--us-motif-contour);
	background-repeat: no-repeat;
	background-position: right -28rem top -18rem;
	background-size: 75rem 50rem;
}

.wp-block-group.us-method-grid {
	gap: var(--wp--preset--spacing--40);
}

@media (min-width: 600px) and (max-width: 781.98px) {
	.is-pattern-methodology .wp-block-group.is-layout-grid.columns-2 {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (min-width: 1024px) {
	.wp-block-group.us-method-grid {
		gap: var(--wp--preset--spacing--50);
	}
}

.us-method-card {
	--us-card-pad: var(--wp--preset--spacing--50);
}

.us-method-card > p:not([class*="is-style-"]):not([class*="us-"]) {
	max-width: 36rem;
}

.us-method-card > .us-specs {
	margin-top: auto;
	padding-top: var(--wp--preset--spacing--40);
}

/* data-delivery: group.us-formats > group.us-format (icon block + title + text) */
.is-pattern-data-delivery .wp-block-columns {
	gap: var(--wp--preset--spacing--60) clamp(2.5rem, 6vw, 6rem);
}

.us-formats {
	padding: 0;
	list-style: none;
	border: 1px solid var(--us-color-border);
	border-radius: var(--wp--custom--radius--card);
	background-color: var(--us-color-panel);
}

.us-formats > * {
	margin: 0 !important;
}

.wp-block-group.us-format {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	column-gap: var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
}

.us-format > * {
	margin: 0 !important;
}

.us-format + .us-format {
	border-top: 1px solid var(--us-color-border);
}

.us-format > :is(.us-icon-tile, .wp-block-universal-survey-icon) {
	grid-row: span 2;
}

.us-format__title {
	color: var(--us-color-text);
	font-weight: 700;
	line-height: 1.35;
}

.us-format__text {
	color: var(--us-color-muted);
	font-size: 0.9375rem;
	line-height: 1.5;
}

/* equipment: 6 grouped lists with icons */
.wp-block-group.us-equipment-grid {
	gap: var(--wp--preset--spacing--40);
}

@media (min-width: 1024px) {
	.wp-block-group.us-equipment-grid {
		gap: var(--wp--preset--spacing--50);
	}
}

.wp-block-group.us-equipment-card__head {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--30);
}

.us-equipment-card__head > * {
	margin: 0 !important;
}

.us-equipment-card > :is(.us-spec-list, .us-tags) {
	margin-block-start: var(--wp--preset--spacing--40);
}

@media (min-width: 600px) {
	.us-equipment-grid > .us-equipment-card.is-tall {
		grid-row: span 2;
	}

	.us-equipment-grid > .us-equipment-card.is-wide {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1024px) {
	.us-equipment-grid > .wp-block-group.us-equipment-card.is-wide {
		display: grid;
		grid-template-columns: calc(100% / 3) minmax(0, 1fr);
		align-items: center;
		column-gap: var(--wp--preset--spacing--50);
	}

	.us-equipment-grid > .us-equipment-card.is-wide > * {
		margin-block-start: 0;
	}
}

/* projects-list: filter bar + all projects (query) */
.is-pattern-projects-list .wp-block-query {
	margin-block-start: var(--wp--preset--spacing--50);
}

/* contact: contact details (left) + quote form card (right) */
.is-pattern-contact .wp-block-columns {
	gap: var(--wp--preset--spacing--60) clamp(2.5rem, 5vw, 5rem);
}

.us-contact__details > .us-contact-list {
	margin-block-start: var(--wp--preset--spacing--50);
}

@media (min-width: 782px) {
	.wp-block-columns > .wp-block-column.us-contact__details {
		flex: 0 0 38%;
	}
}


/* --------------------------------------------------------------------------
   12. Templates: plain page, single post, blog / archive / search, 404
   -------------------------------------------------------------------------- */
.site-main > .us-entry {
	padding-block: var(--wp--preset--spacing--70) var(--wp--preset--spacing--80);
}

.site-main > .is-pattern-page-header {
	padding-block: var(--wp--preset--spacing--80) calc(var(--wp--preset--spacing--80) - 0.5rem);
}

.us-page-header > .wp-block-search {
	max-width: 32rem;
	margin-block-start: var(--wp--preset--spacing--50);
}

.wp-block-post-template.us-post-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--40);
}

.wp-block-post-template.us-post-grid > li {
	margin: 0;
}

.us-post-grid .is-style-card {
	height: 100%;
}

.us-post-grid .wp-block-post-title {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.3;
}

.us-post-grid .wp-block-post-title a {
	color: inherit;
	text-decoration-line: none;
}

.us-post-grid .wp-block-post-title a:hover {
	color: var(--us-color-link);
	text-decoration-line: underline;
}

.us-post-grid .wp-block-post-excerpt {
	color: var(--us-color-muted);
	font-size: 0.9375rem;
}

@media (min-width: 600px) {
	.wp-block-post-template.us-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.wp-block-post-template.us-post-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--wp--preset--spacing--50);
	}
}

.us-entry .wp-block-post-navigation-link {
	font-weight: 600;
}

.us-entry__terms {
	color: var(--us-color-muted);
	font-size: var(--wp--preset--font-size--small);
}


/* --------------------------------------------------------------------------
   13. Motion preferences & print
   -------------------------------------------------------------------------- */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.wp-block-social-links.is-style-whatsapp-float .wp-social-link:hover {
		transform: translateY(-2px);
	}

	.wp-block-button:is(.is-style-arrow, .is-style-outline-arrow, .has-arrow) > .wp-block-button__link:hover::after {
		transform: translateX(3px);
	}

	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover::after {
		transform: translateX(3px);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.wp-site-blocks > header.wp-block-template-part {
		position: static;
	}

	.site-header {
		box-shadow: none;
	}

	.wp-block-navigation__responsive-container-open,
	.wp-block-social-links.is-style-whatsapp-float {
		display: none !important;
	}
}
