/*
Theme Name: Atlas Deal Network
Theme URI: https://atlasdealnetwork.com/
Author: Atlas Deal Network
Author URI: https://atlasdealnetwork.com/
Description: A premium, Tennessee-focused real estate investment theme in midnight navy and champagne gold. Preserves the original Atlas Deal Network landing design: Find. Acquire. Profit., seller and cash-buyer journeys, how it works, Nashville, Memphis and Chattanooga markets, about, and a validated lead-generation contact form that emails the WordPress administrator.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atlas-deal-network
Tags: custom-logo, custom-menu, featured-images, full-width-template, one-column
*/

:root {
  --navy: #07182f;
  --navy-2: #102b4c;
  --gold: #ddae4b;
  --gold-soft: #efd08a;
  --ivory: #f7f5f0;
  --white: #ffffff;
  --slate: #78869a;
  --ink: #10243d;
  --line: rgba(16, 43, 76, 0.14);
  --line-light: rgba(255, 255, 255, 0.17);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --display: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--ivory);
  color: var(--ink);
}
body,
button,
input,
select,
textarea {
  font-family: var(--sans);
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
img {
  display: block;
  max-width: 100%;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.container {
  width: min(1220px, calc(100% - 64px));
  margin: 0 auto;
}
.section-pad {
  padding: 138px 0;
}

/* Brand / navigation */
.site-nav {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--white);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}
.site-nav--scrolled {
  background: rgba(7, 24, 47, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(14px);
}
.site-nav__inner {
  width: min(1320px, calc(100% - 64px));
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 190px;
}
.brand-mark__icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  position: relative;
  transform: rotate(45deg);
  border: 1px solid currentColor;
}
.brand-mark__ring {
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}
.brand-mark__needle {
  position: absolute;
  width: 1px;
  height: 38px;
  background: var(--gold);
  transform: rotate(-45deg);
}
.brand-mark__type {
  display: grid;
  gap: 1px;
  line-height: 1;
}
.brand-mark__type strong {
  font: 700 14px/1 var(--display);
  letter-spacing: 0.23em;
}
.brand-mark__type small {
  font: 500 7px/1.2 var(--sans);
  letter-spacing: 0.27em;
  opacity: 0.62;
}
.brand-mark--inverted {
  color: var(--white);
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}
.desktop-nav a {
  position: relative;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.74;
  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--gold);
  transition: right 0.25s ease;
}
.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--gold-soft);
  opacity: 1;
}
.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  right: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button:focus-visible,
.text-link:focus-visible,
.menu-toggle:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.button--gold {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 10px 26px rgba(221, 174, 75, 0.16);
}
.button--gold:hover {
  background: var(--gold-soft);
  box-shadow: 0 13px 32px rgba(221, 174, 75, 0.27);
}
.button--ghost-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}
.button--ghost-light:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}
.button--outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  margin-top: 26px;
}
.button--outline-light:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}
.button--navy {
  color: var(--white);
  background: var(--navy);
}
.button--full {
  width: 100%;
}
.menu-toggle,
.mobile-nav {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 720px;
  height: min(100vh, 880px);
  display: grid;
  grid-template-columns: minmax(46%, 1fr) minmax(42%, 1fr);
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}
.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 138px 8vw 80px max(32px, calc((100vw - 1220px) / 2));
  background: var(--navy);
  isolation: isolate;
}
.hero__copy::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: -11vw;
  width: 22vw;
  height: 100%;
  background: var(--navy);
  clip-path: polygon(0 0, 48% 0, 100% 50%, 48% 100%, 0 100%, 48% 50%);
  opacity: 0.96;
}
.hero__contours {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  opacity: 0.38;
}
.hero__contours span {
  position: absolute;
  border: 1px solid rgba(221, 174, 75, 0.23);
  border-radius: 50%;
  transform: rotate(-24deg);
  animation: drift 14s ease-in-out infinite alternate;
}
.hero__contours span:nth-child(1) {
  width: 590px;
  height: 180px;
  right: -220px;
  top: 80px;
}
.hero__contours span:nth-child(2) {
  width: 700px;
  height: 230px;
  right: -280px;
  top: 180px;
  animation-delay: -5s;
}
.hero__contours span:nth-child(3) {
  width: 810px;
  height: 270px;
  right: -340px;
  top: 300px;
  animation-delay: -8s;
}
.section-kicker {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}
.section-kicker--light {
  color: var(--gold-soft);
}
.hero h1 {
  max-width: 650px;
  margin: 0;
  font: 800 clamp(56px, 7.25vw, 112px) / 0.91 var(--display);
  letter-spacing: -0.08em;
}
.hero h1 span {
  color: var(--gold);
}
.hero__lede {
  max-width: 455px;
  margin: 30px 0 35px;
  color: rgba(255, 255, 255, 0.69);
  font-size: 15px;
  line-height: 1.75;
}
.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__meta {
  display: flex;
  gap: 36px;
  margin-top: 64px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.hero__meta-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 8px 1px 0;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(221, 174, 75, 0.11);
}
.hero__visual {
  position: relative;
  overflow: hidden;
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s ease-out both;
}
.hero__visual-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 47, 0.7), transparent 45%),
    linear-gradient(0deg, rgba(7, 24, 47, 0.52), transparent 40%);
}
.hero__caption {
  position: absolute;
  right: 38px;
  bottom: 35px;
  left: 38px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero__caption span:first-child {
  color: var(--gold);
}
.scroll-cue {
  position: absolute;
  right: 27px;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-cue svg {
  color: var(--gold);
  animation: bob 1.7s ease-in-out infinite;
}

/* Credibility */
.credibility {
  color: var(--white);
  background: var(--navy-2);
}
.credibility__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.credibility__item {
  min-height: 142px;
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 24px 26px;
  border-right: 1px solid var(--line-light);
}
.credibility__item:first-child {
  padding-left: 0;
}
.credibility__item:last-child {
  border-right: 0;
  padding-right: 0;
}
.credibility__item > svg {
  flex: 0 0 auto;
  color: var(--gold);
}
.credibility__item h3 {
  margin: 0 0 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.credibility__item p {
  max-width: 190px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.55;
}

/* Shared editorial elements */
.seller-section {
  background: var(--ivory);
}
.seller-section__layout,
.about-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(55px, 8vw, 128px);
  align-items: center;
}
.editorial-image {
  position: relative;
  min-height: 610px;
}
.editorial-image::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 40px;
  right: -28px;
  bottom: -32px;
  left: 30px;
  border: 1px solid var(--gold);
}
.editorial-image img {
  position: relative;
  z-index: 1;
  width: calc(100% - 33px);
  height: 610px;
  object-fit: cover;
  object-position: 52% center;
}
.editorial-image__label {
  position: absolute;
  z-index: 2;
  left: -4px;
  bottom: 35px;
  padding: 11px 14px;
  color: var(--white);
  background: var(--navy);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.editorial-image__line {
  position: absolute;
  z-index: 2;
  top: -22px;
  right: 24px;
  width: 1px;
  height: 96px;
  background: var(--gold);
}
.seller-section__copy h2,
.about-section__copy h2,
.section-heading h2,
.contact-section h2 {
  margin: 0;
  color: var(--navy);
  font: 800 clamp(35px, 4.3vw, 59px) / 1.02 var(--display);
  letter-spacing: -0.065em;
}
.seller-section__copy h2 em,
.about-section__copy h2 em,
.section-heading h2 em,
.contact-section h2 em {
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.05em;
}
.seller-section__copy > p,
.about-section__copy > p {
  max-width: 600px;
  margin: 27px 0 30px;
  color: #516279;
  font-size: 15px;
  line-height: 1.8;
}
.check-list {
  display: grid;
  gap: 15px;
  padding: 0;
  margin: 0 0 34px;
  list-style: none;
  color: var(--ink);
  font-size: 13px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}
.check-list svg {
  flex: 0 0 auto;
  color: var(--gold);
  margin-top: 1px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  color: var(--navy);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    color 0.25s ease,
    gap 0.25s ease;
}
.text-link svg {
  color: var(--gold);
  transition: transform 0.25s ease;
}
.text-link:hover {
  color: var(--gold);
}
.text-link:hover svg {
  transform: translate(3px, -3px);
}
.text-link--large {
  font-size: 12px;
}

/* Buyers */
.buyers-section {
  background: #ebe9e2;
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
  gap: 80px;
  align-items: end;
}
.section-heading--buyers h2 {
  max-width: 700px;
}
.section-heading--buyers > div:last-child {
  padding-bottom: 5px;
}
.section-heading--buyers p {
  margin: 0 0 22px;
  color: #56667a;
  font-size: 14px;
  line-height: 1.8;
}
.property-modal__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.property-modal__metrics span {
  display: block;
  margin-bottom: 5px;
  color: var(--slate);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.property-modal__metrics strong {
  color: var(--navy);
  font-size: 13px;
}
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.property-card {
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 43, 76, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(16, 43, 76, 0.13);
}
.property-card__image-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--navy-2);
}
.property-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72);
  transition:
    transform 0.7s ease,
    filter 0.4s ease;
}
.property-card:hover .property-card__image {
  transform: scale(1.04);
  filter: saturate(1);
}
.property-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 9px;
  color: var(--navy);
  background: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.property-card__body {
  padding: 23px;
}
.property-card__location {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.property-card__location svg {
  color: var(--gold);
}
.property-card h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font: 700 21px/1 var(--display);
  letter-spacing: -0.04em;
}
.property-card__location p {
  margin: 0;
  color: var(--slate);
  font-size: 11px;
}
.property-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 23px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.property-card__metrics span {
  display: block;
  margin-bottom: 5px;
  color: var(--slate);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.property-card__metrics strong {
  color: var(--navy);
  font-size: 11px;
}
.property-card__note {
  min-height: 47px;
  margin: 0 0 20px;
  color: #647287;
  font-size: 12px;
  line-height: 1.55;
}

/* Process */
.process-section,
.contact-section,
.site-footer {
  color: var(--white);
  background: var(--navy);
}
.section-heading--process h2,
.section-heading--markets h2,
.contact-section h2 {
  color: var(--white);
}
.process-tabs {
  display: inline-flex;
  justify-self: end;
  align-self: end;
  border-bottom: 1px solid var(--line-light);
}
.process-tabs button {
  position: relative;
  padding: 0 0 14px;
  color: rgba(255, 255, 255, 0.46);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.process-tabs button + button {
  margin-left: 27px;
}
.process-tabs button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: transparent;
}
.process-tabs button.is-active {
  color: var(--gold-soft);
}
.process-tabs button.is-active::after {
  background: var(--gold);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 88px;
}
.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 20px;
}
.process-step__number {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  color: var(--navy);
  background: var(--gold);
  font-size: 12px;
  font-weight: 800;
}
.process-step__content {
  padding-top: 5px;
}
.process-step__content h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 18px;
  letter-spacing: -0.03em;
}
.process-step__content p {
  max-width: 250px;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  line-height: 1.7;
}
.process-step__connector {
  position: absolute;
  top: 27px;
  left: 75px;
  width: calc(100% - 48px);
  border-top: 1px solid var(--line-light);
  transform: translateX(20px);
}

/* Markets */
.markets-section {
  position: relative;
  overflow: hidden;
  background: var(--navy-2);
}
.markets-section__map {
  position: absolute;
  top: 135px;
  right: -3%;
  width: 53%;
  opacity: 0.13;
  transform: rotate(-6deg);
}
.markets-section__map img {
  width: 100%;
  filter: brightness(0) invert(1);
}
.map-point {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: rotate(6deg);
}
.map-point i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(221, 174, 75, 0.15);
}
.map-point--memphis {
  left: 9%;
  bottom: 34%;
}
.map-point--nashville {
  left: 42%;
  bottom: 45%;
}
.map-point--chattanooga {
  right: 8%;
  bottom: 25%;
}
.markets-section__content {
  position: relative;
  z-index: 1;
}
.section-heading--markets {
  grid-template-columns: 1fr 0.68fr;
}
.section-heading--markets p {
  max-width: 360px;
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 14px;
  line-height: 1.8;
}
.market-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-top: 86px;
}
.market-card {
  display: grid;
  grid-template-rows: 170px auto;
  background: rgba(7, 24, 47, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
.market-card:hover {
  background: rgba(7, 24, 47, 0.78);
  transform: translateY(-4px);
}
.market-card__image {
  overflow: hidden;
}
.market-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(0.7);
  transition:
    transform 0.6s ease,
    opacity 0.35s ease;
}
.market-card:hover .market-card__image img {
  opacity: 1;
  transform: scale(1.04);
}
.market-card__body {
  min-height: 220px;
  padding: 22px;
}
.market-card__body > span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
}
.market-card h3 {
  margin: 26px 0 9px;
  color: var(--white);
  font: 700 28px/1 var(--display);
  letter-spacing: -0.05em;
}
.market-card p {
  max-width: 210px;
  min-height: 41px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 12px;
  line-height: 1.55;
}
.market-card button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  color: var(--gold-soft);
  background: transparent;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* About */
.about-section {
  background: var(--ivory);
}
.about-section__copy > p {
  max-width: 520px;
  margin: 25px 0 0;
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 25px;
  max-width: 530px;
  margin: 38px 0 33px;
  border-top: 1px solid var(--line);
}
.values-grid div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.values-grid span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
}
.values-grid strong {
  color: var(--navy);
  font-size: 12px;
}
.about-section__visual {
  position: relative;
  min-height: 660px;
}
.about-section__visual img {
  width: 80%;
  height: 600px;
  margin-left: auto;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.72);
}
.about-section__gold-mark {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 0;
  display: grid;
  place-items: center;
  width: 133px;
  height: 133px;
  color: var(--navy);
  background: var(--gold);
  font: 700 70px/0.8 var(--serif);
  letter-spacing: -0.1em;
}
.about-section__gold-mark span {
  display: block;
  margin: -12px 0 0 49px;
  font: 400 18px/1 var(--sans);
}
.about-section__caption {
  position: absolute;
  right: -6px;
  bottom: 22px;
  padding: 10px 12px;
  color: var(--white);
  background: var(--navy);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Contact / forms */
.contact-section {
  background: var(--navy);
}
.contact-section__layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(50px, 9vw, 140px);
  align-items: start;
}
.contact-section__intro {
  padding-top: 17px;
}
.contact-section__intro h2 {
  max-width: 500px;
}
.contact-section__intro > p {
  max-width: 420px;
  margin: 28px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.8;
}
.contact-section__details {
  display: grid;
  gap: 15px;
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}
.contact-section__details span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-section__details svg {
  color: var(--gold);
}
.contact-section__legal {
  display: flex;
  gap: 9px;
  max-width: 380px;
  margin-top: 60px;
  color: rgba(255, 255, 255, 0.37);
  font-size: 10px;
  line-height: 1.6;
}
.contact-section__legal svg {
  flex: 0 0 auto;
  color: var(--gold);
}
.contact-section__form {
  padding: 30px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
}
.lead-form__types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 26px;
}
.lead-form__type {
  min-height: 63px;
  padding: 10px 11px;
  color: rgba(255, 255, 255, 0.49);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}
.lead-form__type:hover,
.lead-form__type.is-active {
  color: var(--gold-soft);
  background: rgba(221, 174, 75, 0.12);
  border-color: var(--gold);
}
.form-grid {
  display: grid;
  gap: 12px;
}
.form-grid--two {
  grid-template-columns: 1fr 1fr;
}
.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.73);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.field em {
  color: rgba(255, 255, 255, 0.37);
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  outline: none;
  text-transform: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.32);
}
.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 18px,
    calc(100% - 13px) 18px;
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
}
.field select option {
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--gold);
}
.field textarea {
  resize: vertical;
  min-height: 100px;
}
.consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 10px 0 16px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  line-height: 1.55;
}
.consent input {
  flex: 0 0 auto;
  accent-color: var(--gold);
  margin-top: 2px;
}
.consent a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-error {
  margin: -8px 0 18px;
  padding: 10px 12px;
  color: #ffd9d1;
  background: rgba(174, 52, 42, 0.18);
  border-left: 2px solid #e88976;
  font-size: 11px;
  line-height: 1.5;
}
.form-note {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 10px;
  line-height: 1.45;
}
.form-note svg {
  flex: 0 0 auto;
  color: var(--gold);
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-success {
  display: flex;
  gap: 18px;
  min-height: 420px;
  align-items: center;
}
.form-success__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  color: var(--navy);
  background: var(--gold);
}
.form-success h3 {
  margin: 0;
  color: var(--white);
  font: 700 28px/1.1 var(--display);
  letter-spacing: -0.04em;
}
.form-success p:not(.section-kicker) {
  max-width: 450px;
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.61);
  font-size: 14px;
  line-height: 1.7;
}

/* Footer */
.site-footer {
  background: #041224;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  padding: 75px 0 63px;
}
.site-footer__brand p {
  max-width: 330px;
  margin: 24px 0 13px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 13px;
  line-height: 1.7;
}
.site-footer__placeholder {
  color: rgba(255, 255, 255, 0.31);
  font-size: 10px;
}
.site-footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
}
.site-footer__links h3 {
  margin: 0 0 18px;
  color: var(--gold-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.site-footer__links a {
  display: block;
  width: fit-content;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  transition: color 0.2s ease;
}
.site-footer__links a:hover {
  color: var(--gold-soft);
}
.site-footer__legal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 23px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer__legal h3 {
  margin: 0 0 8px;
  color: var(--gold-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-footer__legal p {
  max-width: 530px;
  margin: 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 10px;
  line-height: 1.65;
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 19px 0 24px;
  color: rgba(255, 255, 255, 0.27);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 25px;
  background: rgba(4, 18, 36, 0.74);
  backdrop-filter: blur(7px);
}
.property-modal {
  position: relative;
  width: min(680px, 100%);
  overflow: hidden;
  background: var(--ivory);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}
.property-modal > img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  filter: saturate(0.72);
}
.property-modal__content {
  padding: 32px;
}
.property-modal__content h2 {
  margin: 0;
  color: var(--navy);
  font: 800 38px/1 var(--display);
  letter-spacing: -0.06em;
}
.property-modal__content p {
  max-width: 560px;
  margin: 18px 0 25px;
  color: #5f6e80;
  font-size: 14px;
  line-height: 1.75;
}
.modal-close {
  position: absolute;
  z-index: 1;
  top: 13px;
  right: 13px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: rgba(7, 24, 47, 0.75);
}

/* Reveal / motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes heroZoom {
  from {
    transform: scale(1.045);
  }
  to {
    transform: scale(1);
  }
}
@keyframes drift {
  from {
    transform: rotate(-24deg) translate(0, 0);
  }
  to {
    transform: rotate(-20deg) translate(-15px, 11px);
  }
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 15px;
  }
  .desktop-nav a {
    font-size: 10px;
  }
  .hero__copy {
    padding-left: 5vw;
  }
  .section-pad {
    padding: 105px 0;
  }
}

@media (max-width: 820px) {
  .container,
  .site-nav__inner {
    width: min(100% - 40px, 620px);
  }
  .site-nav__inner {
    height: 76px;
  }
  .desktop-nav,
  .site-nav__cta {
    display: none;
  }
  .menu-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--white);
    background: transparent;
  }
  .mobile-nav {
    display: grid;
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    gap: 0;
    padding: 16px 20px 24px;
    background: rgba(7, 24, 47, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }
  .mobile-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .mobile-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 2px;
    color: rgba(255, 255, 255, 0.76);
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .mobile-nav a svg {
    color: var(--gold);
  }
  .mobile-nav .button {
    margin-top: 20px;
  }
  .hero {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .hero__copy {
    min-height: 630px;
    padding: 150px 20px 80px;
  }
  .hero__copy::after {
    display: none;
  }
  .hero__visual {
    height: 380px;
  }
  .hero__visual-overlay {
    background: linear-gradient(0deg, rgba(7, 24, 47, 0.58), transparent 50%);
  }
  .hero__caption {
    right: 20px;
    bottom: 24px;
    left: 20px;
  }
  .scroll-cue {
    display: none;
  }
  .credibility__grid {
    grid-template-columns: 1fr 1fr;
  }
  .credibility__item,
  .credibility__item:first-child,
  .credibility__item:last-child {
    min-height: 125px;
    padding: 20px 12px;
    border-right: 1px solid var(--line-light);
  }
  .credibility__item:nth-child(2n) {
    border-right: 0;
  }
  .seller-section__layout,
  .about-section__layout,
  .contact-section__layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .editorial-image {
    min-height: 455px;
  }
  .editorial-image img {
    height: 455px;
  }
  .about-section__visual {
    min-height: 480px;
  }
  .about-section__visual img {
    height: 445px;
  }
  .section-heading,
  .section-heading--markets {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .property-grid,
  .market-list,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .property-card__image-wrap {
    height: 240px;
  }
  .process-grid {
    gap: 40px;
    margin-top: 55px;
  }
  .process-step {
    grid-template-columns: 50px 1fr;
  }
  .process-step__number {
    width: 50px;
    height: 50px;
  }
  .process-step__connector {
    display: none;
  }
  .markets-section__map {
    top: 280px;
    right: -20%;
    width: 130%;
    opacity: 0.09;
  }
  .market-card {
    grid-template-columns: 38% 1fr;
    grid-template-rows: auto;
  }
  .market-card__image {
    min-height: 230px;
  }
  .market-card__body {
    min-height: 230px;
  }
  .contact-section__form {
    padding: 22px;
  }
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .site-footer__legal {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 520px) {
  .section-pad {
    padding: 82px 0;
  }
  .hero__copy {
    min-height: 590px;
    padding-top: 125px;
  }
  .hero h1 {
    font-size: clamp(54px, 18vw, 82px);
  }
  .hero__lede {
    font-size: 14px;
  }
  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }
  .hero__actions .button {
    width: 100%;
  }
  .hero__meta {
    margin-top: 40px;
  }
  .credibility__grid {
    grid-template-columns: 1fr;
  }
  .credibility__item,
  .credibility__item:first-child,
  .credibility__item:last-child {
    min-height: auto;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }
  .credibility__item:last-child {
    border-bottom: 0;
  }
  .editorial-image::before {
    right: -12px;
    left: 12px;
  }
  .editorial-image img {
    width: calc(100% - 15px);
  }
  .form-grid--two,
  .lead-form__types {
    grid-template-columns: 1fr;
  }
  .lead-form__type {
    min-height: 50px;
  }
  .contact-section__legal {
    margin-top: 35px;
  }
  .about-section__gold-mark {
    width: 105px;
    height: 105px;
    font-size: 56px;
  }
  .about-section__visual img {
    width: 88%;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .market-card {
    grid-template-columns: 1fr;
    grid-template-rows: 175px auto;
  }
  .market-card__image {
    min-height: 0;
  }
  .site-footer__links {
    gap: 20px;
  }
  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .form-success {
    align-items: flex-start;
    flex-direction: column;
    min-height: 460px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* WordPress additions — kept separate from the original design rules above. */
body.atlas-inner .site-nav {
  background: rgba(7, 24, 47, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}
body.atlas-inner .site-main {
  padding-top: 88px;
}
@media (max-width: 820px) {
  body.atlas-inner .site-main { padding-top: 76px; }
}
.inner-page {
  background: var(--ivory);
  padding: 70px 0 110px;
}
.inner-page__content {
  max-width: 760px;
}
.inner-page h1 {
  font: 800 clamp(36px, 4.5vw, 60px)/1.02 var(--display);
  color: var(--navy);
  margin: 0 0 18px;
}
.inner-page h2, .inner-page h3 { color: var(--navy); line-height: 1.15; }
.inner-page p, .inner-page li { line-height: 1.7; }
.inner-page a { color: var(--navy-2); text-decoration: underline; text-underline-offset: 3px; }
.inner-page img { height: auto; border-radius: 2px; }
.post-list { display: grid; gap: 28px; }
.post-card { background: var(--white); border: 1px solid var(--line); padding: 28px; }
.post-card h2 { margin: 0 0 10px; font-size: 26px; }
.post-card h2 a { text-decoration: none; color: var(--navy); }
.post-meta { color: var(--slate); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.pagination { display: flex; gap: 12px; margin-top: 36px; }
.pagination a, .pagination span { padding: 10px 14px; border: 1px solid var(--line); background: var(--white); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pagination .current { background: var(--navy); color: var(--white); }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { color: var(--slate); font-size: 13px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.modal-backdrop[hidden] { display: none !important; }
.lead-form__group[hidden] { display: none !important; }
.process-group[hidden] { display: none !important; }
.atlas-notice { padding: 16px 18px; border: 1px solid var(--line); margin-bottom: 22px; font-size: 14px; line-height: 1.6; }
.atlas-notice--success { background: #eef6ee; border-color: #9cc49c; color: #1e4d1e; }
.atlas-notice--error { background: #fdf0ef; border-color: #d99a94; color: #6d1f1a; }
.comment-list { list-style: none; padding: 0; }
.comment-list li { border-top: 1px solid var(--line); padding: 18px 0; }
ul.desktop-nav { list-style: none; margin: 0; padding: 0; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: 64px; width: auto; height: auto; }
.site-footer__logo { width: 160px; max-width: 60vw; height: auto; display: block; margin-bottom: 20px; }
.site-nav__cta { white-space: nowrap; }

@media (max-width: 820px) {
  .custom-logo { max-height: 52px; }
  .site-footer__logo { width: 140px; }
}
