/*
Theme Name: Y&J Slab
Theme URI: https://yjbathrenovators.com/
Author: Dependent Media
Author URI: https://dependentmedia.com/
Description: Y&J Bath Renovators. Warm porcelain and navy bands with drawn marble veining, their own job photos set as portrait slabs with thin joints like the large-format tile they install, a thin lit line around photos and buttons like the lit mirrors in their bathrooms, the logo's navy and amber, a glass-door wipe on the home banner.
Version: 1.3.0
Requires at least: 6.8
Requires PHP: 8.1
License: Proprietary (built for Y&J Bath Renovators)
Text Domain: yjb-slab
*/

@font-face { font-family: Newsreader; font-style: normal; font-weight: 400 600; font-display: swap; src: url(assets/fonts/newsreader-display.woff2) format("woff2"); }
@font-face { font-family: Newsreader; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/fonts/newsreader-display-italic.woff2) format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/hanken-grotesk.woff2) format("woff2"); }

:root {
	--navy: #1C3F60;
	--deep: #12293F;
	--amber: #F5A623;
	--amber-hi: #FFBB45;
	--amber-ink: #8A5600;
	--text: #2C3B49;
	--muted: #52626F;
	--stone: #F6F3EE;
	--pale: #F6F3EE;
	--joint: #E2DDD4;
	--white: #FFFFFF;
	--err: #A82A1E;
	--on-dark: #DAE3EB;
	--line-dark: rgba(255, 255, 255, .2);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--glass: cubic-bezier(.62, .02, .2, 1);
	--display: Newsreader, Georgia, "Times New Roman", serif;
	--body: "Hanken Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
	--gut: clamp(16px, 4vw, 40px);
	--wide: 1240px;
	--joint-w: 4px;
	--head-h: 78px;
}

/* veins:start (written by tools/make-veins.py: do not edit by hand) */
:root { --veins: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 1000' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3Cpath id='a' d='M-140-473c8 12 37 47 50 72c14 26 22 55 32 82c9 28 17 57 27 84c10 28 24 54 33 82c8 28 12 57 16 86c5 29 1 61 10 88c9 27 27 52 45 75c18 23 41 42 62 63c22 20 44 38 66 58c22 20 44 39 66 59c21 20 46 37 64 59c19 23 34 49 48 74c15 26 27 52 39 79c12 27 23 54 32 82c10 28 18 56 26 84c8 28 19 56 23 85c3 29 0 59-1 88c-1 30-3 59-6 88c-2 29-7 58-10 87c-2 30-5 59-5 88c0 30 3 59 6 88c4 29 8 59 15 87c8 28 20 55 31 82c12 27 25 54 39 79c15 25 33 49 50 73c17 24 42 60 51 72'/%3E%3Cpath id='b' d='M-140-264c10 10 44 40 62 62c19 22 36 47 51 72c16 24 29 51 44 76c16 25 32 49 48 74c16 25 31 50 47 74c16 25 31 51 47 75c17 24 38 45 53 70c14 26 24 54 34 81c10 28 17 56 24 85c8 28 13 57 20 86c8 28 15 56 26 84c11 27 25 53 40 78c14 26 31 50 48 74c17 24 35 47 54 69c19 22 39 45 60 64c22 20 46 37 70 54c24 17 49 33 73 50c24 17 47 34 70 52c23 18 46 37 68 56c23 19 45 39 68 56c24 18 48 34 73 50c25 16 50 30 76 44c25 15 51 29 77 42c26 14 51 33 78 41c28 8 59 8 88 7c29-1 73-11 87-13'/%3E%3Cpath id='c' d='M-140-70c13 7 52 27 78 42c25 14 49 31 74 46c25 16 50 31 75 47c25 16 50 31 73 49c24 17 46 37 69 55c23 18 47 35 70 53c23 17 46 36 69 54c23 18 47 36 69 55c23 18 44 38 65 59c21 20 38 47 61 64c23 17 52 28 79 38c27 10 56 18 85 23c29 6 58 6 88 10c29 3 58 7 87 11c29 3 58 6 87 9c29 4 59 8 88 11c29 4 58 8 87 10c29 2 59 2 88 2c29 1 59 1 88 1c29-1 59-4 88-5c29 0 59 2 88 3c29 1 59 6 88 2c28-4 55-25 83-28c29-3 60 1 88 8c28 7 55 20 82 32c26 13 64 36 77 43'/%3E%3Cpath id='d' d='M-140 195c9 12 35 47 53 70c19 23 38 45 57 67c18 23 36 47 55 69c20 22 40 43 61 64c20 20 42 40 63 61c21 20 43 40 64 60c22 20 44 39 65 59c22 20 45 39 67 58c22 19 44 38 66 58c21 20 42 41 63 61c21 20 44 40 65 60c21 20 43 40 62 62c20 21 37 45 56 68c19 22 39 44 59 66c20 21 41 42 62 62c21 20 41 42 65 59c24 16 52 28 79 39c27 11 55 21 83 29c28 8 57 12 86 18c29 6 58 12 86 18c29 7 57 15 86 21c28 6 60 5 86 17c26 11 50 32 70 53c20 22 33 49 49 73c15 25 28 52 43 77c15 25 38 63 45 76'/%3E%3Cpath id='e' d='M-140 456c12 8 48 33 73 49c24 17 48 33 72 50c24 17 48 35 70 54c23 18 45 37 66 58c21 20 44 40 61 64c16 24 26 52 36 80c11 27 18 56 26 84c8 28 13 57 20 86c6 28 13 57 19 86c6 28 11 57 18 86c7 28 15 57 25 84c10 27 23 54 37 80c14 26 28 52 46 75c17 23 38 45 59 65c21 20 45 38 67 57c23 18 46 37 69 55c23 18 47 35 70 53c23 18 47 36 69 55c22 19 42 41 64 61c21 20 42 40 65 58c22 19 46 36 69 54c24 19 45 38 69 55c24 17 49 33 74 48c25 15 52 28 77 44c25 15 49 32 73 48c25 15 63 38 76 45'/%3E%3Cpath id='f' d='M-140 703c12 8 53 29 73 50c19 21 33 49 43 76c10 27 13 57 17 86c4 29 6 59 7 88c1 29-1 59-2 88c-1 29 2 60-5 88c-7 28-21 55-36 80c-15 25-36 46-53 70c-18 24-31 51-51 72c-20 22-42 42-67 57c-26 14-55 20-83 29c-28 9-57 15-85 23c-28 9-57 16-84 27c-27 11-53 25-79 40c-25 14-51 30-73 48c-23 18-45 39-63 62c-17 23-32 49-45 75c-13 27-24 54-33 82c-9 28-17 56-23 85c-6 28-11 58-14 87c-2 29-4 58-3 88c0 29 2 58 4 88c2 29 4 58 8 87c4 29 4 62 16 87c13 25 37 46 60 65c22 18 62 38 75 45'/%3E%3C/defs%3E%3Cg fill='none' stroke='%237C93AB' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg opacity='.04'%3E%3Cuse href='%23a' stroke-width='44'/%3E%3Cuse href='%23b' stroke-width='78'/%3E%3Cuse href='%23c' stroke-width='44'/%3E%3Cuse href='%23d' stroke-width='78'/%3E%3Cuse href='%23e' stroke-width='78'/%3E%3Cuse href='%23f' stroke-width='44'/%3E%3C/g%3E%3Cg opacity='.045'%3E%3Cuse href='%23a' stroke-width='31'/%3E%3Cuse href='%23b' stroke-width='55'/%3E%3Cuse href='%23c' stroke-width='31'/%3E%3Cuse href='%23d' stroke-width='55'/%3E%3Cuse href='%23e' stroke-width='55'/%3E%3Cuse href='%23f' stroke-width='31'/%3E%3C/g%3E%3Cg opacity='.05'%3E%3Cuse href='%23a' stroke-width='19'/%3E%3Cuse href='%23b' stroke-width='34'/%3E%3Cuse href='%23c' stroke-width='19'/%3E%3Cuse href='%23d' stroke-width='34'/%3E%3Cuse href='%23e' stroke-width='34'/%3E%3Cuse href='%23f' stroke-width='19'/%3E%3C/g%3E%3Cg opacity='.05'%3E%3Cuse href='%23a' stroke-width='10'/%3E%3Cuse href='%23b' stroke-width='17'/%3E%3Cuse href='%23c' stroke-width='10'/%3E%3Cuse href='%23d' stroke-width='17'/%3E%3Cuse href='%23e' stroke-width='17'/%3E%3Cuse href='%23f' stroke-width='10'/%3E%3C/g%3E%3Cg stroke-width='1.1' opacity='.42'%3E%3Cuse href='%23a'/%3E%3Cuse href='%23b'/%3E%3Cuse href='%23c'/%3E%3Cuse href='%23d'/%3E%3Cuse href='%23e'/%3E%3Cuse href='%23f'/%3E%3Cpath d='M615 744c6 8 23 29 35 44c12 14 25 28 37 42c12 14 29 36 35 44M443-11c7 6 29 23 43 35c14 13 33 33 40 40M1414 1155c6 7 25 27 37 42c12 14 28 37 34 45M495 331c6 7 23 29 34 45c10 15 24 40 29 48M185 705c6 7 24 28 36 42c12 15 24 29 35 44c10 16 19 32 29 48c9 16 24 40 29 48M147 1004c9 1 37 2 55 3c19 0 38-1 56-1c19-1 38-2 56-5c19-3 37-7 55-14c17-6 40-22 49-27M772 1490c5 8 23 30 32 46c9 16 17 34 22 52c4 18 6 37 7 55c0 19-2 47-3 56'/%3E%3C/g%3E%3C/g%3E%3Cpath fill='%237C93AB' opacity='.34' d='M-140-473c8 12 36 47 49 73c14 25 21 54 31 82c10 28 18 56 28 83c10 28 25 54 33 82c8 28 12 57 17 86c4 29 0 61 9 88c9 27 27 53 45 77c17 23 40 42 62 62c21 20 44 38 66 58c23 19 44 39 66 58c22 20 46 37 65 60c19 22 33 48 47 74c14 25 26 52 37 79c12 27 23 54 33 82c10 27 19 55 27 83c9 28 19 56 23 85c4 29 1 59 0 88c-2 29-4 59-7 88c-3 29-9 58-11 87c-3 29-5 59-4 88c0 30 3 59 6 88c4 29 8 59 16 87c8 28 19 55 31 82c11 27 24 54 38 80c15 25 33 48 50 72c17 24 43 60 52 72c8 11 8 12 0 0c-9-13-34-49-50-73c-17-24-35-47-50-72c-15-26-28-52-39-79c-12-27-24-54-31-82c-8-28-12-58-15-87c-4-29-5-58-5-88c0-29 4-58 6-87c3-30 7-59 9-88c2-29 4-58 5-88c1-29 4-59 0-88c-3-29-14-57-22-85c-8-28-15-57-24-85c-10-28-20-55-32-82c-12-27-26-53-40-79c-15-25-30-51-49-73c-19-22-43-40-65-60c-22-19-43-39-65-59c-22-20-44-39-65-59c-21-21-44-40-62-62c-18-23-37-48-46-75c-9-27-6-58-10-87c-5-29-9-58-17-86c-8-28-22-55-32-82c-10-28-17-56-27-84c-10-28-18-56-32-82c-14-26-43-60-51-72c-8-12-8-12 0 0zM499 739c9 1 38 4 58 4c19 1 38 1 58 2c19 1 38 4 57 6c19 2 39 4 58 8c19 4 37 8 55 15c18 7 43 22 52 27c9 4 9 4 0 0c-8-5-33-21-51-28c-18-7-37-11-56-15c-19-4-38-7-57-10c-20-2-39-3-58-4c-20-1-39-1-58-1c-20-1-49-3-58-4c-10 0-10-1 0 0zM-140-264c10 10 44 40 62 62c19 23 35 47 50 72c16 25 27 53 42 78c15 26 32 49 48 74c16 24 33 49 49 73c16 25 31 50 48 74c16 24 38 45 52 71c14 25 23 54 32 81c9 28 13 57 21 86c7 28 13 57 22 85c9 28 18 56 29 83c12 27 25 53 40 79c15 25 31 49 48 74c17 24 33 48 52 71c18 23 37 47 58 67c22 20 49 35 73 51c24 16 50 31 74 48c24 16 48 34 71 52c23 18 45 37 68 56c22 19 42 41 65 59c23 18 48 35 73 50c25 16 52 28 78 42c26 14 52 27 78 41c26 13 51 32 78 40c28 8 59 8 88 7c29 0 73-10 87-13c15-2 15-1 0 0c-14 2-58 11-87 12c-29 1-60 1-88-6c-27-8-52-27-78-41c-25-14-51-28-76-43c-25-15-50-32-74-48c-25-16-49-32-73-49c-24-17-47-35-70-53c-23-18-45-37-68-55c-24-18-47-35-71-53c-23-17-48-34-71-52c-23-18-45-36-67-56c-21-20-41-41-61-62c-20-22-40-43-57-67c-18-23-34-48-49-73c-15-25-28-51-39-79c-10-27-15-56-22-85c-7-28-10-58-18-86c-7-28-17-57-28-84c-10-27-22-55-37-80c-15-25-36-46-52-71c-17-24-32-49-47-74c-15-25-29-51-44-76c-16-25-33-49-48-74c-16-25-30-51-46-75c-17-24-33-49-52-71c-19-22-53-52-63-62c-10-10-10-10 0 0zM316 575c7 7 28 27 39 43c11 16 20 34 25 52c6 18 8 38 8 57c0 19-3 39-8 57c-5 19-14 36-22 54c-9 17-18 34-28 51c-10 16-21 32-32 48c-10 16-25 41-30 50c-5 8-5 8 0 0c6-8 21-33 31-49c11-17 22-32 32-49c10-17 19-34 27-51c9-17 19-35 25-53c5-18 6-39 6-58c0-19-2-39-8-57c-6-19-14-37-25-53c-11-16-33-35-40-42c-6-7-6-8 0 0zM112 94c9-1 38-4 57-9c19-5 37-12 55-18c19-7 36-14 55-21c18-7 36-13 54-20c18-6 37-12 55-18c18-6 37-12 55-18c18-6 46-16 55-19c9-3 9-2 0 0c-9 3-37 11-56 17c-18 6-36 13-54 19c-19 6-37 11-56 17c-18 6-36 12-54 19c-19 7-36 16-54 23c-18 7-37 12-55 17c-19 5-48 10-57 11c-10 2-10 2 0 0zM316 575c10-2 40-2 58-9c18-7 34-19 49-31c15-13 27-29 39-44c11-15 21-32 32-48c10-16 21-33 31-49c10-16 20-33 31-49c11-16 28-40 33-48c6-7 6-7 0 0c-5 8-23 31-34 47c-11 16-20 33-31 50c-10 16-22 31-33 47c-10 16-19 34-30 50c-12 15-24 31-39 43c-14 12-31 23-49 30c-18 7-47 9-57 11c-9 1-9 1 0 0zM1016 1222c9 0 38-2 58-3c19-2 38-3 57-6c20-3 39-6 57-12c19-6 35-17 54-23c18-5 38-7 57-10c19-2 38-3 57-5c20-2 39-4 58-7c19-4 37-11 56-16c19-5 47-12 56-14c10-3 10-3 0 0c-9 2-37 9-56 14c-19 5-37 11-56 14c-19 3-39 4-58 6c-19 2-38 5-57 8c-20 2-39 4-58 9c-18 5-35 16-54 22c-18 5-37 10-56 13c-19 3-38 5-57 6c-20 2-49 4-58 4c-10 1-10 1 0 0zM-140-70c13 7 52 28 77 43c25 14 50 31 75 46c25 16 50 30 75 46c24 16 49 32 73 49c24 17 46 37 69 55c23 18 46 35 69 53c23 19 46 38 69 56c23 18 46 35 69 54c22 19 45 38 66 59c21 20 37 46 61 63c23 17 52 28 79 39c27 10 56 18 85 24c28 6 58 7 87 11c29 3 58 7 88 10c29 3 58 5 87 8c29 3 58 7 88 11c29 3 58 8 87 10c29 2 59 2 88 3c29 1 59 2 88 1c29 0 59-5 88-5c29-1 59 1 88 2c29 0 59 6 88 1c29-4 55-24 83-27c29-4 59 1 88 8c28 7 55 20 81 32c27 13 65 35 78 42c13 7 12 7 0 0c-13-7-50-31-77-44c-26-12-53-26-82-32c-28-7-59-11-88-8c-28 4-55 24-83 29c-29 4-59-1-88-2c-29-1-59-4-88-4c-29 0-59 3-88 3c-29 1-59 0-88 0c-29 0-59 1-88-1c-29-1-58-6-87-9c-29-4-58-8-88-11c-29-4-58-7-87-11c-29-4-58-9-87-12c-29-4-59-3-88-8c-28-5-57-12-85-22c-27-11-55-22-79-39c-23-17-39-43-60-64c-21-20-42-41-64-60c-22-19-46-37-69-55c-23-18-47-36-70-53c-24-18-48-35-71-53c-23-18-45-37-69-55c-23-17-48-33-73-49c-24-16-49-31-74-47c-25-15-49-32-75-46c-26-14-65-34-78-41c-13-7-13-7 0 0zM437 331c10 0 39-1 58 1c20 1 39 5 58 8c19 2 38 5 57 9c19 3 47 9 57 11c9 2 9 2 0 0c-10-2-38-9-57-12c-19-4-38-7-57-10c-19-3-38-7-58-8c-19-1-48 0-58 1c-9 0-9-1 0 0zM-140 195c9 12 35 47 53 70c18 23 38 45 57 68c18 22 35 46 54 69c19 22 38 44 59 66c20 21 41 41 63 61c21 20 44 39 66 58c22 20 44 39 66 58c22 20 44 39 66 58c22 20 44 39 65 60c21 21 39 44 60 64c21 21 44 39 66 59c22 20 45 38 65 59c21 21 38 45 57 67c19 22 38 44 58 66c20 22 40 43 60 64c21 22 40 46 64 63c24 16 53 27 81 37c28 11 56 19 85 26c28 7 57 12 86 18c29 6 57 11 86 18c28 7 57 17 85 24c28 7 59 6 85 17c26 12 50 31 70 51c20 20 35 47 51 72c15 24 28 51 43 76c15 26 38 63 45 76c8 12 8 12 0 0c-7-13-30-51-45-76c-14-25-28-52-43-77c-15-25-28-52-48-74c-19-22-43-45-69-57c-26-12-59-10-88-15c-29-6-57-12-86-18c-28-6-57-12-86-18c-29-6-58-11-86-19c-28-8-55-20-81-32c-27-12-53-25-77-41c-24-16-45-37-67-56c-21-19-43-39-64-60c-20-21-39-43-58-66c-19-22-36-46-56-68c-19-23-39-44-59-65c-21-21-43-41-64-61c-22-19-44-39-66-58c-23-19-46-37-68-56c-22-20-44-39-66-58c-22-20-43-40-65-60c-21-21-41-42-61-63c-21-20-43-40-64-61c-21-20-43-39-63-61c-20-22-37-45-56-68c-19-22-38-44-56-67c-19-23-45-58-54-70c-9-12-9-12 0 0zM539 882c9 3 37 12 54 19c18 8 36 15 53 25c16 10 35 20 46 35c10 14 16 35 18 54c1 18-4 38-10 57c-5 18-13 36-21 53c-8 18-17 35-28 51c-11 16-23 31-36 45c-13 14-36 33-43 39c-7 6-7 6 0 0c7-6 30-25 44-38c13-14 27-28 38-44c11-16 19-34 27-52c8-17 15-36 20-54c5-19 11-39 10-58c-1-18-5-41-16-56c-11-15-32-23-49-33c-17-9-35-17-52-24c-18-7-46-16-55-19c-9-3-9-3 0 0zM1263 1324c2 10 11 38 13 57c2 19-1 38-2 57c-2 20-5 39-8 58c-2 19-8 38-8 57c0 20 4 39 7 58c4 19 12 47 15 56c2 10 2 10 0 0c-3-9-10-37-13-56c-3-19-6-38-6-58c0-19 3-38 6-57c3-19 10-38 11-57c2-19 1-39-1-58c-3-20-12-47-14-57c-3-9-3-9 0 0zM411 761c9-1 38-4 57-9c19-4 38-10 56-17c17-8 33-20 50-29c18-9 36-16 53-25c17-9 33-20 49-30c17-10 34-20 49-31c16-11 38-30 45-37c8-6 8-6 0 0c-7 6-29 25-45 37c-16 11-32 21-49 30c-17 10-34 18-51 28c-17 9-34 18-51 28c-17 9-33 19-51 27c-18 7-37 13-55 17c-19 5-48 9-57 11c-10 2-10 2 0 0zM1177 1303c10 2 39 10 58 8c19-2 38-10 56-18c17-7 34-18 50-29c16-10 39-29 46-34c8-6 8-6 0 0c-7 5-30 23-46 34c-17 10-33 21-51 28c-18 8-36 14-55 16c-19 2-48-4-58-5c-9 0-9-1 0 0zM-140 456c12 8 48 33 72 50c24 17 48 34 71 52c24 17 47 35 70 54c22 18 46 36 67 56c22 20 45 39 61 63c16 24 27 52 37 80c10 27 17 56 24 84c7 29 10 58 16 87c6 29 12 57 19 86c7 28 14 57 22 85c8 28 16 57 26 84c11 28 24 54 37 80c13 26 27 53 44 77c17 24 36 48 57 68c21 21 46 37 69 55c24 18 48 35 71 53c24 18 47 35 70 53c24 18 48 35 69 54c22 20 41 43 62 64c21 20 41 41 64 60c23 19 48 34 72 52c23 17 46 36 70 53c24 16 49 32 74 47c25 16 51 29 76 44c25 16 48 34 73 49c25 16 64 37 77 44c12 8 12 8 0 0c-13-8-50-31-75-47c-24-16-49-32-74-47c-25-15-52-28-77-43c-25-15-50-31-73-48c-24-18-45-38-68-57c-22-19-45-37-67-56c-23-19-45-38-67-57c-22-20-43-40-65-59c-23-19-47-36-70-54c-23-18-47-35-70-54c-22-18-44-39-65-58c-22-20-45-38-66-58c-21-20-43-40-61-62c-19-23-34-48-49-73c-14-26-26-53-36-80c-11-28-18-56-24-85c-7-28-9-58-15-87c-5-29-11-57-18-86c-7-28-15-57-24-85c-8-28-16-56-27-83c-11-28-21-56-37-81c-16-24-39-44-60-65c-20-20-42-41-64-60c-23-18-47-36-71-52c-24-17-50-32-74-48c-25-16-61-41-73-49c-12-8-12-9 0 0zM141 667c8 6 32 23 44 38c12 15 20 33 27 51c6 18 6 38 11 57c5 18 7 41 18 55c12 14 32 24 50 30c18 7 48 7 58 8c10 1 10 2 0 0c-9-2-39-3-57-10c-18-6-39-15-50-29c-11-14-13-36-18-55c-4-18-3-39-10-57c-6-18-17-36-29-51c-12-14-36-31-44-37c-7-7-7-7 0 0zM75 609c4 8 17 34 24 52c7 18 14 37 18 55c5 19 6 38 10 58c3 19 7 38 9 57c2 19 2 38 3 58c2 19 4 38 5 57c1 20 3 39 2 58c0 20-3 39-4 58c-2 19-3 48-4 58c0 10 0 10 0 0c1-10 3-38 5-58c1-19 3-38 4-58c0-19-1-38-2-58c-1-19-2-38-3-58c-1-19-3-38-5-57c-2-20-7-39-10-58c-3-19-4-38-8-57c-5-19-12-37-19-55c-7-18-21-44-25-52c-4-9-4-9 0 0zM488 1457c10-1 39-3 58-4c19 0 39 1 58 1c19 1 39 1 58 3c19 2 38 4 57 10c18 5 34 19 52 24c19 5 40 5 59 3c19-2 37-11 55-17c19-7 46-17 55-21c9-3 9-3 0 0c-9 3-36 14-55 20c-18 6-37 12-56 14c-19 3-39 4-57 0c-19-4-35-18-53-24c-18-6-38-10-57-13c-19-2-39 0-58 0c-19 0-39-1-58 0c-19 0-48 3-58 4c-10 1-10 1 0 0zM-140 703c12 8 53 29 72 50c19 21 33 49 43 76c10 27 13 58 17 86c4 29 6 59 7 88c1 29 0 59-1 88c-1 29 2 60-5 88c-7 28-22 55-37 79c-16 25-37 46-54 70c-18 23-31 50-51 72c-19 21-41 42-66 57c-25 14-55 21-83 29c-28 9-56 16-84 24c-29 8-58 15-85 25c-27 11-54 24-79 39c-26 15-51 31-74 49c-22 19-43 40-61 64c-18 23-32 49-45 75c-14 26-24 54-34 82c-9 27-18 56-24 84c-7 29-11 58-14 88c-3 29-3 58-3 88c1 29 3 58 5 88c3 29 5 58 9 87c4 29 3 62 16 87c12 25 37 47 59 65c23 19 63 38 76 45c13 8 12 8 0 0c-12-7-52-28-75-46c-22-19-47-39-59-64c-13-26-13-58-17-87c-4-29-6-58-8-87c-2-30-3-59-3-88c0-30 2-59 5-88c3-29 7-58 12-87c6-28 13-57 23-85c9-28 19-55 33-81c13-26 27-53 45-75c18-23 40-43 63-62c23-18 49-32 74-47c25-15 51-29 77-41c27-11 56-18 84-27c28-8 57-15 85-23c28-9 58-15 83-29c25-15 49-35 69-56c20-22 34-48 51-72c17-24 37-46 52-71c14-26 29-53 36-81c6-28 3-59 5-88c1-29 2-59 2-88c-1-29-2-59-6-88c-4-29-7-59-17-87c-11-27-26-55-45-76c-20-21-61-41-73-49c-12-8-12-9 0 0zM-297 1487c9 3 36 13 54 21c18 7 35 15 52 24c18 8 34 19 51 28c17 9 35 17 52 26c17 9 37 17 49 30c13 14 22 43 26 51c5 9 4 9 0 0c-4-8-12-39-24-52c-13-14-34-20-51-30c-16-9-33-18-50-28c-18-9-35-18-52-26c-17-9-35-17-53-24c-18-7-45-17-54-20c-9-3-9-3 0 0z'/%3E%3C/svg%3E"); }
/* veins:end */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: .16em; }
a:hover { color: #0F2C47; }
h1, h2 { font-family: var(--display); font-weight: 500; color: var(--navy); line-height: 1.08; letter-spacing: -.016em; margin: 0 0 .55em; font-variant-numeric: lining-nums; text-wrap: balance; }
h1 { font-size: clamp(2.45rem, 1.45rem + 3.4vw, 4.4rem); line-height: 1.03; }
h2 { font-size: clamp(1.95rem, 1.45rem + 1.9vw, 3.05rem); }
h1 em, h2 em { font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--amber); color: #14283B; }
h3 { font: 600 1.25rem/1.3 var(--body); color: var(--navy); margin: 0 0 .5em; }
p, ul, ol { margin: 0 0 1em; }
.wp-site-blocks > * { margin-block: 0; }
.yjb-main > * , .yjb-main .wp-block-post-content > * { margin-block: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.yjb-ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.yjb-ico--fill { fill: var(--amber); stroke: var(--amber); }

/* Labels: the logo's tracked capitals */
.yjb-label { font: 700 .8rem/1.3 var(--body); letter-spacing: .15em; text-transform: uppercase; color: var(--navy); margin: 0 0 1em; display: flex; align-items: center; gap: .7em; }
.yjb-label::before { content: ""; width: 26px; height: 3px; background: var(--amber); flex: none; }
.yjb-rise .yjb-label::before, .yjb-label.yjb-rise::before { transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s .25s var(--ease); }
.yjb-rise.is-in .yjb-label::before, .yjb-label.yjb-rise.is-in::before { transform: none; }
.yjb-lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.25rem); line-height: 1.55; color: var(--text); }

/* Buttons: a framed rectangle with a thin inner line, like the lit mirrors they install */
.yjb-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.yjb-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 54px; padding: 13px 22px; border-radius: 2px; font: 700 1rem/1.2 var(--body); text-decoration: none; text-align: center; transition: background-color .18s, color .18s; }
.yjb-btn::after { content: ""; position: absolute; inset: 4px; border: 1px solid currentColor; opacity: .34; border-radius: 1px; pointer-events: none; transition: opacity .18s, inset .18s; }
.yjb-btn:hover::after { opacity: .85; inset: 3px; }
.yjb-btn--amber { background: var(--amber); color: #14283B; }
.yjb-btn--amber:hover { background: var(--amber-hi); color: #14283B; }
.yjb-btn--navy { background: var(--navy); color: var(--white); }
.yjb-btn--navy:hover { background: #122F4B; color: var(--white); }
.yjb-btn--ghost { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.yjb-btn--ghost::after { opacity: 0; }
.yjb-btn--ghost:hover { background: var(--pale); color: var(--navy); }
.yjb-btn--ghost:hover::after { opacity: .45; }

/* Tags on photos */
.yjb-tag { position: absolute; left: 0; top: 0; background: var(--white); color: var(--navy); font: 700 .78rem/1 var(--body); letter-spacing: .13em; text-transform: uppercase; padding: 8px 12px; }
.yjb-tag--amber { background: var(--amber); color: #14283B; }

/* Header */
.yjb-skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--navy); color: var(--white); padding: 12px 18px; }
.yjb-skip:focus { top: 8px; color: var(--white); }
.yjb-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--joint); }
.yjb-header.is-scrolled { box-shadow: 0 6px 18px rgba(18, 41, 63, .08); }
.yjb-bar__in { max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); min-height: var(--head-h); display: flex; align-items: center; gap: 22px; }
.yjb-brand { flex: none; display: block; }
.yjb-brand img { width: auto; height: 56px; }
.yjb-nav { display: none; flex: 1; justify-content: center; }
.yjb-menu { list-style: none; margin: 0; padding: 0; }
.yjb-menu--bar { display: flex; gap: 6px; align-items: center; }
.yjb-menu--bar > li { position: relative; display: flex; align-items: center; }
.yjb-menu--bar .yjb-menu__link { display: block; padding: 10px 6px 10px 12px; font-weight: 600; color: var(--navy); text-decoration: none; background: linear-gradient(var(--amber), var(--amber)) no-repeat 12px calc(100% - 5px) / 0 2px; transition: background-size .3s var(--ease); }
.yjb-menu--bar > li:not(.has-sub) .yjb-menu__link { padding-right: 12px; }
.yjb-menu--bar .yjb-menu__link:hover, .yjb-menu--bar .is-in > .yjb-menu__link { background-size: calc(100% - 18px) 2px; }
.yjb-menu--bar > li:not(.has-sub) .yjb-menu__link:hover, .yjb-menu--bar > li.is-in:not(.has-sub) > .yjb-menu__link { background-size: calc(100% - 24px) 2px; }
.yjb-menu__toggle { width: 28px; height: 28px; padding: 0; background: none; border: 0; color: var(--navy); display: grid; place-items: center; cursor: pointer; border-radius: 2px; }
.yjb-menu__toggle .yjb-ico { width: 18px; height: 18px; transition: transform .15s; }
.yjb-menu__toggle[aria-expanded="true"] .yjb-ico { transform: rotate(180deg); }
.yjb-menu--bar .yjb-sub { display: none; position: absolute; top: 100%; left: 0; min-width: 250px; list-style: none; margin: 0; padding: 8px 0; background: var(--white); border: 1px solid var(--joint); box-shadow: 0 14px 34px rgba(18, 41, 63, .14); }
.yjb-menu--bar .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; display: none; }
.yjb-menu--bar .has-sub:hover::after { display: block; }
.yjb-menu--bar .has-sub:hover > .yjb-sub, .yjb-menu--bar .has-sub.is-open > .yjb-sub { display: block; }
.yjb-sub a { display: block; padding: 8px 12px; color: var(--navy); text-decoration: none; font-weight: 500; }
.yjb-sub a:hover, .yjb-sub a[aria-current] { background: var(--pale); text-decoration: underline; }
.yjb-bar__cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.yjb-bar__tel { display: none; align-items: center; gap: .45em; font-weight: 700; font-size: 1.0625rem; color: var(--navy); text-decoration: none; white-space: nowrap; }
.yjb-bar__tel:hover { text-decoration: underline; }
.yjb-bar__quote { display: none; min-height: 46px; padding: 10px 20px; white-space: nowrap; }
.yjb-bar__menu { display: inline-flex; align-items: center; gap: .4em; min-height: 46px; padding: 8px 12px; background: none; border: 1.5px solid var(--navy); border-radius: 2px; color: var(--navy); font: 700 .95rem/1 var(--body); cursor: pointer; }
.yjb-bar__menu .yjb-ico--close { display: none; }
.yjb-bar__menu[aria-expanded="true"] .yjb-ico--close { display: block; }
.yjb-bar__menu[aria-expanded="true"] .yjb-ico--menu { display: none; }
.yjb-panel { border-top: 1px solid var(--joint); padding: 10px var(--gut) 18px; max-height: calc(100vh - var(--head-h)); overflow-y: auto; background: var(--white); }
.yjb-menu--panel > li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--joint); }
.yjb-menu--panel .yjb-menu__link { flex: 1; padding: 14px 0; font-weight: 600; font-size: 1.125rem; color: var(--navy); text-decoration: none; }
.yjb-menu--panel .yjb-menu__toggle { width: 44px; height: 44px; }
.yjb-menu--panel .yjb-sub { display: none; flex-basis: 100%; list-style: none; margin: 0; padding: 0 0 10px; }
.yjb-menu--panel .is-open > .yjb-sub { display: block; }
.yjb-menu--panel .yjb-sub a { padding: 10px 12px; }
.yjb-panel__contact { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0 0; }
.yjb-panel__contact a { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; overflow-wrap: anywhere; }
@media (min-width: 768px) {
	.yjb-bar__tel, .yjb-bar__quote { display: inline-flex; }
}
@media (min-width: 1180px) {
	.yjb-nav { display: flex; }
	.yjb-bar__menu, .yjb-panel { display: none !important; }
}

/* Sections. Bands: white, stone (warm porcelain), navy and ink (deep navy); the navy and ink bands carry the drawn marble veining. */
.yjb-sec { padding: clamp(56px, 4.4vw + 30px, 108px) var(--gut); }
.yjb-sec > * { max-width: var(--wide); margin-left: auto; margin-right: auto; }
.yjb-sec--pale { background: var(--stone); }
.yjb-sec--tight { padding-top: clamp(28px, 3vw, 44px); }
.yjb-sec--ink, .yjb-sec--navy, .yjb-stats { position: relative; isolation: isolate; overflow: hidden; overflow: clip; color: var(--on-dark); }
.yjb-sec--ink { background: var(--deep); }
.yjb-sec--navy, .yjb-stats { background: var(--navy); }
/* The vein layer: the drawing in --veins (a data URI, see the top of this file and tools/make-veins.py), so it is part of the first paint. */
.yjb-hero::before, .yjb-head::before, .yjb-sec--ink::before, .yjb-sec--navy::before, .yjb-stats::before, .yjb-slab--all::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--veins) 50% 50% / cover no-repeat; }
.yjb-sec--ink::before { opacity: .62; }
.yjb-sec--navy::before, .yjb-stats::before, .yjb-slab--all::before { opacity: .6; }
.yjb-sec--ink h2, .yjb-sec--navy h2, .yjb-sec--ink h3, .yjb-sec--navy h3, .yjb-sec--ink .yjb-label, .yjb-sec--navy .yjb-label { color: var(--white); }
.yjb-sec--ink h2 em, .yjb-sec--navy h2 em { color: var(--amber-hi); }
.yjb-sec--ink a:not(.yjb-btn), .yjb-sec--navy a:not(.yjb-btn) { color: var(--white); }
.yjb-sec--ink :focus-visible, .yjb-sec--navy :focus-visible { outline-color: var(--amber); }
.yjb-sec--ink .yjb-btn--ghost, .yjb-sec--navy .yjb-btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .75); }
.yjb-sec--ink .yjb-btn--ghost:hover, .yjb-sec--navy .yjb-btn--ghost:hover { background: rgba(255, 255, 255, .12); color: var(--white); }

/* Sections below the fold arrive piece by piece, once (site.js adds .yjb-rise to each piece, then .is-in when it is seen). */
.yjb-rise { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .8s ease, transform .95s var(--ease); }
.yjb-rise.is-in { opacity: 1; transform: none; }
.yjb-sec > .yjb-narrow { max-width: 760px; margin-left: max(0px, calc((100% - var(--wide)) / 2)); }
.yjb-more { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; }
.yjb-center-btn { margin-top: 30px; }
.yjb-img--stock-walkin { object-position: 28% 50%; }
.yjb-img--stock-kitchen-island { object-position: 40% 50%; }
.yjb-sec-gap { height: clamp(28px, 3.4vw, 52px); }

/* The lit line: a thin bright frame set into a photo, like the lit mirrors in their bathrooms. */
.yjb-stage::after, .yjb-head__photo::after, .yjb-duo__a::after { content: ""; position: absolute; inset: 10px; z-index: 4; pointer-events: none; border: 1px solid rgba(255, 255, 255, .82); box-shadow: 0 0 22px rgba(255, 255, 255, .42), inset 0 0 22px rgba(255, 255, 255, .22); }
@media (min-width: 1000px) { .yjb-stage::after, .yjb-head__photo::after { inset: 18px; } }

/* Home banner */
.yjb-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--stone); }
.yjb-hero::before, .yjb-head::before { opacity: .5; background-position: 30% 100%; background-size: 1500px auto; }
.yjb-hero__text { padding: 26px var(--gut) 32px; order: 2; }
.yjb-hero h1 { margin-bottom: .36em; }
.yjb-hero .yjb-lead { max-width: 33em; }
.yjb-hero .yjb-btns { margin-top: 24px; }
.yjb-hero__facts { list-style: none; padding: 18px 0 0; margin: 26px 0 0; border-top: 1px solid var(--joint); display: flex; flex-wrap: wrap; gap: 8px 26px; font-weight: 600; color: var(--navy); }
.yjb-hero__facts li { display: inline-flex; align-items: center; gap: .45em; }
.yjb-hero__facts li > .yjb-ico { color: #A86B00; }
.yjb-rating { display: inline-flex; align-items: center; gap: .4em; color: var(--navy); }
.yjb-stage { position: relative; order: 1; height: clamp(250px, 70vw, 480px); overflow: hidden; background: var(--joint); isolation: isolate; }
.yjb-stage::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 3; pointer-events: none; background: linear-gradient(to top, rgba(18, 41, 63, .42), rgba(18, 41, 63, 0)); }
.yjb-scene { position: absolute; inset: 0; overflow: hidden; visibility: hidden; display: none; z-index: 1; }
.yjb-scene.is-on { display: block; visibility: visible; }
.yjb-stage.is-ready .yjb-scene { display: block; }
.yjb-scene.is-top { z-index: 2; }
.yjb-scene__in { position: absolute; inset: 0; overflow: hidden; }
.yjb-scene.is-enter { transform: translate3d(100%, 0, 0); }
.yjb-scene.is-enter .yjb-scene__in { transform: translate3d(-100%, 0, 0); }
.yjb-scene.is-moving, .yjb-scene.is-moving .yjb-scene__in { transition: transform 1.3s var(--glass); }
/* The glass panel: rides the leading edge of the wipe, like a sliding shower door */
.yjb-scene::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 30px; z-index: 3; opacity: 0; background: linear-gradient(90deg, #AEBBC8 0 2px, rgba(255, 255, 255, .86) 2px 7px, rgba(255, 255, 255, .3) 7px 100%); }
.yjb-scene.is-moving::before { opacity: 1; }
.yjb-scene__main { position: absolute; left: 0; top: 0; width: 100%; height: 122%; object-fit: cover; object-position: 50% 30%; max-width: none; }
.yjb-scene.is-on .yjb-scene__main { animation: yjb-pan 11s linear both; }
.yjb-stage.is-paused .yjb-scene__main { animation-play-state: paused; }
.yjb-stage.is-away .yjb-scene__main { animation: none; }
@keyframes yjb-pan { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -18%, 0); } }
.yjb-scene > .yjb-scene__in > .yjb-tag { left: 22px; top: 22px; }
.yjb-scene__inset { position: absolute; right: 22px; bottom: 22px; z-index: 5; width: clamp(88px, 25vw, 150px); aspect-ratio: 3 / 4; margin: 0; border: 4px solid var(--white); overflow: hidden; background: var(--pale); box-shadow: 0 10px 26px rgba(18, 41, 63, .34); }
.yjb-scene__inset img { width: 100%; height: 100%; object-fit: cover; }
.yjb-scene__inset .yjb-tag { padding: 6px 8px; font-size: .68rem; }
.yjb-stage__ctl { position: absolute; left: 22px; bottom: 22px; z-index: 6; display: flex; align-items: center; gap: 2px; background: var(--white); box-shadow: 0 6px 18px rgba(18, 41, 63, .26); }
.yjb-pause { display: inline-flex; align-items: center; gap: .35em; min-height: 40px; padding: 4px 10px 4px 8px; background: none; border: 0; color: var(--navy); font: 600 .8125rem/1.1 var(--body); cursor: pointer; text-align: left; }
.yjb-pause .yjb-ico { width: 18px; height: 18px; }
.yjb-pause .yjb-ico--play { display: none; }
.yjb-pause.is-paused .yjb-ico--play { display: block; }
.yjb-pause.is-paused .yjb-ico--pause { display: none; }
.yjb-pause:hover { background: var(--pale); }
.yjb-dots { display: none; align-items: center; gap: 0; padding-right: 4px; }
.yjb-dot { width: 30px; height: 40px; padding: 0; background: none; border: 0; cursor: pointer; display: grid; place-items: center; }
.yjb-dot::before { content: ""; width: 20px; height: 8px; border: 1.5px solid var(--navy); background: var(--white); transition: background-color .2s; }
.yjb-dot[aria-current="true"]::before { background: var(--navy); }
@media (min-width: 420px) { .yjb-dots { display: flex; } }
@media (min-width: 1000px) {
	.yjb-hero { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); min-height: min(calc(100vh - var(--head-h)), 730px); }
	.yjb-hero::before { background-position: 0 100%; background-size: 1900px auto; }
	.yjb-hero__text { order: 1; align-self: center; padding: 44px clamp(24px, 2.6vw, 56px) 48px max(var(--gut), calc((100vw - 1440px) / 2 + 40px)); }
	.yjb-stage { order: 2; height: auto; min-height: 560px; }
	.yjb-scene__inset { right: 40px; bottom: 40px; width: clamp(150px, 13vw, 200px); border-width: 6px; }
	.yjb-scene__inset .yjb-tag { padding: 7px 10px; font-size: .74rem; }
	.yjb-scene > .yjb-scene__in > .yjb-tag { left: 40px; top: 40px; }
	.yjb-stage__ctl { left: 40px; bottom: 40px; }
	.yjb-pause { padding: 6px 14px 6px 10px; font-size: .875rem; min-height: 44px; }
}

/* At a glance: four of their own facts on a navy band; the numbers count up once when the band is first seen. */
.yjb-stats { padding: clamp(22px, 2.4vw, 32px) var(--gut); }
.yjb-stats__list { list-style: none; margin: 0 auto; padding: 0; max-width: var(--wide); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
.yjb-stat { padding: 2px 10px 2px clamp(14px, 2.4vw, 34px); border-left: 1px solid var(--line-dark); }
.yjb-stat:nth-child(odd) { padding-left: 0; border-left: 0; }
.yjb-stat__n { display: flex; align-items: baseline; gap: .14em; margin: 0 0 6px; font: 500 clamp(2.4rem, 1.7rem + 2.2vw, 3.6rem)/1 var(--display); color: var(--white); font-variant-numeric: lining-nums tabular-nums; }
.yjb-stat__u { font-size: max(.5em, 1.5rem); color: var(--amber); letter-spacing: 0; }
.yjb-stat__u--plus { font-size: .72em; align-self: flex-start; margin: .02em 0 0 -.04em; }
.yjb-stat__u .yjb-ico { width: 1em; height: 1em; }
.yjb-stat__l { margin: 0; font-size: .9375rem; line-height: 1.35; max-width: 23ch; }
@media (min-width: 900px) {
	.yjb-stats__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.yjb-stat:nth-child(odd) { padding-left: clamp(14px, 2.4vw, 34px); border-left: 1px solid var(--line-dark); }
	.yjb-stat:first-child { padding-left: 0; border-left: 0; }
}

/* Financing strip: the three lenders as equal white tiles */
.yjb-finance { display: grid; gap: 20px 48px; align-items: center; }
.yjb-finance .yjb-label { margin-bottom: .7em; }
.yjb-finance__h { font: 500 clamp(1.5rem, 1.25rem + .9vw, 2rem)/1.15 var(--display); color: var(--navy); margin: 0; }
.yjb-finance__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--joint-w); }
.yjb-finance__list a { display: grid; place-items: center; height: 84px; padding: 14px 18px; background: var(--white); transition: box-shadow .25s, transform .25s var(--ease); }
.yjb-finance__list a:hover { box-shadow: 0 12px 28px rgba(18, 41, 63, .14); transform: translate3d(0, -2px, 0); }
.yjb-finance__list img { width: auto; max-width: 100%; height: auto; max-height: 46px; object-fit: contain; }
.yjb-sec--strip { padding-top: clamp(30px, 3vw, 44px); padding-bottom: clamp(30px, 3vw, 44px); background: var(--stone); }
@media (min-width: 560px) { .yjb-finance__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } .yjb-finance__list a { height: 96px; } }
@media (min-width: 1000px) { .yjb-finance { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* Two columns */
.yjb-intro { display: grid; gap: 18px 56px; align-items: end; margin-bottom: 40px; }
.yjb-intro h2 { margin-bottom: 0; }
.yjb-intro p:last-child { margin-bottom: 0; }
.yjb-oneday { font-family: var(--display); font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem); line-height: 1.25; color: var(--navy); border-left: 3px solid var(--amber); padding-left: 14px; margin: 14px 0 0; }
@media (min-width: 900px) { .yjb-intro { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.yjb-split { display: grid; gap: 36px 72px; align-items: center; }
.yjb-split > *:last-child { margin-bottom: 0; }
@media (min-width: 900px) { .yjb-split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Service tiles: one wall of photo slabs with thin joints between the columns. Under each photo, a short title and a one-line sub heading
   (one line each at every width, so the labels in a row are the same height). Each photo arrives with the same glass-door wipe as the banner. */
.yjb-slabs { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px var(--joint-w); }
.yjb-slab { position: relative; }
.yjb-slab__a { display: block; color: var(--navy); text-decoration: none; }
.yjb-slab__img { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--pale); }
.yjb-slab__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.yjb-slab__a:hover .yjb-slab__img img { transform: scale(1.045); }
.yjb-slab__name { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; align-items: start; padding: 13px 2px 0; }
.yjb-slab__label { display: block; min-width: 0; }
.yjb-slab__t { display: block; font: 500 clamp(1.08rem, .98rem + .3vw, 1.3rem)/1.2 var(--display); color: var(--navy); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: .2em; transition: text-decoration-color .2s; }
.yjb-slab__s { display: block; margin-top: 3px; font: 500 .84rem/1.3 var(--body); color: #4F5D69; }
.yjb-slab__name .yjb-ico { margin-top: 3px; transition: transform .25s var(--ease); color: #A86B00; }
.yjb-slab__a:hover .yjb-slab__t { text-decoration-color: var(--amber); }
.yjb-slab__a:hover .yjb-ico { transform: translateX(5px); }
.yjb-slab__a:focus-visible { outline-offset: -3px; }
.yjb-slab__text { margin: 8px 18px 0 2px; }
.yjb-slabs--text { row-gap: 38px; }
.yjb-slab--all { background: var(--navy); isolation: isolate; overflow: hidden; align-self: start; }
.yjb-slab--all::before { background-position: 60% 40%; background-size: 900px auto; }
.yjb-slab__all { display: flex; align-items: center; justify-content: center; gap: .55em; min-height: 120px; font: 500 clamp(1.4rem, 1.2rem + .6vw, 1.75rem)/1.15 var(--display); color: var(--white); text-decoration: none; transition: background-color .25s; }
.yjb-slab__all:hover { background-color: rgba(9, 24, 38, .28); color: var(--white); }
.yjb-slab__all .yjb-ico { color: var(--amber); transition: transform .25s var(--ease); }
.yjb-slab__all:hover .yjb-ico { transform: translateX(5px); }
.yjb-slab__all:focus-visible { outline-color: var(--amber); outline-offset: -5px; }
.yjb-slabs.yjb-rise { opacity: 1; transform: none; }
.yjb-slabs.yjb-rise .yjb-slab__img img { clip-path: inset(0 100% 0 0); transition: transform 1.1s var(--ease), clip-path 1.05s var(--glass) calc(var(--n, 0) * 110ms); }
.yjb-slabs.yjb-rise .yjb-slab__name, .yjb-slabs.yjb-rise .yjb-slab__text, .yjb-slabs.yjb-rise .yjb-slab__all { opacity: 0; transition: opacity .6s ease calc(var(--n, 0) * 110ms + .5s), background-color .25s; }
.yjb-slabs.yjb-rise .yjb-slab--all { clip-path: inset(0 100% 0 0); transition: clip-path 1.05s var(--glass) calc(var(--n, 0) * 110ms); }
.yjb-slabs.yjb-rise.is-in .yjb-slab--all { clip-path: inset(0); }
.yjb-slabs.yjb-rise.is-in .yjb-slab__img img { clip-path: inset(0); }
.yjb-slabs.yjb-rise.is-in .yjb-slab__name, .yjb-slabs.yjb-rise.is-in .yjb-slab__text, .yjb-slabs.yjb-rise.is-in .yjb-slab__all { opacity: 1; }
.yjb-slab:nth-child(2), .yjb-wall > li:nth-child(2) { --n: 1; }
.yjb-slab:nth-child(3), .yjb-wall > li:nth-child(3) { --n: 2; }
.yjb-slab:nth-child(4), .yjb-wall > li:nth-child(4) { --n: 3; }
.yjb-slab:nth-child(5), .yjb-wall > li:nth-child(5) { --n: 4; }
.yjb-slab:nth-child(6), .yjb-wall > li:nth-child(6) { --n: 5; }
.yjb-wall > li:nth-child(n+7) { --n: 6; }
@media (min-width: 640px) { .yjb-slabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .yjb-slab__img, .yjb-slab__all { aspect-ratio: 4 / 4.2; } }
@media (min-width: 1100px) { .yjb-slabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .yjb-slab__img, .yjb-slab__all { aspect-ratio: 4 / 4.6; } }

/* Before/after */
.yjb-ba { position: relative; aspect-ratio: 3 / 4; margin: 0 auto; overflow: hidden; background: var(--pale); --pos: 50%; max-width: 520px; width: 100%; touch-action: pan-y; box-shadow: 0 26px 54px rgba(18, 41, 63, .2); }
.yjb-sec--ink .yjb-ba { box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 0 46px rgba(255, 255, 255, .17), 0 34px 70px rgba(0, 0, 0, .42); }
.yjb-ba img { width: 100%; height: 100%; object-fit: cover; }
.yjb-ba__after { position: absolute; inset: 0; }
.yjb-ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.yjb-ba__t1 { left: 12px; top: 12px; }
.yjb-ba__t2 { left: auto; right: 12px; top: 12px; }
.yjb-ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); box-shadow: 0 0 0 1px rgba(18, 41, 63, .3), 0 0 16px rgba(255, 255, 255, .55); pointer-events: none; }
.yjb-ba__grip { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 56px; height: 48px; background: var(--white); color: var(--navy); box-shadow: 0 6px 18px rgba(18, 41, 63, .4), inset 0 -3px 0 var(--amber); }
.yjb-ba__grip .yjb-ico { width: 18px; height: 18px; margin: 0 -2px; }
.yjb-ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.yjb-ba:has(.yjb-ba__range:focus-visible) .yjb-ba__grip { outline: 3px solid var(--navy); outline-offset: 2px; }
.yjb-sec--ink .yjb-ba:has(.yjb-ba__range:focus-visible) .yjb-ba__grip { outline-color: var(--amber); }
.yjb-ba-wrap { display: grid; gap: 34px 72px; align-items: center; }
@media (min-width: 900px) { .yjb-ba-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); } }
.yjb-ba-wrap > *:first-child > *:last-child { margin-bottom: 0; }
.yjb-ba-wrap > *:first-child > p:not(.yjb-label) { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); max-width: 30em; }

/* About block on home + About page: two photos, one set lower than the other */
.yjb-duo { position: relative; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: var(--joint-w); align-items: stretch; }
.yjb-duo__a, .yjb-duo__b { position: relative; overflow: hidden; background: var(--joint); }
.yjb-duo__a { aspect-ratio: 3 / 4; margin-bottom: clamp(26px, 4.4vw, 60px); }
.yjb-duo__b { margin-top: clamp(26px, 4.4vw, 60px); }
.yjb-duo img { width: 100%; height: 100%; object-fit: cover; }
.yjb-years { position: absolute; left: 0; bottom: 0; z-index: 5; background: var(--navy); color: var(--white); padding: 16px 20px 14px; line-height: 1.2; max-width: 60%; margin: 0; box-shadow: inset 0 3px 0 var(--amber); }
.yjb-years strong { display: block; font: 500 clamp(2.5rem, 2rem + 1.4vw, 3.3rem)/1 var(--display); font-variant-numeric: lining-nums; }
.yjb-years span { font-size: .9375rem; }
.yjb-ticks { list-style: none; padding: 0; }
.yjb-ticks li { position: relative; padding-left: 30px; margin-bottom: .45em; }
.yjb-ticks li::before { content: ""; position: absolute; left: 3px; top: .36em; width: 13px; height: 7px; border-left: 2.5px solid #A86B00; border-bottom: 2.5px solid #A86B00; transform: rotate(-45deg); }

/* Reviews: the heading and the proof on the left, their two customers' words set large on the right */
.yjb-revs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 72px; }
.yjb-reviews { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.yjb-review { position: relative; margin: 0; padding: 30px 0 28px clamp(46px, 5vw, 70px); border-top: 1px solid var(--joint); }
.yjb-reviews > li:first-child .yjb-review { border-top: 0; padding-top: 10px; }
.yjb-review::before { content: "\201C"; content: "\201C" / ""; position: absolute; left: 0; top: 20px; font: 500 clamp(4rem, 3rem + 3vw, 5.6rem)/1 var(--display); color: var(--amber); }
.yjb-reviews > li:first-child .yjb-review::before { top: 0; }
.yjb-review p { font: 400 clamp(1.3rem, 1.1rem + .75vw, 1.75rem)/1.36 var(--display); color: var(--navy); margin-bottom: .8em; }
.yjb-review footer { display: flex; align-items: center; gap: .7em; font: 700 .8rem/1.3 var(--body); letter-spacing: .15em; text-transform: uppercase; color: var(--navy); }
.yjb-review footer::before { content: ""; width: 26px; height: 3px; background: var(--amber); flex: none; }
.yjb-reviews__rating { margin: 6px 0 0; font-weight: 600; }
.yjb-badges { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--joint-w); max-width: 400px; }
.yjb-badges li { display: grid; place-items: center; height: 80px; padding: 12px 14px; background: var(--stone); }
.yjb-sec--pale .yjb-badges li { background: var(--white); }
.yjb-badges img { width: auto; max-width: 100%; height: 44px; object-fit: contain; }
@media (min-width: 900px) {
	.yjb-revs { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto auto 1fr; align-items: start; }
	.yjb-revs > * { grid-column: 1; }
	.yjb-revs > .yjb-reviews { grid-column: 2; grid-row: 1 / -1; margin-top: 0; }
}

/* Gallery */
.yjb-wall { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--joint-w); }
.yjb-wall a { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--pale); cursor: zoom-in; }
.yjb-sec--ink .yjb-wall a { background: #1B3550; }
.yjb-wall img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.yjb-wall a:hover img { transform: scale(1.05); }
.yjb-wall a::after, .yjb-film__row a::after { content: ""; position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; background-color: var(--white); background-image: linear-gradient(var(--navy), var(--navy)), linear-gradient(var(--navy), var(--navy)); background-size: 14px 2px, 2px 14px; background-position: 50% 50%; background-repeat: no-repeat; opacity: 0; transform: translate3d(0, 6px, 0); transition: opacity .25s, transform .25s var(--ease); }
.yjb-wall a:hover::after, .yjb-wall a:focus-visible::after, .yjb-film__row a:hover::after, .yjb-film__row a:focus-visible::after { opacity: 1; transform: none; }
.yjb-wall a:focus-visible { outline-offset: -3px; outline-color: var(--amber); }
.yjb-wall .yjb-tag { left: 0; top: 0; }
.yjb-wall.yjb-rise { opacity: 1; transform: none; }
.yjb-wall.yjb-rise > li { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .7s ease calc(var(--n, 0) * 70ms), transform .85s var(--ease) calc(var(--n, 0) * 70ms); }
.yjb-wall.yjb-rise.is-in > li { opacity: 1; transform: none; }
@media (min-width: 700px) { .yjb-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .yjb-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } .yjb-wall--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.yjb-wall--strip a { aspect-ratio: 3 / 4; }
.yjb-lb { border: 0; padding: 0; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; background: rgba(10, 20, 31, .94); color: var(--white); overflow: hidden; }
.yjb-lb[open] { display: flex; flex-direction: column; }
.yjb-lb::backdrop { background: rgba(10, 20, 31, .94); }
.yjb-lb > img { flex: 1; min-height: 0; width: 100%; height: auto; object-fit: contain; padding: 14px 14px 0; }
.yjb-lb__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 12px var(--gut) 16px; max-width: 1240px; width: 100%; margin: 0 auto; }
.yjb-lb__cap { margin: 0; flex: 1 1 280px; font-size: .9375rem; line-height: 1.4; }
.yjb-lb__btns { display: flex; gap: 8px; }
.yjb-lb__btn { width: 48px; height: 48px; display: grid; place-items: center; background: var(--white); color: var(--navy); border: 0; border-radius: 2px; cursor: pointer; }
.yjb-lb__btn:focus-visible { outline-color: var(--amber); }

/* Area map: the five counties light up from north to south when the map is first seen */
.yjb-area { display: grid; gap: 30px 60px; align-items: center; }
.yjb-area__list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; font-weight: 600; color: var(--navy); }
.yjb-area__list li { position: relative; padding-left: 20px; }
.yjb-area__list li::before { content: ""; position: absolute; left: 0; top: .52em; width: 8px; height: 8px; background: var(--amber); }
.yjb-area__map { margin: 0; }
.yjb-area__map figcaption { font-size: .8125rem; color: var(--muted); margin-top: 6px; }
.yjb-map { display: block; width: 100%; max-width: 480px; height: auto; margin: 0 auto; }
.yjb-map__ctx path { fill: #E5E0D7; stroke: var(--white); stroke-width: 1.2; }
.yjb-sec--pale .yjb-map__ctx path { fill: #E7E1D7; stroke: var(--stone); }
.yjb-map__on path { fill: var(--navy); stroke: var(--white); stroke-width: 1.4; }
.yjb-sec--pale .yjb-map__on path { stroke: var(--stone); }
.yjb-map__txt text { font: 700 19px/1 var(--body); fill: var(--navy); }
.yjb-map__lead { fill: none; stroke: #8DA0B2; stroke-width: 1.4; }
.yjb-area.yjb-rise .yjb-map__on path { opacity: 0; transition: opacity .55s ease calc(.35s + var(--c, 0) * .16s); }
.yjb-area.yjb-rise.is-in .yjb-map__on path { opacity: 1; }
.yjb-map__on path:nth-child(2) { --c: 1; }
.yjb-map__on path:nth-child(3) { --c: 2; }
.yjb-map__on path:nth-child(4) { --c: 3; }
.yjb-map__on path:nth-child(5) { --c: 4; }
@media (min-width: 900px) { .yjb-area { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Posts */
.yjb-posts { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 38px 28px; }
.yjb-posts__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--pale); }
.yjb-posts__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.yjb-posts__item:hover .yjb-posts__img img { transform: scale(1.04); }
.yjb-posts__date { font: 700 .78rem/1.3 var(--body); letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
.yjb-posts__h { font: 500 clamp(1.4rem, 1.15rem + .7vw, 1.8rem)/1.18 var(--display); margin: 0 0 .4em; }
.yjb-posts__h a { color: var(--navy); text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: .16em; transition: text-decoration-color .2s; }
.yjb-posts__h a:hover, .yjb-posts__item:hover .yjb-posts__h a { text-decoration-color: var(--amber); }
.yjb-posts--list .yjb-posts__item { display: grid; gap: 0 32px; }
@media (min-width: 760px) {
	.yjb-posts--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.yjb-posts--list .yjb-posts__item { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); align-items: center; }
	.yjb-posts--list .yjb-posts__date { margin-top: 0; }
}

/* Closing band */
.yjb-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 44px; }
.yjb-cta h2 { margin-bottom: 0; }

/* Quote band + form: navy, the offer set as a coupon, the form on a white card */
.yjb-quote { display: grid; gap: 34px 72px; }
.yjb-quote__offer { position: relative; display: inline-block; background: var(--amber); color: #14283B; font: 500 clamp(1.35rem, 1.15rem + .8vw, 1.8rem)/1.15 var(--display); font-variant-numeric: lining-nums; padding: 16px 22px 14px; margin: 10px 0 24px; }
.yjb-quote__offer::after { content: ""; position: absolute; inset: 4px; border: 1px dashed rgba(20, 40, 59, .6); pointer-events: none; }
.yjb-quote__tel { margin: 0 0 16px; }
.yjb-quote__tel a { display: inline-flex; align-items: center; gap: .45em; font: 700 clamp(1.6rem, 1.3rem + .9vw, 2.1rem)/1.2 var(--body); color: var(--navy); text-decoration: none; min-height: 44px; }
.yjb-quote__tel a:hover { text-decoration: underline; text-decoration-color: var(--amber); }
.yjb-sec--navy .yjb-quote__tel .yjb-ico { color: var(--amber); }
.yjb-hours { list-style: none; padding: 0; margin: 0 0 14px; max-width: 360px; }
.yjb-hours li { display: flex; justify-content: space-between; gap: 18px; padding: 7px 0; border-bottom: 1px solid var(--joint); }
.yjb-sec--navy .yjb-hours li { border-bottom-color: var(--line-dark); }
.yjb-quote__lic { font-size: .9375rem; color: var(--muted); }
.yjb-sec--pale .yjb-quote__lic { color: #4A5966; }
.yjb-sec--navy .yjb-quote__lic { color: var(--on-dark); }
@media (min-width: 900px) { .yjb-quote { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; } }
.yjb-quote__form { background: var(--white); color: var(--text); border: 1px solid var(--joint); padding: clamp(20px, 2.6vw, 38px); }
.yjb-sec--navy .yjb-quote__form { border: 0; box-shadow: 0 30px 70px rgba(6, 18, 30, .4), inset 0 4px 0 var(--amber); }
.yjb-sec--navy .yjb-quote__form a { color: var(--navy); }
.yjb-sec--navy .yjb-quote__form h2, .yjb-sec--navy .yjb-quote__form .yjb-label { color: var(--navy); }
.yjb-sec--navy .yjb-quote__form :focus-visible { outline-color: var(--navy); }
.yjb-sec--navy .yjb-quote__form .yjb-btn--navy, .yjb-sec--navy .yjb-quote__form .yjb-btn--navy:hover { color: var(--white); }
.yjb-sec--navy .yjb-quote__form .yjb-btn--ghost { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.yjb-sec--navy .yjb-quote__form .yjb-btn--ghost:hover { background: var(--pale); color: var(--navy); }
.yjb-form .nf-form-fields-required { font-size: .9375rem; color: var(--muted); margin: 0 0 12px; }
.yjb-form nf-fields-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 18px; }
.yjb-form nf-field { display: block; min-width: 0; }
@media (min-width: 640px) { .yjb-form nf-fields-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .yjb-form nf-field { grid-column: 1 / -1; } .yjb-form nf-field:has(.yjb-half) { grid-column: auto; } }
.yjb-form .nf-field-container { margin: 0 0 16px; }
.yjb-form .nf-field-label { margin: 0 0 5px; }
.yjb-form .nf-field-label label, .yjb-form .nf-field-label .nf-label-span { font: 600 1rem/1.3 var(--body); color: var(--navy); }
.yjb-form .ninja-forms-req-symbol { color: var(--err); }
.yjb-form input.ninja-forms-field:not([type="submit"]):not([type="button"]), .yjb-form textarea, .yjb-form select { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid #76879A; border-radius: 2px; background: var(--white); color: var(--text); font: 400 1.0625rem/1.4 var(--body); transition: border-color .15s, box-shadow .15s; }
.yjb-form input.ninja-forms-field:not([type="submit"]):not([type="button"]):hover, .yjb-form textarea:hover, .yjb-form select:hover { border-color: var(--navy); }
.yjb-form textarea { min-height: 130px; height: 130px; resize: vertical; }
.yjb-form input:focus, .yjb-form textarea:focus, .yjb-form select:focus { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.yjb-form .nf-error .ninja-forms-field { border-color: var(--err); }
.yjb-form .nf-error-msg, .yjb-form .nf-error-required-error { color: var(--err); font-size: .9375rem; margin-top: 5px; }
.yjb-form .nf-form-errors .nf-error-msg { margin: 0 0 12px; font-weight: 700; }
.yjb-form .nf-field-element input[type="submit"], .yjb-form .nf-field-element input[type="button"] { width: 100%; min-height: 58px; padding: 13px 26px; background: var(--amber); color: #14283B; border: 0; border-radius: 2px; box-shadow: inset 0 0 0 4px var(--amber), inset 0 0 0 5px rgba(20, 40, 59, .4); font: 700 1.0625rem/1.2 var(--body); cursor: pointer; transition: background-color .18s, box-shadow .18s; }
.yjb-form .nf-field-element input[type="submit"]:hover, .yjb-form .nf-field-element input[type="button"]:hover { background: var(--amber-hi); box-shadow: inset 0 0 0 3px var(--amber-hi), inset 0 0 0 4px rgba(20, 40, 59, .8); }
.yjb-form .nf-field-element input[type="submit"]:focus-visible, .yjb-form .nf-field-element input[type="button"]:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.yjb-form .nf-after-form-content, .yjb-form .nf-before-form-content { margin: 0; }
.yjb-form__note { margin: 10px 0 0; font-size: .9375rem; color: var(--muted); }
.nf-form-hp, .nf-form-hp * { position: absolute !important; left: -9999px !important; }

/* The happy thank-you */
.yjb-thanks { text-align: left; }
.yjb-thanks:focus { outline: none; }
.yjb-thanks__check { width: 72px; height: 72px; display: grid; place-items: center; background: var(--amber); color: #14283B; margin-bottom: 16px; animation: yjb-pop .5s cubic-bezier(.3, 1.5, .5, 1) both; }
.yjb-thanks__check .yjb-ico { width: 40px; height: 40px; stroke-width: 2.6; }
@keyframes yjb-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.yjb-thanks h2 { margin-bottom: .4em; font-size: clamp(1.7rem, 1.4rem + 1.1vw, 2.3rem); }
.yjb-confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 400; pointer-events: none; }

/* Inner page head */
.yjb-head { position: relative; isolation: isolate; display: grid; background: var(--stone); border-bottom: 1px solid var(--joint); }
.yjb-head::before { background-position: 20% 60%; }
.yjb-head__text { padding: clamp(26px, 3vw, 48px) var(--gut) clamp(34px, 4.4vw, 64px); align-self: center; width: 100%; }
.yjb-head:not(.yjb-head--photo) .yjb-head__text { max-width: calc(var(--wide) + 2 * var(--gut)); margin: 0 auto; }
.yjb-head h1 { margin-bottom: .3em; }
.yjb-head .yjb-lead { margin: 0; max-width: 640px; }
.yjb-head__photo { position: relative; overflow: hidden; height: clamp(230px, 58vw, 360px); order: -1; background: var(--joint); }
.yjb-head__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
@media (min-width: 1000px) {
	.yjb-head--photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 440px; }
	.yjb-head--photo .yjb-head__text { padding-left: max(var(--gut), calc((100vw - 1240px) / 2)); padding-right: 56px; }
	.yjb-head__photo { order: 0; height: auto; }
	.yjb-head__photo img { position: absolute; inset: 0; }
}
.yjb-crumbs ol { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; font-size: .9375rem; color: #4A5966; }
.yjb-crumbs li + li::before { content: "/"; margin: 0 .5em; color: #6C7B89; }
.yjb-crumbs a { color: var(--navy); }
.yjb-crumbs span[aria-current] { color: #4A5966; }

/* Service page text */
.yjb-svc { display: grid; gap: 34px 72px; }
.yjb-svc__text > *:last-child { margin-bottom: 0; }
.yjb-svc__text h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin-top: 1.1em; }
.yjb-svc__text h2:first-child { margin-top: 0; }
.yjb-svc__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--joint-w); align-content: start; }
.yjb-svc__photos figure { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--pale); }
.yjb-svc__photos figure:nth-child(2) { margin-top: clamp(22px, 3.4vw, 48px); }
.yjb-svc__photos figure:only-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.yjb-svc__photos img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .yjb-svc { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; } }

/* FAQ */
.yjb-faq { border-top: 1px solid var(--joint); }
.yjb-faq details { border-bottom: 1px solid var(--joint); }
.yjb-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; font: 500 clamp(1.25rem, 1.1rem + .5vw, 1.55rem)/1.25 var(--display); color: var(--navy); }
.yjb-faq summary::-webkit-details-marker { display: none; }
.yjb-faq summary::after { content: ""; flex: none; width: 36px; height: 36px; border: 1.5px solid var(--navy); background-color: var(--white); background-image: linear-gradient(var(--navy), var(--navy)), linear-gradient(var(--navy), var(--navy)); background-size: 13px 2px, 2px 13px; background-position: 50% 50%; background-repeat: no-repeat; transition: background-size .2s var(--ease), background-color .2s; }
.yjb-faq summary:hover::after { background-color: var(--stone); }
.yjb-faq details[open] summary::after { background-size: 13px 2px, 2px 0; background-color: var(--amber); border-color: var(--amber); }
.yjb-faq details p { margin: 0 0 22px; max-width: 760px; }
.yjb-faq h2 { margin-bottom: .6em; }

/* Contact cards */
.yjb-cards { display: grid; gap: var(--joint-w); }
.yjb-card { background: var(--stone); padding: clamp(24px, 2.8vw, 38px); }
.yjb-card h2 { display: flex; align-items: center; gap: .55em; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); margin-bottom: .6em; }
.yjb-card h2 .yjb-ico { width: 46px; height: 46px; padding: 11px; background: var(--amber); color: #14283B; }
.yjb-card__big { font: 700 clamp(1.3rem, 1.1rem + .8vw, 1.75rem)/1.25 var(--body); margin: 0; overflow-wrap: anywhere; }
.yjb-card__mail { font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); }
@media (min-width: 760px) { .yjb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Articles + legal */
.yjb-article > * { max-width: 760px; }
.yjb-article h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem); }
.yjb-article h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); margin-top: 1.5em; }
.yjb-article h3 { margin-top: 1.4em; }
.yjb-article__img { margin: 0 auto 34px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--pale); box-shadow: 0 24px 50px rgba(18, 41, 63, .16); }
.yjb-article__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.yjb-article .wp-block-post-content > * { max-width: none; margin: 0 0 1.15em; }
.yjb-article .wp-block-post-content > h2 { margin: 1.7em 0 .5em; }
.yjb-article .wp-block-post-content > h3 { margin: 1.4em 0 .5em; }
.yjb-article .wp-block-post-content > .yjb-tip { margin: 1.5em 0; }
.yjb-article .wp-block-post-content > :last-child { margin-bottom: 0; }
.yjb-article .wp-block-post-content > p:first-child { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.3rem); line-height: 1.55; color: var(--navy); }
.yjb-article ul { padding-left: 1.2em; }
.yjb-article .wp-block-post-content > .yjb-ba { margin: 2.2em auto; }
.yjb-tip { background: var(--stone); border-left: 3px solid var(--amber); padding: 16px 20px; }
.yjb-legal > * { max-width: 760px; }
.yjb-legal h2 { font-size: clamp(1.4rem, 1.25rem + .6vw, 1.75rem); margin-top: 1.4em; }
.yjb-more-wrap { margin: 22px auto 0; }

/* About page */
.yjb-trio { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: var(--joint-w); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.yjb-trio li { background: var(--stone); padding: 18px 8px; text-align: center; font: 500 clamp(1.1rem, 1rem + .5vw, 1.35rem)/1.15 var(--display); color: var(--navy); overflow-wrap: anywhere; box-shadow: inset 0 3px 0 var(--amber); }
.yjb-statement { font: 400 clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem)/1.2 var(--display); color: var(--navy); margin: 0; text-wrap: balance; }

/* Footer: deep navy */
.yjb-foot { background: var(--deep); color: #E6ECF2; font-size: 1rem; }
.yjb-foot a { color: var(--white); text-decoration: none; }
.yjb-foot a:hover { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: .2em; }
.yjb-foot :focus-visible { outline-color: var(--amber); }
.yjb-foot__in { max-width: calc(var(--wide) + 2 * var(--gut)); margin: 0 auto; padding: 60px var(--gut) 38px; display: grid; gap: 34px 44px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.yjb-foot__co { grid-column: 1 / -1; }
.yjb-foot__col:last-child { grid-column: 1 / -1; }
.yjb-foot__co img { width: 196px; height: auto; margin-bottom: 14px; }
.yjb-foot__co p { margin: 0 0 10px; }
.yjb-foot__social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.yjb-foot__social a { display: inline-block; padding: 6px 0; text-decoration: underline; text-underline-offset: .2em; text-decoration-color: rgba(255, 255, 255, .5); }
.yjb-foot__h { font: 700 .8rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin: 0 0 14px; }
.yjb-foot__col ul { list-style: none; margin: 0; padding: 0; }
.yjb-foot__col li a { display: inline-block; padding: 4px 0; }
.yjb-foot__big { font: 700 1.4rem/1.2 var(--body); margin: 0 0 8px; }
.yjb-foot__col p { margin: 0 0 8px; overflow-wrap: anywhere; }
.yjb-foot__base { max-width: calc(var(--wide) + 2 * var(--gut)); margin: 0 auto; padding: 16px var(--gut) 22px; border-top: 1px solid rgba(255, 255, 255, .16); display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: space-between; font-size: .9375rem; color: #D6DFE7; }
.yjb-foot__base p { margin: 0; }
.yjb-foot__fine { max-width: calc(var(--wide) + 2 * var(--gut)); margin: 0 auto; padding: 14px var(--gut) 0; font-size: .8125rem; line-height: 1.5; color: #D6DFE7; }
.yjb-foot__legal a { display: inline-block; padding: 2px 0; }
.yjb-foot__legal { display: flex; gap: 22px; }
.yjb-foot__legal a { text-decoration: underline; text-underline-offset: .18em; text-decoration-color: rgba(255, 255, 255, .5); }
.yjb-foot__base a.yjb-credit__a, .yjb-foot__base a.yjb-credit__a:hover, .yjb-foot__base a.yjb-credit__a:focus { text-decoration: underline; text-underline-offset: .18em; }
@media (min-width: 900px) {
	.yjb-foot__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.2fr); }
	.yjb-foot__co, .yjb-foot__col:last-child { grid-column: auto; }
}

/* ============ 1.2.0: the seven design extras. Each has an off switch (option yjb_opt_<name>, see inc/data.php and the README). ============ */

/* 1. Lights on: the banner opens a little dim, then its lit frame switches on like the lit mirrors in their bathrooms. Once, 1.5 s. */
.yjb-stage__dim { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: rgba(9, 20, 33, .52); opacity: 0; }
.yjb-stage--lights .yjb-stage__dim { animation: yjb-dim 1.5s .2s both; }
.yjb-stage--lights::after { animation: yjb-lit 1.5s .2s both; }
@keyframes yjb-dim { 0%, 30% { opacity: 1; } 100% { opacity: 0; } }
@keyframes yjb-lit { 0%, 27% { opacity: .1; } 31% { opacity: .8; } 36% { opacity: .3; } 45%, 100% { opacity: 1; } }

/* A look's photos as one block ("film"): name and line on the left, a lead photo and the rest on the right. Showroom and Projects page. */
.yjb-film { display: grid; gap: 16px 40px; }
.yjb-film__text > :last-child { margin-bottom: 0; }
.yjb-film__name { font: italic 400 clamp(1.9rem, 1.5rem + 1.7vw, 2.9rem)/1.05 var(--display); letter-spacing: -.01em; color: var(--navy); margin: 0 0 .3em; }
.yjb-sec--ink .yjb-film__name { color: var(--amber-hi); }
.yjb-film__text p { margin: 0 0 .6em; max-width: 32em; }
.yjb-film__text .yjb-film__n { font: 700 .78rem/1.3 var(--body); letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.yjb-sec--ink .yjb-film__text .yjb-film__n { color: var(--on-dark); }
.yjb-film__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--joint-w); }
.yjb-film__row li { min-width: 0; min-height: 0; }
.yjb-film__row a { position: relative; display: block; height: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: var(--pale); cursor: zoom-in; }
.yjb-sec--ink .yjb-film__row a { background: #1B3550; }
.yjb-film__row img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.yjb-film__row a:hover img { transform: scale(1.05); }
.yjb-film__row a:focus-visible { outline-offset: -3px; outline-color: var(--amber); }
.yjb-film__row > li:nth-child(2) { --n: 1; }
.yjb-film__row > li:nth-child(3) { --n: 2; }
.yjb-film__row > li:nth-child(4) { --n: 3; }
.yjb-film__row > li:nth-child(5) { --n: 4; }
@media (max-width: 759.98px) {
	.yjb-film--n3 .yjb-film__row li:first-child, .yjb-film--n5 .yjb-film__row li:first-child { grid-column: 1 / -1; }
	.yjb-film--n3 .yjb-film__row li:first-child a, .yjb-film--n5 .yjb-film__row li:first-child a { aspect-ratio: 4 / 3.5; }
	.yjb-film--n3 .yjb-film__row li:first-child img, .yjb-film--n5 .yjb-film__row li:first-child img { object-position: 50% 38%; }
}
@media (min-width: 760px) {
	.yjb-film__row { grid-template-rows: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; height: clamp(380px, 40vw, 540px); }
	.yjb-film__row a { aspect-ratio: auto; }
	.yjb-film__row li:first-child, .yjb-film--n2 .yjb-film__row li:nth-child(2), .yjb-film--n4 .yjb-film__row li:nth-child(2) { grid-row: span 2; }
	.yjb-film--n2 .yjb-film__row { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
	.yjb-film--n3 .yjb-film__row { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
	.yjb-film--n4 .yjb-film__row, .yjb-film--n5 .yjb-film__row { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 1000px) { .yjb-film { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); align-items: end; } }

/* 2. The showroom, "See It In": four finish buttons that swap the photo set; the new photos wipe in like the banner's glass door. */
.yjb-show__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-bottom: 24px; }
.yjb-show__head .yjb-label { margin: 0; }
.yjb-show__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.yjb-chip { min-height: 46px; padding: 10px 18px; background: transparent; color: var(--white); border: 0; border-radius: 2px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); font: 700 .95rem/1.2 var(--body); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.yjb-chip:hover { background: rgba(255, 255, 255, .13); }
.yjb-chip[aria-selected="true"] { background: var(--amber); color: #14283B; box-shadow: inset 0 0 0 4px var(--amber), inset 0 0 0 5px rgba(20, 40, 59, .45); }
.yjb-show__panel:not([hidden]) .yjb-film__row > li { animation: yjb-wipe .95s var(--glass) calc(var(--n, 0) * 90ms) both; }
.yjb-show__panel:not([hidden]) .yjb-film__text { animation: yjb-fade .6s ease .15s both; }
@keyframes yjb-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes yjb-fade { from { opacity: 0; } to { opacity: 1; } }

/* 7. Projects page: the photos grouped by look */
.yjb-job + .yjb-job { margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--joint); }
@media (min-width: 1000px) { .yjb-job:nth-of-type(even) .yjb-film { grid-template-columns: minmax(0, 1fr) minmax(0, 280px); } .yjb-job:nth-of-type(even) .yjb-film__text { order: 2; } }

/* 3. On phones the lightbox becomes "stories": progress bars along the top, the photos advance by themselves, tap the right or left side to move. */
.yjb-lb__segs, .yjb-lb__btn--pause { display: none; }
.yjb-lb__btn--pause .yjb-ico--play, .yjb-lb.is-held .yjb-lb__btn--pause .yjb-ico--pause { display: none; }
.yjb-lb.is-held .yjb-lb__btn--pause .yjb-ico--play { display: block; }
.yjb-lb--stories .yjb-lb__segs { display: flex; gap: 3px; padding: 12px 12px 0; }
.yjb-lb--stories .yjb-lb__btn--pause { display: grid; }
.yjb-lb__segs span { flex: 1; height: 3px; background: rgba(255, 255, 255, .32); overflow: hidden; }
.yjb-lb__segs span::after { content: ""; display: block; height: 100%; background: var(--white); transform: scaleX(0); transform-origin: 0 50%; }
.yjb-lb__segs span.is-done::after, .yjb-lb--still .yjb-lb__segs span.is-now::after { transform: none; }
.yjb-lb--stories:not(.yjb-lb--still) .yjb-lb__segs span.is-now::after { animation: yjb-seg 5s linear both; }
.yjb-lb.is-held .yjb-lb__segs span.is-now::after { animation-play-state: paused; }
@keyframes yjb-seg { from { transform: scaleX(0); } to { transform: none; } }
.yjb-lb--stories > img { padding: 10px 0 0; touch-action: pan-y pinch-zoom; }

/* 4. Vision into reality: on the home page the About photo wipes in over a line drawing made from that same photo. */
.yjb-duo__plan { position: absolute; inset: 0; }
.yjb-duo--plan .yjb-duo__a > .yjb-img { position: relative; }
.yjb-duo--plan.is-wait .yjb-duo__a > .yjb-img { clip-path: inset(0 100% 0 0); }
.yjb-duo--plan.is-wait.is-seen .yjb-duo__a > .yjb-img { clip-path: inset(0); transition: clip-path 1.6s var(--glass) .8s; }

/* 5. How Do I Get Started?: four steps, small line drawings, a line that runs from one to the next, a clock that sweeps one working day. */
.yjb-steps__head { margin-bottom: clamp(26px, 3vw, 40px); }
.yjb-steps__head h2 { margin-bottom: 0; }
.yjb-steps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px 28px; }
.yjb-step { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 18px; align-content: start; }
.yjb-step__ico { grid-row: span 2; position: relative; z-index: 1; width: 64px; height: 64px; display: grid; place-items: center; background: var(--stone); color: var(--navy); box-shadow: inset 0 3px 0 var(--amber); }
.yjb-step__ico svg { fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.yjb-step__no { align-self: end; font: 700 .78rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--amber-ink); }
.yjb-step__t { margin: 3px 0 0; font: 500 clamp(1.15rem, 1.05rem + .4vw, 1.4rem)/1.25 var(--display); color: var(--navy); }
.yjb-clock__h, .yjb-clock__m { transform-box: view-box; transform-origin: 12px 12px; }
.yjb-clock__h { transform: rotate(150deg); }
.yjb-steps.yjb-rise .yjb-clock__h { transform: rotate(-120deg); }
.yjb-steps.yjb-rise .yjb-clock__m { transform: rotate(-3240deg); }
.yjb-steps.yjb-rise.is-in .yjb-clock__h { transform: rotate(150deg); transition: transform 2.8s cubic-bezier(.45, .05, .3, 1) .7s; }
.yjb-steps.yjb-rise.is-in .yjb-clock__m { transform: rotate(0deg); transition: transform 2.8s cubic-bezier(.45, .05, .3, 1) .7s; }
@media (min-width: 900px) {
	.yjb-steps__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.yjb-step { grid-template-columns: minmax(0, 1fr); }
	.yjb-step__ico { grid-row: auto; margin-bottom: 16px; }
	.yjb-step:not(:last-child)::after { content: ""; position: absolute; left: 76px; right: -16px; top: 31px; height: 2px; background: var(--joint); transform-origin: 0 50%; }
	.yjb-steps.yjb-rise .yjb-step::after { transform: scaleX(0); }
	.yjb-steps.yjb-rise.is-in .yjb-step::after { transform: none; transition: transform .7s var(--ease) calc(.35s + var(--k, 0) * .28s); }
	.yjb-step:nth-child(2) { --k: 1; }
	.yjb-step:nth-child(3) { --k: 2; }
}

/* 6. Tap a photo: tiles for "What would you like to remodel?" (the dropdown stays as the field that is sent, hidden while the tiles are there). */
.yjb-picks { grid-column: 1 / -1; min-width: 0; border: 0; margin: 0 0 16px; padding: 0; }
.yjb-picks legend { padding: 0; margin: 0 0 8px; font: 600 1rem/1.3 var(--body); color: var(--navy); }
.yjb-picks__row { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 6px; overflow-x: auto; padding: 3px 3px 10px; margin: 0 -3px; scroll-snap-type: x proximity; }
.yjb-pick { position: relative; display: block; scroll-snap-align: start; cursor: pointer; }
.yjb-pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.yjb-pick__box { display: flex; flex-direction: column; height: 100%; background: var(--white); box-shadow: inset 0 0 0 1.5px #76879A; transition: box-shadow .15s; }
.yjb-pick__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); margin: 1.5px 1.5px 0; }
.yjb-pick__img img { width: 100%; height: 100%; object-fit: cover; }
.yjb-pick__img--none::before, .yjb-pick__img--none::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin: -1px 0 0 -9px; background: var(--amber); }
.yjb-pick__img--none::after { transform: rotate(90deg); }
.yjb-pick__l { display: block; padding: 7px 9px 9px; font: 600 .84rem/1.25 var(--body); color: var(--navy); }
.yjb-pick:hover .yjb-pick__box { box-shadow: inset 0 0 0 1.5px var(--navy); }
.yjb-pick input:checked + .yjb-pick__box { box-shadow: inset 0 0 0 3px var(--navy), inset 0 -7px 0 0 var(--amber); }
.yjb-pick input:focus-visible + .yjb-pick__box { outline: 3px solid var(--navy); outline-offset: 2px; }
.yjb-form.has-picks .yjb-f-project { display: none; }
@media (min-width: 640px) { .yjb-picks__row { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; padding: 0; margin: 0; } }

/* Phones: the bottom bar, exactly two buttons */
.yjb-callbar { display: none; }
@media (max-width: 767.98px) {
	:root { --head-h: 68px; }
	html { scroll-padding-bottom: 84px; }
	body { padding-bottom: 62px; }
	.yjb-brand img { height: 48px; }
	.yjb-callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; background: var(--white); box-shadow: 0 -4px 16px rgba(18, 41, 63, .16); padding-bottom: env(safe-area-inset-bottom); }
	.yjb-callbar a { display: flex; align-items: center; justify-content: center; gap: .45em; min-height: 62px; font: 700 1.0625rem/1 var(--body); text-decoration: none; }
	.yjb-foot .yjb-callbar__call, .yjb-foot .yjb-callbar__call:hover { background: var(--navy); color: var(--white); }
	.yjb-foot .yjb-callbar__quote, .yjb-foot .yjb-callbar__quote:hover { background: var(--amber); color: #14283B; }
	.yjb-label { font-size: .75rem; letter-spacing: .1em; gap: .55em; }
	.yjb-label::before { width: 16px; }
	.yjb-btns .yjb-btn { flex: 1 1 100%; }
}

/* Block defaults that would fight the layout */
.wp-block-group { box-sizing: border-box; }
.wp-block-image { margin: 0; }
.wp-block-heading { margin-top: 0; }

/* ---------- 1.3.0: stock footage (option "film"). Banner: one clip that melts into the stone text column, nothing laid over it but the
   pause button. Service tiles: landscape 4:3, a still from each clip; the clip itself plays while the tile is hovered or focused.
   The stills are ordinary pictures; the videos are fetched only when they are about to play (site.js). ---------- */
.yjb-hero--film::before { display: none; }
.yjb-stage--film { background: #DCE3EA; }
.yjb-stage--film::before, .yjb-stage--film::after { display: none; }
.yjb-clip__still, .yjb-clip__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 68% 50%; }
.yjb-clip__video { z-index: 1; opacity: 0; transition: opacity .9s ease; }
.yjb-clip__video.is-playing { opacity: 1; }
.yjb-clip__fade { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 22%; pointer-events: none; background: linear-gradient(to top, var(--stone), rgba(246, 243, 238, 0)); }
.yjb-stage--film .yjb-stage__ctl { left: auto; right: 16px; bottom: auto; top: 16px; }
@media (min-width: 1000px) {
	.yjb-hero--film { grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); min-height: min(calc(100vh - var(--head-h)), 700px); }
	.yjb-clip__fade { top: 0; right: auto; width: 20%; height: auto; background: linear-gradient(to right, var(--stone), rgba(246, 243, 238, 0)); }
	.yjb-stage--film .yjb-stage__ctl { right: 28px; top: auto; bottom: 28px; }
}
.yjb-slabs--film .yjb-slab__img { position: relative; }
.yjb-slab__clip { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity .35s ease, transform 1.1s var(--ease); }
.yjb-slab__clip.is-playing { opacity: 1; }
.yjb-slab__a:hover .yjb-slab__clip { transform: scale(1.045); }
@media (min-width: 640px) { .yjb-slabs--film .yjb-slab__img, .yjb-slabs--film .yjb-slab__all { aspect-ratio: 4 / 3; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.yjb-rise, .yjb-wall.yjb-rise > li, .yjb-slabs.yjb-rise .yjb-slab__name, .yjb-slabs.yjb-rise .yjb-slab__text, .yjb-slabs.yjb-rise .yjb-slab__all, .yjb-area.yjb-rise .yjb-map__on path { opacity: 1; transform: none; }
	.yjb-slabs.yjb-rise .yjb-slab__img img, .yjb-slabs.yjb-rise .yjb-slab--all { clip-path: none; }
	.yjb-rise .yjb-label::before, .yjb-label.yjb-rise::before { transform: none; }
	.yjb-lb__segs span.is-now::after { transform: none; }
}
