/* The Line Lofts — site-specific corrections (WCAG 1.4.3 / 1.4.11)
   Brand gold #b9975b reaches 2.7:1 on white and 2.4:1 on the pale grey panels.
   Each colour moves to the nearest shade of itself that passes. */

/* Links and gold text on light backgrounds: #b9975b -> #836738 (4.6:1 on #eff0f0, 5.3:1 on white) */
a { color: #836738; }
.global-header .link-button { color: #836738; border-color: #836738; }
.global-header .link-button:hover, .global-header .link-button:active, .global-header .link-button:focus-visible { background-color: #836738; color: #fff; }
.global-header .hamburger:hover .bars, .global-header .hamburger:hover .bars:before, .global-header .hamburger:hover .bars:after { background-color: #836738; }
.global-header .nav-button.covid:hover { color: #836738; }

/* Gold on the dark footer and the dark interest-form panel: 3.9:1 -> lighter gold #c3a672 */
footer.global-footer .more .link,
footer.global-footer .links .item:hover, footer.global-footer .contact a:hover, footer.global-footer .byline a:hover { color: #c3a672; }
footer.global-footer .contact a { color: inherit; }
.interest-form form .submit { color: #c3a672; border-color: #c3a672; }
.interest-form form .submit:hover, .interest-form form .submit:focus-visible { background-color: #c3a672; color: #1a1a1a; }

/* Page headings in the darker gold #a7874f: large ones need 3:1 (-> #a3834d), small ones 4.5:1 (-> #81683d) */
.section.subhead .subhead, .section.header-plain .header, .section.header-arrangement .header { color: #a3834d; }
.section.one-column-copy .copy h2, .section.information-block .header,
.section.apartment-table table tr th, .section.apartment-table table tr td .download, .section.apartment-table table tr td:before,
.section.google-map .map .infoBox .info-header, .section.carousel-banner .cta-buttons .cta { color: #81683d; }

/* Links inside running text are underlined, so they do not rely on colour alone (WCAG 1.4.1) */
.section .copy a { text-decoration: underline; }

/* Neighbourhood map category tabs: white on coral / gold / orange -> one shade deeper each */
.section.google-map .controls .item.category-markets { background-color: #d73c21; }
.section.google-map .controls .item.category-restaurants { background-color: #8c7142; }
.section.google-map .controls .item.category-entertainment { background-color: #bd5802; }

/* Floor-plan fine print: #999ea3 on #eff0f0 was 2.4:1 -> #676c72 */
.section.disclaimer .header, .section.disclaimer .copy p { color: #676c72; }

/* "Site by" credit: #c7c7c7 on #eeefef was 1.5:1 -> #6b6b6b */
.footer-lower .site-by a { color: #6b6b6b; }

/* The site sets its base font size to 0 and sizes every element in px, so the
   toolbar's "Larger text" uses zoom here instead */
html[data-a11y-text="large"] body { zoom: 1.125; }

/* Interest-list panel: hidden above the page when closed, but its fields stayed in the
   tab order. Now hidden from keyboards and screen readers until it slides in. */
.interest-form:not(.show) { visibility: hidden; transition: transform .4s, visibility 0s linear .4s; }
.interest-form.show { visibility: visible; transition: transform .4s; }

/* Footer: the policy links sit on one tidy line under the address */
/* the policy links sit side by side and wrap onto new lines on narrow screens; the theme's
   inline links have no space between them, so without this they run off a phone screen */
footer.global-footer .more .break.a11y-legal { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 6px; margin-top: 10px; }
/* centred under the whole footer, not just its left half (Kenia, 9 Nov); lifted above the right half so it stays clickable */
@media screen and (min-width: 768px) { footer.global-footer .more .break.a11y-legal { position: relative; z-index: 1; width: calc(200% + 20px); } }
footer.global-footer .more .a11y-legal .link { font-size: 12px; white-space: nowrap; }
footer.global-footer .more .a11y-legal .link:after { margin: 0 6px; }

/* Floor-plan pages: the old unit table is replaced by a line pointing to the Availability page */
.section.a11y-avail-note { text-align: center; padding: 0 20px 1.5em; font-size: 1.05em; }
.section.a11y-avail-note a { text-decoration: underline; }

/* The theme's call-to-action buttons turn gold on hover with cream text on #a7874f (3.07:1); the same gold,
   darker, keeps the look and passes (4.8:1). The dark "alternate" buttons were already fine. */
.section.carousel-banner .cta-buttons .cta:hover,
.section.header-arrangement .content .cta-buttons .cta:hover,
.section.cta-button .cta:hover { background-color: #81683d; }
.section.cta-button.alternate .cta:hover { background-color: rgb(51, 63, 72); }
