/* Site footer (see ../init.php). Tokens: ink #0a132e, copper #b6977d, cream #faf7f2, line #ebe4dc. */
#footer { background: #f8f8f8; }
#footer .absolute-footer { display: none; }

.bf { box-sizing: border-box; width: 100%; max-width: 1400px; margin: 0 auto; padding: 72px 20px 48px; font-family: "Light", sans-serif; color: #0a132e; }
.bf *, .bf *:before, .bf *:after { box-sizing: border-box; }
:where(.bf) a { color: inherit; text-decoration: none; }
.bf ul { margin: 0; padding: 0; list-style: none; }
.bf li { margin: 0; padding: 0; list-style: none; }
:where(.bf) p { margin: 0; }

.bf__card { padding: 0; }

/* columns */
.bf__grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: start; }
.bf__col { padding: 6px 40px; }
.bf__col--nav { padding-left: 0; }
.bf__col--info { padding-right: 0; padding-left: 56px; }
.bf__title { display: flex; align-items: center; justify-content: space-between; margin: 0 0 22px; font-family: "Brilli", serif; font-size: 22px; font-weight: 600; line-height: 1.2; color: #0a132e; list-style: none; cursor: default; }
.bf__title::-webkit-details-marker { display: none; }
.bf__title svg { display: none; }
.bf__list li + li { margin-top: 13px; }
.bf__list a { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; line-height: 1.35; transition: color .15s; }
.bf__list a:after { content: ""; flex: none; width: 16px; height: 16px; background: #b6977d; transition: transform .15s;
	-webkit-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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.bf__list a:hover { color: #b6977d; }
.bf__list a:hover:after { transform: translateX(3px); }

/* brand */
.bf__brand { padding: 0 40px; border-left: 1px solid #efe6dc; border-right: 1px solid #efe6dc; text-align: center; }
.bf__logo { position: relative; display: block; width: 150px; margin: 0 auto 22px; }
.bf__logo img { display: block; width: 100%; height: auto; }
.bf__about { position: relative; max-width: 360px; margin: 0 auto 24px; font-size: 15.5px; line-height: 1.7; color: #4a5068; }
.bf__social { position: relative; display: flex; justify-content: center; gap: 12px; }
.bf__social a { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #f4ece3; color: #0a132e; transition: background .15s, color .15s; }
.bf__social a:hover { background: #0a132e; color: #fff; }

/* bottom bar */
.bf__bar { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.bf__pill { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 0; padding: 14px 30px; background: #fff; border: 1px solid #ebe4dc; border-radius: 40px; }
p.bf__copy { margin-bottom: 0; }
.bf__copy { white-space: nowrap; font-size: 14px; line-height: 1.4; color: #0a132e; }
.bf__seo { padding-left: 28px; border-left: 1px solid #ebe4dc; }
.bf__list--inline { display: grid; grid-template-columns: auto auto; gap: 6px 0; justify-items: start; }
.bf__list--inline li + li { margin-top: 0; }
.bf__list--inline li:nth-child(even):before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 14px; border-radius: 50%; background: #b6977d; vertical-align: middle; }
.bf__list--inline a { font-size: 14px; color: #4a5068; }
.bf__list--inline a:after { display: none; }
.bf__top { flex: none; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border: 1px solid #b6977d; border-radius: 50%; background: #fff; color: #b6977d; transition: background .15s, color .15s; }
.bf__top:hover { background: #b6977d; color: #fff; }

/* desktop: the bottom pill uses the same columns as the grid above (dividers line up) */
@media (min-width: 1020px) {
	.bf__bar { position: relative; display: block; }
	.bf__pill { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: center; gap: 0; padding: 14px 0; }
	.bf__copy { align-self: center; padding-left: 30px; }
	.bf__seo { grid-column: 2 / 4; display: flex; align-items: center; padding: 0 85px 0 40px; border-left: 1px solid #ebe4dc; }
	.bf__seo .bf__list--inline { display: flex; flex: 1; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
	.bf__list--inline li:nth-child(even):before { display: none; }
	.bf__top { position: absolute; right: 9px; top: 50%; width: 44px; height: 44px; margin-top: -22px; }
}

/* tablet: stack the brand on top, columns side by side */
@media (max-width: 1019px) {
	.bf__grid { grid-template-columns: 1fr 1fr; }
	.bf__brand { grid-column: 1 / -1; order: -1; margin-bottom: 36px; padding: 0 0 36px; border: 0; border-bottom: 1px solid #efe6dc; }
	.bf__col, .bf__col--nav, .bf__col--info { padding: 0 24px; }
	.bf__pill { flex-wrap: wrap; row-gap: 8px; }
}

/* phone: accordions */
@media (max-width: 849px) {
	.bf { padding: 40px 20px 32px; }
	.bf__grid { display: flex; flex-direction: column; align-items: stretch; }
	.bf__brand { order: -1; margin-bottom: 22px; padding: 0 0 22px; border-bottom: 0; }
		.bf__logo { width: 120px; margin-bottom: 16px; }
	.bf__about { margin-bottom: 18px; font-size: 14px !important; }
	.bf__social a { width: 44px; height: 44px; }
	.bf__col, .bf__col--nav, .bf__col--info { padding: 0; border-top: 1px solid #efe6dc; }
	.bf__title { margin: 0; padding: 16px 0; font-size: 19px; cursor: pointer; }
	.bf__title svg { display: block; flex: none; transition: transform .2s; }
	.bf__col[open] .bf__title svg { transform: rotate(180deg); }
	.bf__col .bf__list { padding-bottom: 14px; }
	.bf__list a { font-size: 15px; }
	.bf__bar { display: grid; grid-template-columns: 1fr auto; gap: 18px 12px; margin-top: 8px; padding-top: 18px; border-top: 1px solid #efe6dc; }
	.bf__pill { display: contents; }
	.bf__seo { grid-column: 1 / -1; grid-row: 1; padding: 0 0 18px; border: 0; border-bottom: 1px solid #efe6dc; }
	.bf__list--inline { grid-template-columns: 1fr 1fr; gap: 12px 12px; }
	.bf__list--inline li:nth-child(even):before { display: none; }
	.bf__list--inline a { font-size: 13px; white-space: nowrap; }
	.bf__copy { grid-row: 2; align-self: center; white-space: normal; text-wrap: balance; font-size: 14px !important; line-height: 1.5; color: #4a5068; text-align: left; }
	.bf__top { grid-row: 2; width: 40px; height: 40px; }
}

