@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

@font-face {
  font-family: "Refina";
  src: url("assets/RefinaRegular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --navy: #123d50;
  --ink: #173d4b;
  --muted: #61727a;
  --line: #dbe2e3;
  --pale: #f2f6f5;
  --gold: #b6c8b8;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: clip;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #b18732;
  outline-offset: 5px;
}
img {
  max-width: 100%;
  display: block;
}
header {
  height: 98px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 10px 4.5%;
  background: white;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
.logo {
  height: 78px;
  width: 108px;
  object-fit: contain;
}
nav {
  display: flex;
  gap: 29px;
  margin-left: auto;
  font-size: 14px;
}
nav a:hover,
.text-link:hover {
  color: #76866e;
}
.header-call {
  font-size: 14px;
  margin-left: 20px;
  white-space: nowrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: var(--navy);
  color: white;
  padding: 15px 24px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition:
    background 0.2s,
    transform 0.2s;
  cursor: pointer;
}
.button:hover {
  background: #245b6c;
  transform: translateY(-2px);
}
.button.small {
  font-size: 13px;
  padding: 12px 18px;
}
.menu {
  display: none;
}
.hero {
  height: 650px;
  position: relative;
  color: #fff;
  overflow: hidden;
}
.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-shade {
  background: linear-gradient(
    90deg,
    rgba(9, 39, 51, 0.88),
    rgba(9, 39, 51, 0.65) 37%,
    rgba(9, 39, 51, 0.04) 78%
  );
}
.hero-content {
  position: relative;
  max-width: 780px;
  padding: 64px 0 32px 6%;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2.5px;
  font-weight: 600;
  margin: 0 0 22px;
}
.light {
  color: #e2ece9;
}
.hero-kicker {
  font-size: 12px;
  letter-spacing: 3px;
  margin: 30px 0 14px;
}
h1,
h2,
h3 {
  font-weight: 400;
  margin: 0;
  font-family: "Refina", Georgia, serif;
  line-height: 1.2;
}
h1 {
  font-size: clamp(40px, 4.1vw, 62px);
  letter-spacing: -1.5px;
}
em {
  font-weight: 400;
  color: inherit;
}
h1 em {
  color: #d6e1d7;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.8;
  margin: 23px 0;
}
.hero-bottom {
  display: flex;
  align-items: center;
  gap: 85px;
  margin-top: 24px;
}
.price-label {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
}
.price {
  font-family: Georgia, serif;
  font-size: 39px;
  font-weight: 400;
}
.price span {
  font-size: 23px;
}
.round-link {
  display: grid;
  place-items: center;
  border: 1px solid #ffffff65;
  border-radius: 50%;
  height: 48px;
  width: 48px;
  font-size: 22px;
}
.fine {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.hero .fine {
  max-width: 420px;
  color: #d5e0e3;
  font-size: 11px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  margin-top: 40px;
  max-width: 100%;
}
.image-note {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  font-size: 16px;
  border-radius: 10px;
  background-color: #4f168d;
  padding: 5px 12px;
  line-height: 1.4;
  overflow-wrap: break-word;
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 6%;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  gap: 0;
}
.facts > div {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-width: 0;
  min-height: 64px;
  padding: 0 32px;
}
.facts > div:first-child {
  padding-left: 0;
}
.facts > div:last-child {
  border: 0;
  padding-right: 0;
}
.facts strong {
  font-family: Georgia, serif;
  font-size: 33px;
  font-weight: 400;
  line-height: 1.3;
}
.facts span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.facts .rera {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.rera .seal {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  font-size: 24px;
  border: 1px solid #9dab9f;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  line-height: 1;
  color: var(--navy);
}
.rera b {
  font-size: 11px;
  font-weight: 500;
  color: var(--navy);
}
.section {
  padding: 45px 6%;
}
h2 {
  font-size: clamp(33px, 3.2vw, 46px);
  letter-spacing: -1px;
}
h2 em {
  color: #6b8476;
}
p {
  color: var(--muted);
}
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: start;
}
.intro-copy > p {
  max-width: 520px;
}
.intro-copy > p:first-of-type {
  color: var(--ink);
}
.intro-copy > p:nth-of-type(2) {
  font-size: 19px;
  color: var(--ink);
  margin-top: 25px;
}
.legacy {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 24px;
}
.legacy .eyebrow {
  font-size: 10px;
}
.legacy-facts {
  display: flex;
  gap: 35px;
  margin-bottom: 24px;
}
.legacy-facts strong {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 28px;
  display: block;
}
.legacy-facts span {
  font-size: 11px;
  color: var(--muted);
}
.text-link {
  font-size: 13px;
  font-weight: 600;
  padding-bottom: 7px;
  border-bottom: 1px solid #98aaa4;
}
.form-card {
  background: var(--pale);
  padding: 35px 38px;
  border: 1px solid #e3e9e6;
  scroll-margin-top: 110px;
}
.form-overline {
  font-size: 10px;
  letter-spacing: 2px;
}
.form-card h2 {
  font-size: 31px;
  margin-top: 15px;
  letter-spacing: -0.5px;
}
.form-card > p {
  margin: 14px 0 22px;
  font-size: 14px;
}
.form-card label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin: 13px 0 6px;
}
input,
select {
  border: 1px solid #d3dddd;
  background: #fff;
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border-radius: 0;
  color: var(--ink);
  font-size: 14px;
}
input::placeholder {
  color: #859194;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 15px;
}
.consent {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 11px !important;
  line-height: 1.5;
}
.consent input {
  width: 15px;
  min-height: 15px;
  height: 15px;
  flex-shrink: 0;
  accent-color: var(--navy);
}
.submit {
  width: 100%;
  justify-content: space-between;
  margin-top: 10px;
}
.form-card .fine {
  font-size: 10px;
  margin-bottom: 0;
}
#form-status {
  font-size: 13px;
  color: #844a22;
  margin-bottom: 0;
}
.views {
  height: 495px;
  position: relative;
  overflow: hidden;
}
.views > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.views-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0c303dda, #133d5060);
  color: white;
  padding: 74px 6%;
}
.views h2 {
  font-size: 49px;
}
.views h2 em {
  color: #d8e4d7;
}
.views p {
  color: #e0e8e7;
  font-size: 15px;
}
.white {
  background: white;
  color: var(--navy);
  margin-top: 15px;
}
.white:hover {
  background: #e2ece8;
}
.views-visit {
  margin-left: 30px;
  font-size: 13px;
}
.section-heading {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 42px;
}
.section-heading .eyebrow {
  margin-bottom: 16px;
}
.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.difference-grid article {
  border-top: 1px solid #aebdb8;
  padding-top: 22px;
}
.number {
  font-size: 12px;
  color: #7c9386;
}
.difference-grid h3 {
  font-size: 23px;
  margin: 23px 0 14px;
}
.difference-grid p {
  font-size: 14px;
}
.residences {
  background: var(--pale);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  align-items: center;
}
.residence-image {
  height: 575px;
  position: relative;
  overflow: hidden;
}
.residence-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.residence-image > span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #123d50e0;
  color: white;
  text-align: center;
  padding: 18px;
  font-size: 10px;
  letter-spacing: 1.5px;
}
.residences p {
  font-size: 15px;
}
.size {
  padding: 19px 0;
  border-block: 1px solid #cdd8d3;
  margin: 25px 0;
  display: flex;
  align-items: center;
  gap: 28px;
}
.size strong {
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 400;
}
.size span {
  font-size: 15px;
}
.features {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin: 25px 0 30px;
}
.features li {
  font-size: 12px;
  position: relative;
  padding-left: 15px;
}
.features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #7e9584;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.amenity-grid article {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.amenity-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.amenity-grid article:hover img {
  transform: scale(1.04);
}
.amenity-grid article > div {
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, #0e303ddd);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  color: white;
}
.amenity-grid span {
  font-size: 10px;
  letter-spacing: 2px;
}
.amenity-grid h3 {
  font-size: 27px;
  margin-top: 10px;
}
.amenity-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  margin-top: 15px;
}
.amenity-list span {
  font-size: 13px;
}
.amenity-list span:before {
  content: "＋";
  margin-right: 9px;
  color: #7b9487;
}
.map {
  background: #fff;
  padding: 15px;
  border: 1px solid var(--line);
}
.map img {
  width: 100%;
  height: 400px;
  object-fit: contain;
}
.map span {
  display: block;
  font-size: 13px;
  text-align: center;
  padding: 12px;
}
.testimonials {
  text-align: center;
}
.story {
  max-width: 740px;
  margin: auto;
}
.quote-mark {
  font-family: Georgia, serif;
  font-size: 70px;
  display: block;
  color: #a4b5a5;
  height: 70px;
}
.story > p:first-of-type {
  font-family: Georgia, serif;
  font-size: 23px;
  line-height: 1.7;
  color: var(--ink);
}
.story > span:not(.quote-mark) {
  font-size: 11px;
  letter-spacing: 2px;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 9%;
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  position: absolute;
  right: 3px;
  font-size: 20px;
  font-weight: 400;
  top: -3px;
}
details[open] summary:after {
  content: "−";
}
details p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 0;
}
.closing {
  background: var(--navy);
  color: white;
  text-align: center;
  padding: 75px 20px;
  background-image: radial-gradient(
    ellipse at 80% 100%,
    #366857 0,
    transparent 55%
  );
}
.closing h2 {
  font-size: 55px;
}
.closing h2 em {
  color: #c9d8c9;
}
.closing p {
  color: #d4e0de;
  font-size: 15px;
}
footer {
  padding: 45px 6% 25px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
}
.footer-contact {
  text-align: right;
}
.footer-rera {
  display: grid;
  place-items: center;
  padding-inline: 24px;
}
.footer-rera img {
  width: clamp(90px, 8vw, 125px);
  height: auto;
}
footer p,
footer a {
  font-size: 13px;
}
.footer-note {
  grid-column: 1/-1;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 10px;
}
.mobile-cta {
  display: none;
}
.sticky-phone {
  position: fixed;
  z-index: 40;
  left: 0;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px 13px 16px;
  border-radius: 0 999px 999px 0;
  background: #662dab;
  color: #fff;
  box-shadow: 0 12px 30px #32134a38;
  font-size: 14px;
  font-weight: 600;
  transition:
    padding 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}
.sticky-phone span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #662dab;
}
.sticky-phone svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.sticky-phone:is(:hover, :focus-visible) {
  padding-left: 22px;
  background: #4f168d;
  box-shadow: 0 16px 36px #32134a50;
}
.skip {
  position: fixed;
  top: -100px;
  left: 10px;
  z-index: 100;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
@media (min-width: 1600px) {
  .hero {
    height: 740px;
  }
  .hero-content {
    padding-top: 100px;
  }
  .section {
    padding-inline: max(6%, calc((100vw - 1360px) / 2));
  }
}
@media (max-width: 1100px) {
  header {
    gap: 18px;
    padding-inline: 4%;
  }
  nav {
    gap: 18px;
  }
  .header-call {
    display: none;
  }
  .hero {
    height: 620px;
  }
  .hero-content {
    max-width: 640px;
  }
  .intro {
    gap: 5%;
  }
  .form-card {
    padding: 28px;
  }
  .legacy-facts {
    gap: 20px;
  }
  .difference-grid {
    gap: 20px;
  }
  .actions {
    gap: 15px;
  }
  .button {
    padding: 14px 18px;
  }
  .facts {
    gap: 0;
  }
  .facts > div {
    padding-inline: 22px;
  }
  .residences {
    gap: 4%;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .residence-image {
    height: 680px;
  }
}
/* Switch to the hamburger menu earlier than the general mobile breakpoint:
   between ~761-900px the full nav plus "Book your site visit" button no
   longer fit on one line and the button wraps awkwardly. */
@media (max-width: 900px) {
  .menu {
    display: block;
    background: none;
    border: 0;
    color: var(--navy);
    font-size: 25px;
    padding: 3px;
  }
  nav {
    display: none;
    position: absolute;
    top: 98px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px 6%;
    gap: 15px;
    border-bottom: 1px solid var(--line);
  }
  nav.open {
    display: flex;
  }
  header > .button {
    margin-left: auto;
  }
}
@media (max-width: 760px) {
  .sticky-phone {
    display: none;
  }
  header {
    height: 78px;
    padding: 8px 5%;
    gap: 15px;
  }
  .logo {
    height: 62px;
    width: 82px;
  }
  header > .button {
    margin-left: auto;
    font-size: 11px;
    padding: 10px 12px;
    gap: 10px;
  }
  .menu {
    display: block;
    background: none;
    border: 0;
    color: var(--navy);
    font-size: 25px;
    padding: 3px;
  }
  nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px 6%;
    gap: 15px;
    border-bottom: 1px solid var(--line);
  }
  nav.open {
    display: flex;
  }
  .hero {
    height: 635px;
  }
  .hero-image {
    object-position: 65% center;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #0c303de8, #0c303d65),
      linear-gradient(0deg, #0c303d90, transparent);
  }
  .hero-content {
    padding: 43px max(24px, 6%) 30px;
  }
  .hero-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 28px;
  }
  .image-note {
    font-size: 14px;
  }
  .hero-kicker {
    font-size: 10px;
    letter-spacing: 2px;
    margin-top: 32px;
  }
  h1 {
    font-size: 42px;
    line-height: 1.15;
    max-width: 460px;
  }
  h1 br {
    display: none;
  }
  .hero-sub {
    font-size: 16px;
  }
  .hero-bottom {
    margin-top: 30px;
  }
  
  .facts {
    grid-template-columns: 1fr 1fr;
    row-gap: 22px;
    column-gap: 0;
    padding: 28px 0;
  }
  .facts > div {
    min-height: 58px;
    padding-inline: 18px;
  }
  .facts > div:nth-child(odd) {
    padding-left: 0;
  }
  .facts > div:nth-child(even) {
    padding-right: 0;
  }
  .facts > div:nth-child(2) {
    border: 0;
  }
  .facts strong {
    font-size: 27px;
  }
  .facts .rera {
    gap: 8px;
    justify-content: flex-start;
  }
  .facts .rera span {
    font-size: 10px;
  }
  .rera b {
    font-size: 9px;
  }
  .rera .seal {
    display: none;
  }
  .section {
    padding: 60px 6%;
  }
  .intro,
  .residences,
  .faq {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .intro-copy > p:nth-of-type(2) {
    font-size: 18px;
  }
  .legacy-facts {
    gap: 30px;
  }
  .form-card {
    padding: 28px 23px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-card h2 {
    font-size: 30px;
  }
  .views {
    height: 480px;
  }
  .views-overlay {
    padding: 55px 6%;
    background: #123d5099;
  }
  .views h2 {
    font-size: 37px;
  }
  .views-visit {
    display: block;
    margin: 18px 0;
  }
  .difference-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .difference-grid h3 {
    font-size: 22px;
    margin-top: 15px;
  }
  .difference-grid p {
    font-size: 13px;
  }
  .section-heading {
    text-align: left;
    margin-bottom: 30px;
  }
  .residence-image {
    height: 430px;
  }
  .features {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .amenity-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .amenity-grid article {
    height: 280px;
  }
  .amenity-list {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .amenity-list span {
    font-size: 12px;
  }
  .map img {
    height: 330px;
  }
  .story > p:first-of-type {
    font-size: 20px;
  }
  .closing h2 {
    font-size: 43px;
  }
  footer {
    grid-template-columns: 1fr;
    padding-bottom: 85px;
  }
  .footer-contact {
    text-align: left;
  }
  .footer-rera {
    justify-content: center;
    padding-inline: 0;
  }
  .mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 -3px 15px #123d5010;
    background: white;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-cta a {
    text-align: center;
    padding: 14px 8px;
    font-size: 13px;
  }
  .mobile-cta a:last-child {
    background: var(--navy);
    color: white;
  }
  .eyebrow {
    font-size: 10px;
  }
  html {
    scroll-padding-top: 95px;
  }
  .form-card {
    scroll-margin-top: 95px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}

/* Keep the banner natural; avoid the harsh, over-processed appearance caused
   by the previous 1.55 brightness boost. */
.hero-image {
  filter: brightness(1.03) contrast(0.96) saturate(0.94);
}

/* Coastal motion: gentle entrances and small, deliberate interaction cues. */
nav a {
  position: relative;
  transition: color 0.25s ease;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
nav a:is(:hover, :focus-visible)::after {
  transform: scaleX(1);
}
.button {
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.button span {
  display: inline-block;
  transition: transform 0.25s ease;
}
.button:is(:hover, :focus-visible) span {
  transform: translateX(4px);
}
.button:active {
  transform: translateY(0) scale(0.98);
}
.round-link {
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}
.round-link:is(:hover, :focus-visible) {
  transform: translateY(4px);
  background: #ffffff18;
  border-color: #fff;
}
.text-link {
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}
.form-card {
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.form-card:focus-within {
  border-color: #9aafa3;
  box-shadow: 0 14px 38px #123d5010;
}
input,
select {
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
input:focus,
select:focus {
  border-color: #7b998b;
  box-shadow: 0 0 0 3px #7b998b15;
}
.residence-image img,
.views > img,
.amenity-grid img {
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.amenity-grid article > div {
  transition: padding-bottom 0.4s ease;
}
.difference-grid article {
  transition: border-color 0.3s ease;
}
.difference-grid .number {
  display: inline-block;
  transition:
    transform 0.35s ease,
    color 0.35s ease;
}
.map {
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.map span {
  transition: color 0.3s ease;
}
summary {
  transition: color 0.25s ease;
}
summary:hover {
  color: #648273;
}
summary:after {
  content: "+";
  transition: transform 0.3s ease;
}
details[open] summary:after {
  content: "+";
  transform: rotate(45deg);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-image {
    animation: hero-settle 1.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hero-content > * {
    animation: content-arrive 0.85s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }
  .hero-content > :nth-child(2) {
    animation-delay: 0.08s;
  }
  .hero-content > :nth-child(3) {
    animation-delay: 0.16s;
  }
  .hero-content > :nth-child(4) {
    animation-delay: 0.24s;
  }
  .hero-content > :nth-child(5) {
    animation-delay: 0.32s;
  }
  .hero-content > :nth-child(6) {
    animation-delay: 0.36s;
  }
  .hero-content:focus-within > * {
    animation: none;
  }
  details[open] p {
    animation: answer-arrive 0.3s ease both;
  }
  nav.open {
    animation: answer-arrive 0.25s ease both;
  }
}
@media (hover: hover) and (pointer: fine) {
  .button:hover {
    box-shadow: 0 8px 20px #123d5020;
  }
  .residence-image:hover img,
  .amenity-grid article:hover img {
    transform: scale(1.055);
  }
  .views:hover > img {
    transform: scale(1.025);
  }
  .amenity-grid article:hover > div {
    padding-bottom: 32px;
  }
  .difference-grid article:hover {
    border-color: var(--navy);
  }
  .difference-grid article:hover .number {
    transform: translateX(6px);
    color: var(--navy);
  }
  .map:hover {
    box-shadow: 0 12px 30px #123d5012;
    border-color: #9aafa3;
  }
  .map:hover span {
    color: #648273;
  }
}
@keyframes hero-settle {
  from {
    transform: scale(1.045);
  }
  to {
    transform: scale(1);
  }
}
@keyframes content-arrive {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes answer-arrive {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .button,
  .button span,
  .round-link,
  .residence-image img,
  .amenity-grid img,
  .views > img,
  .difference-grid .number {
    transform: none !important;
  }
}
@media print {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Modern typography with a clean, consistent heading treatment. */
body {
  font-family: "Manrope", Arial, sans-serif;
}
h1,
h2,
h3,
.price,
.facts strong,
.legacy-facts strong,
.size strong {
  font-family: "Outfit", Arial, sans-serif;
}
h1,
h2 {
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
h3 {
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
h1 em,
h2 em {
  font-style: normal;
  font-weight: inherit;
}
.price,
.facts strong,
.legacy-facts strong,
.size strong {
  font-weight: 500;
  letter-spacing: -0.025em;
}
.story > p:first-of-type {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 21px;
  line-height: 1.8;
}
.form-card h2 {
  font-size: 29px;
  line-height: 1.25;
}
@media (max-width: 760px) {
  h1 {
    font-size: 40px;
  }
  .views h2 {
    font-size: 35px;
  }
  .closing h2 {
    font-size: 40px;
  }
  .story > p:first-of-type {
    font-size: 18px;
  }
}

/* Blue Jewel reference theme: supplied purple paired with architectural black. */
:root {
  --navy: #0b0b0d;
  --ink: #151218;
  --muted: #6d6673;
  --line: #e3dce9;
  --pale: #f7f3fa;
  --gold: #662dab;
}
body,
input,
select,
button,
.story > p:first-of-type {
  font-family: "Poppins", Arial, sans-serif;
}
h1,
h2,
h3,
.price,
.facts strong,
.legacy-facts strong,
.size strong {
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}
h1,
h2 {
  text-transform: uppercase;
  line-height: 1.16;
}
h1 {
  font-size: clamp(38px, 3.7vw, 56px);
}
h2 {
  font-size: clamp(31px, 2.9vw, 43px);
}
h2 em,
.eyebrow,
.number,
.quote-mark {
  color: #662dab;
}
h1 em,
.views h2 em,
.closing h2 em {
  color: #d9bdf2;
}
header {
  border-bottom: 2px solid #662dab;
  background: #fff;
}
nav a:hover,
.text-link:hover,
summary:hover {
  color: #662dab;
}
.button {
  background: #662dab;
  border-radius: 3px;
}
.button:hover {
  background: #0b0b0d;
}
.white {
  background: #fff;
  color: #662dab;
}
.white:hover {
  background: #f0f1fb;
}
.hero-shade {
  background: linear-gradient(90deg, #0b0b0df0, #0b0b0d8c 52%, #0b0b0d05 90%);
}
.hero .light,
.views .light,
.closing .light {
  color: #d9f8ff;
}
.hero .fine,
.hero-sub {
  color: #f5f0f8;
}

}
.facts {
  background: #fff;
}
.facts strong,
.legacy-facts strong {
  color: #662dab;
}
.rera .seal {
  border-color: #9a71c8;
  color: #662dab;
}
.rera b {
  color: #151218;
}
.form-card {
  background: #f7f3fa;
  border-color: #e3dce9;
  border-top: 4px solid #662dab;
  border-radius: 8px;
}
.form-card h2 {
  font-size: 28px;
}
.form-card:focus-within {
  border-color: #9a71c8;
  box-shadow: 0 14px 38px #662dab18;
}
input,
select {
  border-color: #dcd3e3;
  border-radius: 3px;
}
input:focus,
select:focus {
  border-color: #662dab;
  box-shadow: 0 0 0 3px #662dab14;
}
.consent input {
  accent-color: #662dab;
}
.text-link {
  border-color: #9a71c8;
}
.views-overlay {
  background: linear-gradient(90deg, #0b0b0df0, #662dab70);
}
.views p {
  color: #f5f0f8;
}
.difference-grid article {
  border-color: #d8cde1;
}
.difference-grid article:hover .number {
  color: #662dab;
}
.residence-image,
.amenity-grid article,
.map {
  border-radius: 8px;
}
.residence-image > span {
  background: #0b0b0dea;
}
.size {
  border-color: #d8cde1;
}
.features li:before {
  color: #662dab;
}
.amenities {
  background: #0b0b0d;
  color: #fff;
}
.amenities .eyebrow,
.amenities h2 em {
  color: #cda9eb;
}
.amenities .section-heading p,
.amenities .fine {
  color: #f5f0f8;
}
.amenity-grid article > div {
  background: linear-gradient(transparent, #0b0b0df2);
}
.amenity-list {
  border-color: #ffffff45;
}
.amenity-list span:before {
  color: #cda9eb;
}
.map {
  border-color: #d8cde1;
}
.map:hover {
  border-color: #9a71c8;
  box-shadow: 0 12px 30px #662dab18;
}
.map:hover span {
  color: #662dab;
}
.testimonials {
  background: #fff;
}
.closing {
  background: #662dab;
  background-image: radial-gradient(
    circle at 85% 110%,
    #0b0b0d99,
    transparent 55%
  );
}
.closing p {
  color: #f5f0f8;
}
footer {
  background: #f7f3fa;
}
.footer-note {
  border-color: #d8cde1;
}
@media (max-width: 760px) {
  h1 {
    font-size: 38px;
  }
  .hero-shade {
    background: linear-gradient(90deg, #0b0b0df2, #0b0b0d8c);
  }
  .views-overlay {
    background: #0b0b0dc7;
  }
  .views h2 {
    font-size: 34px;
  }
  .closing h2 {
    font-size: 38px;
  }
  .form-card h2 {
    font-size: 26px;
  }
  .mobile-cta a:last-child {
    background: #662dab;
  }
}

/* Unified project typography */
body,
body *,
button,
input,
select {
  font-family: "Poppins", Arial, sans-serif;
}

/* Full-bleed video perspective with content layered above it. */
.views {
  position: relative;
  display: block;
  height: clamp(560px, 48vw, 760px);
  overflow: hidden;
  background: #101014;
}
.views-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.views-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
.views-overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: 70px 7%;
  background: #08080a80;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.views h2 {
  font-size: clamp(30px, 3vw, 45px);
}
.views-overlay > p:not(.eyebrow) {
  max-width: 620px;
}
.views-visit {
  margin: 20px 0 0;
}
@media (max-width: 760px) {
  .views {
    height: 620px;
  }
  .views-overlay {
    padding: 52px 7%;
    justify-content: center;
    background: #08080a99;
  }
  .views h2 {
    font-size: 34px;
  }
}

/* Document reference: compact amenity tiles, with Blue Jewel content only. */
.amenities {
  background: #fff;
  color: var(--ink);
}
.amenities .eyebrow,
.amenities h2 em {
  color: #662dab;
}
.amenities .section-heading p,
.amenities .fine {
  color: var(--muted);
}
.amenity-tiles {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
}
.amenity-tiles li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #faf7fc;
  border: 1px solid #e3dce9;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.amenity-symbol {
  font-size: 28px;
  line-height: 1;
  color: #662dab;
  flex-shrink: 0;
}
.amenity-tiles h3 {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}
.amenity-tiles p {
  font-size: 13px;
  line-height: 1.6;
  margin: 6px 0 0;
}
.amenity-tiles li:hover {
  border-color: #9a71c8;
  box-shadow: 0 4px 15px #662dab12;
}
.awards {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, #662dab38, transparent 42%),
    #130c17;
  color: #fff;
}
.awards-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.awards-heading .eyebrow {
  color: #d9bdf2;
}
.awards-heading h2 {
  color: #fff;
}
.awards-heading h2 em {
  color: #e6c36a;
}
.awards-heading > p:last-child {
  max-width: 650px;
  margin: 18px auto 0;
  color: #eee7f2;
}
.awards-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
}
.awards-grid {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}
.awards-track {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(16px, 2vw, 30px);
  align-items: start;
  width: max-content;
  touch-action: pan-y;
}
/* Only applied by JS when GSAP isn't available, so a native transform
   fallback still moves smoothly instead of snapping instantly. */
.awards-track.css-fallback {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.award-card {
  flex: 0 0 auto;
  width: clamp(210px, 22vw, 290px);
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e6c36a52;
  border-radius: 16px;
  background: #2a1110;
  box-shadow: 0 18px 42px #0006;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.42s ease;
}
.award-card:nth-child(even) {
  margin-top: 34px;
}
.award-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 408 / 570;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.award-card > span {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #e6c36a8f;
  border-radius: 50%;
  background: #130c17c9;
  color: #f0d98c;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.awards-arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #e6c36a70;
  border-radius: 50%;
  background: #1d1420;
  color: #f0d98c;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}
.awards-arrow:hover {
  background: #e6c36a;
  border-color: #e6c36a;
  color: #130c17;
}
.awards-arrow:active {
  transform: scale(0.94);
}
.awards-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
@media (hover: hover) {
  .award-card:hover {
    z-index: 2;
    border-color: #e6c36ac9;
    box-shadow: 0 26px 58px #0009;
    transform: translateY(-12px);
  }
  .award-card:hover img {
    transform: scale(1.04);
  }
}
@media (max-width: 900px) {
  .award-card:nth-child(even) {
    margin-top: 24px;
  }
}
@media (max-width: 520px) {
  .awards-heading {
    margin-bottom: 32px;
  }
  .awards-carousel {
    gap: 6px;
  }
  .awards-track {
    gap: 14px;
  }
  .award-card,
  .award-card:nth-child(even) {
    width: min(72vw, 300px);
    margin: 0;
  }
  .awards-arrow {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
}

/* Completed Projects → "A Legacy Built Across Chennai" portrait editorial row */
.legacy-section {
  position: relative;
  background: #f8f4ed;
  color: #1b171c;
  overflow: hidden;
}
.legacy-header {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.legacy-header .eyebrow {
  margin-bottom: 8px;
  color: #662dab;
}
.legacy-header h2 em {
  color: #662dab;
  font-style: italic;
}
.legacy-header > p {
  margin: 14px auto 0;
}
.legacy-viewport {
  position: relative;
  isolation: isolate;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.legacy-viewport::-webkit-scrollbar {
  display: none;
}
.legacy-viewport.is-pinned {
  overflow: hidden;
}
/* Subtle abstract line connecting the four projects; decorative only. */
.legacy-connector {
  position: absolute;
  top: calc(1.05em + 44px + (clamp(210px, 18vw, 253px) * 353 / 253 / 2));
  left: 6%;
  right: 6%;
  height: 1px;
  z-index: 0;
  background: repeating-linear-gradient(
    90deg,
    #662dab55 0 10px,
    transparent 10px 20px
  );
  pointer-events: none;
}
.legacy-track {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: clamp(28px, 4vw, 56px);
  width: max-content;
  padding: 6px 6% 24px;
}
.legacy-panel {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: clamp(210px, 18vw, 253px);
  text-align: center;
  transition: transform 0.3s ease;
}
.legacy-panel:nth-child(odd) {
  transform: translateY(-14px);
}
.legacy-panel:nth-child(even) {
  transform: translateY(22px);
}
.legacy-content-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #662dab;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
}
.legacy-content-index {
  display: block;
  margin-bottom: 14px;
  color: #b7a8c4;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}
.legacy-media {
  position: relative;
  width: 100%;
  aspect-ratio: 253 / 353;
  overflow: hidden;
  border-radius: 10px;
  background: #efe2ce;
  box-shadow: 0 18px 40px #57391b1c;
}
.legacy-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.legacy-content-title {
  margin: 18px 0 4px;
  font-family: "Refina", Georgia, serif;
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.15;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.legacy-content-location {
  margin: 0;
  color: #6b6068;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
}
@media (hover: hover) {
  .legacy-panel:hover .legacy-media img {
    transform: scale(1.03);
  }
  .legacy-panel:hover .legacy-content-index {
    color: #662dab;
    transform: scale(1.08);
  }
  .legacy-panel:hover .legacy-content-title {
    opacity: 0.75;
    transform: translateY(-2px);
  }
}
@media (max-width: 900px) {
  .legacy-section {
    padding-inline: 0;
  }
  .legacy-header {
    padding-inline: 6%;
  }
  .legacy-connector {
    display: none;
  }
  .legacy-track {
    gap: 20px;
    padding: 6px 6% 28px;
  }
  .legacy-panel {
    width: 74vw;
    max-width: 253px;
  }
  .legacy-panel:nth-child(odd),
  .legacy-panel:nth-child(even) {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .legacy-media img,
  .legacy-content-index,
  .legacy-content-title,
  .legacy-panel {
    transition: none !important;
    transform: none !important;
  }
}

/* Testimonials: continuous auto-looping horizontal video carousel (GSAP) */
.customer-scroll-heading {
  margin-bottom: 44px;
}
.customer-scroll-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.customer-scroll-viewport::-webkit-scrollbar {
  display: none;
}
.customer-scroll-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  width: max-content;
}
.customer-video {
  flex: 0 0 auto;
  width: clamp(420px, 42vw, 680px);
  border-radius: 8px;
  overflow: hidden;
  background: #0b0b0d;
  box-shadow: 0 12px 34px #160b2010;
}
.customer-video > iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #0b0b0d;
}
.testimonials .actions {
  justify-content: center;
  margin-top: 44px;
}
@media (max-width: 1000px) {
  .customer-video {
    width: clamp(320px, 46vw, 520px);
  }
}
@media (max-width: 760px) {
  .customer-video {
    width: 82vw;
  }
  .customer-scroll-track {
    gap: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .customer-scroll-viewport {
    overflow-x: auto;
  }
}
.legacy-facts > div {
  min-width: 0;
}
.legacy-facts span {
  display: block;
  max-width: 145px;
}
.section > *,
.views > * {
  min-width: 0;
}
@media (max-width: 1000px) {
  .amenity-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .amenity-tiles {
    grid-template-columns: 1fr;
  }
  .amenity-tiles li {
    padding: 18px;
    gap: 12px;
  }
  .legacy-facts {
    gap: 16px;
  }
  .legacy-facts strong {
    font-size: 25px;
  }
  .legacy-facts span {
    font-size: 11px;
  }
  input,
  select {
    font-size: 16px;
  }
  .actions {
    align-items: stretch;
    flex-direction: column;
  }
  .actions .text-link {
    text-align: center;
    padding: 12px 0;
  }
}

.lead-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

/* Navbar site-visit CTA */
a.button[href="#enquire"] {
  border-radius: 999px;
}
header > .button {
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}
header > .button:is(:hover, :focus-visible) {
  background: #0b0b0d;
  border-color: #662dab;
  box-shadow: 0 9px 22px #662dab35;
  transform: translateY(-2px);
}
header > .button:active {
  box-shadow: 0 4px 12px #662dab28;
  transform: translateY(0);
}

.views-visit[href="#enquire"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid #ffffff80;
  border-radius: 999px;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}
.views-visit[href="#enquire"]:is(:hover, :focus-visible) {
  background: #662dab;
  border-color: #662dab;
  transform: translateY(-2px);
}
@media (max-width: 760px) {
  .mobile-cta a[href="#enquire"] {
    margin: 5px;
    padding-block: 9px;
    border-radius: 999px;
  }
}

/* Virtual tour modal */
.video-dialog {
  width: min(1080px, calc(100% - 32px));
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #120d0c;
  color: #fff;
  box-shadow: 0 24px 80px #000a;
  z-index: 1000;
}
.video-dialog::backdrop {
  background: #080403d9;
  backdrop-filter: blur(5px);
}
.video-dialog__panel {
  width: 100%;
}
.video-dialog__header {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px 12px 24px;
}
.video-dialog__header h2 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.2;
}
.video-dialog__close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff55;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.video-dialog__close:is(:hover, :focus-visible) {
  background: #fff;
  color: #662dab;
}
.video-dialog__frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-dialog__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
body:has(.video-dialog[open]) {
  overflow: hidden;
}
@media (max-width: 560px) {
  .video-dialog {
    width: calc(100% - 20px);
  }
  .video-dialog__header {
    min-height: 56px;
    padding: 8px 10px 8px 16px;
  }
}

/* Project gallery */
.project-gallery {
  overflow: hidden;
  padding: 58px 0 12px;
  background: #fff;
  color: #151218;
}
.gallery-heading {
  padding-inline: 6%;
  margin-bottom: 40px;
  text-align: center;
}
.gallery-heading h2 {
  margin: 0;
  color: #151218;
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 400;
  text-transform: none;
}
.gallery-heading h2 span {
  margin-left: 7px;
  color: #9d63ed;
  font: inherit;
}
.gallery-heading p {
  max-width: 980px;
  margin: 17px auto 0;
  color: #302c33;
  font-size: 16px;
}
.gallery-marquee {
  --gallery-gap: 18px;
  display: grid;
  gap: var(--gallery-gap);
  width: 100%;
  overflow: hidden;
  padding-block: 10px;
}
.gallery-row {
  display: flex;
  gap: var(--gallery-gap);
  width: max-content;
  will-change: transform;
}
.gallery-row--first {
  animation: gallery-left 38s linear infinite;
}
.gallery-row--second {
  animation: gallery-right 42s linear infinite;
  animation-delay: -11s;
  transform: translateX(calc(-50% - (var(--gallery-gap) / 2)));
}
.gallery-row img {
  width: clamp(280px, 24vw, 430px);
  height: 280px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 22px;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.gallery-marquee:hover .gallery-row {
  animation-play-state: paused;
}
@media (hover: hover) {
  .gallery-row img:hover {
    z-index: 1;
    box-shadow: 0 14px 34px #3017472b;
    transform: scale(1.025);
  }
}
@keyframes gallery-right {
  to {
    transform: translateX(0);
  }
}
@keyframes gallery-left {
  to {
    transform: translateX(calc(-50% - (var(--gallery-gap) / 2)));
  }
}
@media (max-width: 760px) {
  .project-gallery {
    padding-top: 44px;
  }
  .gallery-heading {
    margin-bottom: 26px;
  }
  .gallery-heading p {
    font-size: 14px;
  }
  .gallery-marquee,
  .gallery-row {
    --gallery-gap: 12px;
  }
  .gallery-row img {
    width: 74vw;
    height: 220px;
    border-radius: 17px;
  }
}

/* Softer Poppins treatment */
h1,
h2,
h3 {
  font-weight: 400;
}
p,
li,
.amenity-list {
  font-weight: 400;
}
p:not(.eyebrow) {
  opacity: 0.88;
}
strong,
.button,
nav a,
summary {
  font-weight: 500;
}

/* === CLASSIC INTERACTION ENHANCEMENT: START ===
   Remove this marked block to restore the previous visual styling. */
h1,
h2,
h3,
.gallery-heading h2,
.price,
.facts strong,
.legacy-facts strong,
.size strong {
  font-family: "Refina", Georgia, serif;
}
h1,
h2,
.gallery-heading h2 {
  font-weight: 500;
  letter-spacing: -0.025em;
  text-transform: none;
}
h3 {
  font-weight: 600;
  letter-spacing: -0.012em;
}
h1 em,
h2 em,
.gallery-heading h2 span {
  font-family: inherit;
  font-style: italic;
  font-weight: 400;
}
.eyebrow {
  font-weight: 500;
  letter-spacing: 0.2em;
}
header {
  position: fixed;
  width: 100%;
  background: transparent;
  border-bottom-color: transparent;
  transition:
    height 0.32s ease,
    padding 0.32s ease,
    box-shadow 0.32s ease,
    background-color 0.32s ease;
}
header:not(.is-scrolled) nav a,
header:not(.is-scrolled) .header-call,
header:not(.is-scrolled) .menu {
  color: #fff;
  text-shadow: 0 1px 8px #0008;
}
header.is-scrolled {
  height: 82px;
  padding-block: 6px;
  background: #fffffff5;
  box-shadow: 0 10px 32px #160b2012;
  backdrop-filter: blur(12px);
}
header.is-scrolled nav a,
header.is-scrolled .header-call,
header.is-scrolled .menu {
  color: var(--ink);
  text-shadow: none;
}
header .logo {
  transition:
    transform 0.35s ease,
    height 0.35s ease;
}
header.is-scrolled .logo {
  height: 66px;
  transform: scale(0.94);
}
.difference-grid article,
.amenity-tiles li,
.form-card,
.map {
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.38s ease,
    background-color 0.3s ease;
}
.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 25%,
    #ffffff32 48%,
    transparent 72%
  );
  transform: translateX(-130%);
  transition: transform 0.65s ease;
}
.button:is(:hover, :focus-visible)::before {
  transform: translateX(130%);
}
.residence-image,
.map,
.gallery-row img {
  box-shadow: 0 12px 34px #160b2010;
}
@media (hover: hover) {
  .difference-grid article:hover,
  .amenity-tiles li:hover,
  .form-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 42px #32134a18;
  }
  .residence-image:hover img,
  .map:hover img {
    transform: scale(1.025);
  }
}
.section-heading h2::after,
.gallery-heading h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin: 16px auto 0;
  background: #662dab;
  transform-origin: center;
  transition: width 0.35s ease;
}
.section-heading:hover h2::after,
.gallery-heading:hover h2::after {
  width: 76px;
}
@media (max-width: 760px) {
  header.is-scrolled {
    height: 70px;
  }
  header.is-scrolled .logo {
    height: 56px;
  }
  header nav.open {
    background: #fff;
  }
  header nav.open a {
    color: var(--ink);
    text-shadow: none;
  }
  .section-heading h2::after {
    margin-inline: 0;
  }
}
/* === CLASSIC INTERACTION ENHANCEMENT: END === */

/* Site-visit form modal */
.intro {
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: stretch;
}
.intro-copy {
  max-width: 680px;
  align-self: center;
}
.intro-visual {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #eee9e5;
  box-shadow: 0 22px 54px #32134a1c;
}
.intro-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: left center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.intro-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #0b0b0dc7;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.04em;
}
@media (hover: hover) {
  .intro-visual:hover img {
    transform: scale(1.035);
  }
}
@media (max-width: 900px) {
  .intro {
    grid-template-columns: 1fr;
  }
  .intro-copy {
    max-width: 760px;
  }
  .intro-visual {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
}
@media (max-width: 560px) {
  .intro-visual {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }
  .intro-visual figcaption {
    right: 12px;
    bottom: 12px;
    font-size: 10px;
  }
}
dialog.form-card {
  width: min(920px, calc(100% - 32px));
  max-width: none;
  max-height: min(760px, calc(100dvh - 32px));
  padding: 0;
  overflow: auto;
  border: 1px solid #ffffff26;
  border-radius: 18px;
  background: #f7f3fa;
  box-shadow: 0 28px 90px #0009;
  color: var(--ink);
  z-index: 1200;
}
dialog.form-card[open] {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(430px, 1.18fr);
  animation: form-modal-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}
dialog.form-card::backdrop {
  background: #08050bd1;
  backdrop-filter: blur(6px);
}
body:has(dialog.form-card[open]) {
  overflow: hidden;
}
.form-card__visual {
  min-height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0b0d;
}
.form-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
}
.form-card__content {
  padding: 42px 40px 36px;
}
.form-card__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid #662dab55;
  border-radius: 50%;
  background: #fff;
  color: #662dab;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}
.form-card__close:is(:hover, :focus-visible) {
  background: #662dab;
  color: #fff;
  transform: rotate(90deg);
}
@keyframes form-modal-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.975);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 760px) {
  dialog.form-card[open] {
    grid-template-columns: 1fr;
  }
  .form-card__visual {
    min-height: 170px;
    max-height: 210px;
  }
  .form-card__content {
    padding: 28px 22px 24px;
  }
}

/* Soften the highly processed banner while retaining architectural detail. */
.hero-image {
  filter: brightness(0.96) contrast(0.9) saturate(0.9);
}
.hero-shade {
  display: none;
}

/* Lower the hero copy for a more balanced banner composition. */
.hero-content {
  padding-top: 170px;
}
@media (min-width: 1600px) {
  .hero-content {
    padding-top: 190px;
  }
}
@media (max-width: 760px) {
  .hero {
    height: min(125vw, 635px);
  }
  .hero-image {
    object-position: center;
  }
  .hero-content {
    padding-top: 115px;
  }
}

/* Stronger hero typography hierarchy */
.hero-content h1 {
  max-width: 920px;
  font-size: clamp(50px, 4.5vw, 68px);
  line-height: 1.08;
}
.hero-content h1 em {
  color: #4F168D;
  font-weight: 600;
}
.hero-content > .eyebrow {
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.22em;
}
@media (max-width: 760px) {
  .hero-content h1 {
    max-width: 540px;
    font-size: clamp(40px, 10vw, 48px);
    line-height: 1.1;
  }
  .hero-content > .eyebrow {
    font-size: 12px;
    letter-spacing: 0.17em;
  }
}

/* Location: connected-living journey (replaces the old 4-box layout) */
.location.location-journey {
  text-align: center;
  padding-inline: 6%;
}
.location-journey-heading {
  max-width: 900px;
  margin: 0 auto 56px;
}
.location-journey-heading p:not(.eyebrow) {
  margin: 18px auto 0;
  max-width: 780px;
}
.location-journey-panel {
  position: relative;
  isolation: isolate;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 48px) clamp(44px, 5vw, 64px);
  border: 1px solid #ded2e8;
  border-radius: 24px;
  background: linear-gradient(180deg, #fbf9fc, #fff 60%);
  box-shadow: 0 24px 60px #32134a12;
  overflow: hidden;
  text-align: left;
}
.location-journey-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.location-journey-map svg {
  width: 100%;
  height: 100%;
}
.location-journey-coast,
.location-journey-road {
  fill: none;
  stroke: #662dab;
  stroke-width: 1.4;
  stroke-linecap: round;
}
.location-journey-coast {
  opacity: 0.14;
}
.location-journey-road {
  opacity: 0.1;
}
.location-journey-road--soft {
  opacity: 0.06;
  stroke-dasharray: 2 10;
}
.location-journey-tabs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.location-tab {
  padding: 10px 20px;
  border: 1px solid #ded2e8;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}
.location-tab:hover {
  border-color: #b797d3;
  color: #662dab;
}
.location-tab.is-active {
  background: #662dab;
  border-color: #662dab;
  color: #fff;
}
.location-journey-track {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 56px);
  width: min(100%, 1200px);
  margin-inline: auto;
}
.location-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  text-align: center;
}
.location-marker-badge {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-bottom: 12px;
  border-radius: 50% 50% 50% 0;
  background: #662dab;
  transform: rotate(-45deg);
  box-shadow: 0 16px 30px #32134a30;
}
.location-marker-badge img {
  width: 46px;
  height: 46px;
  max-width: none;
  object-fit: contain;
  transform: rotate(45deg);
  filter: brightness(0) invert(1);
}
.location-marker-label {
  font-family: "Refina", Georgia, serif;
  font-size: 16px;
  line-height: 1.3;
  color: var(--ink);
}
.location-nodes {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  min-width: 0;
  gap: clamp(28px, 3vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.location-nodes::-webkit-scrollbar {
  display: none;
}
.location-nodes::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, #662dab55, #662dab1a 85%);
  z-index: 0;
}
.location-node {
  display: none;
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 148px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.location-node.is-active {
  display: flex;
}
.location-node-distance {
  order: 1;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f2e9f9;
  color: #662dab;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.location-node-dot {
  order: 2;
  width: 14px;
  height: 14px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #662dab;
  box-shadow: 0 0 0 5px #fff;
}
.location-node-name {
  order: 3;
  font-family: "Refina", Georgia, serif;
  font-size: 17px;
  line-height: 1.3;
  color: var(--ink);
}
.location-node-category {
  order: 4;
  margin-top: 6px;
  color: var(--muted);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.location-journey-tagline {
  margin: clamp(44px, 5vw, 64px) 0 30px;
  font-family: "Refina", Georgia, serif;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--ink);
}
.location-journey-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 4vw, 56px);
  margin: 0 0 44px;
  padding: 0;
  list-style: none;
}
.location-journey-benefits li {
  max-width: 220px;
}
.location-journey-benefits h4 {
  margin: 0 0 6px;
  color: #662dab;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.location-journey-benefits p {
  margin: 0;
  font-size: 14px;
}
.location-journey-address {
  max-width: 460px;
  
  margin: 20px auto;
}
.location-journey-address strong {
  display: block;
  color: #662dab;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.location-journey-address p {
  margin: 6px 0 18px;
}
.location-journey-address-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 22px;
}
.location-journey-address-actions .button {
  border-radius: 999px;
}
@media (max-width: 900px) {
  .location-journey-track {
    flex-direction: column;
    align-items: center;
  }
  .location-nodes {
    flex-direction: column;
    align-items: center;
    overflow-x: visible;
    gap: 30px;
  }
  .location-nodes::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, #662dab55, #662dab1a 85%);
  }
  .location-node {
    width: auto;
  }
}
@media (max-width: 680px) {
  .location.location-journey {
    padding-inline: 3%;
  }
  .location-journey-panel {
    padding: 28px 18px 40px;
    border-radius: 18px;
  }
  .location-journey-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .location-journey-tabs::-webkit-scrollbar {
    display: none;
  }
  .location-tab {
    flex: 0 0 auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .location-node,
  .location-marker,
  .location-journey-heading,
  .location-tab {
    animation: none !important;
    transition: none !important;
  }
}

/* Unified FAQ: centered introduction with a balanced two-column list. */
.faq {
  display: block;
  border-top: 1px solid var(--line);
}
.faq-intro {
  max-width: 720px;
  margin: 0 auto 54px;
  text-align: center;
}
.faq-intro h2 {
  margin-block: 12px 16px;
}
.faq-intro h2 br {
  display: none;
}
.faq-intro > p:not(.eyebrow) {
  margin: 0 0 20px;
  line-height: 1.7;
}
.faq-intro > p:not(.eyebrow) br {
  display: none;
}
#faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 38px;
  row-gap: 0;
  max-width: 1180px;
  margin-inline: auto;
  align-items: start;
}
#faq-list > details {
  min-width: 0;
  padding: 18px 16px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}
#faq-list > details:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}
#faq-list > details[open] {
  background: #faf7fc;
}
@media (hover: hover) {
  #faq-list > details:hover {
    background: #faf7fc;
    transform: translateY(-2px);
  }
}
@media (max-width: 760px) {
  .faq-intro {
    margin-bottom: 36px;
  }
  #faq-list {
    grid-template-columns: 1fr;
  }
  #faq-list > details:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  #faq-list > details:last-child {
    border-bottom: 1px solid var(--line);
  }
}
.project-map {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: stretch;
  gap: clamp(42px, 6vw, 90px);
  background: #faf7fc;
}
.project-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.project-map__visual {
  min-height: 460px;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 18px 44px #32134a18;
}
.project-map__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 560px;
}
.project-map__content h2 {
  margin: 10px 0 22px;
}
.project-map__content h3 {
  margin: 0 0 14px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 500;
}
.project-map__content > p:not(.eyebrow) {
  margin: 0 0 30px;
  font-size: 15px;
  line-height: 1.85;
}
.project-map__content .button {
  border-radius: 999px;
}
.legacy-facts > div {
  min-width: 0;
}
.legacy-facts span {
  display: block;
  max-width: 145px;
}
.section > *,
.views > * {
  min-width: 0;
}
@media (max-width: 1000px) {
  .amenity-tiles,
  .customer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .location {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .project-map {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .project-map__content {
    max-width: 720px;
  }
}
@media (max-width: 600px) {
  .amenity-tiles,
  .customer-grid {
    grid-template-columns: 1fr;
  }
  .amenity-tiles li {
    padding: 18px;
    gap: 12px;
  }
  .customer-card > div {
    padding: 22px;
  }
  .customer-card summary {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .customer-card summary:after {
    top: 7px;
  }
  .project-map iframe {
    height: 310px;
    min-height: 310px;
  }
  .project-map__visual {
    min-height: 310px;
  }
  .legacy-facts {
    gap: 16px;
  }
  .legacy-facts strong {
    font-size: 25px;
  }
  .legacy-facts span {
    font-size: 11px;
  }
  input,
  select {
    font-size: 16px;
  }
  .actions {
    align-items: stretch;
    flex-direction: column;
  }
  .actions .text-link {
    text-align: center;
    padding: 12px 0;
  }
}

.lead-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}


/* Visual pause between the adjacent Location and Residences sections. */
.location + .residences {
  position: relative;
  border-top: 76px solid #fff;
}
.location + .residences::before {
  content: "";
  position: absolute;
  top: -39px;
  left: 50%;
  width: 48px;
  height: 2px;
  border-radius: 999px;
  background: #662dab;
  transform: translateX(-50%);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (hover: hover) {
  .location + .residences:hover::before {
    width: 96px;
  }
}
@media (max-width: 760px) {
  .location + .residences {
    border-top-width: 48px;
  }
  .location + .residences::before {
    top: -25px;
    width: 38px;
  }
}
/* =========================================
   BACK TO TOP
========================================= */

.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 9999;

  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;

  background: #662DAB;
  color: #ffffff;

  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(14px) scale(0.94);

  box-shadow: 0 10px 30px rgba(45, 20, 80, 0.20);

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    background-color 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: #572399;
  transform: translateY(-3px) scale(1.05);
}

.back-to-top:active {
  transform: translateY(-1px) scale(0.98);
}

.back-to-top:focus-visible {
  outline: 2px solid #662DAB;
  outline-offset: 4px;
}

.back-to-top svg {
  display: block;
  transition: transform 0.25s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 760px) {
  .back-to-top {
    right: 18px;
    bottom: 90px;

    width: 46px;
    height: 46px;
  }

  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity 0.15s ease, visibility 0.15s ease;
  }

  .back-to-top:hover,
  .back-to-top:hover svg {
    transform: none;
  }
}

/* =========================================
   AUDIENCE: WHO IS BLUE JEWEL DESIGNED FOR?
   Interactive editorial profile selector
========================================= */
.audience-header {
  max-width: 720px;
  margin: 0 0 48px;
}
.audience-header .eyebrow {
  margin-bottom: 16px;
}
.audience-layout {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

/* --- Selector (left column) --- */
.audience-selector {
  display: flex;
  flex-direction: column;
}
.audience-profile {
  display: flex;
  align-items: baseline;
  width: 100%;
  padding: 20px 4px 20px 16px;
  background: none;
  border: none;
  border-top: 1px solid var(--line);
  border-left: 2px solid transparent;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    padding-left 0.3s ease;
}
.audience-selector .audience-profile:last-child {
  border-bottom: 1px solid var(--line);
}
.audience-profile-name {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--ink);
  opacity: 0.55;
  transition: opacity 0.3s ease, font-size 0.3s ease;
}
.audience-profile-name--short {
  display: none;
}
.audience-profile.is-active {
  border-left-color: #662dab;
  padding-left: 24px;
}
.audience-profile.is-active .audience-profile-name {
  opacity: 1;
  font-size: 16px;
  font-weight: 500;
}
.audience-profile.is-active .audience-profile-name::after {
  content: "\2192";
  margin-left: 10px;
  color: #662dab;
}
@media (hover: hover) {
  .audience-profile:not(.is-active):hover .audience-profile-name {
    opacity: 0.85;
  }
}
.audience-profile:focus-visible {
  outline: 2px solid #662dab;
  outline-offset: -2px;
}

/* --- Content (right column) --- */
.audience-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: 6px;
}
.audience-copy {
  max-width: 460px;
}
.audience-label {
  margin: 0 0 16px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #662dab;
}
.audience-category {
  margin: 0 0 12px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.audience-title {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.22;
  color: var(--ink);
}
.audience-description {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* --- Mobile: horizontally scrollable selector --- */
@media (max-width: 900px) {
  .audience-layout {
    display: block;
  }
  .audience-selector {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -6% 28px;
    padding: 0 6% 4px;
  }
  .audience-selector::-webkit-scrollbar {
    display: none;
  }
  .audience-profile {
    flex: 0 0 auto;
    width: auto;
    align-items: center;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    white-space: nowrap;
  }
  .audience-selector .audience-profile:last-child {
    border: 1px solid var(--line);
  }
  .audience-profile.is-active {
    padding: 10px 16px;
    border-color: #662dab;
    background: #f2e9f9;
  }
  .audience-profile-name--full {
    display: none;
  }
  .audience-profile-name--short {
    display: inline;
  }
  .audience-profile-name {
    font-size: 13px;
  }
  .audience-profile.is-active .audience-profile-name {
    font-size: 13px;
  }
  .audience-profile.is-active .audience-profile-name::after {
    content: "";
    margin: 0;
  }
  .audience-content {
    align-items: center;
    text-align: center;
  }
  .audience-copy {
    max-width: 460px;
  }
  .audience-label {
    text-align: center;
  }
}

/* --- Reduced motion / animation state helpers --- */
.audience-copy {
  will-change: opacity, transform;
}
@media (prefers-reduced-motion: reduce) {
  .audience-profile {
    transition: none;
  }
}
