/* A quiet finish to the contact journey, scoped to the thank-you page. */
.a360-thank-you-page { margin: 0; }
.a360-thank-you-page [hidden] { display: none !important; }
.a360-thank-you-page .a360-header.a360-page-header {
  position: relative;
  min-height: 112px;
  padding-block: 27px;
  background: var(--a360-paper);
}
.a360-thank-you-page .a360-page-header .a360-logo span { color: #52616b; }
.a360-thank-you-page .a360-page-header .a360-shell-toggle { color: var(--a360-navy); }
.a360-thank-you-page .a360-homepage [data-homepage-header] .a360-header-services > .a360-services-main,
.a360-thank-you-page [data-homepage-header] .a360-services-disclosure > summary { color: var(--a360-navy); }
.a360-thank-you-page [data-homepage-header] .a360-realtor-portal { border-color: #07182726; }
.a360-thank-you-page .a360-homepage [data-homepage-header] .a360-header-services > .a360-services-main:hover,
.a360-thank-you-page [data-homepage-header] .a360-services-disclosure[open] > summary { color: #94713a; }
.a360-thank-you-page .a360-header { border-bottom: 1px solid #07182712; }
.a360-thank-you-page :focus-visible { outline: 2px solid #94713a; outline-offset: 5px; }

.a360-thank-intro { display: none; position: fixed; inset: 0; z-index: 10000; pointer-events: none; }
.a360-thank-intro::before { content: ''; position: absolute; inset: 0; background: var(--a360-paper); }
.a360-thank-intro-check {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  border: 4px solid #a78349;
  border-radius: 50%;
  background: var(--a360-paper);
  box-shadow: 0 20px 55px #07182722;
  color: #84642e;
  transform: translate(-50%, -50%);
}
.a360-thank-intro-check svg { width: 90px; height: 90px; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.a360-thank-intro-check path { stroke-dasharray: 24; stroke-dashoffset: 24; }

.a360-thank-you {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  min-height: 700px;
  min-height: clamp(660px, calc(100svh - 112px), 840px);
}
.a360-thank-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 64px clamp(48px, 6.6vw, 126px);
}
.a360-thank-received {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  color: #52616b;
  font: 600 10px/1.4 var(--a360-sans);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.a360-thank-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #9a793b66;
  border-radius: 50%;
  color: #84642e;
}
.a360-thank-check svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.4; }
.a360-thank-copy h1 {
  margin: 0 0 25px;
  color: var(--a360-navy);
  font: 400 clamp(82px, 7.9vw, 120px)/.98 var(--a360-serif);
  letter-spacing: -.035em;
}
.a360-thank-copy h1 em {
  display: block;
  margin-top: 7px;
  color: #94713a;
  font-size: .62em;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.a360-thank-message { max-width: 410px; margin: 0; color: #52616b; font-size: 14px; line-height: 1.9; }
.a360-thank-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 18px; margin-top: 34px; }
.a360-thank-actions .a360-btn { min-width: 188px; min-height: 52px !important; }
.a360-thank-you-page .a360-thank-actions .a360-btn:is(:hover, :focus-visible) { background: #e0c58e !important; border-color: #e0c58e !important; }
.a360-thank-you-page .a360-thank-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  min-width: 194px;
  padding: 14px 18px;
  border: 1px solid #071827a6;
  color: var(--a360-navy);
  font: 800 10px/1 var(--a360-sans);
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.a360-thank-link svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.3; transition: transform .2s ease; }
.a360-thank-link:hover svg { transform: translateX(3px); }
.a360-thank-you-page .a360-thank-link:is(:hover, :focus-visible) { background: var(--a360-navy); border-color: var(--a360-navy); color: #fff; }
.a360-thank-you-page .a360-thank-call { display: flex; flex-direction: column; align-items: flex-start; width: 100%; max-width: 410px; margin: 24px 0 0; }
.a360-thank-call > span { color: #647078; font: 700 10px/1.5 var(--a360-sans); letter-spacing: .13em; text-transform: uppercase; }
.a360-thank-you-page .a360-thank-call a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 3px;
  border-bottom: 1px solid #a78349;
  color: var(--a360-navy);
  font: 600 clamp(25px, 2.4vw, 32px)/1.15 var(--a360-sans);
  letter-spacing: -.045em;
  text-decoration: none;
  white-space: nowrap;
}
.a360-thank-you-page .a360-thank-call a:hover { color: #94713a; }

.a360-thank-photo { position: relative; min-width: 0; min-height: 100%; margin: 0; overflow: hidden; background: #e4e8dc; }
.a360-thank-you-page .a360-thank-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.a360-thank-photo::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(180deg, transparent, #0718279c); pointer-events: none; }
.a360-thank-photo figcaption { position: absolute; z-index: 1; inset: auto 42px 38px; color: #fff; }
.a360-thank-photo figcaption small { display: block; color: #fff; font: 700 10px/1.5 var(--a360-sans); letter-spacing: .16em; text-transform: uppercase; }

@media (min-width: 1800px) {
  .a360-thank-copy { align-items: flex-start; padding-left: max(126px, calc((100vw - 1360px) / 2)); padding-right: 96px; }
  .a360-thank-copy h1 { font-size: 120px; }
}
@media (max-width: 1100px) {
  .a360-thank-copy { padding-inline: 42px; }
  .a360-thank-copy h1 { font-size: 86px; }
  .a360-thank-actions { gap: 10px 20px; }
}
@media (max-width: 960px) {
  html:not(.a360-shell-ready) .a360-thank-you-page .a360-header > .a360-nav { background: transparent; }
}
@media (max-width: 900px) {
  .a360-thank-you { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .a360-thank-copy { padding: 62px 48px 56px; }
  .a360-thank-copy h1 { font-size: 100px; }
  .a360-thank-message { max-width: 460px; }
  .a360-thank-actions { gap: 16px 30px; }
  .a360-thank-call { max-width: 460px; }
  .a360-thank-photo { min-height: 0; height: 100vw; }
  .a360-thank-you-page .a360-thank-photo img { object-position: 80% center; }
  .a360-thank-photo figcaption { inset: auto 48px 32px; }
}
@media (max-width: 600px) {
  .a360-thank-you-page .a360-header.a360-page-header { min-height: 94px; padding-block: 23px; }
  .a360-thank-copy { padding: 44px 24px 42px; }
  .a360-thank-received { margin-bottom: 26px; }
  .a360-thank-copy h1 { margin-bottom: 23px; font-size: clamp(64px, 20vw, 94px); }
  .a360-thank-copy h1 em { font-size: .6em; }
  .a360-thank-message { max-width: 360px; font-size: 13px; line-height: 1.9; }
  .a360-thank-actions { width: 100%; gap: 12px; margin-top: 28px; }
  .a360-thank-actions .a360-btn { width: 100%; }
  .a360-thank-you-page .a360-thank-link { width: 100%; justify-content: center; }
  .a360-thank-you-page .a360-thank-call { margin-top: 20px; }
  .a360-thank-photo { min-height: 0; height: 100vw; }
  .a360-thank-photo figcaption { inset: auto 24px 27px; }
}
@media (prefers-reduced-motion: no-preference) {
  html.a360-thank-intro-ready .a360-thank-intro { display: block; }
  html.a360-thank-intro-ready .a360-thank-copy > *,
  html.a360-thank-intro-ready .a360-thank-check { opacity: 0; }
  html.a360-thank-intro-playing .a360-thank-intro::before { animation: a360-thank-backdrop 900ms ease .69s both; }
  html.a360-thank-intro-playing .a360-thank-intro-check { animation: a360-thank-check-journey 1.68s cubic-bezier(.4,0,.2,1) both; }
  html.a360-thank-intro-playing .a360-thank-intro-check path { animation: a360-thank-draw 580ms ease .19s both; }
  html.a360-thank-intro-playing .a360-thank-received { animation: a360-thank-arrive 560ms cubic-bezier(.25,.8,.25,1) 1.56s both; }
  html.a360-thank-intro-playing .a360-thank-check { animation: a360-thank-show 1ms linear 1.63s both; }
  html.a360-thank-intro-playing .a360-thank-copy h1 { animation: a360-thank-arrive 650ms cubic-bezier(.25,.8,.25,1) 1.67s both; }
  html.a360-thank-intro-playing .a360-thank-message { animation: a360-thank-arrive 650ms cubic-bezier(.25,.8,.25,1) 1.77s both; }
  html.a360-thank-intro-playing .a360-thank-actions { animation: a360-thank-arrive 650ms cubic-bezier(.25,.8,.25,1) 1.87s both; }
  html.a360-thank-intro-playing .a360-thank-call { animation: a360-thank-arrive 650ms cubic-bezier(.25,.8,.25,1) 1.97s both; }
  html.a360-thank-intro-playing .a360-thank-photo img { animation: a360-thank-photo-arrive 1.9s cubic-bezier(.4,0,.2,1) both; }
}
@keyframes a360-thank-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes a360-thank-photo-arrive { from { transform: scale(1.035); } to { transform: scale(1); } }
@keyframes a360-thank-check-journey {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.8); }
  15% { opacity: 1; transform: translate(-50%, -50%) scale(1.025); }
  34%, 42% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--a360-thank-to-x)), calc(-50% + var(--a360-thank-to-y))) scale(.2); }
}
@keyframes a360-thank-draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
@keyframes a360-thank-backdrop { from { opacity: 1; } to { opacity: 0; } }
@keyframes a360-thank-show { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .a360-thank-you-page *, .a360-thank-you-page *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .a360-thank-check { border-color: CanvasText; color: CanvasText; }
  .a360-thank-copy h1 em { color: CanvasText; }
  .a360-thank-photo figcaption { background: Canvas; color: CanvasText; padding: 12px; }
  .a360-thank-photo figcaption small { color: CanvasText; }
}
