/* Atlas chrome: header, phone menu, footer and Gravity Forms in the Atlas look. Loaded by atlas-site.php. */

/* The theme's chrome fonts only take Google fonts, so Atlas's Adobe fonts go on here. */
body,
#nectar-nav, #nectar-nav a,
#slide-out-widget-area, #slide-out-widget-area a,
.atlas-footer, .atlas-footer a,
.gform_wrapper, .gform_wrapper :is(input, select, textarea, button, label, legend) {
	font-family: var(--atlas-text) !important;
}
body :is(h1, h2, h3, h4, h5, h6) { font-family: var(--atlas-display) !important; }
/* NB type roles carry their own font-family (Roboto from the theme defaults); map them to Atlas's faces. */
body :is(.nectar-font-body, .nectar-font-em, .nectar-font-label, .nectar-blocks-button, .nectar-blocks-button *) { font-family: var(--atlas-text) !important; }
body :is(.nectar-font-h1, .nectar-font-h2, .nectar-font-h3, .nectar-font-h4, .nectar-font-h5, .nectar-font-h6) { font-family: var(--atlas-display) !important; }
/* Atlas sets Forma DJR at its default tracking: no negative letter-spacing anywhere (Adam, 2026-11-10). */
body :is(h1, h2, h3, h4, h5, h6), #nectar-nav, #nectar-nav a, #slide-out-widget-area a, #logo { letter-spacing: 0 !important; }
body { color: var(--atlas-ink); }
body .container-wrap, body #ajax-content-wrap { background-color: var(--atlas-paper); }

/* Header */
#nectar-nav .sf-menu > li > a { font-weight: 500; font-size: 16px; }
#nectar-nav .sf-menu > li > a[href^="tel:"] { font-weight: 700; }
/* "Pay rent": the theme paints the pill on a pseudo-element and leaves the label ink-on-ink. */
#nectar-nav .menu-item-btn-style-regular > a,
#nectar-nav .menu-item-btn-style-regular > a .menu-title-text { color: #F6F4EF !important; font-weight: 600; }
#nectar-nav .menu-item-btn-style-regular > a,
#nectar-nav .menu-item-btn-style-regular > a::before,
#nectar-nav .menu-item-btn-style-regular > a::after { border-radius: 999px !important; }
#nectar-nav .menu-item-btn-style-regular > a::before { background-color: var(--atlas-ink) !important; }
#nectar-nav .menu-item-btn-style-regular > a:hover::before { background-color: var(--atlas-ink-2) !important; }
#nectar-nav .menu-item-btn-style-regular > a .menu-title-text { padding: 0 8px; }
#slide-out-widget-area .menu a { font-size: 24px; font-weight: 600; }

/* Footer: the theme's copyright bar is replaced by .atlas-footer */
#footer-outer #copyright { display: none; }
.atlas-footer { background: var(--atlas-ink); color: var(--atlas-mist); }
.atlas-footer__inner { max-width: 1280px; margin: 0 auto; padding: 56px 24px 40px; display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .atlas-footer__inner { grid-template-columns: 1.1fr 1fr 0.9fr; align-items: start; } }
.atlas-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.atlas-footer__brand img { width: 168px; height: auto; }
.atlas-footer__tag { font-family: var(--atlas-display) !important; font-size: 28px; font-weight: 700; color: #F6F4EF; margin: 0; }
.atlas-footer__phone { font-size: 20px; font-weight: 700; }
.atlas-footer a { color: #F6F4EF !important; text-decoration: none; }
.atlas-footer a:hover { text-decoration: underline; }
.atlas-footer__phone span { display: block; font-family: var(--atlas-mono) !important; font-size: 13px; font-weight: 500; color: #B9C0BC; margin-top: 4px; }
.atlas-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.atlas-footer__nav li::marker { content: none; }
.atlas-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.atlas-footer__legal { grid-column: 1 / -1; border-top: 1px solid #2B3438; padding-top: 20px; font-family: var(--atlas-mono) !important; font-size: 13px; color: #B9C0BC; margin: 0; }

/* Gravity Forms: Atlas pills and chips. Labels in sentence case, not the theme's caps. */
.gform_wrapper .gfield_label,
.gform_wrapper legend.gfield_label,
.gform_wrapper .gchoice label,
.gform_wrapper .gform-field-label { text-transform: none !important; letter-spacing: 0 !important; color: var(--atlas-ink) !important; }
.gform_wrapper .gfield_label { font-weight: 700 !important; font-size: 15px !important; }
.gform_wrapper .gfield_required { color: var(--atlas-muted) !important; font-weight: 500; }
.gform_wrapper :is(input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea) {
	min-height: 50px; padding: 12px 14px !important; border-radius: 12px !important; border: 1.5px solid #C9CECB !important;
	background: #fff !important; color: var(--atlas-ink) !important; font-size: 16px !important; box-shadow: none !important;
}
.gform_wrapper :is(input, select, textarea):focus { outline: 3px solid var(--atlas-ink) !important; outline-offset: 2px; }
/* Radios and checkboxes as chips. The input stays in the DOM and focusable. */
.gform_wrapper .gfield--type-radio .gfield_radio,
.gform_wrapper .gfield--type-checkbox .gfield_checkbox { display: flex !important; flex-wrap: wrap; gap: 8px; }
.gform_wrapper .gchoice { position: relative; margin: 0 !important; }
.gform_wrapper .gchoice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.gform_wrapper .gchoice label {
	display: inline-flex !important; align-items: center; min-height: 44px; padding: 0 16px !important; margin: 0 !important; max-width: none !important;
	border-radius: 999px; border: 1.5px solid #C9CECB; background: #fff; font-weight: 600 !important; font-size: 15px !important; cursor: pointer;
}
.gform_wrapper .gchoice label::before, .gform_wrapper .gchoice label::after { display: none !important; }
.gform_wrapper .gchoice input:checked + label { background: var(--atlas-ink); border-color: var(--atlas-ink); color: #F6F4EF !important; }
.gform_wrapper .gchoice input:focus-visible + label { outline: 3px solid var(--atlas-ink); outline-offset: 3px; }
.gform_wrapper :is(.gform_button, .gform_next_button, .gform_previous_button, input[type=submit], button[type=submit]) {
	min-height: 52px !important; padding: 0 26px !important; border-radius: 999px !important; border: 1.5px solid var(--atlas-ink) !important;
	background: var(--atlas-ink) !important; color: #F6F4EF !important; font-size: 17px !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer;
}
.gform_wrapper .gform_previous_button { background: transparent !important; color: var(--atlas-ink) !important; }
.gform_wrapper .gf_progressbar_wrapper, .gform_wrapper .gf_page_steps { border-color: var(--atlas-line) !important; }
.gform_wrapper .gf_step_active .gf_step_number { background: var(--atlas-ink) !important; border-color: var(--atlas-ink) !important; color: #F6F4EF !important; }
.gform_wrapper .gf_step_label { text-transform: none !important; }

.atlas-footer__broker { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 18px; border: 1px solid #2B3438; }
.atlas-footer__broker p { margin: 0; font-size: 15px; line-height: 1.5; color: #B9C0BC; }
.atlas-footer__broker .atlas-footer__broker-title { font-size: 17px; font-weight: 700; color: #F6F4EF; }
.atlas-footer__broker a { color: #7FE3C4 !important; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }

/* The theme's "slightly rounded" button rule outranks the pill styling above on some forms
   (e.g. the showing request on commercial pages). More specific, same pill. */
html body .gform_wrapper .gform_footer input[type="submit"],
html body .gform_wrapper .gform_footer button[type="submit"],
html body .gform_wrapper .gform_page_footer input[type="button"],
html body .gform_wrapper .gform_page_footer input[type="submit"] { border-radius: 999px !important; }

/* Phone numbers never break across lines. */
a[href^="tel:"] { white-space: nowrap; }

/* Header logo animation overlay (logo-anim.js). */
.atlas-logo-anim { position: absolute; overflow: visible; pointer-events: none; }

/* Brand spot (About). The theme forces a radius on buttons, so the circle is an inner span. */
.atlas-spot { position: relative; margin: 0; border-radius: 28px; overflow: hidden; background: var(--atlas-ink); aspect-ratio: 16 / 9; }
.atlas-spot video { width: 100%; height: 100%; object-fit: cover; display: block; }
.atlas-spot__pause { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; padding: 0 !important; border: 0; background: transparent !important; box-shadow: none !important; cursor: pointer; }
.atlas-spot__dot { position: absolute; inset: 0; border-radius: 50%; background: rgba(15, 26, 28, 0.78); display: grid; place-items: center; }
.atlas-spot__dot span { width: 12px; height: 14px; border-left: 4px solid #F6F4EF; border-right: 4px solid #F6F4EF; box-sizing: border-box; }
.atlas-spot__pause[aria-pressed="true"] .atlas-spot__dot span { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #F6F4EF; margin-left: 3px; }
.atlas-spot__pause:focus-visible { outline: none; }
.atlas-spot__pause:focus-visible .atlas-spot__dot { outline: 3px solid #F6F4EF; outline-offset: 2px; }
@media (max-width: 899px) { .atlas-spot { border-radius: 20px; } }

/* Headings inside a form's HTML blocks (e.g. the application's "Additional Documentation
   Required") sit at section size, not page-title size; their lists read in sentence case. */
.gform_wrapper :is(.gfield--type-html, .gfield_description) :is(h1, h2, h3) { font-size: 22px !important; line-height: 1.2; margin: 8px 0 !important; }
.gform_wrapper :is(.gfield--type-html, .gfield_description) li { text-transform: none !important; }
.gform_wrapper .gsection_title { font-size: 22px !important; }

/* A description above the choices: GF pads it like a block of help text, which opens a gap
   between the label and its hint ("Where" on the waitlist). Sit it right under the label. */
.gform_wrapper .field_description_above .gfield_description { margin-top: 0 !important; padding: 0 0 10px !important; }
