/* Residential Matterport: the tour is the centre of the page. */
.a360-matterport-res {
  --mr-ink: #0b2435;
  --mr-navy: #0b2233;
  --mr-deep: #071a29;
  --mr-paper: #faf8f3;
  --mr-stone: #efece5;
  --mr-gold: #cda965;
  --mr-gold-ink: #a37b3d;
  --mr-muted: #52616a;
  background: var(--mr-paper);
  color: var(--mr-ink);
}

.a360-matterport-res main { background: var(--mr-paper); }
.a360-matterport-res em { font-weight: 400; }
.a360-matterport-res :is(.mr-intro, .mr-benefits, .mr-process, .mr-faq) h2,
.a360-matterport-res :is(.mr-demo, .mr-plan, .mr-final) h2 {
  margin: 0;
  font: 400 clamp(53px, 5.8vw, 88px)/.96 var(--a360-serif);
  letter-spacing: -.044em;
  text-wrap: balance;
}
.a360-matterport-res h2 em { color: var(--mr-gold-ink); }
.a360-matterport-res .mr-kicker {
  display: block;
  margin: 0 0 19px;
  color: var(--mr-gold-ink);
  font: 800 10px/1.5 var(--a360-sans);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.a360-matterport-res .mr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }
.a360-matterport-res .mr-actions .a360-btn { min-height: 50px; }

/* Let the residential photograph carry the opening without losing the service name. */
.mr-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  min-height: max(750px, 100svh);
  overflow: hidden;
  background: var(--mr-deep);
  color: #fff;
}
.mr-hero-media { position: absolute; z-index: -2; inset: 0; overflow: hidden; }
.mr-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.025);
}
.mr-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #061b2bdc 0%, #061b2b8e 40%, #061b2b14 88%),
    linear-gradient(180deg, #061b2b70 0%, transparent 33%, #061b2b34 56%, #061b2bcc 100%);
}
.mr-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 180px clamp(72px, 9vh, 112px);
}
.mr-hero-copy { max-width: 960px; }
.mr-hero .mr-kicker { color: #e8c98e; }
.mr-hero h1 {
  max-width: 970px;
  margin: 0;
  color: #fff;
  font: 400 clamp(68px, 8.4vw, 132px)/1.04 var(--a360-serif);
  letter-spacing: -.047em;
  text-wrap: balance;
}
.mr-hero h1 em { color: #e8c98e; }
.mr-hero .mr-lede {
  max-width: 540px;
  margin: clamp(39px, 4vw, 54px) 0 30px;
  color: #f2f3f2;
  font: 500 clamp(16px, 1.35vw, 19px)/1.68 var(--a360-sans);
}
/* Editorial introduction: substantial, readable copy beside one strong frame. */
.mr-intro { padding-block: clamp(88px, 9vw, 142px); }
.mr-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(48px, 8vw, 130px);
}
.mr-intro-grid > :first-child { max-width: 600px; }
.mr-intro h2 { max-width: 630px; font-size: clamp(54px, 5.15vw, 78px); }
.mr-intro p:not(.mr-kicker) {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--mr-muted);
  font: 400 clamp(16px, 1.17vw, 18px)/1.76 var(--a360-sans);
}
.mr-intro p.mr-intro-lead {
  max-width: 570px;
  margin-top: 31px;
  color: var(--mr-ink);
  font-size: clamp(21px, 1.9vw, 27px);
  line-height: 1.42;
}
.mr-intro figure { position: relative; isolation: isolate; margin: 0; background: #d9ddd7; }
.mr-intro figure::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 24px -24px -24px 24px;
  background: #e8e3d9;
}
.mr-intro figure img {
  display: block;
  width: 100%;
  aspect-ratio: 1.14;
  object-fit: cover;
  object-position: center;
}
.mr-intro figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  color: #fff;
  background: #071a29da;
  font: 700 10px/1.45 var(--a360-sans);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* A single first-class interactive example, with compact alternate tour choices. */
.mr-demo {
  padding-block: clamp(85px, 8.5vw, 130px) clamp(84px, 8vw, 122px);
  color: #fff;
  background: var(--mr-deep);
}
.mr-demo .mr-kicker, .mr-demo h2 em { color: #e6c589; }
.mr-demo-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .7fr);
  align-items: end;
  gap: clamp(30px, 8vw, 120px);
  margin-bottom: clamp(36px, 4.5vw, 64px);
}
.mr-demo-head h2 { max-width: 810px; color: #fff; }
.mr-demo-head p:not(.mr-kicker) {
  max-width: 450px;
  margin: 0 0 7px;
  color: #d4dfe2;
  font: 400 clamp(16px, 1.25vw, 18px)/1.66 var(--a360-sans);
}
.mr-demo-player {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 450px;
  overflow: hidden;
  background: #122b3c;
  box-shadow: 0 24px 65px #020e185e;
}
.mr-demo-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border: 0;
}
.mr-demo-player img.mr-demo-poster {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.mr-demo-player img.mr-demo-poster[hidden] { display: none; }
.mr-demo-frame { z-index: 1; background: var(--mr-deep); }
.mr-demo-frame[hidden] { display: none; }
.mr-demo-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.mr-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 170px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  font: 800 11px/1.45 var(--a360-sans);
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 10px #061b2b;
  cursor: pointer;
  transform: translate(-50%, -50%);
}
.mr-play-icon {
  display: grid;
  place-items: center;
  width: clamp(68px, 7vw, 100px);
  height: clamp(68px, 7vw, 100px);
  padding-left: 4px;
  border: 1px solid #ffffffe1;
  border-radius: 50%;
  color: #fff;
  background: #071a29bd;
  font: 400 24px/1 var(--a360-sans);
  text-shadow: none;
  box-shadow: 0 0 0 10px #ffffff12;
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.mr-play:hover .mr-play-icon,
.mr-play:focus-visible .mr-play-icon { background: #b98d4f; box-shadow: 0 0 0 15px #ffffff19; transform: scale(1.04); }
.mr-play[hidden] { display: none; }
.mr-play:focus-visible { outline: 2px solid #e6c589; outline-offset: 10px; }
.mr-demo-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 0 26px;
  border-bottom: 1px solid #ffffff3c;
}
.mr-demo-controls .mr-overline {
  display: block;
  margin-bottom: 6px;
  color: #e6c589;
  font: 800 10px/1.4 var(--a360-sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mr-demo-controls h3 { margin: 0; color: #f4f4f1; font: 400 clamp(28px, 2.65vw, 40px)/1.05 var(--a360-serif); }
.mr-demo-controls a { flex: 0 0 auto; color: #e6c589; font: 800 10px/1.5 var(--a360-sans); letter-spacing: .11em; text-transform: uppercase; text-underline-offset: 5px; }
.mr-demo-controls a:hover, .mr-demo-controls a:focus-visible { color: #fff; }
.mr-tour-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 22px);
  margin-top: 28px;
}
.mr-tour-option {
  display: grid;
  grid-template-columns: minmax(100px, .47fr) minmax(0, .53fr);
  align-items: center;
  gap: 15px;
  min-width: 0;
  min-height: 114px;
  padding: 8px 14px 8px 8px;
  border: 1px solid #ffffff3a;
  color: #f7f7f5;
  background: #ffffff0a;
  text-align: left;
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.mr-tour-option img { display: block; width: 100%; height: 96px; object-fit: cover; }
.mr-tour-option > span { min-width: 0; color: #fff; font: 400 clamp(22px, 2vw, 29px)/1.05 var(--a360-serif); }
.mr-tour-option b { display: block; margin-bottom: 6px; color: #e6c589; font: 800 10px/1.45 var(--a360-sans); letter-spacing: .12em; }
.mr-tour-option:hover, .mr-tour-option:focus-visible { border-color: #e6c589b5; background: #ffffff16; transform: translateY(-2px); }
.mr-tour-option.is-active { border-color: #e6c589; background: #e6c5891c; box-shadow: inset 0 -3px #e6c589; }
.mr-tour-option:focus-visible { outline: 2px solid #e6c589; outline-offset: 3px; }
.mr-noscript { margin: 25px 0 0; color: #d4dfe2; font-size: 14px; }
.mr-noscript a { color: #e6c589; text-decoration: underline; text-underline-offset: 3px; }

/* The reasons to choose a tour, edited into three calm, useful points. */
.mr-benefits { padding-block: clamp(90px, 9vw, 140px); }
.mr-benefits h2 { max-width: 900px; }
.mr-benefits-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4.5vw, 70px); margin-top: clamp(45px, 5vw, 70px); }
.mr-benefits-grid > * { min-width: 0; padding-top: 24px; border-top: 1px solid #aeb9b7; }
.mr-number { display: block; color: var(--mr-gold-ink); font: 800 10px/1.5 var(--a360-sans); letter-spacing: .15em; text-transform: uppercase; }
.mr-benefits-grid h3 { max-width: 380px; margin: 24px 0 13px; color: var(--mr-ink); font: 400 clamp(33px, 3vw, 45px)/1.01 var(--a360-serif); letter-spacing: -.03em; }
.mr-benefits-grid p { max-width: 400px; margin: 0; color: var(--mr-muted); font: 400 15px/1.68 var(--a360-sans); }

.mr-plan { padding-block: clamp(83px, 8.5vw, 132px); background: var(--mr-stone); }
.mr-plan > .a360-shell,
.mr-plan .mr-plan-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(48px, 7vw, 112px); }
.mr-plan-copy { max-width: 580px; }
.mr-plan-copy h2 { max-width: 580px; }
.mr-plan-copy > p:not(.mr-kicker) { max-width: 530px; margin: 27px 0 0; color: var(--mr-muted); font: 400 clamp(16px, 1.2vw, 18px)/1.7 var(--a360-sans); }
.mr-plan-copy .mr-actions { margin-top: 31px; }
.mr-plan-copy > .a360-btn { margin-top: 32px; }
.mr-plan-image { display: block; margin: 0; padding: clamp(12px, 1.5vw, 22px); background: #fff; box-shadow: 0 25px 66px #0b22331c; }
.mr-plan-image img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.mr-plan-image figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; margin-top: 10px; padding: 14px 5px 4px; border-top: 1px solid #0b223322; color: var(--mr-muted); font: 700 10px/1.5 var(--a360-sans); letter-spacing: .08em; text-transform: uppercase; }
.mr-plan-image figcaption a { color: var(--mr-ink); text-decoration: underline; text-underline-offset: 4px; }
.mr-plan-image figcaption a:hover, .mr-plan-image figcaption a:focus-visible { color: var(--mr-gold-ink); }

/* Booking details stay practical and brief. */
.mr-process { padding-block: clamp(86px, 8vw, 125px); }
.mr-process h2 { max-width: 760px; }
.mr-process-head > p:not(.mr-kicker) { max-width: 620px; margin: 23px 0 0; color: var(--mr-muted); font: 400 clamp(16px, 1.2vw, 18px)/1.65 var(--a360-sans); }
.mr-process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(43px, 5vw, 70px); border-top: 1px solid #aeb9b7; }
.mr-process-grid > * { min-width: 0; padding: 28px clamp(22px, 2.5vw, 39px) 0; border-left: 1px solid #d2d5cf; }
.mr-process-grid > :first-child { padding-left: 0; border-left: 0; }
.mr-process-grid > :last-child { padding-right: 0; }
.mr-process-grid h3 { margin: 18px 0 10px; color: var(--mr-ink); font: 400 clamp(30px, 2.65vw, 40px)/1.04 var(--a360-serif); letter-spacing: -.025em; }
.mr-process-grid p { max-width: 370px; margin: 0; color: var(--mr-muted); font: 400 15px/1.67 var(--a360-sans); }

.mr-faq { padding-block: clamp(86px, 8vw, 124px); background: #f2efe9; }
.mr-faq > .a360-shell,
.mr-faq .mr-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(45px, 7.5vw, 120px); align-items: start; }
.mr-faq h2 { max-width: 500px; }
.mr-faq-heading > p:not(.mr-kicker) { max-width: 385px; margin: 25px 0; color: var(--mr-muted); font: 400 16px/1.7 var(--a360-sans); }
.mr-faq-heading > .a360-btn { margin-top: 6px; }
.mr-faq details { overflow: hidden; border-top: 1px solid #0b223329; }
.mr-faq details:last-child { border-bottom: 1px solid #0b223329; }
.mr-faq summary { position: relative; display: block; min-height: 76px; padding: 24px 40px 24px 0; color: var(--mr-ink); font: 700 14px/1.55 var(--a360-sans); list-style: none; cursor: pointer; }
.mr-faq summary::-webkit-details-marker { display: none; }
.mr-faq summary::after { content: '+'; position: absolute; top: calc(50% - 15px); right: 4px; color: var(--mr-gold-ink); font: 400 27px/1 var(--a360-sans); transition: transform .25s ease; }
.mr-faq details[data-faq-expanded="true"] summary::after,
.mr-faq details[open]:not([data-faq-expanded]) summary::after { transform: rotate(45deg); }
.mr-faq details > :not(summary) { max-width: 660px; margin: 0; padding: 0 38px 25px 0; color: var(--mr-muted); font: 400 15px/1.7 var(--a360-sans); }
.mr-faq details a { color: var(--mr-ink); text-decoration: underline; text-underline-offset: 3px; }
.mr-faq summary:focus-visible { outline: 2px solid var(--mr-gold-ink); outline-offset: 3px; }

.mr-final {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 610px;
  overflow: hidden;
  padding-block: clamp(95px, 10vw, 155px);
  color: #fff;
  background: var(--mr-deep) url('/assets/homepage/matterport-house-cover.webp') center 50% / cover no-repeat;
}
.mr-final::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #061b2b1f 0%, #061b2b68 44%, #061b2bd1 76%, #061b2bde 100%);
  pointer-events: none;
}
.mr-final-inner { display: flex; justify-content: flex-end; width: 100%; }
.mr-final-copy { width: min(100%, 590px); }
.mr-final .mr-kicker, .mr-final h2 em { color: #e6c589; }
.mr-final h2 { color: #fff; font-size: clamp(66px, 6.6vw, 95px); }
.mr-final p:not(.mr-kicker) { max-width: 500px; margin: 24px 0 32px; color: #d4dfe2; font: 400 clamp(16px, 1.3vw, 18px)/1.65 var(--a360-sans); }

/* Reveal is an enhancement. Text is visible until JS opts in. */
.mr-js .mr-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.25,1); }
.mr-js .mr-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .mr-hero h1 { font-size: clamp(67px, 8.8vw, 104px); }
  .mr-tour-option { grid-template-columns: 1fr; gap: 9px; align-content: start; }
  .mr-tour-option img { height: auto; aspect-ratio: 16 / 8; }
}

@media (max-width: 800px) {
  .mr-hero { min-height: max(670px, 88svh); }
  .mr-hero-content { padding-block: 155px 75px; }
  .mr-intro-grid,
  .mr-demo-head,
  .mr-plan > .a360-shell,
  .mr-plan .mr-plan-grid,
  .mr-faq > .a360-shell,
  .mr-faq .mr-faq-grid { grid-template-columns: 1fr; gap: 35px; }
  .mr-intro figure { max-width: 720px; }
  .mr-intro figure::before { inset: 17px -17px -17px 17px; }
  .mr-demo-head p:not(.mr-kicker) { max-width: 650px; }
  .mr-benefits-grid { gap: 20px; }
  .mr-benefits-grid h3 { font-size: 32px; }
  .mr-plan-image { max-width: 750px; }
}

@media (max-width: 600px) {
  .mr-hero { min-height: max(620px, 88svh); }
  .mr-hero-media img { object-position: 57% center; }
  .mr-hero::after { background: linear-gradient(180deg, #061b2b70 0%, #061b2b28 23%, #061b2be6 100%); }
  .mr-hero-content { padding-block: 146px 61px; }
  .mr-hero h1 { font-size: clamp(58px, 13.5vw, 78px); line-height: 1.02; }
  .mr-hero .mr-kicker { margin-bottom: 14px; }
  .mr-hero .mr-lede { margin-block: 28px 25px; font-size: 16px; }
  .a360-matterport-res .mr-actions { align-items: stretch; }
  .mr-hero .mr-actions .a360-btn { flex: 1 1 100%; }
  .mr-intro, .mr-benefits, .mr-process, .mr-faq { padding-block: 76px; }
  .a360-matterport-res :is(.mr-intro, .mr-benefits, .mr-process, .mr-faq) h2,
  .a360-matterport-res :is(.mr-demo, .mr-plan, .mr-final) h2 { font-size: clamp(48px, 11.2vw, 66px); }
  .mr-intro figure::before { display: none; }
  .mr-intro figure img { aspect-ratio: 1.2; }
  .mr-demo { padding-block: 74px 78px; }
  .mr-demo-head { margin-bottom: 30px; }
  .mr-demo-player { aspect-ratio: auto; height: max(370px, 55svh); min-height: 0; }
  .mr-demo-controls { align-items: start; flex-direction: column; gap: 12px; padding-block: 18px 23px; }
  .mr-tour-switcher { grid-template-columns: 1fr; gap: 10px; margin-top: 21px; }
  .mr-tour-option { grid-template-columns: minmax(90px, .35fr) minmax(0, .65fr); min-height: 84px; gap: 13px; }
  .mr-tour-option img { height: 72px; aspect-ratio: auto; }
  .mr-tour-option > span { font-size: 25px; }
  .mr-benefits-grid, .mr-process-grid { grid-template-columns: 1fr; gap: 0; }
  .mr-benefits-grid { margin-top: 38px; }
  .mr-benefits-grid > * { padding: 22px 0 26px; }
  .mr-benefits-grid > :last-child { border-bottom: 1px solid #aeb9b7; }
  .mr-process-grid > * { padding: 25px 0 29px; border-left: 0; border-bottom: 1px solid #d2d5cf; }
  .mr-process-grid > :first-child { padding-top: 25px; }
  .mr-process-grid h3 { margin-top: 12px; }
  .mr-plan { padding-block: 78px; }
  .mr-final { min-height: 590px; padding-block: 85px; background-position: 45% center; }
  .mr-final::before { background: linear-gradient(180deg, #061b2b3d 0%, #061b2b8c 40%, #061b2bd6 100%); }
  .mr-final-inner { justify-content: flex-start; align-items: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  .mr-hero-media img { transform: none; }
  .mr-play-icon,
  .mr-tour-option,
  .mr-faq summary::after { transition: none !important; }
  .mr-tour-option:hover { transform: none; }
  .mr-js .mr-reveal { opacity: 1; transform: none; transition: none !important; }
}
